Subject: libGlade2 Build Failure
To: None <tech-pkg@netbsd.org>
From: J. Alexander Jacocks <jjacocks@mac.com>
List: tech-pkg
Date: 07/02/2003 11:48:31
With the greatly appreciated help of several members of this list,
I have managed to get pkgsrc setup.
However, I am running in to a strange problem building libglade2. The
build just dies before running configure. The help of anyone who can
understand what it is doing when it dies would be greatly appreciated.
Thanks!
Here's the dump:
root@hephaestos[/usr/pkgsrc/devel/libglade2]# uname -a
SunOS hephaestos 5.9 Generic_112233-05 sun4u sparc SUNW,UltraAX-MP
root@hephaestos[/usr/pkgsrc/devel/libglade2]# pkg_info gcc3
Information for gcc3-3.3nb2:
Comment:
GNU Compiler Collection
Requires:
gettext-lib>=0.11.5
gtexinfo>=4.2
libiconv>=1.8
Description:
This directory contains the GNU Compiler Collection (GCC) version 3.3.
It includes all of the support for compiling C, C++, Objective C,
Fortran,
Java, and Chill.
The GNU Compiler Collection is free software. See the file COPYING for
copying
permission.
See the file gcc.texi (together with other files that it includes) for
installation and porting information. The file INSTALL contains a
copy of the installation information, as plain ASCII.
See the Bugs chapter of the GCC Manual for how to report bugs
usefully. An online readable version of the manual is in the files
gcc.info*.
Homepage:
http://www.gnu.org/software/gcc/gcc.html
root@hephaestos[/usr/pkgsrc/devel/libglade2]# bmake PKG_DEBUG_LEVEL=2
set -x; if [ -f
/usr/pkgsrc/distfiles/vulnerabilities ]; then
/usr/ucb/echo "===> Checking for vulnerabilities in
libglade2-2.0.1nb8"; vul=`bmake PKG_DEBUG_LEVEL=2 OPSYS=SunOS
OS_VERSION=5.9 LOWER_OPSYS=solaris2 check-vulnerable`; case
"$vul" in "")
;; *) /usr/ucb/echo
"$vul"; /usr/ucb/echo "or define
ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential";
/usr/bin/false ;;
esac;
else /usr/ucb/echo "===> *** No
/usr/pkgsrc/distfiles/vulnerabilities file found,"; /usr/ucb/echo "===>
*** skipping vulnerability checks. To fix, install"; /usr/ucb/echo
"===> *** the pkgsrc/security/audit-packages package and run";
/usr/ucb/echo "===> *** '/usr/pkg/sbin/download-vulnerability-list'.";
fi
+ [ -f /usr/pkgsrc/distfiles/vulnerabilities ]
+ /usr/ucb/echo ===> Checking for vulnerabilities in libglade2-2.0.1nb8
===> Checking for vulnerabilities in libglade2-2.0.1nb8
+ bmake PKG_DEBUG_LEVEL=2 OPSYS=SunOS OS_VERSION=5.9
LOWER_OPSYS=solaris2 check-vulnerable
vul=
set -x; /usr/bin/test -d
/usr/pkgsrc/distfiles/ || /usr/bin/mkdir -p /usr/pkgsrc/distfiles/
+ /usr/bin/test -d /usr/pkgsrc/distfiles/
set -x; cd
/usr/pkgsrc/distfiles/;
file="libglade-2.0.1.tar.gz";
bfile="libglade-2.0.1.tar.gz";
unsorted_sites="ftp://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.sunet.se/pub/X11/GNOME/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/hci/GNOME/sources/libglade/2.0/
ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/linux/gnome.org/sources/libglade/2.0/
ftp://ftp.dti.ad.jp/pub/X/gnome/sources/libglade/2.0/
ftp://ftp.kddlabs.co.jp/pub/GNOME/sources/libglade/2.0/
ftp://ftp.chg.ru/pub/X11/gnome/sources/libglade/2.0/
ftp://ftp.dataplus.se/pub/linux/gnome/sources/libglade/2.0/
ftp://ftp.dit.upm.es/linux/gnome/sources/libglade/2.0/
ftp://ftp.mirror.ac.uk/sites/ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/"; sites="
$unsorted_sites"; if [ "X" != "X"
]; then for d in "" ; do if [ "X$d" = "X" -o "X$d" =
"X/usr/pkgsrc/distfiles" ]; then continue; fi; if [ -f $d//$bfile ];
then /usr/ucb/echo "Using $d//$bfile"; /usr/bin/rm -f
$bfile; /usr/bin/ln -s $d//$bfile $bfile;
break;
fi;
done;
fi; if [ ! -f $file -a ! -f $bfile -a ! -h $bfile ];
then /usr/ucb/echo "=> $bfile doesn't seem to exist on this
system."; if [ ! -w /usr/pkgsrc/distfiles//. ]; then
/usr/ucb/echo "=> Can't download to /usr/pkgsrc/distfiles/ (permission
denied?)."; exit 1; fi; for site
in $sites; do /usr/ucb/echo "=>
Attempting to fetch $bfile from ${site}."; if [ -f
/usr/pkgsrc/devel/libglade2/distinfo ]; then /usr/bin/nawk
'NF == 5 && $1 == "Size" && $2 == "('$bfile')" { printf("=> [%s %s]\n",
$4, $5) }' /usr/pkgsrc/devel/libglade2/distinfo;
fi; if /usr/pkg/bin/ftp
${site}${bfile} ; then if [ -n "" -a -f
/usr/pkgsrc/devel/libglade2/distinfo -a -f /usr/pkgsrc/distfiles//$bfile
]; then alg=`/usr/bin/nawk 'NF == 4 && $2 == "('$file')" && $3 == "="
{print $1;}' /usr/pkgsrc/devel/libglade2/distinfo`; if [ -z "$alg" ];
then alg=SHA1; fi;
CKSUM=`/usr/pkg/bin/digest $alg < /usr/pkgsrc/distfiles//$bfile`;
CKSUM2=`/usr/bin/nawk '$1 == "'$alg'" && $2 == "('$file')" {print $4;}'
</usr/pkgsrc/devel/libglade2/distinfo`; if [ "$CKSUM" = "$CKSUM2" -o
"$CKSUM2" = "IGNORE" ]; then break;
else /usr/ucb/echo "=> Checksum failure -
trying next site."; fi; elif [ ! -f
/usr/pkgsrc/distfiles//$bfile ]; then /usr/ucb/echo "=> FTP didn't
fetch expected file, trying next site." ;
else
break; fi;
fi
done; if [ ! -f
/usr/pkgsrc/distfiles//$bfile ]; then /usr/ucb/echo "=> Couldn't fetch
$bfile - please try to retrieve this"; /usr/ucb/echo "=> file manually
into /usr/pkgsrc/distfiles/ and try again."; exit
1; fi; fi;
+ cd /usr/pkgsrc/distfiles/
file=libglade-2.0.1.tar.gz
bfile=libglade-2.0.1.tar.gz
unsorted_sites=ftp://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.sunet.se/pub/X11/GNOME/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/hci/GNOME/sources/libglade/2.0/
ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/linux/gnome.org/sources/libglade/2.0/
ftp://ftp.dti.ad.jp/pub/X/gnome/sources/libglade/2.0/
ftp://ftp.kddlabs.co.jp/pub/GNOME/sources/libglade/2.0/
ftp://ftp.chg.ru/pub/X11/gnome/sources/libglade/2.0/
ftp://ftp.dataplus.se/pub/linux/gnome/sources/libglade/2.0/
ftp://ftp.dit.upm.es/linux/gnome/sources/libglade/2.0/
ftp://ftp.mirror.ac.uk/sites/ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
sites= ftp://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.sunet.se/pub/X11/GNOME/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/hci/GNOME/sources/libglade/2.0/
ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libglade/2.0/
ftp://ftp.tuwien.ac.at/linux/gnome.org/sources/libglade/2.0/
ftp://ftp.dti.ad.jp/pub/X/gnome/sources/libglade/2.0/
ftp://ftp.kddlabs.co.jp/pub/GNOME/sources/libglade/2.0/
ftp://ftp.chg.ru/pub/X11/gnome/sources/libglade/2.0/
ftp://ftp.dataplus.se/pub/linux/gnome/sources/libglade/2.0/
ftp://ftp.dit.upm.es/linux/gnome/sources/libglade/2.0/
ftp://ftp.mirror.ac.uk/sites/ftp.gnome.org/pub/GNOME/sources/libglade/2.0/
ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
+ [ X != X ]
+ [ ! -f libglade-2.0.1.tar.gz -a ! -f libglade-2.0.1.tar.gz -a ! -h
libglade-2.0.1.tar.gz ]
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;/usr/bin/true
+ /usr/bin/true
set -x;cd /usr/pkgsrc/devel/libglade2 && bmake OPSYS=SunOS
OS_VERSION=5.9 LOWER_OPSYS=solaris2 DIGEST=/usr/pkg/bin/digest
DIGEST_VERSION="20021220" PKGTOOLS_VERSION="20030417"
ZOULARIS_VERSION="20030417" BUILDLINK_PREFIX.python22=/usr/pkg
BUILDLINK_PREFIX.libxml2=/usr/pkg BUILDLINK_PREFIX.zlib=/usr/pkg
BUILDLINK_PREFIX.iconv=/usr/pkg BUILDLINK_PREFIX.xmlcatmgr=/usr/pkg
BUILDLINK_PREFIX.atk=/usr/pkg BUILDLINK_PREFIX.gettext=/usr/pkg
BUILDLINK_PREFIX.glib2=/usr/pkg BUILDLINK_PREFIX.pango=/usr/pkg
BUILDLINK_PREFIX.Xft2=/usr/pkg BUILDLINK_PREFIX.fontconfig=/usr/pkg
BUILDLINK_PREFIX.freetype2=/usr/pkg BUILDLINK_PREFIX.expat=/usr/pkg
BUILDLINK_PREFIX.Xrender=/usr/openwin BUILDLINK_PREFIX.jpeg=/usr/pkg
BUILDLINK_PREFIX.png=/usr/pkg BUILDLINK_PREFIX.tiff=/usr/pkg
real-buildlink
+ cd /usr/pkgsrc/devel/libglade2
+ bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris2
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220
PKGTOOLS_VERSION=20030417 ZOULARIS_VERSION=20030417
BUILDLINK_PREFIX.python22=/usr/pkg BUILDLINK_PREFIX.libxml2=/usr/pkg
BUILDLINK_PREFIX.zlib=/usr/pkg BUILDLINK_PREFIX.iconv=/usr/pkg
BUILDLINK_PREFIX.xmlcatmgr=/usr/pkg BUILDLINK_PREFIX.atk=/usr/pkg
BUILDLINK_PREFIX.gettext=/usr/pkg BUILDLINK_PREFIX.glib2=/usr/pkg
BUILDLINK_PREFIX.pango=/usr/pkg BUILDLINK_PREFIX.Xft2=/usr/pkg
BUILDLINK_PREFIX.fontconfig=/usr/pkg BUILDLINK_PREFIX.freetype2=/usr/pkg
BUILDLINK_PREFIX.expat=/usr/pkg BUILDLINK_PREFIX.Xrender=/usr/openwin
BUILDLINK_PREFIX.jpeg=/usr/pkg BUILDLINK_PREFIX.png=/usr/pkg
BUILDLINK_PREFIX.tiff=/usr/pkg real-buildlink
===> Buildlinking for libglade2-2.0.1nb8
set -x;/usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink
+ /usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink
set -x;/usr/bin/rm -f /usr/pkgsrc/devel/libglade2/work/.buildlink-x11
+ /usr/bin/rm -f /usr/pkgsrc/devel/libglade2/work/.buildlink-x11
set -x;/usr/bin/ln -sf /usr/pkgsrc/devel/libglade2/work/.buildlink
/usr/pkgsrc/devel/libglade2/work/.buildlink-x11
+ /usr/bin/ln -sf /usr/pkgsrc/devel/libglade2/work/.buildlink
/usr/pkgsrc/devel/libglade2/work/.buildlink-x11
set -x;/usr/bin/cp -R /usr/pkg/share/x11-links/*
/usr/pkgsrc/devel/libglade2/work/.buildlink-x11
+ /usr/bin/cp -R /usr/pkg/share/x11-links/include
/usr/pkg/share/x11-links/lib
/usr/pkgsrc/devel/libglade2/work/.buildlink-x11
set -x;/usr/bin/mkdir -p
/usr/pkgsrc/devel/libglade2/work/.buildlink/include
+ /usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink/include
set -x;/usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink/lib
+ /usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink/lib
set -x;
cookie=/usr/pkgsrc/devel/libglade2/work/.buildlink/.python22_buildlink_done;
if [ ! -f ${cookie} ]; then /usr/bin/true "Linking python22
files into /usr/pkgsrc/devel/libglade2/work/.buildlink.";
/usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink;
case "/usr/pkg" in
/usr/openwin)
buildlink_dir="/usr/pkgsrc/devel/libglade2/work/.buildlink-x11";
;;
*)
buildlink_dir="/usr/pkgsrc/devel/libglade2/work/.buildlink";
;; esac;
pkg_prefix=; if [ -n "python22" ]; then
pkg_prefix=`PKG_DBDIR=/var/db/pkg /usr/pkg/sbin/pkg_info -qp python22 |
/usr/bin/nawk '{ sub("/usr/pkg", "", $2); sub("/", "", $2); print $2;
exit }'`/; fi;
rel_files_cmd=; if [ -n
"PKG_DBDIR=/var/db/pkg\ /usr/pkg/sbin/pkg_info\ -f\ python22\ \|\
\ \ \ /usr/xpg4/bin/sed\ -n\ \'/File:/s/\^\[\ \
\]\*File:\[\ \ \]\*//p\'\ \|\ \ \\ \ /usr/xpg4/bin/grep\
\'\^\\\(include\\\|lib.\*/lib\[\^/\]\*\$\\\)\'" ]; then
rel_files_cmd=`PKG_DBDIR=/var/db/pkg /usr/pkg/sbin/pkg_info -f python22
| /usr/xpg4/bin/sed -n '/File:/s/^[ ]*File:[ ]*//p'
| /usr/xpg4/bin/grep '^\(include\|lib.*/lib[^/]*$\)'`;
fi; cd /usr/pkg; rel_files=""; for rel_file
in ${rel_files_cmd} ${rel_files}; do
file="/usr/pkg/${rel_file}"; if [ -z "" ]; then
dest="${buildlink_dir}/${rel_file}";
else dest=`/usr/ucb/echo
${buildlink_dir}/${rel_file} | /usr/xpg4/bin/sed `;
fi; if [ -f ${file} ]; then
dir=`/usr/bin/dirname ${dest}`; if [ ! -d ${dir} ];
then /usr/bin/mkdir -p ${dir};
fi; /usr/bin/rm -f
${dest}; case ${file} in
*.la) /usr/xpg4/bin/sed -e
"s|usr\(/lib/[^
]*\.la\)|/usr/pkgsrc/devel/libglade2/work/.buildlink\1|g"
-e "s|/usr/pkg\(/lib/[^
]*\.la\)|/usr/pkgsrc/devel/libglade2/work/.buildlink\1|g" -e
"s|/usr/openwin\(/lib/[^
]*\.la\)|/usr/pkgsrc/devel/libglade2/work/.buildlink\1|g" ${file} >
${dest}; ;; *) /usr/bin/ln
-sf ${file} ${dest}; ;;
esac; if [ -z "" ]; then
/usr/ucb/echo ${file} >> ${cookie}; else
/usr/ucb/echo "${file} -> ${dest}" >> ${cookie};
fi;
else /usr/ucb/echo "${file}:
not found" >> ${cookie}; fi;
done; /usr/bin/touch -f ${cookie}; fi
cookie=/usr/pkgsrc/devel/libglade2/work/.buildlink/.python22_buildlink_done
+ [ ! -f
/usr/pkgsrc/devel/libglade2/work/.buildlink/.python22_buildlink_done ]
+ /usr/bin/true Linking python22 files into
/usr/pkgsrc/devel/libglade2/work/.buildlink.
+ /usr/bin/mkdir -p /usr/pkgsrc/devel/libglade2/work/.buildlink
buildlink_dir=/usr/pkgsrc/devel/libglade2/work/.buildlink
pkg_prefix=
+ [ -n python22 ]
+ /usr/bin/nawk { sub("/usr/pkg", "", $2); sub("/", "", $2); print $2;
exit }
+ /usr/pkg/sbin/pkg_info -qp python22
PKG_DBDIR=/var/db/pkg
pkg_prefix=/
rel_files_cmd=
+ [ -n PKG_DBDIR=/var/db/pkg\ /usr/pkg/sbin/pkg_info\ -f\ python22\ \|\
\ \\ /usr/xpg4/bin/sed\ -n\ \'/File:/s/\^\[\ \ \]\*File:\[\ \
\]\*//p\'\ \|\ \\ \ \ /usr/xpg4/bin/grep\
\'\^\\(include\\|lib.\*/lib\[\^/\]\*$\\)\' ]
+ /usr/pkg/sbin/pkg_info -f python22
PKG_DBDIR=/var/db/pkg
+ /usr/xpg4/bin/sed -n /File:/s/^[ ]*File:[ ]*//p
+ /usr/xpg4/bin/grep ^\(include\|lib.*/lib[^/]*$\)
*** Error code 1