pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/42825 (x11/kdelibs4 fails to compile (NetBSD 4.0 / i386))
The following reply was made to PR pkg/42825; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/42825 (x11/kdelibs4 fails to compile (NetBSD 4.0 / i386))
Date: Sat, 17 Jul 2010 01:07:12 +0700
OK, I have done a little more analysis. not enough yet to know what the
problem might be, but at least enough to provide a little more evidence.
The build log at the point of the hang is ...
[ 17%] Building CXX object
nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/qrc_templates.o
Linking CXX executable ../../bin/nepomuk-rcgen
[ 17%] Built target nepomuk-rcgen
Scanning dependencies of target nepomuk_automoc
Generating ktagcloudwidget.moc
Generating kautoscrollarea.moc
Generating resourcefiltermodel.moc
Generating ktagdisplaywidget.moc
Generating resourcemanager.moc
Generating nepomukmainmodel.moc
Generating kmetadatatagwidget.moc
Generating nepomukmassupdatejob.moc
Generating nepomukservice.moc
Generating kmetadatatagcloud.moc
Generating kratingwidget.moc
Generating graphwrapper_p.moc
[ 17%] Built target nepomuk_automoc
[ 17%] Generating pimo.h, pimo.cpp
namespace: "http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
And a ps of the terminal running the build shows (this list manually sorted
so the process tree is from top to bottom) ...
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
0 6170 1 11407 83 0 2948 4 wait IW ttypb- 0:00.00 /bin/sh
/home/kre/bin/pb x11/kdelibs4
0 11853 6170 6465 84 0 2948 4 wait IW ttypb- 0:00.01 /bin/sh
/home/kre/bin/pkg_comp -d build x11/kdelibs4
0 15861 11853 6465 84 0 1260 4 wait IW ttypb- 0:00.00 /bin/sh
/pkg_comp/tmp/pkg_comp-202a.sh
0 25050 15861 9217 83 0 4188 4 wait IW ttypb- 0:00.41 make
bin-install
0 19959 25050 9217 83 0 1268 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e; pkgpattern=kdelibs4-4.4.5nb1;\t\t
0 9377 19959 9675 83 0 4188 4 wait IW ttypb- 0:00.41
/usr/bin/make _MAKE OPSYS OS_VERSION LOWER_OPSYS _PK
0 15052 9377 9675 83 0 1268 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e;\t\t\t\t\t if test -n "" && /usr/
0 11457 15052 23069 80 0 5836 4 wait IW ttypb- 0:01.55
/usr/bin/make HOST_OSTYPE _SRC_TOP_ LOWER_OPSYS _PKG
0 23757 11457 23069 80 0 1284 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e;\t\t\t\t\t\t cd /pkg_comp/obj/pkgs
0 16444 23757 24527 80 0 2080 4 wait IW ttypb- 0:00.06
/usr/pkg/bin/gmake -f Makefile all
0 29343 16444 29826 78 0 4236 1404 wait I ttypb- 0:00.36
/usr/pkg/bin/gmake -f CMakeFiles/Makefile2 all
0 9155 29343 29983 78 0 1484 1220 wait I ttypb- 0:00.01
/usr/pkg/bin/gmake -f nepomuk/core/CMakeFiles/nepomu
0 14771 9155 29983 78 0 1280 836 wait I ttypb- 0:00.00 /bin/sh -c
cd /pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/k
0 3689 14771 26851 79 0 72564 7396 pause I ttypb- 0:00.15
/usr/pkg/bin/onto2vocabularyclass --name PIMO --enco
In that, the first process is my script that runs pkg_comp (after working
out what is the right order if it is given multiple packages to build,
which it wasn't here), then there's the pkg_comp itself, and after that the
script that runs in the sandbox that runs the "make" that causes everything
to happen. Beyond that is just pkgsrc, and the build system of kdelibs4
The pkg_comp scandbox has NetBSD 4.0 installed in it (with libkver) - but
for this test the real kernel that's running is NetBSD 5.1RC3 (I observed
identical behaviour when the underlying kernel was NetBSD 4_STABLE from
about 2 years ago (May 2008)).
I'll include ps output below with 'ww' options in case anyone really wants to
look at huge long lines of nonsense... (that listing won't be sorted, and
probably includes a few processes that I removed above - like the ps itself,
and more irrelevant junk like that).
This build is still hanging, for now I'll leave it like that in case anyone
has any requests for specific information, or suggestions for things to try
to unglue it (most signals aimed at the onto2vocabularyclass process that's
paused just cause it to abort, SIGCHLD seems to be ignored.)
kre
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
200 1552 29079 0 85 0 2156 1976 wait Is ttypb 0:00.04 -bash
0 3689 14771 26851 79 0 72564 7396 pause I ttypb- 0:00.15
/usr/pkg/bin/onto2vocabularyclass --name PIMO --encoding trig --namespace
Nepomuk::Vocabulary --no-visibility-export
/usr/pkg/share/ontology/pimo/pimo.trig (onto2vocabularyc)
0 6170 1 11407 83 0 2948 4 wait IW ttypb- 0:00.00 /bin/sh
/home/kre/bin/pb x11/kdelibs4
0 9155 29343 29983 78 0 1484 1220 wait I ttypb- 0:00.01
/usr/pkg/bin/gmake -f nepomuk/core/CMakeFiles/nepomuk.dir/build.make
nepomuk/core/CMakeFiles/nepomuk.dir/depend
0 9377 19959 9675 83 0 4188 4 wait IW ttypb- 0:00.41
/usr/bin/make _MAKE OPSYS OS_VERSION LOWER_OPSYS _PKGSRCDIR PKGTOOLS_VERSION
PKG_BUILD_OPTIONS.MesaLib PKG_BUILD_OPTIONS.qt4-libs PKG_BUILD_OPTIONS.heimdal
_CC _PATH_ORIG DEPENDS_TARGET package-install
0 11457 15052 23069 80 0 5836 4 wait IW ttypb- 0:01.55
/usr/bin/make HOST_OSTYPE _SRC_TOP_ LOWER_OPSYS _PKGSRC_BARRIER
ALLOW_VULNERABLE_PACKAGES package-install
0 11853 6170 6465 84 0 2948 4 wait IW ttypb- 0:00.01 /bin/sh
/home/kre/bin/pkg_comp -d build x11/kdelibs4
0 14663 1552 0 85 0 2136 1956 wait S ttypb 0:00.03 bash
0 14771 9155 29983 78 0 1280 836 wait I ttypb- 0:00.00 /bin/sh -c
cd /pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.4.5/_KDE_build/nepomuk/core
&& /usr/pkg/bin/onto2vocabularyclass --name PIMO --encoding trig --namespace
Nepomuk::Vocabulary --no-visibility-export
/usr/pkg/share/ontology/pimo/pimo.trig
0 15052 9377 9675 83 0 1268 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e;\t\t\t\t\t if test -n "" && /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe
kdelibs4-4.4.5nb1; then echo ===\\> "Skipping installation of already handled
package"; else cd /usr/pkgsrc/x11/kdelibs4\t\t\t\t\t\t\t && /usr/bin/env
MAKECONF=/etc/mk.conf
PATH=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.wrapper/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.gcc/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin:/usr/pkg/bin:/home/kre/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R7/bin:/usr/X11R6/bin
/usr/bin/make HOST_OSTYPE=NetBSD-4.0-i386 _SRC_TOP_= LOWER_OPSYS=netbsd
_PKGSRC_BARRIER=yes ALLOW_VULNERABLE_PACKAGES= package-install ||
{\t\t\t\t\t\t\t\t exitcode="$?";\t\t\t\t\t\t /usr/bin/env MAKECONF=/etc/mk.conf
PATH=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.wrapper/bin:/pkg_comp/obj/pkgsrc/x11/k
!
delibs4/4x/.buildlink/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.gcc/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin:/usr/pkg/bin:/home/kre/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R7/bin:/usr/X11R6/bin
/usr/bin/make HOST_OSTYPE=NetBSD-4.0-i386 _SRC_TOP_= LOWER_OPSYS=netbsd
_PKGSRC_BARRIER=yes barrier-error-check; exit "$exitcode";\t\t\t\t\t }; fi
0 15861 11853 6465 84 0 1260 4 wait IW ttypb- 0:00.00 /bin/sh
/pkg_comp/tmp/pkg_comp-202a.sh
0 16444 23757 24527 80 0 2080 4 wait IW ttypb- 0:00.06
/usr/pkg/bin/gmake -f Makefile all
0 19959 25050 9217 83 0 1268 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e; pkgpattern=kdelibs4-4.4.5nb1;\t\t\t\t /usr/pkg/sbin/pkg_info -K
/var/db/pkg -qe "$pkgpattern" || {\t\t\t\t echo "=>" "No binary package found
for $pkgpattern; installing from source."; /usr/bin/env MAKECONF=/etc/mk.conf
PATH=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.wrapper/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.gcc/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin:/usr/pkg/bin:/home/kre/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R7/bin:/usr/X11R6/bin
/usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=4.0
LOWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20100616
PKG_BUILD_OPTIONS.MesaLib=\\ dri\\ i386 PKG_BUILD_OPTIONS.qt4-libs=\\
PKG_BUILD_OPTIONS.heimdal=\\ inet6 _CC=/usr/bin/cc
_PATH_ORIG=/home/kre/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr
!
/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R7/bin:/usr/X11R6/bin
DEPENDS_TARGET=bin-install package-install ; }
0 20411 14663 0 43 0 2964 880 - O+ ttypb 0:00.00 ps -alwwtpb
0 23757 11457 23069 80 0 1284 4 wait IW ttypb- 0:00.00 /bin/sh -c
set -e;\t\t\t\t\t\t cd /pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.4.5 && cd
_KDE_build &&\t\t\t\t\t /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\\ -pthread\\
PTHREAD_LDFLAGS=\\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr QTDIR=/usr/pkg/qt4
MOC="/usr/pkg/qt4/bin/moc" UIC="/usr/pkg/qt4/bin/uic"
QMAKE="/usr/pkg/qt4/bin/qmake" QMAKESPEC=/usr/pkg/qt4/mkspecs/netbsd-g++ CC=cc
CFLAGS=-O2\\ -I/usr/pkg/qt4/include\\ -I/usr/pkg/include\\ -I/usr/include\\
-I/usr/pkg/include/freetype2\\ -I/usr/include/krb5
CPPFLAGS=-I/usr/pkg/qt4/include\\ -I/usr/pkg/include\\ -I/usr/include\\
-I/usr/pkg/include/freetype2\\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\\
-I/usr/pkg/qt4/include\\ -I/usr/pkg/include\\ -I/usr/include\\
-I/usr/pkg/include/freetype2\\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R
F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C
LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/qt
!
4/lib\\ -Wl,-R/usr/pkg/qt4/lib\\ -L/usr/pkg/lib\\ -Wl,-R/usr/pkg/lib\\
-L/usr/lib\\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R
PATH=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.wrapper/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.gcc/bin:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin:/usr/pkg/bin:/home/kre/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/bin
PREFIX=/usr/pkg PKG_SYSCONFDIR=/etc/conf
HOME=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.home CPP=cpp LINK_ALL_LIBGCC_HACK=
LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive
WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg X11PREFIX=/usr/pkg
PKGMANDIR=man PKGINFODIR=info MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no
BSD_INSTALL_PROGRAM=/usr/bin/install\\ -c\\ -s\\ -o\\ root\\ -g\\ wheel\\ -m\\
555 BSD_INSTALL_SCRIPT=/usr/bin/install\\ -c\\ -o\\ root\\ -g\\ wheel\\
!
-m\\ 555 BSD_INSTALL_LIB=/usr/bin/install\\ -c\\ -o\\ root\\ -!
g\\ wheel\\ -m\\ 555 BSD_INSTALL_DATA=/usr/bin/install\\ -c\\ -o\\ root\\
-g\\ wheel\\ -m\\ 444 BSD_INSTALL_MAN=/usr/bin/install\\ -c\\ -o\\ root\\ -g\\
wheel\\ -m\\ 444 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\\ -d\\ -o\\ root\\ -g\\ wheel\\ -m\\
755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\\ -d\\ -o\\ root\\ -g\\ wheel\\
-m\\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\\ -d\\ -o\\ root\\ -g\\ wheel\\
-m\\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\\ -d\\ -o\\ root\\ -g\\ wheel\\
-m\\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\\ -d\\ -o\\ root\\ -g\\ wheel\\
-m\\ 755 BSD_INSTALL_GAME=/usr/bin/install\\ -c\\ -s\\ -o\\ games\\ -g\\
games\\ -m\\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\\ -c\\ -o\\ games\\
-g\\ games\\ -m\\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\\ -d\\ -o\\ games\\
-g\\ games\\ -m\\ 775 INSTALL_INFO=
MAKEINFO=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin/makeinfo
PKG_CONFIG=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.tools/bin/pkg-confi
!
g
PKG_CONFIG_LIBDIR=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/lib/pkgconfig:/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.pkg-config.log
PKG_CONFIG_PATH=
KRB5_CONFIG=/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/.buildlink/bin/krb5-config
WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes WRAPPER_REORDER=yes
VIEWBASE=/usr/pkg\t\t\t\t\t\t /usr/pkg/bin/gmake \t\t\t\t \t\t -f Makefile all
0 25050 15861 9217 83 0 4188 4 wait IW ttypb- 0:00.41 make
bin-install
0 29343 16444 29826 78 0 4236 1404 wait I ttypb- 0:00.36
/usr/pkg/bin/gmake -f CMakeFiles/Makefile2 all
Home |
Main Index |
Thread Index |
Old Index