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)
The following reply was made to PR pkg/58852; it has been noted by GNATS.
From: George Georgalis <george%galis.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: linux-pkg-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/58852 (security/openssl: linux/mman.h not found sys/mman.h
not used)
Date: Mon, 25 Nov 2024 19:28:17 -0800
--000000000000562a750627c871fa
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Sun, Nov 24, 2024 at 11:35=E2=80=AFAM 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=3D"\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/etc/opens=
sl\""
-DENGINESDIR=3D"\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/lib/engin=
es-3\""
-DMODULESDIR=3D"\"/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 director=
y
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
--=20
George Georgalis, (415) 894-2710, http://www.galis.org/
--000000000000562a750627c871fa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br>On Sun, Nov 24, 2024 at 11:35=E2=80=AFAM David H. =
Gutteridge via gnats <<a href=3D"mailto:gnats-admin%netbsd.org@localhost">gnats-ad=
min%netbsd.org@localhost</a>> wrote:<br>><br>> =C2=A0Has this been reported =
upstream? It's something that should be<br>> =C2=A0addressed there.<=
br>><br><div><br></div><div>Thanks, preparing for an openssl bug report =
I was not able to get this far in the build.</div><div>Apparently my automa=
tion mangled some env parameters, a correct bootstrap doesn't</div><div=
>complete the openssl configure. These are also lib issues but probably unr=
elated. This</div><div>can be closed.</div><div><br></div><div>For the curi=
ous, besides some quoting issues here, I may have advanced past the configu=
re</div><div>into the build stage by effectively bootstrapping into the roo=
t directory... cannot reproduce.</div><div><br></div><div>gcc =C2=A0-I. -Ii=
nclude -Iproviders/common/include -Iproviders/implementations/include =C2=
=A0-DAES_ASM -DBSAES_ASM -DCMLL_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK=
1600_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=3D"\"/usr/pkg-2024=
Q3-6742b-Linux_6.6.61-0-lts_x86_64/etc/openssl\"" -DENGINESDIR=3D=
"\"/usr/pkg-2024Q3-6742b-Linux_6.6.61-0-lts_x86_64/lib/engines-3\=
"" -DMODULESDIR=3D"\"/usr/pkg-2024Q3-6742b-Linux_6.6.61=
-0-lts_x86_64/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DND=
EBUG -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<br>crypto/mem_sec.c:61:13: fatal error: linux/mman.h: No such file or di=
rectory<br>=C2=A0 =C2=A061 | # =C2=A0 include <linux/mman.h><br>=C2=
=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~=
~<br>compilation terminated.<br>make[1]: *** [Makefile:17997: crypto/libcry=
pto-lib-mem_sec.o] Error 1<br>make[1]: Leaving directory '/usr/pkgsrc-s=
table/security/openssl/work/openssl-3.3.2'<br>make: *** [Makefile:3642:=
build_sw] Error 2</div><div><br></div><div><br></div><div><br></div><div><=
br></div><div>-- <br></div>George Georgalis, (415) 894-2710, <a href=3D"htt=
p://www.galis.org/">http://www.galis.org/</a><br></div>
--000000000000562a750627c871fa--
Home |
Main Index |
Thread Index |
Old Index