pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strange failure: Unwrapping files-to-be-installed



> Linux, pkg_install-20080313.

> Can anybody explain the following failure?

>    ===> Building for xtris-1.15nb2
>    gcc -O2 -DINET6 -I/usr/pkg/include -D__USE_FIXED_PROTOTYPES__  
> -I/usr/pkg/include -Wl,-R/usr/pkg/lib -DXTRISPATH="\"/usr/pkg/bin\"" xtris.c 
> -o xtris -L/usr/pkg/lib -lX11  
>    gcc -O2 -DINET6 -I/usr/pkg/include -D__USE_FIXED_PROTOTYPES__  xtserv.c -o 
> xtserv  
>    gcc -O2 -DINET6 -I/usr/pkg/include -D__USE_FIXED_PROTOTYPES__  
> -I/usr/pkg/include -c xtbot.c
>    gcc -O2 -DINET6 -I/usr/pkg/include -D__USE_FIXED_PROTOTYPES__  
> -I/usr/pkg/include -c decide.c
>    gcc -O2 -DINET6 -I/usr/pkg/include -D__USE_FIXED_PROTOTYPES__  xtbot.o 
> decide.o -o xtbot  
>    => Unwrapping files-to-be-installed.
>    *** Error code 1

1) next 'bmake build' succeeds without any progress messages.
    cheusov@chel>
    1 xtris>bmake -d x build

    cheusov@chel>
    0 xtris>
2) output of 'bmake -x -d'

...
=> Unwrapping files-to-be-installed.
+ set -e
+ cd /tmp/obj_pkgsrc/games/xtris/work/xtris
+ files='                                        '
+ set -e
+ /bin/touch -f /tmp/obj_pkgsrc/games/xtris/work/.subst_unwrap_done
+ set -e
+ test '!' -f /tmp/obj_pkgsrc/games/xtris/work/.build_done
+ set -e
+ /bin/mkdir -p /tmp/obj_pkgsrc/games/xtris/work
+ set -e
+ echo xtris-1.15nb2
+ set -e
+ /bin/rm -f '/tmp/obj_pkgsrc/games/xtris/work/.warning/*.tmp'
+ test -d /tmp/obj_pkgsrc/games/xtris/work/.warning
+ cd /tmp/obj_pkgsrc/games/xtris/work/.warning
+ for file in './*'
+ test './*' '!=' './*'
+ exit 0
+ set -e
+ /bin/rm -f '/tmp/obj_pkgsrc/games/xtris/work/.error/*.tmp'
+ test -d /tmp/obj_pkgsrc/games/xtris/work/.error
+ cd /tmp/obj_pkgsrc/games/xtris/work/.error
+ for file in './*'
+ test './*' '!=' './*'
+ exit 0
+ set -e
+ /bin/mkdir -p /tmp/obj_pkgsrc/games/xtris/work/.pkginstall
+ set -e
+ exec
+ case /srv/pkgsrc/games/xtris/../../mk/pkginstall/header\ 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/deinstall-pre\ 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/deinstall\ 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/footer"" in
+ /bin/cat /srv/pkgsrc/games/xtris/../../mk/pkginstall/header 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/deinstall-pre 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/deinstall 
/srv/pkgsrc/games/xtris/../../mk/pkginstall/footer
+ /bin/sed -e 's!@PREFIX@!/usr/pkg!g' -e 's!@LOCALBASE@!/usr/pkg!g' -e 
's!@X11BASE@!/usr/pkg!g' -e 's!@DEPOTBASE@!/usr/pkg/packages!g' -e 
's!@VARBASE@!/var!g' -e 's!@PKG_SYSCONFBASE@!/usr/pkg/etc!g' -e 
's!@PKG_SYSCONFDEPOTBASE@!!g' -e 's!@PKG_SYSCONFBASEDIR@!/usr/pkg/etc!g' -e 
's!@PKG_SYSCONFDIR@!/usr/pkg/etc!g' -e 's!@CONF_DEPENDS@!!g' -e 
's!@PKGBASE@!xtris!g' -e 's!@PKG_INSTALLATION_TYPE@!overwrite!g' -e 
's!@PKG_USER_HOME@!/nonexistent!g' -e 's!@PKG_USER_SHELL@!/bin/false!g' -e 
's!@RCD_SCRIPTS_SHELL@!/bin/sh!g' -e 's!@LDCONFIG_ADD_CMD@!/sbin/ldconfig!g' -e 
's!@LDCONFIG_REMOVE_CMD@!/sbin/ldconfig!g' -e 
's!@X11_ENCODINGSDIR@!/usr/pkg/lib/X11/fonts/encodings!g' -e 
's!@PKG_CREATE_USERGROUP@!YES!g' -e 's!@PKG_CONFIG@!YES!g' -e 
's!@PKG_CONFIG_PERMS@!NO!g' -e 's!@PKG_RCD_SCRIPTS@!NO!g' -e 
's!@PKG_REGISTER_SHELLS@!YES!g' -e 's!@PKG_UPDATE_FONTS_DB@!YES!g' -e 
's!@FONTS_VERBOSE@!no!g' -e 's!@INFO_FILES_VERBOSE@!no!g' -e 
's!@AWK@!/usr/bin/awk!g' -e 's!@BASENAME@!/usr/bin/basename!g' -e 
's!@CAT@!/bin/cat!g' -e 's!@CHGRP@!/bin/chgrp!g' -e 's!@CHMOD@!/bin/chmod!g' -e 
's!@CHOWN@!/bin/chown!g' -e 's!@CMP@!/usr/bin/cmp!g' -e 's!@CP@!/bin/cp!g' -e 
's!@DIRNAME@!/usr/bin/dirname!g' -e 's!@ECHO@!echo!g' -e 's!@ECHO_N@!echo -n!g' 
-e 's!@EGREP@!/bin/egrep!g' -e 's!@EXPR@!/usr/bin/expr!g' -e 
's!@FALSE@!false!g' -e 's!@FIND@!/usr/bin/find!g' -e 's!@GREP@!/bin/grep!g' -e 
's!@GROUPADD@!/usr/sbin/groupadd!g' -e 's!@GTAR@!!g' -e 
's!@HEAD@!/usr/bin/head!g' -e 's!@ID@!/usr/bin/id!g' -e 's!@INSTALL_INFO@!!g' 
-e 's!@LINKFARM@!/usr/pkg/sbin/linkfarm!g' -e 's!@LN@!/bin/ln!g' -e 
's!@LS@!/bin/ls!g' -e 's!@MKDIR@!/bin/mkdir -p!g' -e 's!@MV@!/bin/mv!g' -e 
's!@PERL5@!/usr/pkg/bin/perl!g' -e 's!@PKG_ADMIN@!/usr/pkg/sbin/pkg_admin!g' -e 
's!@PKG_INFO@!/usr/pkg/sbin/pkg_info!g' -e 's!@PW@!!g' -e 
's!@PWD_CMD@!/bin/pwd!g' -e 's!@RM@!/bin/rm!g' -e 's!@RMDIR@!/bin/rmdir!g' -e 
's!@SED@!/bin/sed!g' -e 's!@SETENV@!/usr/bin/env!g' -e 's!@SH@!/bin/sh!g' -e 
's!@SORT@!/usr/bin/sort!g' -e 's!@SU@!/bin/su!g' -e 's!@TEST@!test!g' -e 
's!@TOUCH@!/bin/touch!g' -e 's!@TR@!/usr/bin/tr!g' -e 's!@TRUE@!true!g' -e 
's!@USERADD@!/usr/sbin/useradd!g' -e 's!@XARGS@!/usr/bin/xargs -r!g'
+ set -e
+ /bin/chmod +x /tmp/obj_pkgsrc/games/xtris/work/.pkginstall/DEINSTALL
+ set -e
+ /bin/mkdir -p /tmp/obj_pkgsrc/games/xtris/work/.pkginstall
+ set -e
+ set -- dummy
+ shift
+ exec
+ test 0 -gt 0
+ set -e
+ set -- dummy
+ shift
+ exec
+ test 0 -gt 0
+ set -e
+ /bin/mkdir -p /tmp/obj_pkgsrc/games/xtris/work/.pkginstall
+ set -e
+ /bin/sed -e '/^# platform-specific adduser\/addgroup 
functions/r../../mk/pkginstall/usergroupfuncs.Linux' 
../../mk/pkginstall/usergroup
+ /bin/sed -e 's!@PREFIX@!/usr/pkg!g' -e 's!@LOCALBASE@!/usr/pkg!g' -e 
's!@X11BASE@!/usr/pkg!g' -e 's!@DEPOTBASE@!/usr/pkg/packages!g' -e 
's!@VARBASE@!/var!g' -e 's!@PKG_SYSCONFBASE@!/usr/pkg/etc!g' -e 
's!@PKG_SYSCONFDEPOTBASE@!!g' -e 's!@PKG_SYSCONFBASEDIR@!/usr/pkg/etc!g' -e 
's!@PKG_SYSCONFDIR@!/usr/pkg/etc!g' -e 's!@CONF_DEPENDS@!!g' -e 
's!@PKGBASE@!xtris!g' -e 's!@PKG_INSTALLATION_TYPE@!overwrite!g' -e 
's!@PKG_USER_HOME@!/nonexistent!g' -e 's!@PKG_USER_SHELL@!/bin/false!g' -e 
's!@RCD_SCRIPTS_SHELL@!/bin/sh!g' -e 's!@LDCONFIG_ADD_CMD@!/sbin/ldconfig!g' -e 
's!@LDCONFIG_REMOVE_CMD@!/sbin/ldconfig!g' -e 
's!@X11_ENCODINGSDIR@!/usr/pkg/lib/X11/fonts/encodings!g' -e 
's!@PKG_CREATE_USERGROUP@!YES!g' -e 's!@PKG_CONFIG@!YES!g' -e 
's!@PKG_CONFIG_PERMS@!NO!g' -e 's!@PKG_RCD_SCRIPTS@!NO!g' -e 
's!@PKG_REGISTER_SHELLS@!YES!g' -e 's!@PKG_UPDATE_FONTS_DB@!YES!g' -e 
's!@FONTS_VERBOSE@!no!g' -e 's!@INFO_FILES_VERBOSE@!no!g' -e 
's!@AWK@!/usr/bin/awk!g' -e 's!@BASENAME@!/usr/bin/basename!g' -e 
's!@CAT@!/bin/cat!g' -e 's!@CHGRP@!/bin/chgrp!g' -e 's!@CHMOD@!/bin/chmod!g' -e 
's!@CHOWN@!/bin/chown!g' -e 's!@CMP@!/usr/bin/cmp!g' -e 's!@CP@!/bin/cp!g' -e 
's!@DIRNAME@!/usr/bin/dirname!g' -e 's!@ECHO@!echo!g' -e 's!@ECHO_N@!echo -n!g' 
-e 's!@EGREP@!/bin/egrep!g' -e 's!@EXPR@!/usr/bin/expr!g' -e 
's!@FALSE@!false!g' -e 's!@FIND@!/usr/bin/find!g' -e 's!@GREP@!/bin/grep!g' -e 
's!@GROUPADD@!/usr/sbin/groupadd!g' -e 's!@GTAR@!!g' -e 
's!@HEAD@!/usr/bin/head!g' -e 's!@ID@!/usr/bin/id!g' -e 's!@INSTALL_INFO@!!g' 
-e 's!@LINKFARM@!/usr/pkg/sbin/linkfarm!g' -e 's!@LN@!/bin/ln!g' -e 
's!@LS@!/bin/ls!g' -e 's!@MKDIR@!/bin/mkdir -p!g' -e 's!@MV@!/bin/mv!g' -e 
's!@PERL5@!/usr/pkg/bin/perl!g' -e 's!@PKG_ADMIN@!/usr/pkg/sbin/pkg_admin!g' -e 
's!@PKG_INFO@!/usr/pkg/sbin/pkg_info!g' -e 's!@PW@!!g' -e 
's!@PWD_CMD@!/bin/pwd!g' -e 's!@RM@!/bin/rm!g' -e 's!@RMDIR@!/bin/rmdir!g' -e 
's!@SED@!/bin/sed!g' -e 's!@SETENV@!/usr/bin/env!g' -e 's!@SH@!/bin/sh!g' -e 
's!@SORT@!/usr/bin/sort!g' -e 's!@SU@!/bin/su!g' -e 's!@TEST@!test!g' -e 
's!@TOUCH@!/bin/touch!g' -e 's!@TR@!/usr/bin/tr!g' -e 's!@TRUE@!true!g' -e 
's!@USERADD@!/usr/sbin/useradd!g' -e 's!@XARGS@!/usr/bin/xargs -r!g'
+ set -e
+ /usr/bin/awk 'END { exit (NR > 0) ? 1 : 0; }' 
/tmp/obj_pkgsrc/games/xtris/work/.pkginstall/usergroup-data
+ /bin/rm -f /tmp/obj_pkgsrc/games/xtris/work/.pkginstall/usergroup
+ /bin/touch /tmp/obj_pkgsrc/games/xtris/work/.pkginstall/usergroup
+ set -e
+ /bin/mkdir -p /tmp/obj_pkgsrc/games/xtris/work/.pkginstall
+ set -e
+ set -- dummy bin/xtris 555 bin/xtbot 555 bin/xtserv 555
+ shift
+ exec
+ test 6 -gt 0
+ file=bin/xtris
+ owner=555
+ group=bin/xtbot
+ mode=555
+ shift
+ shift
+ shift
+ shift
++ strip_prefix bin/xtris
++ /usr/bin/awk 'END {                                                   plen = 
length(prefix);                                    if (substr(s, 1, plen) == 
prefix) {              s = substr(s, 1 + plen, length(s) - plen);               
}                                print s;                                       
                  }' s=bin/xtris prefix=/usr/pkg/ /dev/null
+ file=bin/xtris
+ echo '# PERMS: bin/xtris 555 555 bin/xtbot'
+ test 2 -gt 0
+ file=bin/xtserv
+ owner=555
+ group=
+ mode=
+ shift
+ shift
+ shift
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/games/xtris
+ exitcode=1
+ /usr/bin/env 
PATH=/tmp/obj_pkgsrc/games/xtris/work/.wrapper/bin:/tmp/obj_pkgsrc/games/xtris/work/.buildlink/bin:/tmp/obj_pkgsrc/games/xtris/work/.gcc/bin:/tmp/obj_pkgsrc/games/xtris/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/usr/local/sbin:/home/cheusov/prjs/unidoc:/home/cheusov/prjs/cvs2history:/home/cheusov/prjs/dictd1:/home/cheusov/prjs/pipestatus:/home/cheusov/bin:/home/cheusov/local/chel/bin:/usr/X11R6/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/intel/idb/10.1.008/bin:/opt/intel/cc/10.1.008/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
 /usr/pkg/bin/bmake _MAKE=/usr/pkg/bin/bmake OPSYS=Linux OS_VERSION=2.6.18 
LOWER_OPSYS=linux _PKGSRCDIR=/srv/pkgsrc PKGTOOLS_VERSION=20080313 
_CC=/usr/X11R6/bin/gcc 
_PATH_ORIG=/sbin:/usr/sbin:/usr/local/sbin:/home/cheusov/prjs/unidoc:/home/cheusov/prjs/cvs2history:/home/cheusov/prjs/dictd1:/home/cheusov/prjs/pipestatus:/home/cheusov/bin:/home/cheusov/local/chel/bin:/usr/X11R6/bin:/usr/pkg/sbin:/usr/pkg/bin:/opt/intel/idb/10.1.008/bin:/opt/intel/cc/10.1.008/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
 _PKGSRC_BARRIER=yes barrier-error-check
+ set -e
+ /bin/rm -f '/tmp/obj_pkgsrc/games/xtris/work/.warning/*.tmp'
+ test -d /tmp/obj_pkgsrc/games/xtris/work/.warning
+ cd /tmp/obj_pkgsrc/games/xtris/work/.warning
+ for file in './*'
+ test './*' '!=' './*'
+ exit 0
+ set -e
+ /bin/rm -f '/tmp/obj_pkgsrc/games/xtris/work/.error/*.tmp'
+ test -d /tmp/obj_pkgsrc/games/xtris/work/.error
+ cd /tmp/obj_pkgsrc/games/xtris/work/.error
+ for file in './*'
+ test './*' '!=' './*'
+ exit 0
+ exit 1
*** Error code 1

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index