Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc build hang of python38
On Sat, 27 Feb 2021 at 21:25, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Sat, 27 Feb 2021 at 20:51, Riccardo Mottola
> <riccardo.mottola%libero.it@localhost> wrote:
> >
> > Hi,
> >
> > after succesfully upgrading to 9.99.80 with a full distribution
> > rebuild, I am also rebuilding pkgsrc!I did follow the pkgdb migration.
> >
> > python38 hangs during build. I tried several times, it hangs in exactly
> > the same place again. I don't know of course where the issue comes from,
> > since all is new now :)
> >
> >
> > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/__init__.py
> > /usr/pkg/lib/python3.8/pydoc_data
> > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/_pydoc.css
> > /usr/pkg/lib/python3.8/pydoc_data
> > /usr/bin/install -c -o root -g wheel -m 644 ./Lib/pydoc_data/topics.py
> > /usr/pkg/lib/python3.8/pydoc_data
> > /usr/bin/install -c -o root -g wheel -m 644 `cat
> > pybuilddir.txt`/_sysconfigdata_netbsd9.py
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8;
> > /usr/bin/install -c -o root -g wheel -m 644 ./LICENSE
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8/LICENSE.txt
> > if test -d
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8/distutils/tests;
> > then /usr/bin/install -c -o root -g wheel -m 644 ./Modules/xxmodule.c
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8/distutils/tests
> > ; fi
> > PYTHONPATH=/usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8
> > LD_LIBRARY_PATH=/usr/pkgsrc/lang/python38/work/Python-3.8.8 ./python -E
> > -Wi
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8/compileall.py
> > -j0 -d /usr/pkg/lib/python3.8 -f -x
> > 'bad_coding|badsyntax|site-packages|lib2to3/tests/data'
> > /usr/pkgsrc/lang/python38/work/.destdir/usr/pkg/lib/python3.8
> >
> >
> >
> > It hangs here with almost 0 cpu consumption, top shows a 99% idle
> > system. I clean, retry and hang there again!
> >
>
> When it happens again, try finding the exact process which is hanging
> at the moment ( best is with htop in tree mode ), then attach to it
> with gdb and run 'thread apply all bt' - I bet all threads (bar one)
> are waiting... When you quit gdb, the process magically continues...
>
> That has been happening with my builds, mainly when I do
> 'pkg_rolling-replace', all the time the last several months, I am sure
> you can find the mail archives. i still don't know if it is only a
> problem with the entropy or something with the thread processing. In
> my case it happens most often when running cmake and rebuilding some
> kde packages, but this happens elsewhere as well.
>
>
>
>
> > I tried upgrading python27 .... but that pulls in python38, so I hang
> > again.... and if I try updating other packages I will end up tehre,
> > consistent hang-
See https://mail-index.netbsd.org/current-users/2020/05/24/msg038692.html
thread for example.
> >
> > Riccardo
> >
>
>
> --
> ----
--
----
Home |
Main Index |
Thread Index |
Old Index