pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46478: www/curl does not compile on Solaris/sparc with compiler not configured with devel/libelf

>Number:         46478
>Category:       pkg
>Synopsis:       www/curl does not compile on Solaris/sparc with compiler not 
>configured with devel/libelf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 24 07:25:00 +0000 2012
>Originator:     Jörn Clausen
University of Bielefeld
See for a short 
discussion, without a conclusion, though.

Compiling www/curl on Solaris/sparc with a standalone GCC 4.7.0 using native ld 
and as, configure fails here:

checking for OpenSSL headers version... 0.9.8 - 0x0090818fL
checking for OpenSSL library version... unknown
checking for OpenSSL headers and library versions matching... fail

The actual error from config.log is

configure:20915: gcc -o conftest -O -I/usr/pkgsrc/20120411/include -g0 
-Wno-system-headers -I/usr/pkgsrc/20120411/include -I/usr/pkg
src/20120411/include   -L/usr/pkgsrc/20120411/lib 
-Wl,-R/usr/pkgsrc/20120411/lib -L/usr/pkgsrc/20120411/lib   conftest.c -lssl 
pto -lrt -lsocket  -lnsl -lssl -lcrypto -lsocket -lnsl -ldl   >&5
ld: fatal: file /var/tmp//ccMkGiq4.o: unknown file type
ld: fatal: File processing errors. No output written to conftest

After removing devel/libelf, which was installed only as dependency of 
devel/glib2, the problem is gone. NB that this problem does not occur on 
Solaris/i86 with exactly the same setup.

either fix www/curl of remove dependency of glib2 on devel/libelf

Home | Main Index | Thread Index | Old Index