Port-alpha archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: security/dirmngr compilation fails on NetBSD/alpha
Thomas Klausner a écrit :
On Thu, Nov 24, 2016 at 07:49:48PM +0100, BERTRAND Joël wrote:
I have upgraded my pkgsrc tree and I'm now unable to build dirmngr.
Configure script fails with :
...
configure:8387: gcc -o conftest -O2 -mcpu=ev56 -mtune=ev56 -mieee
The check is much earlier, the report is too late. For me (on amd64)
it works and looks like this:
configure:6993: checking for pth-config
configure:7011: found /usr/pkg/bin/pth-config
configure:7024: result: /usr/pkg/bin/pth-config
configure:7038: checking for PTH - version >= 1.3.7
configure:7064: result: yes
configure:7066: checking whether PTH installation is sane
configure:: gcc -o conftest -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -Wall -Wno-pointer-sign -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -Wl,-z,relro -Wl,-z,now -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c -lpth >&5
configure:: $? = 0
configure:7096: result: yes
Thomas
I have noticed a bug :
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for vasprintf... yes
checking for pth-config... /usr/pkg/bin/pth-config
Shared object "libreadline.so.6" not found
checking for PTH - version >= 1.3.7... Shared object "libreadline.so.6"
not found
Shared object "libreadline.so.6" not found
no
I suppose that /usr/pkg/bin/pth-config doesn't return any value, but if
I run /usr/pkg/bin/pth-config it runs as expected :
einstein# /usr/pkg/bin/pth-config --libs
-lpth
einstein# pth-config --version | awk 'NR==1 {print $3}'
2.0.7
In config.log, I have :
configure:6918: gcc -o conftest -O2 -mcpu=ev56 -mtune=ev56 -mieee
-I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include -Wall
-Wno-pointer-sign -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include
-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5
configure:6918: $? = 0
configure:6918: result: yes
configure:6993: checking for pth-config
configure:7011: found /usr/pkg/bin/pth-config
configure:7024: result: /usr/pkg/bin/pth-config
configure:7038: checking for PTH - version >= 1.3.7
configure:7099: result: no
...
Regards,
JKB
Home |
Main Index |
Thread Index |
Old Index