[fedora-arm] Regenerating the cross stuff

Henrik Nordström henrik at henriknordstrom.net
Sat Jul 31 11:30:46 UTC 2010


The patch needs to be rediffed. Old rpmbuild accepted some fuzz when applying patches but this is no longer accepted.

----- Ursprungsmeddelande -----
> Hi -
> 
> I'm interested in regenerating the cross compiler packages, first just 
> as it, then maybe uplevelling it and eventually to use the same 
> technique to get a set of packages for MIPS cross compile.
> 
> I found some SRPM goodies here:
> 
>     http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/latest/source/
> 
> I thought I would try first to recook
> 
>     gcc-4.1.2-33.fa1.cross5.src.rpm
> 
> without changes as a sanity check using this rawhide x86_64 laptop. 
> First it wanted firefox-devel that doesn't exist any more, but I did the 
> rebuild with --nodeps (all other deps are there) and build_java=0 to get 
> around that for now.
> 
> The build chokes out with:
> 
> warning: line 168: prereq is deprecated: Prereq: /sbin/install-info
> warning: line 352: prereq is deprecated: Prereq: /sbin/install-info
> warning: line 417: prereq is deprecated: Prereq: /sbin/install-info
> warning: line 429: prereq is deprecated: Prereq: /sbin/install-info
> warning: line 494: prereq is deprecated: Prereq: /sbin/install-info
> warning: line 530: prereq is deprecated: Prereq: /sbin/install-info
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vh8YUW
> + umask 022
> + cd /projects/mips/cross/rpmbuild/BUILD
> + cd /projects/mips/cross/rpmbuild/BUILD
> + rm -rf gcc-4.1.2-20070925
> + /usr/bin/bzip2 -dc 
> /projects/mips/cross/rpmbuild/SOURCES/gcc-4.1.2-20070925.tar.bz2
> + /bin/tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd gcc-4.1.2-20070925
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + echo 'Patch #1 (gcc41-ice-hack.patch):'
> Patch #1 (gcc41-ice-hack.patch):
> + /bin/cat /projects/mips/cross/rpmbuild/SOURCES/gcc41-ice-hack.patch
> + /usr/bin/patch -s -p0 -b --suffix .ice-hack~ --fuzz=0
> + echo 'Patch #2 (gcc41-ppc64-m32-m64-multilib-only.patch):'
> Patch #2 (gcc41-ppc64-m32-m64-multilib-only.patch):
> + /bin/cat 
> /projects/mips/cross/rpmbuild/SOURCES/gcc41-ppc64-m32-m64-multilib-only.patch
> + /usr/bin/patch -s -p0 -b --suffix .ppc64-m32-m64-multilib-only~
> --fuzz=0 1 out of 1 hunk FAILED -- saving rejects to file 
> gcc/config/rs6000/t-linux64.rej
> error: Bad exit status from /var/tmp/rpm-tmp.Vh8YUW (%prep)
> 
> Well, quite possibly I am missing the point badly, for example I don't 
> know why there are three SRPMs for everything in that dir.
> 
> If anyone has any tips or knowledge to share I would love to be able to 
> uplevel and use this stuff with MIPS.
> 
> -Andy
> _______________________________________________
> arm mailing list
> arm at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/arm



More information about the arm mailing list