Tar won't build on debian lenny

Johannes Graumann johannes_graumann at web.de
Tue Jul 22 09:07:42 CEST 2008


I had the same issue a while ago ... you have to downgrade the gcc ...

Joh

Mark Berndt wrote:

> I'm install kolab 2.2
> Running install-kolab.sh on debian lenny x86 fails during the tar build
> process.
> 
> Its a fresh basic install of debian lenny with no desktop and exim
> removed, Locale is en_AU, bison, flex, gcc, make, libtool, automake,
> autoconf is installed.
> 
> MD5's are correct.
> 
> 2.2rc3 also fails in the same way.
> 
> 2.2 installs ok on my laptop running debian etch with gnome installed.
> 
> Any idea what packages I'm missing?
> 
> Thanks,
> 
> Marko
> 
> The output is:
> 
> 
>         then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; else
> rm -f ".deps/utf8.Tpo"; exit 1; fi
> utf8.c:26:1: warning: "iconv_t" redefined
> In file included from ../lib/system.h:21,
>                  from utf8.c:19:
> ../config.h:1084:1: warning: this is the location of the previous
> definition
> /usr/bin/gcc -std=gnu99  -g -O2   -o tar  buffer.o compare.o create.o
> delete.o extract.o xheader.o incremen.o list.o mis
> c.o names.o sparse.o system.o tar.o transform.o update.o
> utf8.o ../lib/libtar.a   -lrt
> ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_putc':
> /tmp/openpkg-20071227/tar-1.19/lib/argp-fmtstream.h:233: multiple
> definition of `argp_fmtstream_putc'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp-fmtstream.h:233:
> first defined here
> ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_point':
> /tmp/openpkg-20071227/tar-1.19/lib/argp-fmtstream.h:279: multiple
> definition of `argp_fmtstream_point'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp-fmtstream.h:279:
> first defined here
> ../lib/libtar.a(argp-fmtstream.o): In function
> `argp_fmtstream_set_wmargin':
> /tmp/openpkg-20071227/tar-1.19/lib/argp-fmtstream.h:267: multiple
> definition of `argp_fmtstream_set_wmargin'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp-fmtstream.h:267:
> first defined here
> 
> (snip)
> 
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp.h:606: first defined
> here ../lib/libtar.a(argp-eexst.o): In function `_option_is_short':
> /tmp/openpkg-20071227/tar-1.19/lib/argp.h:594: multiple definition of
> `_option_is_short'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp.h:594: first defined
> here ../lib/libtar.a(argp-eexst.o): In function `argp_usage':
> /tmp/openpkg-20071227/tar-1.19/lib/argp.h:588: multiple definition of
> `argp_usage'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp.h:588: first defined
> here collect2: ld returned 1 exit status
> make[2]: *** [tar] Error 1
> make[2]: Leaving directory `/tmp/openpkg-20071227/tar-1.19/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/openpkg-20071227/tar-1.19'
> make: *** [all] Error 2
> + exit 2
> + exit 2
> ./openpkg.boot:ERROR: script returned non-null value





More information about the users mailing list