Packages not compiling

Anything that pertains to Portage

Moderator: Moderators

Packages not compiling

Postby ncmcloud » Tue Oct 30, 2007 17:16

Hi, 99% of my emerge's are not compiling. I've played around with my make.conf file (just the CHOST and CFLAGS) to try and get the best out of it for my system, everything seems to be in order though.

Sample error (they are all the same)
Code: Select all
This program built for i586-pc-linux-gnu
Report bugs to <[email protected]>
 * ERROR: app-portage/udept- failed.
 * Call stack:
 *             , line 1695:  Called dyn_install
 *             , line 1132:  Called qa_call 'src_install'
 *             , line   44:  Called src_install
 *   udept-, line   33:  Called die
 * The specific snippet of code:
 *      emake DESTDIR="${D}" install || die "emake install failed"
 *  The die message:
 *   emake install failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-portage/udept-'.

My specs

Code: Select all
Portage (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r1, 2.6.22-sabayon i686)
System uname: 2.6.22-sabayon i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Thu, 25 Oct 2007 08:30:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]

Make file
Code: Select all
localhost Desktop # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=prescott -mno-tls-direct-seg-refs -mmmx -m32 -pipe -fomit-frame-pointer"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"

I've changed the CHOST to i686 and back (restarted during changes and also ran env-update..just in case).

Any help would be appreciated.
Baby Hen
Posts: 10
Joined: Sat Oct 13, 2007 18:47
Location: Europe

Re: Packages not compiling

Postby fenius » Tue Oct 30, 2007 19:50

make.conf guide:

by the way... I would try deleting -fomit-frame-pointer from CFLAGS
Growing Hen
Posts: 140
Joined: Thu Mar 15, 2007 17:39
Location: Roma

Re: Packages not compiling

Postby wolfden » Tue Oct 30, 2007 23:00

ummm you can't just change CHOST on the fly

I really hope that isn't all of your make.conf
localhost Desktop # cat /etc/make.conf
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Packages not compiling

Postby beli0135 » Wed Oct 31, 2007 11:15

I have the same problem, and it is not because of CFLAGS. There is something wrong in the portage and gcc shipped with this version of Sabayon. I cannot even update portage. revdep-rebuild fails on clean installation.
Simple Hen
Posts: 72
Joined: Tue Aug 22, 2006 17:37
Location: Belgrade

Re: Packages not compiling

Postby ncmcloud » Sat Nov 03, 2007 13:56

Oh crap. I had actually read the Sabayon make.conf guide, but I must have changed the CHOST flag during a moment of despair. Oh no... The age old question rises up once read a mountain of literature or to format.

Thanks for the replies.
Baby Hen
Posts: 10
Joined: Sat Oct 13, 2007 18:47
Location: Europe

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests