On Sat, Mar 05, 2005 at 09:56:43PM +0100, Ola Lundqvist wrote:
> Hello
> 
> On Thu, Mar 03, 2005 at 02:23:52AM +0100, Andreas Barth wrote:
> > Package: util-vserver
> > Version: 0.30.203-1
> > Severity: serious
> > Tags: experimental
> > 
> > Hi,
> > please see http://experimental.ftbfs.de/build.php?arch=&pkg=util-vserver
> > for the full build log
> 
> Thanks a lot. This is interesting to know. I'll cc the vserver list so they
> may help me to fix this bug.

well, looks like the used gcc/ld is not able to do basic
math ... at least if I look at the mentioned lines:

    76      int         days    = since / (24*60*60);
    77      int         today   = since % (24*60*60);
    78      int         hours   = today / (60*60);
    79      int         minutes = (today % (60*60)) / 60;

so maybe somebody could look into that and either
fix-up the gcc/ld arguments (which are probably supplied
by the distro/autoconf) or get the gcc/ld working ...

(IIRC those things are defined somewhere in libgcc*)

HTH,
Herbert

> Regards,
> 
> // Ola
> 
> > Cheers,
> > Andi
> > 
> > Automatic build of util-vserver_0.30.203-1 on odin by sbuild/sparc 1.170.5
> > Build started at 20050302-1903
> > ******************************************************************************
> > [...]
> > Checking correctness of source dependencies...
> > Toolchain package versions: libc6-dev_2.3.2.ds1-20 
> > linux-kernel-headers_2.5.999-test7-bk-17 gcc-3.3_1:3.3.5-8 
> > g++-3.3_1:3.3.5-8 binutils_2.15-5 libstdc++5_1:3.3.5-8 
> > libstdc++5-3.3-dev_1:3.3.5-8
> > ------------------------------------------------------------------------------
> > [...]
> > /bin/sh ./libtool --tag=CC --mode=link diet  sparc-linux-gcc  -Wall -g -O2 
> > -std=c99 -Wall -pedantic -W   -o src/chroot-rm  src/chroot-rm.o  
> > diet sparc-linux-gcc -Wall -g -O2 -std=c99 -Wall -pedantic -W -o 
> > src/chroot-rm src/chroot-rm.o 
> > depbase=`echo src/fakerunlevel.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> > if diet  sparc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I ./lib -I 
> > ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG   -Wall -g -O2 -std=c99 
> > -Wall -pedantic -W -MT src/fakerunlevel.o -MD -MP -MF "$depbase.Tpo" -c -o 
> > src/fakerunlevel.o src/fakerunlevel.c; \
> > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
> > fi
> > /bin/sh ./libtool --tag=CC --mode=link diet  sparc-linux-gcc  -Wall -g -O2 
> > -std=c99 -Wall -pedantic -W   -o src/fakerunlevel  src/fakerunlevel.o  
> > diet sparc-linux-gcc -Wall -g -O2 -std=c99 -Wall -pedantic -W -o 
> > src/fakerunlevel src/fakerunlevel.o 
> > depbase=`echo src/filetime.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> > if diet  sparc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I ./lib -I 
> > ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG   -Wall -g -O2 -std=c99 
> > -Wall -pedantic -W -MT src/filetime.o -MD -MP -MF "$depbase.Tpo" -c -o 
> > src/filetime.o src/filetime.c; \
> > then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
> > fi
> > /bin/sh ./libtool --tag=CC --mode=link diet  sparc-linux-gcc  -Wall -g -O2 
> > -std=c99 -Wall -pedantic -W   -o src/filetime -static src/filetime.o 
> > lib/libvserver.la   
> > diet sparc-linux-gcc -Wall -g -O2 -std=c99 -Wall -pedantic -W -o 
> > src/filetime src/filetime.o  lib/.libs/libvserver.a
> > src/filetime.o(.text+0x13c): In function `main':
> > src/filetime.c:76: undefined reference to `.div'
> > src/filetime.o(.text+0x14c):src/filetime.c:77: undefined reference to `.rem'
> > src/filetime.o(.text+0x158):src/filetime.c:78: undefined reference to `.div'
> > src/filetime.o(.text+0x168):src/filetime.c:79: undefined reference to `.rem'
> > src/filetime.o(.text+0x170):src/filetime.c:79: undefined reference to `.div'
> > collect2: ld returned 1 exit status
> > make[3]: *** [src/filetime] Error 1
> > make[3]: Leaving directory `/build/buildd/util-vserver-0.30.203'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/build/buildd/util-vserver-0.30.203'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/build/buildd/util-vserver-0.30.203'
> > make: *** [build-stamp] Error 2
> > ******************************************************************************
> > Build finished at 20050302-1906
> > FAILED [dpkg-buildpackage died]
> > 
> > 
> 
> -- 
>  --------------------- Ola Lundqvist ---------------------------
> /  [EMAIL PROTECTED]                     Annebergsslingan 37      \
> |  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
> |  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
> |  http://www.opal.dhs.org             UIN/icq: 4912500         |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
>  ---------------------------------------------------------------
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to