tech-pkg archive

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

pkg-config-0.25nb1 on MirBSD



Hi!

I am trying to debug a strange behavior during the build of pkg-config
on MirBSD. The build fails when you just do a "bmake", then runs
through when you "bmake" again. The failure is at the end of the
unwrap phase. Below is the relevant exerpt from the build log, with
PKG_DEBUG_LEVEL=2. I don't understand why the build fails instead of
skipping pkg-config, as it is a non-text file.

Any ideas?

--Benny.

INFO: [subst.mk:unwrap] Nothing changed in ./glib-1.2.10/gthread.pc.
+ /bin/mv -f ./glib-1.2.10/gthread.pc.subst.sav ./glib-1.2.10/gthread.pc
+ file=./pkg-config
+ tmpfile=./pkg-config.subst.sav
+ [ ! -f ./pkg-config ]
+ /usr/bin/wc -c
+ <./pkg-config
+ nchars=   85617
+ /usr/bin/tr -d \0
+ /usr/bin/wc -c
+ <./pkg-config
+ LC_ALL=C
+ notnull=   68088
+ [    85617 =    68088 ]
+ exit 1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/pkg-config
+ exitcode=1
+ /usr/bin/env 
PATH=/usr/pkgsrc/devel/pkg-config/work/.wrapper/bin:/usr/pkgsrc/devel/pkg-config/work/.buildlink/bin:/usr/pkgsrc/devel/pkg-config/work/.gcc/bin:/usr/pkgsrc/devel/pkg-config/work/.tools/bin:/usr/pkg/bin:/home/bsiegert/.etc/bin:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/pkg/sbin:/usr/games
/usr/pkg/bin/bmake _MAKE=/usr/pkg/bin/bmake OPSYS=MirBSD OS_VERSION=10
LOWER_ARCH=i386 LOWER_OPSYS=mirbsd _PKGSRCDIR=/usr/pkgsrc
PKGTOOLS_VERSION=20110215 _CC=/usr/bin/mgcc
_PATH_ORIG=/home/bsiegert/.etc/bin:/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/pkg/sbin:/usr/games
_PKGSRC_BARRIER=yes barrier-error-check
: commands for target barrier-error-check; set -x; set -e;                      
                
/bin/rm -f /usr/pkgsrc/devel/pkg-config/work/.warning/*.tmp;                    
                 test
-d /usr/pkgsrc/devel/pkg-config/work/.warning || exit 0;                        
         cd
/usr/pkgsrc/devel/pkg-config/work/.warning;                                     
         for file in ./*;
do                                               test "$file" != "./*" || exit 
0;                        break;                                                
 
done;                                                            /bin/cat ./* | 
/usr/bin/sed -e "s|^|WARNING: |"
1>&2;                                    /bin/mv -f ./*
/usr/pkgsrc/devel/pkg-config/work/.warning-done
+ set -e
+ /bin/rm -f /usr/pkgsrc/devel/pkg-config/work/.warning/*.tmp
+ test -d /usr/pkgsrc/devel/pkg-config/work/.warning
+ cd /usr/pkgsrc/devel/pkg-config/work/.warning
+ test ./* != ./*
+ exit 0
: commands for target barrier-error-check; set -x; set -e;                      
                
/bin/rm -f /usr/pkgsrc/devel/pkg-config/work/.error/*.tmp;                      
                 test
-d /usr/pkgsrc/devel/pkg-config/work/.error || exit 0;                          
 cd
/usr/pkgsrc/devel/pkg-config/work/.error;                                       
         for file in ./*;
do                                               test "$file" != "./*" || exit 
0;                        break;                                                
 
done;                                                            /bin/cat * | 
/usr/bin/sed -e "s|^|ERROR: |" 1>&2;                                      
if /usr/bin/awk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then                      
         /bin/mv
-f ./* /usr/pkgsrc/devel/pkg-config/work/.error-done;                    exit
1;                                                       fi
+ set -e
+ /bin/rm -f /usr/pkgsrc/devel/pkg-config/work/.error/*.tmp
+ test -d /usr/pkgsrc/devel/pkg-config/work/.error
+ cd /usr/pkgsrc/devel/pkg-config/work/.error
+ test ./* != ./*
+ exit 0
+ exit 1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/pkg-config


-- 
The first essential in chemistry is that you should perform practical
work and conduct experiments, for he who performs not practical work
nor makes experiments will never attain the least degree of mastery.
        -- Abu Musa Jabir ibn Hayyan (721-815)


Home | Main Index | Thread Index | Old Index