pkgsrc-Users archive

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

Re: pkgsrc-2019Q3 devel/glib2 build failure



On Tue, Oct 29, 2019 at 08:16:34PM +0000, Patrick Welche wrote:
> On Tue, Oct 29, 2019 at 10:31:19AM -0700, Benny Siegert wrote:
> > On Tue, Oct 29, 2019 at 10:18 AM Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> > >
> > > On Tue, Oct 29, 2019 at 05:02:54PM +0000, Patrick Welche wrote:
> > > > On Tue, Oct 29, 2019 at 09:37:15AM -0700, Benny Siegert wrote:
> > > > > line 23, in <module>
> > > > >     import xml.parsers.expat
> > > > >   File "/usr/pkg/lib/python3.7/xml/parsers/expat.py", line 4, in <module>
> > > > >     from pyexpat import *
> > > > > ModuleNotFoundError: No module named 'pyexpat'
> > > >
> > > > so indeed you have py37-expat installed, as ...parsers/expat.py is found.
> > >
> > > That bit doesn't follow - but:
> > >
> > > > Question is, given that, why the import line fails. Any clues if you
> > > > simply run python3.7 and then type "from pyexpat import *" ? I get:
> > 
> > No error message there:
> > 
> > $ ./2019Q3/bin/python3.7
> > Python 3.7.4 (default, Oct 29 2019, 13:45:26)
> > [GCC 7.4.0] on netbsd9
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from pyexpat import *
> > >>> ^D
> 
> Then I don't know. I have now seen many problems with meson in pkgsrc
> which I don't see with meson outside of pkgsrc.

I just got

[20/20] Starting build of  glib2-2.60.6
[20/20] Successfully built glib2-2.60.6

for a 2019Q3 pkgsrc pbulk build on -current/amd64 (so e.g. the sandbox 
contained gcc 8.3) The packages built to get to glib2 were:

# pkg_info -a
digest-20190127     Message digest wrapper utility
libffi-3.2.1nb4     Foreign function interface
libuuid-2.32.1      Generate unique identifiers for objects
python37-3.7.4      Interpreted, interactive, object-oriented programming language
ninja-build-1.9.0nb1 Small build system with a focus on speed
py37-expat-3.7.4    Python interface to expat
py37-setuptools-41.2.0 New Python packaging system
py37-meson-0.51.1nb4 Open source build system meant to be fast and user friendly
cwrappers-20180325  pkgsrc compiler wrappers
pkgconf-1.6.0       API-driven pkg-config replacement
checkperms-1.12     Check and correct file permissions
pcre-8.43           Perl Compatible Regular Expressions library


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index