pkgsrc-Bugs archive

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

Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found



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

From: Andrew Pennebaker <andrew.pennebaker%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
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@localhost> wrote:
 
 > The following reply was made to PR pkg/52633; it has been noted by GNATS.
 >
 > From: Kamil Rytarowski <n54%gmx.com@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > 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@localhost>
 >  To: gnats-bugs%NetBSD.org@localhost
 >  Message-ID: <c30fadac-f2b8-6369-6231-cb613a6ce972%gmx.com@localhost>
 >  Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7
 > not
 >   found
 >  References: <pr-pkg-52633%gnats.netbsd.org@localhost>
 >   <20171020153649.BFD6D7A26F%mollari.NetBSD.org@localhost>
 >   <20171021065001.3F2F77A28C%mollari.NetBSD.org@localhost>
 >  In-Reply-To: <20171021065001.3F2F77A28C%mollari.NetBSD.org@localhost>
 >
 >  --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@localhost>
 >  > To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
 >  > 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@localhost 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&#39;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&#39;m trying:<div><br></div><div><font face=3D"monospace, monospa=
 ce">sh -c &quot;cd /usr/pkgsrc/lang/python27 &amp;&amp; make PKG_CONFIG.pyt=
 hon27=3D&#39;&#39; make update&quot;</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&#39;m trying to disable it. Am I doing something wrong? I=
  think I&#39;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">&lt;<a href=3D"mailto:n54@g=
 mx.com" target=3D"_blank">n54%gmx.com@localhost</a>&gt;</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 &lt;<a href=3D"mailto:n54%gmx.com@localhost";>n54%gmx.co@localhost=
 m</a>&gt;<br>
 <span class=3D"">To: gnats-bugs%NetBSD.org@localhost<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&quot;<wbr>okEvShgaNtb958FL=
 gfhfXG5eIwUlHd<wbr>Juo&quot;;<br>
 =C2=A0 protected-headers=3D&quot;v1&quot;<br>
 =C2=A0From: Kamil Rytarowski &lt;<a href=3D"mailto:n54%gmx.com@localhost";>n54%gmx.com@localhost=
 </a>&gt;<br>
 =C2=A0To: gnats-bugs%NetBSD.org@localhost<br>
 =C2=A0Message-ID: &lt;<a href=3D"mailto:c30fadac-f2b8-6369-6231-cb613a6ce97=
 2%gmx.com@localhost">c30fadac-f2b8-6369-6231-<wbr>cb613a6ce972%gmx.com@localhost</a>&gt;<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: &lt;<a href=3D"mailto:pr-pkg-52633%gnats.netbsd.or@localhost=
 g">pr-pkg-52633%gnats.netbsd.org@localhost</a><wbr>&gt;<br>
 =C2=A0 &lt;<a href=3D"mailto:20171020153649.BFD6D7A26F%mollari.NetBSD.org@localhost";>=
 20171020153649.BFD6D7A26F@<wbr>mollari.NetBSD.org</a>&gt;<br>
 =C2=A0 &lt;<a href=3D"mailto:20171021065001.3F2F77A28C%mollari.NetBSD.org@localhost";>=
 20171021065001.3F2F77A28C@<wbr>mollari.NetBSD.org</a>&gt;<br>
 =C2=A0In-Reply-To: &lt;<a href=3D"mailto:20171021065001.3F2F77A28C@mollari.=
 NetBSD.org">20171021065001.3F2F77A28C@<wbr>mollari.NetBSD.org</a>&gt;<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&gt; The following reply was made to PR pkg/52633; it has been noted =
 by GNAT=3D<br>
 =C2=A0S.<br>
 =C2=A0&gt;=3D20<br>
 <span class=3D"">=C2=A0&gt; From: Thomas Klausner &lt;wiz%NetBSD.org@localhost&gt;<br=
 >
 =C2=A0&gt; To: NetBSD bugtracking &lt;gnats-bugs%NetBSD.org@localhost&gt;<br>
 </span>=C2=A0&gt; Cc:=3D20<br>
 =C2=A0&gt; Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /us=
 r/X11R7=3D<br>
 =C2=A0 not<br>
 =C2=A0&gt;=C2=A0 found<br>
 =C2=A0&gt; Date: Sat, 21 Oct 2017 08:47:37 +0200<br>
 =C2=A0&gt;=3D20<br>
 <span class=3D"">=C2=A0&gt;=C2=A0 On Sat, Oct 21, 2017 at 12:20:01AM +0000,=
  <a href=3D"mailto:coypu%sdf.org@localhost";>coypu%sdf.org@localhost</a> wrote:<br>
 =C2=A0&gt;=C2=A0 &gt;=C2=A0 That is the actual error.<br>
 </span>=C2=A0&gt;=C2=A0 &gt; =3D20<br>
 <span class=3D"">=C2=A0&gt;=C2=A0 &gt;=C2=A0 $ make<br>
 =C2=A0&gt;=C2=A0 &gt;=C2=A0 ERROR: This package has set PKG_FAIL_REASON:<br=
 >
 =C2=A0&gt;=C2=A0 &gt;=C2=A0 ERROR: python27-2.7.14 uses X11, but /usr/X11R6=
  not found<br>
 =C2=A0&gt;=C2=A0 &gt;=C2=A0 *** Error code 1<br>
 </span>=C2=A0&gt;=C2=A0 &gt; =3D20<br>
 <span class=3D"">=C2=A0&gt;=C2=A0 &gt;=C2=A0 Stop.<br>
 =C2=A0&gt;=C2=A0 &gt;=C2=A0 make: stopped in /usr/pkgsrc/lang/python27<br>
 </span>=C2=A0&gt; =3D20<br>
 <span class=3D"">=C2=A0&gt;=C2=A0 python reports that it needs X11 here.<br=
 >
 </span>=C2=A0&gt; =3D20<br>
 <span class=3D"">=C2=A0&gt;=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&gt;=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&gt; =3D20<br>
 =C2=A0&gt;=C2=A0 So either install /usr/X11R? or set &quot;X11_TYPE=3D3Dmod=
 ular&quot; 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&gt;=C2=A0 =C2=A0Thomas<br>
 =C2=A0&gt; =3D20<br>
 =C2=A0&gt;=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&quot;signature.asc&q=
 uot;<br>
 =C2=A0Content-Description: OpenPGP digital signature<br>
 =C2=A0Content-Disposition: attachment; filename=3D&quot;signature.asc&quot;=
 <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--
 


Home | Main Index | Thread Index | Old Index