pkgsrc-Bugs archive

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

Re: pkg/58852 (security/openssl: linux/mman.h not found sys/mman.h not used)





On Sun, Nov 24, 2024 at 11:35 AM David H. Gutteridge via gnats <gnats-admin%netbsd.org@localhost> wrote:
>
>  Has this been reported upstream? It's something that should be
>  addressed there.
>

Thanks, preparing for an openssl bug report I was not able to get this far in the build.
Apparently my automation mangled some env parameters, a correct bootstrap doesn't
complete the openssl configure. These are also lib issues but probably unrelated. This
can be closed.

For the curious, besides some quoting issues here, I may have advanced past the configure
into the build stage by effectively bootstrapping into the root directory... cannot reproduce.

gcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include  -DAES_ASM -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DPOLY1305_ASM -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -fPIC -pthread -m64 -Wa,--noexecstack -O2 -I/usr/include -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/etc/openssl\"" -DENGINESDIR="\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/lib/engines-3\"" -DMODULESDIR="\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -I/usr/include -MMD -MF crypto/libcrypto-lib-mem_sec.d.tmp -MT crypto/libcrypto-lib-mem_sec.o -c -o crypto/libcrypto-lib-mem_sec.o crypto/mem_sec.c
crypto/mem_sec.c:61:13: fatal error: linux/mman.h: No such file or directory
   61 | #   include <linux/mman.h>
      |             ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:17997: crypto/libcrypto-lib-mem_sec.o] Error 1
make[1]: Leaving directory '/usr/pkgsrc-stable/security/openssl/work/openssl-3.3.2'
make: *** [Makefile:3642: build_sw] Error 2




--
George Georgalis, (415) 894-2710, http://www.galis.org/


Home | Main Index | Thread Index | Old Index