port upgrade procedure is locked up

From: <deeptech71_at_gmail.com>
Date: Mon, 19 Mar 2012 00:07:43 +0100
A full port upgrade procedure seems to in some sort of a deadlock while configuring a port. I did not try canceling and restarting the procedure, as this may be a bug that should be fixed. If anyone wants to investigate, quickly ask questions before these buggy video drivers decide to lock up as usual.

I generally don't have debugging symbols installed. Now I have an r233103 world&kernel, and ~2.5 week old ports.

The last few lines of output:

===>   Registering installation for mcpp-2.7.2_1
===>  Cleaning for mcpp-2.7.2_1
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 462 packages found (-0 +1) . done]
--->  Reinstalling 'talloc-2.0.7' (devel/talloc)
--->  Building '/usr/ports/devel/talloc'
===>  Cleaning for talloc-2.0.7
===>  License LGPL3 accepted by the user
===>  Found saved configuration for talloc-2.0.7
===>  Extracting for talloc-2.0.7
=> SHA256 Checksum OK for talloc-2.0.7.tar.gz.
===>  Patching for talloc-2.0.7
===>  Applying FreeBSD patches for talloc-2.0.7
===>   talloc-2.0.7 depends on file: /usr/local/bin/python2.7 - found
===>   talloc-2.0.7 depends on executable: pkg-config - found
===>  Configuring for talloc-2.0.7
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/talloc/work/talloc-2.0.7/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/talloc/work/talloc-2.0.7/lib/replace/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/talloc/work/talloc-2.0.7/lib/replace/configure
Checking for program gcc or cc           : cc
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for gcc                         : ok
Checking for program git                 : /usr/local/bin/git
Check for -MD                            :

The output of top -Uroot:

last pid: 39399;  load averages:  0.00,  0.00,  0.00                                                                                                                                                                                   up 0+13:22:36  23:32:31
45 processes:  1 running, 44 sleeping
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.2% interrupt, 99.8% idle
Mem: 128M Active, 5912K Inact, 86M Wired, 5352K Cache, 60M Buf, 268M Free
Swap: 1536M Total, 41M Used, 1495M Free, 2% Inuse

   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
69668 root          1  52    0 65284K 27920K wait    0   1:21  0.00% ruby18
69667 root          1  20    0  9480K   348K select  1   0:05  0.00% script
   566 root          1  20    0 11144K   800K select  1   0:01  0.00% sendmail
31381 root          3  52    0 24840K  8284K usem    0   0:01  0.00% python
   573 root          1  20    0  9512K   396K nanslp  0   0:00  0.00% cron
   353 root          1  20    0 12128K   260K select  1   0:00  0.00% devd
   450 root          1  20    0  9480K   592K select  0   0:00  0.00% syslogd
31271 root          1  52    0  8032K  1180K wait    1   0:00  0.00% make
31249 root          1  52    0  8032K  1108K wait    1   0:00  0.00% make
39272 root          1  20    0 10800K  2472K ttyin   1   0:00  0.00% csh
  7708 root          1  20    0 10800K     0K pause   0   0:00  0.00% <csh>
31248 root          1  20    0  9480K   796K select  1   0:00  0.00% script
   612 root          1  20    0  9980K     0K wait    0   0:00  0.00% <login>
   616 root          1  52    0  9480K   320K ttyin   0   0:00  0.00% getty
   617 root          1  52    0  9480K   320K ttyin   0   0:00  0.00% getty
   615 root          1  52    0  9480K   320K ttyin   1   0:00  0.00% getty
   613 root          1  52    0  9480K   320K ttyin   1   0:00  0.00% getty
   618 root          1  52    0  9480K   320K ttyin   0   0:00  0.00% getty
   614 root          1  52    0  9480K   320K ttyin   1   0:00  0.00% getty
31379 root          1  52    0  9780K  1104K wait    1   0:00  0.00% sh
   105 root          1  52    0  9396K     0K pause   1   0:00  0.00% <adjkerntz>
31384 root          1  52    0 20744K  7836K usem    0   0:00  0.00% python

The output of ps -xUroot:

   PID TT  STAT      TIME COMMAND
     0  -  DLs    0:00.24 [kernel]
     1  -  ILs    0:02.08 /sbin/init --
     2  -  DL     0:00.00 [xpt_thrd]
     3  -  DL     1:02.21 [pagedaemon]
     4  -  DL     0:00.37 [vmdaemon]
     5  -  DL     0:00.00 [pagezero]
     6  -  DL     0:04.91 [bufdaemon]
     7  -  DL     0:03.64 [vnlru]
     8  -  DL     0:18.10 [syncer]
     9  -  DL     0:00.51 [softdepflush]
    10  -  RL   865:52.10 [idle]
    11  -  WL     5:32.20 [intr]
    12  -  DL     4:03.57 [geom]
    13  -  DL     0:12.93 [yarrow]
    14  -  DL     0:08.91 [usb]
   105  -  IWs    0:00.00 adjkerntz -i
   353  -  Is     0:00.25 /sbin/devd
   450  -  Ss     0:00.18 /usr/sbin/syslogd -s
   566  -  Ss     0:01.39 sendmail: accepting connections (sendmail)
   573  -  Ss     0:00.26 /usr/sbin/cron -s
39268  -  I      0:00.01 gnome-pty-helper
39369  -  I      0:00.01 gnome-pty-helper
97705  -  IW     0:00.00 gnome-pty-helper
   612 v1  IWs    0:00.00 login [pam] (login)
   640 v1  S     41:06.68 /usr/local/bin/X :0 -auth /home/trol/.serverauth.621 (Xorg)
   613 v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
   614 v3  Is+    0:00.00 /usr/libexec/getty Pc ttyv3
   615 v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
   616 v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
   617 v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
   618 v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7
  7707  0  IW     0:00.00 su root
  7708  0  IW     0:00.00 _su (csh)
69667  0  S+     0:05.03 script /root/portupgrade.log portupgrade -fuck <2012-03-18T13:20:00
39271  2  I      0:00.01 su root
39272  2  S      0:00.08 _su (csh)
39398  2  R+     0:00.00 ps -xUroot
31248  3  S+     0:00.02 /usr/bin/script -qa /tmp/portupgrade20120318-69668-1pag121-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=talloc-2.0.7 UPGRADE_PORT_VER=2.0.7 make
69668  3  Is+    1:21.34 ruby18: portupgrade: [147/435] talloc-2.0.7 (ruby18)
31249  6  Is+    0:00.08 make
31271  6  I+     0:00.12 make CONFIG_DONE_TALLOC=1 /usr/ports/devel/talloc/work/.build_done.talloc._usr_local
31379  6  I+     0:00.00 /bin/sh -ec (cd /usr/ports/devel/talloc/work/talloc-2.0.7 &&    if ! /usr/bin/env CC="cc" CPP="cpp" CXX="c++"  CFLAGS="-O2 -fno-strict-aliasing -pipe -march=pentium4" CPPFLAGS="" CXXFLAGS="-O2 -fno-strict-aliasing -pipe -march=pentium4"  LDFLAGS=""  INSTALL="/usr/bin/install -c -o root -g wheel"  INSTALL_DATA="install  -o root -g wheel -m 444"  INSTALL_LIB="install  -s -o root -g wheel -m 444"  INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  INSTALL_SCRIPT="install  -o root -g wheel -m 555"  XSLTPROC="/usr/bin/true" NOCOLOR=yes PYTHON="/usr/local/bin/python2.7" SHELL=/bin/sh CONFIG_SHELL=/bin/sh  ./buildtools/bin/waf configure --mandir=/usr/local/man --prefix=/usr/local --jobs=`/sbin/sysctl -n kern.smp.cpus` ; then  echo "===>  Script \\"buildtools/bin/waf configure\\" failed unexpectedly.";  (echo "Please report the problem to timur_at_FreeBSD.org [maintainer] and attach the \\"/usr/ports/devel/talloc/work/talloc-2.0.7/bin/config.log\\" including the 
output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an \\`ls /var/db/pkg\\`).") | /usr/bin/fmt 75 79 ;  false;  fi)
31381  6  I+     0:00.78 python ./buildtools/bin/waf configure --mandir=/usr/local/man --prefix=/usr/local --jobs=2
31384  6  I+     0:00.00 python ./buildtools/bin/waf configure --mandir=/usr/local/man --prefix=/usr/local --jobs=2
Received on Sun Mar 18 2012 - 22:07:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC