Port-alpha archive

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

Re: Build of devel/glib2 hangs on Alpha



On 8/10/19 8:41 AM, maya%NetBSD.org@localhost wrote:
On Fri, Aug 09, 2019 at 02:45:45AM +0200, Christian Groessler wrote:
glib2 just hangs, probably waiting for something:
What happens if you attach gdb to it and look at the backtrace?


gdb is showing that the python (meson) process is hanging in read().


^T shows:

...
Build type: native build
Project name: glib
Project version: 2.60.4
[ 1840.4740066] load: 0.00  cmd: cc1 12861 [netio] 0.01u 0.01s 0% 8368k
make: Working in: /usr/pkgsrc/devel/glib2
make[1]: Working in: /usr/pkgsrc/devel/glib2


bash-5.0$ ps l
 UID   PID PPID  CPU PRI NI   VSZ   RSS WCHAN  STAT TTY      TIME COMMAND
1000   397  356    0  85  0 13992  4008 wait   Is   ttyp0 0:00.05 -bash
1000   571  397    0  85  0 13240  2928 pause  S+   ttyp0 0:00.01 screen
1000   559  574    0  85  0 14192  4088 wait   Is   ttyp2 0:00.03 /usr/pkg/bin/bash
1000  2968  559    0  85  0 14896  5440 wait   I+   ttyp2 0:00.58 make
1000  3678 2968  870  85  0 12056  2528 wait   I+   ttyp2 0:00.00 /bin/sh -c set -e;\t\t\t\t\t if test -n "" && /usr/sbin/pkg_info -K /var/db/pkg -qe glib2-2.60.4nb5; then  echo ===\\> "Skipping installat 1000  7661 7961 9763  83  0 15440  4040 wait   I+   ttyp2 0:00.02 /usr/pkgsrc/devel/glib2/work/.gcc/bin/gcc -E -dM - -std=gnu99 -D_FORTIFY_SOURCE=2 -I/usr/pkgsrc/devel/glib2/work/.buildlink/include 1000  7961 8490 9312  83  0 45808 32040 netio  I+   ttyp2 0:03.73 /usr/pkg/bin/python3.7 /usr/pkg/bin/meson --prefix /usr/pkg --libdir lib --mandir man --sysconfdir /usr/pkg/etc --buildtype=plain -Dinstall 1000  8490 3678    0  85  0 15360  5848 wait   I+   ttyp2 0:00.91 /usr/bin/make _MAKE OPSYS OS_VERSION LOWER_OPSYS _PKGSRCDIR PKGTOOLS_VERSION _CC _PATH_ORIG _PKGSRC_BARRIER ALLOW_VULNERABLE_PACKAGES all 1000 12861 7661 9763  83  0 36576  8368 netio  I+   ttyp2 0:00.02 /usr/libexec/cc1 -E -quiet -I /usr/pkgsrc/devel/glib2/work/.buildlink/include -D _FORTIFY_SOURCE=2 - -std=gnu99 -dM 1000 13126  574    0  85  0 14192  4144 select Is+  ttyp4 0:00.02 /usr/pkg/bin/bash 1000  6190  574    0  85  0 14680  4272 wait   Ss   ttyp5 0:00.14 /usr/pkg/bin/bash
1000  7612 6190    0  43  0 11864  2264 -      O+   ttyp5 0:00.01 ps -l
bash-5.0$

From "ps -l" output I gather that meson tries to call "gcc -E -dM -" to get preprocessor defines. But it doesn't provide an end-of-input for gcc, so gcc is waiting forever.


regards,
chris


Home | Main Index | Thread Index | Old Index