Subject: pkg/35906: pkg "filelight" contains unresolved references
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <thomas.feddersen@t-online.de>
List: pkgsrc-bugs
Date: 03/03/2007 14:10:00
>Number:         35906
>Category:       pkg
>Synopsis:       pkg "filelight" contains unresolved references
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 03 14:10:00 +0000 2007
>Originator:     Thomas Feddersen
>Release:        NetBSD 4 beta2
>Organization:
Dipl.-Ing. Thomas Feddersen, Beratender Ingenieur
>Environment:
NetBSD XenXimus.feddersen.xx 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOMU) #0: Mon Feb  5 06:25:56 UTC 2007  builds@b1.netbsd.org:/home/builds/ab/netbsd-4/i386/200702040000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/XEN3_DOMU i386
>Description:
filelight doesn't make:

# cd /usr/pkgsrc/sysutils/filelight
# make
=> Required installed package digest>=20010302: digest-20060826 found
===> Installing dependencies for filelight-1.0nb3
==========================================================================
The following variables will affect the build process of this package,
filelight-1.0nb3.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb4 found
=> Required installed package perl>=5.0: perl-5.8.8nb3 found
=> Required installed package qt3-tools>=3.3.6nb1: NOT found
=> Verifying reinstall for ../../x11/qt3-tools
=> Required installed package digest>=20010302: digest-20060826 found
===> Building for qt3-tools-3.3.7
cd tools && /usr/pkg/bin/gmake
gmake[1]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools'
cd assistant/lib && /usr/pkg/bin/gmake -f Makefile
gmake[2]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/assistant/lib'
test -d ../../../lib/ || mkdir -p ../../../lib/
libtool --silent --mode=link c++ -version-info 1:0:0 -rpath /usr/pkg/qt3/lib -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -Wl,-R/usr/pkg/xorg/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -fno-exceptions  -Wl,-R/usr/pkg/l
ib  -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -o ../../../lib/libqassistantclient.la .obj/release-shared-mt/qassistantclient.lo .obj/release-shared-mt/moc_q
assistantclient.lo  -L/usr/pkg/xorg/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -L/usr/pkg/lib -lqt-mt
 -lpng -lz -lGLU -lGL -lXmu -lICE -lSM -pthread
gmake[2]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/assistant/lib'
cd designer && /usr/pkg/bin/gmake -f Makefile
gmake[2]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer'
cd uic && /usr/pkg/bin/gmake -f Makefile
gmake[3]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/uic'
gmake[3]: Nothing to be done for `first'.
gmake[3]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/uic'
cd uilib && /usr/pkg/bin/gmake -f Makefile
gmake[3]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/uilib'
test -d ../../../lib/ || mkdir -p ../../../lib/
libtool --silent --mode=link c++ -version-info 1:0:0 -rpath /usr/pkg/qt3/lib -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
 -L/usr/lib -Wl,-R/usr/lib -L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -Wl,-R/usr/pkg/xorg/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -fno-exceptions  -Wl,-R/usr/pkg/l
ib  -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -o ../../../lib/libqui.la .obj/release-shared-mt/qwidgetfactory.lo .obj/release-shared-mt/domtool.lo .obj/rele
ase-shared-mt/uib.lo .obj/release-shared-mt/database.lo .obj/release-shared-mt/moc_database2.lo  -L/usr/pkg/xorg/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib 
-L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/lib -L/usr/pkg/lib -L/usr/pkg/xorg/lib -lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -
lXext -lX11 -lm -lICE -lSM -pthread
gmake[3]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/uilib'
cd designer && /usr/pkg/bin/gmake -f Makefile
gmake[3]: Entering directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/designer'
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/bin/uic -L /usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/plugins listboxeditor.ui -o listboxeditor.h
Shared object "libXmu.so.6" not found
gmake[3]: *** [listboxeditor.h] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer/designer'
gmake[2]: *** [sub-designer] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools/designer'
gmake[1]: *** [sub-designer] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.7/tools'
gmake: *** [sub-tools] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/filelight

>How-To-Repeat:
install a system without x11-sets but install meta-pkg "xorg" instead
install and update pkgsrc

# cat /etc/mk.conf
DISTDIR=/usr/pkgsrc_distfiles
PKG_OPTIONS.mc=samba
X11_TYPE=xorg
ALLOW_VULNERABLE_PACKAGES=NO
# 

create symlink /usr/lib/libz.so.0 -> /lib/libz.so.1.0

attampt to make as above

I tried to install libX11, but the system couldn't use xproto although it is installed:

#cd /usr/pkgsrc/x11/libX11
#make 
<snip>
checking dynamic linker characteristics... 
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, wa
/usr/pkgsrc/x11/libXau/work/.compiler/bin/fortran-fail-wrapper -print-
s -I/usr/pkgsrc/x11/libXau/work/.buildlink/include -L/usr/pkgsrc/x11/l
/.buildlink/lib 

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, wa
/usr/pkgsrc/x11/libXau/work/.compiler/bin/fortran-fail-wrapper -E - -I
c/x11/libXau/work/.buildlink/include -L/usr/pkgsrc/x11/libXau/work/.bu
b 
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for XAU... gnome-config: not found
configure: error: Package requirements (xproto) were not met:

No package 'xproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XAU_CFLAGS
and XAU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libXau
WARNING: *** Please consider adding USE_LANGUAGES+=c++ to the package 
WARNING: *** Please consider adding USE_LANGUAGES+=fortran to the pack
le.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libXau
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/libX11
# 
# pkg_info xproto
Information for xproto-7.0.10:

Comment:
X protocol and ancillary headers from Xorg X11

Description:
X protocol and ancillary headers from modular Xorg X11.

Homepage:
http://xorg.freedesktop.org/

>Fix: