Hi Aaron, Thanks again for the patch, this has been uploaded to the GPP and the changes made to the .spec file in CVS.
Regards, Stuart On 22/09/11 08:42, Stuart Hughes wrote: > Hi Aaron, > > Thanks for the patch, I'l try to get this added to the CVS version of > ltib over the weekend. > > Regards, Stuart > > On 21/09/11 18:06, Aaron Wegner wrote: >> I'm working with Fedora Core 15 as well. If you check out the latest >> sparse code, just Google >> >> mirrors/ftp.kernel.org/pub/scm/devel/sparse/sparse.git >> >> and then git clone one of them, you can see in the header parse.h that >> that union member has been removed. It is redundant to another union >> member with the same types and the new compiler complains. >> >> You could edit the file yourself after the build crashes and remove the >> lines. >> >> $ vi /opt/ltib/usr/src/rpm/BUILD/sparse-0.4/parse.h >> >> After that you could do a patchmerge to apply the patch to your spec file. >> >> $ ./ltib --hostcf -f -p sparse -m patchmerge >> >> The patches to the sparse package and to the spec file are attached. >> Alternatively, the sparse.spec could be updated to the most recent source >> tarball. >> >> Aaron >> >>> 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 % >>>> >>>> >>>> _______________________________________________ >>>> 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 _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
