Re: [rock-user] Emerge-Pkg gccx error

Stefan Fiedler <[email protected]> Mon, 11 Oct 2004 14:31:09 +0200
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
On Monday 11 October 2004 08:38, Matt Stone wrote:
> I'm getting a "--- BUILD ERROR ---" on the gccx package when I run the
> Emerge-Pkg script. I'm running Rock 2.0.1 with optimization for
> pentium-mmx. Here is a tail of the 9-gccx.log:
>
> usr/share/locale/el/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/es/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/fr/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/fr/LC_MESSAGES/libstdc++.mo: gcc3 gccx
> usr/share/locale/ja/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/nl/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/sv/LC_MESSAGES/gcc.mo: gcc3 gccx
> usr/share/locale/tr/LC_MESSAGES/gcc.mo: gcc3 gccx
> --- BUILD ERROR ---
> removed `/var/adm/logs/9-gccx.log'
>
> I would appreciate any ideas on how I can fix this problem.
>
> Thanks,
> --
>
> Matt Stone

I've sent a patch to SubMaster for Rock 2.1-dev that addresses this kind of 
problem. It basically installs all files that usually go into 'share' into a 
temporary directory and then adds a gcc version suffix to each file and moves 
them to 'share' . Similar steps are alread taken for binary, info and library 
files in Rock-2.1-dev (and maybe 2.0.1).
Here is the patch:
 https://www.rocklinux.net/submaster/smadm.cgi?i=2004101114284611856
and the complete gcc.conf (from 2.1-dev):
 http://www.rocklinux.net/svn/rock-linux/trunk/package/base/gcc/gcc.conf
Please note that gcc in 2.1-dev is a forked package; all gcc packages are 
'derived' from this package. The derived package (gcc2, gcc32, ...) that is 
currently built is set in the $xpkg variable.

Stefan Fiedler
>
> _______________________________________________
> rock-user mailing list
> [email protected]
> http://www.rocklinux.net/mailman/listinfo/rock-user