pkgsrc-Bugs archive

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

Re: pkg/57425: gettext-tools build errors out on >= 2023Q1 for sparc



The following reply was made to PR pkg/57425; it has been noted by GNATS.

From: Brandon Applegate <brandon%burn.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/57425: gettext-tools build errors out on >= 2023Q1 for sparc
Date: Sun, 21 May 2023 20:37:51 -0400

 --Apple-Mail=_FBD687A3-7134-4F24-857E-AEBCD90D7629
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8
 
 Hmm, assuming I have the correct config.log - doesn=E2=80=99t look like =
 there is anything for ftello/fseek:
 
 qemu# pwd
 /usr/pkgsrc/devel/gettext-tools/work/gettext-0.21.1
 qemu# egrep -i 'ftell|fseek=E2=80=99 config.log
 qemu#
 
 I did find some more here:
 
 qemu# pwd
 /usr/pkgsrc/devel/gettext-tools/work/gettext-0.21.1/gettext-tools
 
 configure:34719: checking whether ftello is declared
 configure:34719: gcc -mcpu=3Dv9 -c -O2 -D_FORTIFY_SOURCE=3D2 =
 -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include -I/usr/include =
 conftest.c >&5
 configure:34719: $? =3D 0
 configure:34719: result: yes
 
 configure:34834: checking for ftello
 configure:34852: gcc -mcpu=3Dv9 -o conftest -O2 -D_FORTIFY_SOURCE=3D2 =
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include =
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c =
 -lintl >&5
 configure:34852: $? =3D 0
 configure:34862: result: yes
 configure:34875: checking whether ftello works
 configure:34955: gcc -mcpu=3Dv9 -o conftest -O2 -D_FORTIFY_SOURCE=3D2 =
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include =
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c =
 -lintl >&5
 configure:34955: $? =3D 0
 configure:34955: ./conftest
 [1]   Illegal instruction (core dumped) ./conftest${ac_exeext}
 configure:34955: $? =3D 132
 configure: program exited with status 132
 configure: failed program was:
 
 I notice it=E2=80=99s doing =E2=80=9Cgcc -mcpu=3Dv9=E2=80=9D.  So it=E2=80=
 =99s trying to compile for 64 bit / >=3D Ultra it seems...
 
 On my other image that=E2=80=99s 2022Q4 snapshot - it=E2=80=99s not =
 doing the v9 cpu stuff:
 
 configure:27846: checking whether ftello is declared
 configure:27846: gcc -c -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include =
 -I/usr/include -I/usr/pkg/include -I/usr/include conftest.c >&5
 configure:27846: $? =3D 0
 configure:27846: result: yes
 configure:27870: checking for ftello
 configure:27887: gcc -o conftest -O2 -D_FORTIFY_SOURCE=3D2 =
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include =
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c =
 -lintl >&5
 configure:27887: $? =3D 0
 configure:27896: result: yes
 configure:27909: checking whether ftello works
 configure:27987: gcc -o conftest -O2 -D_FORTIFY_SOURCE=3D2 =
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include =
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c =
 -lintl >&5
 configure:27987: $? =3D 0
 configure:27987: ./conftest
 configure:27987: $? =3D 0
 configure:27998: result: yes
 
 Going down that rabbit hole:
 
 qemu$ # 2022Q4
 qemu$ pwd
 /usr/pkgsrc/devel/gettext-tools
 qemu$ grep -r mcpu=3Dv9 * | wc -l
        5
 
 qemu$ # CVS pull a few days ago
 qemu$ pwd
 /usr/pkgsrc/devel/gettext-tools
 qemu$ grep -r mcpu=3Dv9 * | wc -l
     2614
 
 I think the 5 hits on 20222Q4 are simply from gcc and related binaries =
 matching this string in themselves.
 
 Both of these environments still have everything built within the tree =
 (i.e. no =E2=80=9Cmake clean=E2=80=9D has been ran).
 
 Please let me know if there is something else you need me to provide (or =
 if I=E2=80=99ve provided the wrong information).  Thanks.
 
 
 
 
 
 
 
 --Apple-Mail=_FBD687A3-7134-4F24-857E-AEBCD90D7629
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAEBCgAdFiEEBkHShaNvUzpz5SVBSSBTPMYWcDoFAmRquV8ACgkQSSBTPMYW
 cDqRyw//Ud0SUGOHhQZap0Hdey62v9DUqc9+Sa9rp1g48LSNrK0vf6jayHNGAuOu
 7v7NulGSn54KB/v5ZzVc29uKsn9e2HtIO+MO7kegdhdjZrfMYcB0NrixAJpNwKWr
 LMgYO27CsxkEwl6luEPZbpE+5iN7PwVSta0k2T/mBDEVSvNoUhz3xhL0dljTr0gX
 eKZpxAk++tFTCBsraLPHf/3bARU/kWfGg/v6NsBbyWzp5RoKahrHxdZA+0p1xx0Z
 gAoQy2aRYYgbrirDXv7OH8OerW2TBTcR6MCCyo3gcEOSIlIK2kjF+VZ6pgGqcbc/
 dtLA/eaasKsDCsrhMqG3f1l1yoOtD3/5wwW50/h6m5KAFR9Qg+QlShwD7ZBwpvQ6
 G350TDqaOV47RQKo+4Gb81DHIuUpORceo0acBp70KnujV+qcxmQxDJwNt6EvHArY
 ixIQMz0OkiaerBlPv/qKk40ZPGcQSsi8lVuMa8lhuexHbh9Rg078aUNYykVVFq5m
 eabrSir9YFVSBvGAZAZC0u/qBuI/QZboKspsFLVVEfUMxbfk8M8G7YlP+tmL5DHZ
 Q7lLj8pLu8jJ/HJ/jdeGRIupCUKNdR7FR5GACw69wi+aNvwScE01zVD9W+7jLdsA
 8ANaAwmIdTs03X2WY61hemv3zEDWK5RMacAm2ZPI29/8rvbuoUk=
 =CyfL
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_FBD687A3-7134-4F24-857E-AEBCD90D7629--
 


Home | Main Index | Thread Index | Old Index