Hi Jens,

It look like a bug in the sparse package that is triggered by the later host gcc on Fedora 15 (I've not tried this distro).

If you (or someone at your organisation) can send a patch to fix this package, I'd be happy to get it applied to the .spec file in the repository.

Regards, Stuart

On 20/09/11 11:54, Jens Bause wrote:

Hello,

I'm using a Fedora 15 and the latest ltib from cvs (version 10.1.1 Rev 1.75).

Starting ltib for the first time ends up in a "These packages failed to build: sparse Build failed" error.

log-file:

Build path taken because: directory build, no prebuilt rpm,

Processing: sparse

====================

Build path taken because: no prebuilt rpm,

rpmbuild --dbpath ///opt/ltib/var/lib/rpm --target i686 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/ltib/usr/src/rpm' --define '_prefix /opt/ltib/usr' --define '_tmppath /home/jens/ltib/tmp' --define '_rpmdir /opt/ltib/usr/src/rpm/RPMS' --define '_mandir /opt/ltib/usr/share/man' --define '_sysconfdir /opt/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource /home/jens/ltib/dist/lfs-5.1/sparse/sparse.spec

Building target platforms: i686

Building for target i686

Executing(%prep): /bin/sh -e /home/jens/ltib/tmp/rpm-tmp.46095

+ umask 022

+ cd /opt/ltib/usr/src/rpm/BUILD

+ cd /opt/ltib/usr/src/rpm/BUILD

+ rm -rf sparse-0.4

+ /bin/gzip -dc /opt/ltib/usr/src/rpm/SOURCES/sparse-0.4.tar.gz

+ tar -xf -

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd sparse-0.4

+ exit 0

Executing(%build): /bin/sh -e /home/jens/ltib/tmp/rpm-tmp.46095

+ umask 022

+ cd /opt/ltib/usr/src/rpm/BUILD

+ cd sparse-0.4

+ make DESTDIR=/home/jens/ltib/tmp/sparse PREFIX=/opt/freescale/rootfs/i686//opt/ltib/usr

     CC       test-lexing.o

     CC       target.o

     CC       parse.o

In file included from parse.c:25:0:

parse.h:63:22: error: duplicate member 'label_statement'

make: *** [parse.o] Error 1

error: Bad exit status from /home/jens/ltib/tmp/rpm-tmp.46095 (%build)

RPM build errors:

    Bad exit status from /home/jens/ltib/tmp/rpm-tmp.46095 (%build)

Build time for sparse: 1 seconds

Failed building sparse

Died at ./ltib line 1433.

traceback:

main::build_host_rpms:1433

  main::host_checks:1495

   main:548

Started: Tue Sep 20 12:51:08 2011

Ended:   Tue Sep 20 12:51:12 2011

Elapsed: 4 seconds

Use of uninitialized value in concatenation (.) or string at ./ltib line 2818.

VERSION          : 10.1.1

CVS_VERSION      : $Revision: 1.75 $ (Savannah)

PLATFORM         : host

GNUTARCH         : i686

TOOLCHAIN        :

TOOLCHAIN_CFLAGS :

These packages failed to build:

sparse

Build Failed

Can anybody help?

Thanks in advance

Jens Bause


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to