pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51291: openssl build fails on MacOS X 10.4.11 powerpc
>Number: 51291
>Category: pkg
>Synopsis: openssl build fails on MacOS X 10.4.11 powerpc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 28 16:30:00 +0000 2016
>Originator: John D. Baker
>Release: MacOS X 10.4.11 (ppc), pkgsrc-HEAD (as of 28 June 2016)
>Organization:
>Environment:
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Building "security/openssl" (1.0.2hnb1) fails as follows:
[...]
gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O -I/usr/include -arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DVPAES_ASM -isystem /usr/include -I/usr/include -c -o dso_dlfcn.o dso_dlfcn.c
dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
dso_dlfcn.c:425: error: 'Dl_info' undeclared (first use in this function)
dso_dlfcn.c:425: error: (Each undeclared identifier is reported only once
dso_dlfcn.c:425: error: for each function it appears in.)
dso_dlfcn.c:425: error: parse error before 'dli'
dso_dlfcn.c:438: error: 'dli' undeclared (first use in this function)
gmake[2]: *** [<builtin>: dso_dlfcn.o] Error 1
gmake[2]: Leaving directory '/Volumes/d0/tmp/pkgsrc/security/openssl/work/openssl-1.0.2h/crypto/dso'
gmake[1]: *** [Makefile:88: subdirs] Error 1
gmake[1]: Leaving directory '/Volumes/d0/tmp/pkgsrc/security/openssl/work/openssl-1.0.2h/crypto'
gmake: *** [Makefile:286: build_crypto] Error 1
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
>How-To-Repeat:
See above.
"Dl_info" is defined in "/usr/include/dlfcn.h" and it appears that
the openssl configuration detects and includes it, but the definition
of "Dl_info" is only available if _POSIX_C_SOURCE is NOT defined.
From what I can see this is true of the source file in question, so
the HAVE_DLINFO macro is true, but the source still doesn't find the
Dl_info definition.
I added an explicit "#undef _POSIX_C_SOURCE" in the failing file
with no effect.
>Fix:
Home |
Main Index |
Thread Index |
Old Index