pkgsrc-Bugs archive

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

pkg/55031: pkgsrc/lang/python37 fails to build (pkgsrc -current)



>Number:         55031
>Category:       pkg
>Synopsis:       pkgsrc/lang/python37 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 29 05:30:01 +0000 2020
>Originator:     bch <brad.harder%gmail.com@localhost>
>Release:        NetBSD 9.0_STABLE
>Organization:
method logic digital
>Environment:
<The following information is extracted from your kernel. Please>
<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD katy 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Fri Feb 28
06:51:59 UTC 2020 root@katy:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

pkgsrc/lang/Python37 fails to build, erroring on NIS symbols:

[...]
gcc -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib
-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -O2 -g
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include
build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/_ctypes.o
build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/callbacks.o
build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/callproc.o
build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/stgdict.o
build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/cfield.o
-L. -L/usr/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lffi
-lpython3.7 -o build/lib.netbsd-9.0_STABLE-amd64-3.7/_ctypes.so
*** WARNING: renaming "nis" since importing it failed:
build/lib.netbsd-9.0_STABLE-amd64-3.7/nis.so: Undefined PLT symbol
"yp_master" (symnum = 4)


>How-To-Repeat:
cd .../pkgsrc/lang/python37; make
>Fix:

--00000000000008194a059fb03581
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">X-send-pr-version: 3.95<br></div><div dir=3D"auto"><br></=
div><div dir=3D"auto"><br></div><div dir=3D"auto">&gt;Submitter-Id:<span cl=
ass=3D"Apple-tab-span" style=3D"white-space:pre">	</span>net</div><div dir=
=3D"auto">&gt;Originator:<span class=3D"Apple-tab-span" style=3D"white-spac=
e:pre">	</span></div><div dir=3D"auto">&gt;Organization:</div><div dir=3D"a=
uto"><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>metho=
d logic digital</div><div dir=3D"auto">&gt;Confidential:<span class=3D"Appl=
e-tab-span" style=3D"white-space:pre">	</span>no</div><div dir=3D"auto">&gt=
;Synopsis:<span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>=
pkgsrc/lang/python37 fails to build</div><div dir=3D"auto">&gt;Severity:<sp=
an class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>serious</div>=
<div dir=3D"auto">&gt;Priority:<span class=3D"Apple-tab-span" style=3D"whit=
e-space:pre">	</span>high</div><div dir=3D"auto">&gt;Category:<span class=
=3D"Apple-tab-span" style=3D"white-space:pre">	</span>pkg</div><div dir=3D"=
auto">&gt;Class:<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>sw-bug</div><div dir=3D"auto">&gt;Release:<span class=3D"Apple-tab-s=
pan" style=3D"white-space:pre">	</span>NetBSD 9.0_STABLE</div><div dir=3D"a=
uto">&gt;Environment:</div><div dir=3D"auto"><span class=3D"Apple-tab-span"=
 style=3D"white-space:pre">	</span>&lt;The following information is extract=
ed from your kernel. Please&gt;</div><div dir=3D"auto"><span class=3D"Apple=
-tab-span" style=3D"white-space:pre">	</span>&lt;append output of &quot;ldd=
&quot;, &quot;ident&quot; where relevant (multiple lines).&gt;</div><div di=
r=3D"auto">System: NetBSD katy 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: F=
ri Feb 28 06:51:59 UTC 2020 root@katy:/usr/obj/sys/arch/amd64/compile/GENER=
IC amd64</div><div dir=3D"auto">Architecture: x86_64</div><div dir=3D"auto"=
>Machine: amd64</div><div dir=3D"auto">&gt;Description:</div><div dir=3D"au=
to"><br></div><div dir=3D"auto">pkgsrc/lang/Python37 fails to build, errori=
ng on NIS symbols:</div><div dir=3D"auto"><br></div><div dir=3D"auto">[...]=
</div><div dir=3D"auto">gcc -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib =
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/=
usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -=
Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg=
/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -O2 -g -D_FORTIFY_SOURCE=3D2 -I/=
usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include build/temp=
.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Mod=
ules/_ctypes/_ctypes.o build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/la=
ng/python37/work/Python-3.7.6/Modules/_ctypes/callbacks.o build/temp.netbsd=
-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_c=
types/callproc.o build/temp.netbsd-9.0_STABLE-amd64-3.7/usr/pkgsrc/lang/pyt=
hon37/work/Python-3.7.6/Modules/_ctypes/stgdict.o build/temp.netbsd-9.0_STA=
BLE-amd64-3.7/usr/pkgsrc/lang/python37/work/Python-3.7.6/Modules/_ctypes/cf=
ield.o -L. -L/usr/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib =
-lffi -lpython3.7 -o build/lib.netbsd-9.0_STABLE-amd64-3.7/_ctypes.so</div>=
<div dir=3D"auto">*** WARNING: renaming &quot;nis&quot; since importing it =
failed: build/lib.netbsd-9.0_STABLE-amd64-3.7/nis.so: Undefined PLT symbol =
&quot;yp_master&quot; (symnum =3D 4)</div><div dir=3D"auto"><br></div><div =
dir=3D"auto"><br></div><div dir=3D"auto">&gt;How-To-Repeat:</div><div dir=
=3D"auto"><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>=
cd .../pkgsrc/lang/python37; make</div><div dir=3D"auto">&gt;Fix:</div><div=
 dir=3D"auto"><br></div>

--00000000000008194a059fb03581--

>Unformatted:
 --00000000000008194a059fb03581
 Content-Type: text/plain; charset="UTF-8"
 
 X-send-pr-version: 3.95
 
 


Home | Main Index | Thread Index | Old Index