Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

coreutils-8.20 failed [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
symon1980
n00b
n00b
Posts: 20
Joined: Sun Jul 11, 2010 7:36 am

coreutils-8.20 failed [SOLVED]

  • Quote

Post by symon1980 » Sat Dec 08, 2012 6:54 am

help2man: can't get '--help' info from man/arch.td/arch
make[2]: *** [man/arch.1] Error 127
make[2]: *** Waiting for unfinished jobs....
help2man: can't get '--help' info from man/uname.td/uname
make[2]: *** [man/uname.1] Error 127
make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-8.20/work/coreutils-8.20'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-8.20/work/coreutils-8.20'
make: *** [all] Error 2
emake failed
* ERROR: sys-apps/coreutils-8.20 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2394: Called __eapi2_src_compile
* phase-helpers.sh, line 612: Called die
* The specific snippet of code:
* emake || die "emake failed"




After performing an emerge --update --ask world

Any ideas?
Last edited by symon1980 on Sat Dec 08, 2012 6:11 pm, edited 3 times in total.
Top
Pilsner
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Fri Mar 14, 2008 4:51 pm

  • Quote

Post by Pilsner » Sat Dec 08, 2012 7:58 am

Same error here:

Code: Select all

Linux gent 3.5.7-gentoo #1 Mon Oct 22 11:33:30 MSK 2012 x86_64 Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz GenuineIntel GNU/Linux
Top
mhanft
n00b
n00b
Posts: 11
Joined: Mon Oct 31, 2011 3:25 pm
Location: Nürnberg

  • Quote

Post by mhanft » Sat Dec 08, 2012 8:45 am

Same error here on both of my Gentoo computers:

Code: Select all

Linux n 3.5.7-gentoo #1 SMP Sun Nov 4 17:16:04 CET 2012 i686 Intel(R) Xeon(R) CPU X5690 @ 3.47GHz GenuineIntel GNU/Linux
Linux fileserver 3.5.7-gentoo #2 SMP PREEMPT Sun Nov 4 17:40:42 CET 2012 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
Top
Pilsner
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Fri Mar 14, 2008 4:51 pm

  • Quote

Post by Pilsner » Sat Dec 08, 2012 8:55 am

Found in bugzilla https://bugs.gentoo.org/show_bug.cgi?id=446438, compiles ok with MAKEOPTS="-j1".
Top
Rhywek
n00b
n00b
Posts: 40
Joined: Sun Jan 02, 2005 9:25 pm

  • Quote

Post by Rhywek » Sat Dec 08, 2012 11:03 am

Wouldn't it be a good idea if some ebuilds would themselves know that they need MAKEOPTS="-j1"?

I'm running into this issue often with various packages - they compile only with MAKEOPTS="-j1". Therefore I just have it in my make.conf, which is far from ideal, because other packages that can use MAKEOPTS="-j9" compile much slower than they could. I know I could only set MAKEOPTS="-j1" sometimes when something goes wrong, but I don't have time for getting compile problems, researching them, and fixing them manually.

Just like ebuilds can filter compile flags, couldn't they also filter make flags?
Top
mhanft
n00b
n00b
Posts: 11
Joined: Mon Oct 31, 2011 3:25 pm
Location: Nürnberg

  • Quote

Post by mhanft » Sat Dec 08, 2012 11:12 am

Just for the records: "-j1" does work on both my Gentoo computers. Didn't know that this seems to be a common workaround...

Thank you for the "-j1" pointer :D
Top
symon1980
n00b
n00b
Posts: 20
Joined: Sun Jul 11, 2010 7:36 am

  • Quote

Post by symon1980 » Sat Dec 08, 2012 1:32 pm

arrghhhh

I don't want to have to configure my settings to "-j1"

any other workarounds?
Top
vokiel
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 115
Joined: Fri Oct 01, 2004 6:38 pm

  • Quote

Post by vokiel » Sat Dec 08, 2012 3:58 pm

symon1980 wrote:arrghhhh

I don't want to have to configure my settings to "-j1"

any other workarounds?
You don't have to just do:

Code: Select all

MAKEOPTS="-j1" emerge sys-apps/coreutils
on the command line
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Dec 08, 2012 5:25 pm

Rhywek wrote:Wouldn't it be a good idea if some ebuilds would themselves know that they need MAKEOPTS="-j1"?
Yes, but it is a better idea if someone fixes the build system to work properly without requiring -j1. Many ebuilds already do force non-parallel builds. Search for emake -j1 (correct way to disable parallel) or \<make\> (wrong way to disable parallel) in the tree.
Top
symon1980
n00b
n00b
Posts: 20
Joined: Sun Jul 11, 2010 7:36 am

  • Quote

Post by symon1980 » Sat Dec 08, 2012 5:55 pm

vokiel wrote:
symon1980 wrote:arrghhhh

I don't want to have to configure my settings to "-j1"

any other workarounds?
You don't have to just do:

Code: Select all

MAKEOPTS="-j1" emerge sys-apps/coreutils
on the command line


I thought arghhh screw it... i'll try your suggestion "MAKEOPTS="-j1" emerge sys-apps/coreutils"
then started a world update and all seems ok "so far"
I'm up for a hell of an update with Kde 4.8.4 though... this may take a few hours.... i'm going to bed. LoL

will post back
Top
Robol
n00b
n00b
Posts: 1
Joined: Fri Aug 10, 2012 9:32 pm

  • Quote

Post by Robol » Sat Dec 08, 2012 5:58 pm

vokiel wrote: You don't have to just do:

Code: Select all

MAKEOPTS="-j1" emerge sys-apps/coreutils
Thank you. It works :)
Top
Usermind42
n00b
n00b
User avatar
Posts: 19
Joined: Wed Dec 05, 2012 6:52 pm

  • Quote

Post by Usermind42 » Sat Dec 08, 2012 11:44 pm

Thank you Pilsner.
Make ur own free penguin baby with Gentoo(DEBLOB!) =]
cflags accuracy =]
accept_keywords='x86'
accept_license='-* @FREE'
Top
symon1980
n00b
n00b
Posts: 20
Joined: Sun Jul 11, 2010 7:36 am

  • Quote

Post by symon1980 » Sun Dec 09, 2012 12:34 am

Yep that did the trick.... Thanx.

I only wonder if this will cause any future stability/speed issues....
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Sun Dec 09, 2012 12:40 am

Read the bug report, you'll see it was little trick for man pages, i'm quiet sure no instabilities will comes from dropping a manpages patch that wasn't working :)
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Sun Dec 09, 2012 8:36 am

There's nothing similar to package.use for this?

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
motosauro
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Wed Nov 23, 2005 8:18 am
Location: Verona, Italy
Contact:
Contact motosauro
Website

  • Quote

Post by motosauro » Sun Dec 09, 2012 8:43 am

Same problem and same solution here
thx

Edit: bugzilla's last entry says that it's been fixed in the portage tree, I didn't check though
Per aspera ad astra
Top
BobWya
Apprentice
Apprentice
User avatar
Posts: 228
Joined: Sun Aug 12, 2012 11:29 pm
Location: Cambridge,UK

  • Quote

Post by BobWya » Mon Dec 10, 2012 8:23 pm

Hi all,

Thanks for the handy work around!! Very timely!!

Having been put on to potential benefits of LTO (from an on-line blog) and how to switch off LTO for specific packages that don't support link time optimisation - when using gcc 4.7.x...

It's much easier to create a file:

Code: Select all

/etc/portage/env/make-j1.conf

Code: Select all

MAKEOPTS="-j1"
Then you can specify packages that require single threaded making in the standard portage environment file:

Code: Select all

/etc/portage/package.env

Code: Select all

sys-apps/coreutils make-j1.conf
From the portage man page:

Code: Select all

...
                    package.env
                     Per-package environment variable settings. Entries refer to environment files that are placed in the /etc/portage/env/ directory and have the same format as
                     make.conf(5).

                     Format:
                     - comment lines begin with # (no inline comments)
                     - one DEPEND atom per line followed by name(s) of environment file(s)

                     Example:
                     # use environment variables from /etc/portage/env/glibc.conf for the glibc package
                     sys-libs/glibc glibc.conf
...
Anyone know what other packages need single threaded making? I've got some packages that are reverted to no-LTO - but could this be due to needing single-threading??

Thanks
Bob
Top
Post Reply

17 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic