NetBSD Problem Report #52633
From www@NetBSD.org Fri Oct 20 15:36:50 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A483A7A183
for <gnats-bugs@gnats.NetBSD.org>; Fri, 20 Oct 2017 15:36:50 +0000 (UTC)
Message-Id: <20171020153649.BFD6D7A26F@mollari.NetBSD.org>
Date: Fri, 20 Oct 2017 15:36:49 +0000 (UTC)
From: andrew.pennebaker@gmail.com
Reply-To: andrew.pennebaker@gmail.com
To: gnats-bugs@NetBSD.org
Subject: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
X-Send-Pr-Version: www-1.0
>Number: 52633
>Category: pkg
>Synopsis: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 20 15:40:00 +0000 2017
>Closed-Date: Tue Oct 24 12:46:54 +0000 2017
>Last-Modified: Tue Oct 24 16:50:01 +0000 2017
>Originator: Andrew Pennebaker
>Release: 7.0
>Organization:
>Environment:
NetBSD .domain.name 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
When I try to install lang/rust via pkgsrc with "make update", it takes a long time to compile things, and then finally dies on a strange dependency breakage between python27 and X11. If the Python package actually needs X11, then I think the Python package should include X11 as a dependency so that the installation works.
>How-To-Repeat:
curl -o pkgsrc-2017Q3.tar.gz ftp://ftp.netbsd.org//pub/pkgsrc/pkgsrc-2017Q3/pkgsrc-2017Q3.tar.gz && \
tar -C /usr -xzf pkgsrc-2017Q3.tar.gz && \
sh -c 'cd /usr/pkgsrc/lang/rust && sudo make update'
>Fix:
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Fri, 20 Oct 2017 17:43:49 +0200
What's the actual error?
Thomas
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: wiz@netbsd.org
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Sat, 21 Oct 2017 00:15:52 +0000
That is the actual error.
$ make
ERROR: This package has set PKG_FAIL_REASON:
ERROR: python27-2.7.14 uses X11, but /usr/X11R6 not found
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python27
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Sat, 21 Oct 2017 08:47:37 +0200
On Sat, Oct 21, 2017 at 12:20:01AM +0000, coypu@sdf.org wrote:
> That is the actual error.
>
> $ make
> ERROR: This package has set PKG_FAIL_REASON:
> ERROR: python27-2.7.14 uses X11, but /usr/X11R6 not found
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/python27
python reports that it needs X11 here.
It is set in options.mk:
USE_X11= yes
So either install /usr/X11R? or set "X11_TYPE=modular" in /etc/mk.conf.
Thomas
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sat, 21 Oct 2017 14:57:56 +0700
Date: Sat, 21 Oct 2017 06:50:01 +0000 (UTC)
From: Thomas Klausner <wiz@NetBSD.org>
Message-ID: <20171021065001.3F2F77A28C@mollari.NetBSD.org>
| python reports that it needs X11 here.
|
| It is set in options.mk:
| USE_X11= yes
That smells like a bug to me - if python (the programming language,
without graphics type add-ons) is now requiring X in order to be
able to compile/run one line (you know what I mean) python programs,
something has gone horribly wrong.
kre
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Sat, 21 Oct 2017 11:05:12 +0200
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr
Content-Type: multipart/mixed; boundary="okEvShgaNtb958FLgfhfXG5eIwUlHdJuo";
protected-headers="v1"
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Message-ID: <c30fadac-f2b8-6369-6231-cb613a6ce972@gmx.com>
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
References: <pr-pkg-52633@gnats.netbsd.org>
<20171020153649.BFD6D7A26F@mollari.NetBSD.org>
<20171021065001.3F2F77A28C@mollari.NetBSD.org>
In-Reply-To: <20171021065001.3F2F77A28C@mollari.NetBSD.org>
--okEvShgaNtb958FLgfhfXG5eIwUlHdJuo
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 21.10.2017 08:50, Thomas Klausner wrote:
> The following reply was made to PR pkg/52633; it has been noted by GNAT=
S.
>=20
> From: Thomas Klausner <wiz@NetBSD.org>
> To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> Cc:=20
> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7=
not
> found
> Date: Sat, 21 Oct 2017 08:47:37 +0200
>=20
> On Sat, Oct 21, 2017 at 12:20:01AM +0000, coypu@sdf.org wrote:
> > That is the actual error.
> > =20
> > $ make
> > ERROR: This package has set PKG_FAIL_REASON:
> > ERROR: python27-2.7.14 uses X11, but /usr/X11R6 not found
> > *** Error code 1
> > =20
> > Stop.
> > make: stopped in /usr/pkgsrc/lang/python27
> =20
> python reports that it needs X11 here.
> =20
> It is set in options.mk:
> USE_X11=3D yes
> =20
> So either install /usr/X11R? or set "X11_TYPE=3Dmodular" in /etc/mk.co=
nf.
> Thomas
> =20
>=20
This X dependency is required for functional dlopen(3) in X applications
in Python packages. Without that, wrappers will strip the X11 RPATH.
--okEvShgaNtb958FLgfhfXG5eIwUlHdJuo--
--shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJABAEBCAAqFiEELaxVpweEzw+lMDwuS7MI6bAudmwFAlnrDdAMHG41NEBnbXgu
Y29tAAoJEEuzCOmwLnZsxg8P/0QoeTk8NPaQvyVIwq2Obuti3w6ZrRcNjT/87Gpp
ecDWZzr9r6mFBdEjtpR/w0xftSM9SHzeURzWRcyGs9i5q7cwju1kSeu5tSabuXFH
mEkcmXwcy78kk+NFw5G73bTZTK+h0vf91/p0jRKF9KSdHKG6KF7h24dWfEUYeZ+2
AABo/Ks4Qyarp0MeaYdtt9TPoOpuPEk/NBa6AVAGosDkVWu0vQtcErUic2UjSitZ
o7aMjnPqLZ1JGZvmzVt7POsAceKXcVjBFdrApWFnxtzPnnjSMS8/DsxKW3bHl/At
R8pWaFmnzhCeOAEdA76y0FsWB83+bAGWxPE6PFrHSoaEg7umD3vLiQ46i/UDHzyW
OD6OzPuOSMgluXgV2z4qxy+pBeO25bHvPL8u4QyB4S4O36bnJ8ON+E5LRAA+v72e
DhI68W5QoJL6VEqema2ejo/eL0U5NY6wcBEwAVobN52C/NPyX91XCvfLbsYVwT2D
Zx8pS9eLXtbn647uquTWgackMgTAIT+KLRVj28TT3eotad2n2wocnhdrAipW4zPS
Sybpq8S+pvmwG7YfItmwuqsPPWbjUqEdQmM4vT/Iqg2xbGhfLthvpeJ9vrOioP2h
7lJynt17+jS/3yOVXsI/rTJXkJ3r1elYNeuhwfY11GNQwmIVWjaDNzQta5yimHBP
hYls
=p0cv
-----END PGP SIGNATURE-----
--shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr--
From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sat, 21 Oct 2017 14:41:42 -0500
--001a1145c49268c401055c13c74b
Content-Type: text/plain; charset="UTF-8"
Okay, I'm learning more about NetBSD and pkgsrc. Looks like the x11 build
option for the lang/python27 should be able to be disabled. So I'm trying:
sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.python27='' make
update"
However, when I run this, pkgsrc appears to continue to apply the x11
option anyway, even though I'm trying to disable it. Am I doing something
wrong? I think I'm using the right syntax, but I could be wrong.
On Sat, Oct 21, 2017 at 4:20 AM, Kamil Rytarowski <n54@gmx.com> wrote:
> The following reply was made to PR pkg/52633; it has been noted by GNATS.
>
> From: Kamil Rytarowski <n54@gmx.com>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
> found
> Date: Sat, 21 Oct 2017 11:05:12 +0200
>
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr
> Content-Type: multipart/mixed; boundary="okEvShgaNtb958FLgfhfXG5eIwUlHd
> Juo";
> protected-headers="v1"
> From: Kamil Rytarowski <n54@gmx.com>
> To: gnats-bugs@NetBSD.org
> Message-ID: <c30fadac-f2b8-6369-6231-cb613a6ce972@gmx.com>
> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7
> not
> found
> References: <pr-pkg-52633@gnats.netbsd.org>
> <20171020153649.BFD6D7A26F@mollari.NetBSD.org>
> <20171021065001.3F2F77A28C@mollari.NetBSD.org>
> In-Reply-To: <20171021065001.3F2F77A28C@mollari.NetBSD.org>
>
> --okEvShgaNtb958FLgfhfXG5eIwUlHdJuo
> Content-Type: text/plain; charset=utf-8
> Content-Language: en-US
> Content-Transfer-Encoding: quoted-printable
>
> On 21.10.2017 08:50, Thomas Klausner wrote:
> > The following reply was made to PR pkg/52633; it has been noted by GNAT=
> S.
> >=20
> > From: Thomas Klausner <wiz@NetBSD.org>
> > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> > Cc:=20
> > Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7=
> not
> > found
> > Date: Sat, 21 Oct 2017 08:47:37 +0200
> >=20
> > On Sat, Oct 21, 2017 at 12:20:01AM +0000, coypu@sdf.org wrote:
> > > That is the actual error.
> > > =20
> > > $ make
> > > ERROR: This package has set PKG_FAIL_REASON:
> > > ERROR: python27-2.7.14 uses X11, but /usr/X11R6 not found
> > > *** Error code 1
> > > =20
> > > Stop.
> > > make: stopped in /usr/pkgsrc/lang/python27
> > =20
> > python reports that it needs X11 here.
> > =20
> > It is set in options.mk:
> > USE_X11=3D yes
> > =20
> > So either install /usr/X11R? or set "X11_TYPE=3Dmodular" in /etc/mk.co
> =
> nf.
> > Thomas
> > =20
> >=20
>
>
> This X dependency is required for functional dlopen(3) in X applications
> in Python packages. Without that, wrappers will strip the X11 RPATH.
>
>
> --okEvShgaNtb958FLgfhfXG5eIwUlHdJuo--
>
> --shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: OpenPGP digital signature
> Content-Disposition: attachment; filename="signature.asc"
>
> -----BEGIN PGP SIGNATURE-----
>
> iQJABAEBCAAqFiEELaxVpweEzw+lMDwuS7MI6bAudmwFAlnrDdAMHG41NEBnbXgu
> Y29tAAoJEEuzCOmwLnZsxg8P/0QoeTk8NPaQvyVIwq2Obuti3w6ZrRcNjT/87Gpp
> ecDWZzr9r6mFBdEjtpR/w0xftSM9SHzeURzWRcyGs9i5q7cwju1kSeu5tSabuXFH
> mEkcmXwcy78kk+NFw5G73bTZTK+h0vf91/p0jRKF9KSdHKG6KF7h24dWfEUYeZ+2
> AABo/Ks4Qyarp0MeaYdtt9TPoOpuPEk/NBa6AVAGosDkVWu0vQtcErUic2UjSitZ
> o7aMjnPqLZ1JGZvmzVt7POsAceKXcVjBFdrApWFnxtzPnnjSMS8/DsxKW3bHl/At
> R8pWaFmnzhCeOAEdA76y0FsWB83+bAGWxPE6PFrHSoaEg7umD3vLiQ46i/UDHzyW
> OD6OzPuOSMgluXgV2z4qxy+pBeO25bHvPL8u4QyB4S4O36bnJ8ON+E5LRAA+v72e
> DhI68W5QoJL6VEqema2ejo/eL0U5NY6wcBEwAVobN52C/NPyX91XCvfLbsYVwT2D
> Zx8pS9eLXtbn647uquTWgackMgTAIT+KLRVj28TT3eotad2n2wocnhdrAipW4zPS
> Sybpq8S+pvmwG7YfItmwuqsPPWbjUqEdQmM4vT/Iqg2xbGhfLthvpeJ9vrOioP2h
> 7lJynt17+jS/3yOVXsI/rTJXkJ3r1elYNeuhwfY11GNQwmIVWjaDNzQta5yimHBP
> hYls
> =p0cv
> -----END PGP SIGNATURE-----
>
> --shk1wIJ8i2EriSkNtGGRfpRkNonxFoECr--
>
>
--
Cheers,
Andrew
--001a1145c49268c401055c13c74b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Okay, I'm learning more about NetBSD and pkgsrc. Looks=
like the x11 build option for the lang/python27 should be able to be disab=
led. So I'm trying:<div><br></div><div><font face=3D"monospace, monospa=
ce">sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.pyt=
hon27=3D'' make update"</font></div><div><br></div><div>Howeve=
r, when I run this, pkgsrc appears to continue to apply the x11 option anyw=
ay, even though I'm trying to disable it. Am I doing something wrong? I=
think I'm using the right syntax, but I could be wrong.</div></div><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sat, Oct 21, 2017=
at 4:20 AM, Kamil Rytarowski <span dir=3D"ltr"><<a href=3D"mailto:n54@g=
mx.com" target=3D"_blank">n54@gmx.com</a>></span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><span class=3D"">The following reply was made to PR pkg/=
52633; it has been noted by GNATS.<br>
<br>
</span>From: Kamil Rytarowski <<a href=3D"mailto:n54@gmx.com">n54@gmx.co=
m</a>><br>
<span class=3D"">To: gnats-bugs@NetBSD.org<br>
Cc:<br>
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not=
<br>
=C2=A0found<br>
</span>Date: Sat, 21 Oct 2017 11:05:12 +0200<br>
<br>
=C2=A0This is an OpenPGP/MIME signed message (RFC 4880 and 3156)<br>
=C2=A0--<wbr>shk1wIJ8i2EriSkNtGGRfpRkNonxFo<wbr>ECr<br>
=C2=A0Content-Type: multipart/mixed; boundary=3D"<wbr>okEvShgaNtb958FL=
gfhfXG5eIwUlHd<wbr>Juo";<br>
=C2=A0 protected-headers=3D"v1"<br>
=C2=A0From: Kamil Rytarowski <<a href=3D"mailto:n54@gmx.com">n54@gmx.com=
</a>><br>
=C2=A0To: gnats-bugs@NetBSD.org<br>
=C2=A0Message-ID: <<a href=3D"mailto:c30fadac-f2b8-6369-6231-cb613a6ce97=
2@gmx.com">c30fadac-f2b8-6369-6231-<wbr>cb613a6ce972@gmx.com</a>><br>
<span class=3D"">=C2=A0Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses =
X11, but /usr/X11R7 not<br>
=C2=A0 found<br>
</span>=C2=A0References: <<a href=3D"mailto:pr-pkg-52633@gnats.netbsd.or=
g">pr-pkg-52633@gnats.netbsd.org</a><wbr>><br>
=C2=A0 <<a href=3D"mailto:20171020153649.BFD6D7A26F@mollari.NetBSD.org">=
20171020153649.BFD6D7A26F@<wbr>mollari.NetBSD.org</a>><br>
=C2=A0 <<a href=3D"mailto:20171021065001.3F2F77A28C@mollari.NetBSD.org">=
20171021065001.3F2F77A28C@<wbr>mollari.NetBSD.org</a>><br>
=C2=A0In-Reply-To: <<a href=3D"mailto:20171021065001.3F2F77A28C@mollari.=
NetBSD.org">20171021065001.3F2F77A28C@<wbr>mollari.NetBSD.org</a>><br>
<br>
=C2=A0--<wbr>okEvShgaNtb958FLgfhfXG5eIwUlHd<wbr>Juo<br>
=C2=A0Content-Type: text/plain; charset=3Dutf-8<br>
=C2=A0Content-Language: en-US<br>
=C2=A0Content-Transfer-Encoding: quoted-printable<br>
<br>
=C2=A0On 21.10.2017 08:50, Thomas Klausner wrote:<br>
=C2=A0> The following reply was made to PR pkg/52633; it has been noted =
by GNAT=3D<br>
=C2=A0S.<br>
=C2=A0>=3D20<br>
<span class=3D"">=C2=A0> From: Thomas Klausner <wiz@NetBSD.org><br=
>
=C2=A0> To: NetBSD bugtracking <gnats-bugs@NetBSD.org><br>
</span>=C2=A0> Cc:=3D20<br>
=C2=A0> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /us=
r/X11R7=3D<br>
=C2=A0 not<br>
=C2=A0>=C2=A0 found<br>
=C2=A0> Date: Sat, 21 Oct 2017 08:47:37 +0200<br>
=C2=A0>=3D20<br>
<span class=3D"">=C2=A0>=C2=A0 On Sat, Oct 21, 2017 at 12:20:01AM +0000,=
<a href=3D"mailto:coypu@sdf.org">coypu@sdf.org</a> wrote:<br>
=C2=A0>=C2=A0 >=C2=A0 That is the actual error.<br>
</span>=C2=A0>=C2=A0 > =3D20<br>
<span class=3D"">=C2=A0>=C2=A0 >=C2=A0 $ make<br>
=C2=A0>=C2=A0 >=C2=A0 ERROR: This package has set PKG_FAIL_REASON:<br=
>
=C2=A0>=C2=A0 >=C2=A0 ERROR: python27-2.7.14 uses X11, but /usr/X11R6=
not found<br>
=C2=A0>=C2=A0 >=C2=A0 *** Error code 1<br>
</span>=C2=A0>=C2=A0 > =3D20<br>
<span class=3D"">=C2=A0>=C2=A0 >=C2=A0 Stop.<br>
=C2=A0>=C2=A0 >=C2=A0 make: stopped in /usr/pkgsrc/lang/python27<br>
</span>=C2=A0> =3D20<br>
<span class=3D"">=C2=A0>=C2=A0 python reports that it needs X11 here.<br=
>
</span>=C2=A0> =3D20<br>
<span class=3D"">=C2=A0>=C2=A0 It is set in <a href=3D"http://options.mk=
" rel=3D"noreferrer" target=3D"_blank">options.mk</a>:<br>
</span>=C2=A0>=C2=A0 USE_X11=3D3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 yes<br>
=C2=A0> =3D20<br>
=C2=A0>=C2=A0 So either install /usr/X11R? or set "X11_TYPE=3D3Dmod=
ular" in /etc/<a href=3D"http://mk.co" rel=3D"noreferrer" target=3D"_b=
lank">mk.co</a>=3D<br>
=C2=A0nf.<br>
=C2=A0>=C2=A0 =C2=A0Thomas<br>
=C2=A0> =3D20<br>
=C2=A0>=3D20<br>
<br>
<br>
=C2=A0This X dependency is required for functional dlopen(3) in X applicati=
ons<br>
=C2=A0in Python packages. Without that, wrappers will strip the X11 RPATH.<=
br>
<br>
<br>
=C2=A0--<wbr>okEvShgaNtb958FLgfhfXG5eIwUlHd<wbr>Juo--<br>
<br>
=C2=A0--<wbr>shk1wIJ8i2EriSkNtGGRfpRkNonxFo<wbr>ECr<br>
=C2=A0Content-Type: application/pgp-signature; name=3D"signature.asc&q=
uot;<br>
=C2=A0Content-Description: OpenPGP digital signature<br>
=C2=A0Content-Disposition: attachment; filename=3D"signature.asc"=
<br>
<br>
=C2=A0-----BEGIN PGP SIGNATURE-----<br>
<br>
=C2=A0iQJABAEBCAAqFiEELaxVpweEzw+<wbr>lMDwuS7MI6bAudmwFAlnrDdAMHG41N<wbr>EB=
nbXgu<br>
=C2=A0Y29tAAoJEEuzCOmwLnZsxg8P/<wbr>0QoeTk8NPaQvyVIwq2Obuti3w6ZrRc<wbr>NjT/=
87Gpp<br>
=C2=A0ecDWZzr9r6mFBdEjtpR/<wbr>w0xftSM9SHzeURzWRcyGs9i5q7cwju<wbr>1kSeu5tSa=
buXFH<br>
=C2=A0mEkcmXwcy78kk+NFw5G73bTZTK+<wbr>h0vf91/<wbr>p0jRKF9KSdHKG6KF7h24dWfEU=
YeZ+2<br>
=C2=A0AABo/<wbr>Ks4Qyarp0MeaYdtt9TPoOpuPEk/<wbr>NBa6AVAGosDkVWu0vQtcErUic2U=
jSi<wbr>tZ<br>
=C2=A0o7aMjnPqLZ1JGZvmzVt7POsAceKXcV<wbr>jBFdrApWFnxtzPnnjSMS8/<wbr>DsxKW3b=
Hl/At<br>
=C2=A0R8pWaFmnzhCeOAEdA76y0FsWB83+<wbr>bAGWxPE6PFrHSoaEg7umD3vLiQ46i/<wbr>U=
DHzyW<br>
=C2=A0OD6OzPuOSMgluXgV2z4qxy+<wbr>pBeO25bHvPL8u4QyB4S4O36bnJ8ON+<wbr>E5LRAA=
+v72e<br>
=C2=A0DhI68W5QoJL6VEqema2ejo/<wbr>eL0U5NY6wcBEwAVobN52C/<wbr>NPyX91XCvfLbsY=
VwT2D<br>
=C2=A0Zx8pS9eLXtbn647uquTWgackMgTAIT<wbr>+<wbr>KLRVj28TT3eotad2n2wocnhdrAip=
W4<wbr>zPS<br>
=C2=A0Sybpq8S+<wbr>pvmwG7YfItmwuqsPPWbjUqEdQmM4vT<wbr>/Iqg2xbGhfLthvpeJ9vrO=
ioP2h<br>
=C2=A07lJynt17+jS/3yOVXsI/<wbr>rTJXkJ3r1elYNeuhwfY11GNQwmIVWj<wbr>aDNzQta5y=
imHBP<br>
=C2=A0hYls<br>
=C2=A0=3Dp0cv<br>
=C2=A0-----END PGP SIGNATURE-----<br>
<br>
=C2=A0--<wbr>shk1wIJ8i2EriSkNtGGRfpRkNonxFo<wbr>ECr--<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><div></div>Cheers,<div>Andrew</div></div></div></div>
</div>
--001a1145c49268c401055c13c74b--
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sat, 21 Oct 2017 23:05:24 +0200
Hello Andrew,
Andrew Pennebaker writes:
> sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.python27='' make
> update"
>
> However, when I run this, pkgsrc appears to continue to apply the x11
> option anyway, even though I'm trying to disable it. Am I doing something
> wrong? I think I'm using the right syntax, but I could be wrong.
PKG_OPTIONS.python27='-x11' will do the trick! (to quickly verify/show
all the options you can also use
`make PKG_OPTIONS.python27='-x11' show-options')
From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sun, 22 Oct 2017 13:51:57 -0500
--001a1145c4924abcd5055c273384
Content-Type: text/plain; charset="UTF-8"
Thank you! Yes, supplying PKG_OPTIONS.python27='-x11' to make does disable
the x11 build option for python27!
Unfortunately, the larger build I'm trying to do, lang/rust, features a
compile fail in Vagrant, but at least we're making progress!
(I suspect that the Vagrant box for NetBSD was not configured with enough
resources like RAM and such to actually do a lot of pkgsrc compilation.)
On Sat, Oct 21, 2017 at 4:10 PM, Leonardo Taccari <leot@netbsd.org> wrote:
> The following reply was made to PR pkg/52633; it has been noted by GNATS.
>
> From: Leonardo Taccari <leot@NetBSD.org>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7
> not found
> Date: Sat, 21 Oct 2017 23:05:24 +0200
>
> Hello Andrew,
>
> Andrew Pennebaker writes:
> > sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.python27='' make
> > update"
> >
> > However, when I run this, pkgsrc appears to continue to apply the x11
> > option anyway, even though I'm trying to disable it. Am I doing
> something
> > wrong? I think I'm using the right syntax, but I could be wrong.
>
> PKG_OPTIONS.python27='-x11' will do the trick! (to quickly verify/show
> all the options you can also use
> `make PKG_OPTIONS.python27='-x11' show-options')
>
>
--
Cheers,
Andrew
--001a1145c4924abcd5055c273384
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Thank you! Yes, supplying PKG_OPTIONS.python27=3D'-x11=
' to make does disable the x11 build option for python27!<div><br></div=
><div>Unfortunately, the larger build I'm trying to do, lang/rust, feat=
ures a compile fail in Vagrant, but at least we're making progress!</di=
v><div><br></div><div>(I suspect that the Vagrant box for NetBSD was not co=
nfigured with enough resources like RAM and such to actually do a lot of pk=
gsrc compilation.)</div></div><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Sat, Oct 21, 2017 at 4:10 PM, Leonardo Taccari <span dir=3D=
"ltr"><<a href=3D"mailto:leot@netbsd.org" target=3D"_blank">leot@netbsd.=
org</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"=
">The following reply was made to PR pkg/52633; it has been noted by GNATS.=
<br>
<br>
</span>From: Leonardo Taccari <leot@NetBSD.org><br>
<span class=3D"">To: gnats-bugs@NetBSD.org<br>
Cc:<br>
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not=
found<br>
</span>Date: Sat, 21 Oct 2017 23:05:24 +0200<br>
<br>
=C2=A0Hello Andrew,<br>
<span class=3D""><br>
=C2=A0Andrew Pennebaker writes:<br>
=C2=A0>=C2=A0 sh -c "cd /usr/pkgsrc/lang/python27 && make P=
KG_CONFIG.python27=3D'' make<br>
=C2=A0>=C2=A0 update"<br>
=C2=A0><br>
=C2=A0>=C2=A0 However, when I run this, pkgsrc appears to continue to ap=
ply the x11<br>
=C2=A0>=C2=A0 option anyway, even though I'm trying to disable it. A=
m I doing something<br>
=C2=A0>=C2=A0 wrong? I think I'm using the right syntax, but I could=
be wrong.<br>
<br>
</span>=C2=A0PKG_OPTIONS.python27=3D'-x11' will do the trick! (to q=
uickly verify/show<br>
=C2=A0all the options you can also use<br>
=C2=A0`make PKG_OPTIONS.python27=3D'-x11' show-options')<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><div></div>Cheers,<div>Andrew</div></div></div></div>
</div>
--001a1145c4924abcd5055c273384--
State-Changed-From-To: open->closed
State-Changed-By: kamil@NetBSD.org
State-Changed-When: Tue, 24 Oct 2017 14:46:54 +0200
State-Changed-Why:
Closing, works as designed.
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Tue, 24 Oct 2017 14:44:30 +0000
I disagree with closing this bug report. yes, it's intended, but the
fallout is absolutely massive and the reasoning behind it isn't
sufficient.
We are currently requiring X11 for a basic package purely because we
want to add X11BASE/lib as a possible path to libraries, and without
X11, we don't know where X11BASE is.
We can simply hard code it to be /usr/X11R7 in the case it isn't
otherwise defined, and avoid pulling in all of Xorg for python.
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Tue, 24 Oct 2017 17:57:06 +0200
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--h0Md8csuDQvloBGDT3HrdU5Lkr0BobnEX
Content-Type: multipart/mixed; boundary="HfPcQfGIMr5EFvsu1gWdMObKBAtsn0UJm";
protected-headers="v1"
From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Message-ID: <fd100b17-2b5c-4783-d8b1-10a2ada91e88@gmx.com>
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
References: <pr-pkg-52633@gnats.netbsd.org>
<20171020153649.BFD6D7A26F@mollari.NetBSD.org>
<20171024144501.7580E7A1EF@mollari.NetBSD.org>
In-Reply-To: <20171024144501.7580E7A1EF@mollari.NetBSD.org>
--HfPcQfGIMr5EFvsu1gWdMObKBAtsn0UJm
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 24.10.2017 16:45, coypu@sdf.org wrote:
> The following reply was made to PR pkg/52633; it has been noted by GNAT=
S.
>=20
> From: coypu@sdf.org
> To: gnats-bugs@netbsd.org
> Cc:=20
> Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7=
not
> found
> Date: Tue, 24 Oct 2017 14:44:30 +0000
>=20
> I disagree with closing this bug report. yes, it's intended, but the
> fallout is absolutely massive and the reasoning behind it isn't
> sufficient.
> =20
> We are currently requiring X11 for a basic package purely because we
> want to add X11BASE/lib as a possible path to libraries, and without
> X11, we don't know where X11BASE is.
> =20
> We can simply hard code it to be /usr/X11R7 in the case it isn't
> otherwise defined, and avoid pulling in all of Xorg for python.
> =20
>=20
x11 is optional for source-builds, it's enabled for binary packages.
there is zero fallout, unless you count still broken resolution of
Qt4/Qt5 libraries.
It's there already for 15 months.
It cannot be hardcoded without the usage of USE_X11=3Dyes as wrappers wil=
l
strip the paths.
wontfix unless someone want to teach NetBSD ld(1) about ldconfig cache
or any other solution that can quickly resolve code like
`find_library("GL")`.
Disabling or removing the x11 option will break again GUI applications
written in Python.
--HfPcQfGIMr5EFvsu1gWdMObKBAtsn0UJm--
--h0Md8csuDQvloBGDT3HrdU5Lkr0BobnEX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJZ72LeAAoJEEuzCOmwLnZsgJQP/ivPcelanvNkspFArpXdfiZD
2y2j+KvpsExSBkwhATd2JaEIgf01h3YcUoFCBLAEi8AbOgAxtap1kfGK39xc7rJt
5iedGcKiRBPyArJGi/qjIC1aP9Z4pGWOReHDZNWIBe0q6778PfrIn1yeYkAhJvFJ
13MI+isLly7rx44ciN/VMvDth+Mt4C2D1UTHtzAL1PfxQaaxIag+yJr8Ya3KSomc
ZLg6HbBK24gYV1LeTpAJyLpQ4ZSxlNOx46DtW22H+//XQ7FryrQhl2LIhMf8gjQ6
l4T/coJIT+wkQjq0p8snT6w2DxYvLaJfCTgaO51ppVkwNyU4Z3pqxxMxHM7zjn9s
0IZCHUnZsmPeqcVZo9wplUpYmOFjCzK5vsuxozUseW3xTufeIVJuI4sDqYXiHYdd
hYdLleX8Bmo1BfQgQJ4J5G9SyE0n5K+ga1OtW9//wZmJIOFNK8U6L2MBXWj3NQf/
5hs4z6K7wLhbsxo32Dp2RuNj8xdepfCx0b1eZSM8lPRT9XTM9CyLMqNFh57k44oO
0uzXDZz1PFKvSO4bxAMMH2zrkIyw6D2zq9DboP/O0/5DFz1tB2st5W6hRWlIqYA6
pmCm7KAUc2yi2R4dYpGjTicLitAl+zwufY5eCWOZK/5M6fxcH5zSS25qzEeKycRG
Kk4S0WWXJNnhPVjfjKYI
=/Jan
-----END PGP SIGNATURE-----
--h0Md8csuDQvloBGDT3HrdU5Lkr0BobnEX--
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not
found
Date: Tue, 24 Oct 2017 18:45:21 +0200
On Tue, Oct 24, 2017 at 02:45:01PM +0000, coypu@sdf.org wrote:
> I disagree with closing this bug report. yes, it's intended, but the
> fallout is absolutely massive and the reasoning behind it isn't
> sufficient.
This is completely false. The fallout is an error if you build from
source and want to bluff the system into believing that X11TYPE=native
is OK. It calls your bluff. You can easily fix it by either installing
the X sets or setting it to modular. There is no pulling in all of Xorg.
Joerg
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.