Subject: pkg/33819: devel/libgnomeui build fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 06/25/2006 08:50:00
>Number:         33819
>Category:       pkg
>Synopsis:       devel/libgnomeui build fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 25 08:50:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 ( pkgsrc current as of 8-10 hours ago)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/curient/kernels/JADE_ASUS i386
	Building using pkg_comp, libkver and NetBSD 3.0 sets
Architecture: i386
Machine: i386
>Description:
	Building devel/libgnomeui starting wth an essentially empty
	pkg_comp arena results in ...

/usr/pkg/bin/gmake  all-recursive
gmake[3]: Entering directory `/pkg_comp/obj/pkgsrc/devel/libgnomeui/default/libgnomeui-2.14.1/libgnomeui'
Making all in pixmaps
gmake[4]: Entering directory `/pkg_comp/obj/pkgsrc/devel/libgnomeui/default/libgnomeui-2.14.1/libgnomeui/pixmaps'
rm -f gnome-stock-pixbufs.h
var=`echo "stock_attach.png stock_book_blue.png stock_book_green.png stock_book_open.png stock_book_red.png stock_book_yellow.png stock_line_in.png stock_mail.png stock_mail_compose.png stock_mail_forward.png stock_mail_receive.png stock_mail_reply.png stock_mail_send.png stock_menu_about.png stock_menu_blank.png stock_scores.png stock_mic.png stock_multiple_file.png stock_not.png stock_table_borders.png stock_table_fill.png stock_text_bulleted_list.png stock_text_indent.png stock_text_numbered_list.png stock_text_unindent.png stock_timer.png stock_timer_stopped.png stock_trash.png stock_trash_full.png stock_volume.png stock_midi.png stock_authentication.png" | sed -e 's,stock_\([^\.]*\)\.png,stock_\1 ./stock_\1.png,g'` ; \
           /usr/pkg/bin/gdk-pixbuf-csource --raw --build-list $var > pixbufs-tmp && \
           cat ./copyright.txt pixbufs-tmp > gnome-stock-pixbufs.h

(process:20721): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/pkg/libdata/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
failed to load "./stock_attach.png": Couldn't recognize the image file format for file './stock_attach.png'
gmake[4]: *** [gnome-stock-pixbufs.h] Error 1

	In the pkg_comp arena /usr/pkg/libdata/gtk-2.0 exists, but is empty.
	(I have no idea which package is intended to populate it).

>How-To-Repeat:
	I was attempting to build math/gnumeric, for which devel/libgnomeui
	is (directly or indirectly) a requirement (no surprise).
	The sequence of commands was
		pkg_comp makeroot
		pkg_comp build math/gnumeric

	Makeroot installs NetBSD 3.0 binaries, and libkver.  When things
	failed, the following were installed in the pkg_comp arena ...

digest-20060302     Message digest wrapper utility
x11-links-0.30      Shadow tree of links to native X11 headers and libraries
perl-5.8.8nb2       Practical Extraction and Report Language
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Digest-1.15      Perl5 base class for Digest:: modules
p5-Digest-SHA1-2.11 Perl5 module for SHA1
p5-pkgsrc-Dewey-1.0nb1 Perl module to compare pkgsrc Dewey numbers
pkglint-4.65        Verifier for NetBSD packages and complete pkgsrc tree
libtool-base-1.5.22nb3 Generic shared library support script (the script itself)
gmake-3.81          GNU version of 'make' utility
pkg-config-0.20     System for managing library compile/link flags
expat-2.0.0nb1      XML parser library written in C
p5-XML-Parser-2.34nb5 Perl extension interface to James Clark's XML parser, expa
intltool-0.35.0     Toolbox for internationalisation
randrproto-1.1.2    Randr extension headers from modular X.org
renderproto-0.9.2   Render extension headers from modular X.org
fixesproto-3.0.2    Fixes extension headers from X.org
xextproto-7.0.2     XExt extension headers from X.org
xproto-7.0.4        X protocol and ancillary headers from Xorg X11
xdg-dirs-1.3        Shared XDG directories
gnome-dirs-1.6      Shared GTK/GNOME (v1 and v2) directories
gnome2-dirs-1.6     Shared GTK/GNOME (v2) directories
xmlcatmgr-2.2nb1    XML and SGML catalog manager
libxml2-2.6.26      XML parser library from the GNOME project
libgpg-error-1.0nb1 Definitions of common error values for all GnuPG components
libgcrypt-1.2.2nb1  GNU cryptographic library
libxslt-1.1.17      XSLT parser library from the GNOME project
glib2-2.10.3        Some useful routines for C programming (glib2)
popt-1.7nb6         Command line option parsing library
libgda-1.9.102      GNU database access library
libaudiofile-0.2.6nb1 Sound library for SGI audio file
esound-0.2.36       The Enlightened sound daemon
shared-mime-info-0.17 Core database of common types
libIDL-0.8.6nb1     CORBA Interface Definition Language parser
ORBit2-2.14.0       High-performance CORBA ORB with C language support
GConf2-2.14.0       Configuration database system used by GNOME (v2)
libbonobo-2.14.0    GNOME2 Object activation framework library
lzo-2.02            Portable lossless data compression library
libcfg+-0.6.2nb3    Command line and configuration file parsing library
libtasn1-0.3.4nb1   ASN.1 structure parser library
opencdk-0.5.8nb1    Open Crypto Development Kit
gnutls-1.4.0        GNU Transport Layer Security library
fam-2.7.0nb7        File Alteration Monitor
gnome-vfs2-2.14.2   GNOME Virtual File System (v2)
libgnome-2.14.1     Core GNOME2 library (non-graphical)
atk-1.11.4          Set of interfaces for accessibility
freetype2-2.2.1     Font rendering engine and library API
fontconfig-2.3.2nb3 Library for configuring and customizing font access
Xrender-0.9.0nb1    Client library for the X Rendering Extension protocol
Xft2-2.1.7nb2       Library for configuring and customizing font access
MesaLib-6.4.2nb1    Graphics library similar to SGI's OpenGL
glitz-0.4.4nb4      OpenGL 2D graphics library and a backend for gl output in ca
libpixman-0.1.6     Pixel manipulation library
png-1.2.10          Library for manipulating PNG images
cairo-1.0.4nb1      Vector graphics library with cross-device output support
pango-1.12.3        Library for layout and rendering of text
jpeg-6bnb3          IJG's jpeg compression utilities
tiff-3.8.2nb2       Library and tools for reading and writing TIFF data files
Xfixes-2.0.1nb3     X Fixes extension of X RandR
xcursor-1.1.2nb2    Client-side cursor loading library for X
Xrandr-1.0.2nb3     X RandR extension (Library)
gtk2+-2.8.19        GIMP Toolkit v2 - libraries for building X11 user interfaces
libglade2-2.5.1nb4  Runtime interpreter for GLADE GUI files (v2)
libart2-2.3.17nb1   High-performance 2D graphics library
libgnomecanvas-2.14.0nb1 GNOME Canvas library
libbonoboui-2.14.0nb1 GNOME2 Object activation framework library (graphical vers
gnome-keyring-0.4.9nb1 GNOME password and secret manager

	Essentially all (probably all, I wasn't watching that closely)
	of those would have been installed from binary packages built
	within the last 2 days (there could not have been anything older
	the build started into an empty packages directory) using pkgsrc
	current at the time.

	The only entry in mk.conf that could possibly be related (and
	I would doubt that it is) is ...

PKG_DEFAULT_OPTIONS= inet6

>Fix:
	No idea.   I guess find where the missing file should have come
	from, and work out why it ended up lost...