Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Erledigt) [ebuild] cmake-utils.eclass + jobserver?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sun Oct 30, 2016 10:04 am    Post subject: (Erledigt) [ebuild] cmake-utils.eclass + jobserver? Reply with quote

Hallo Zusammen,

ich versuche gerade ein ebuild zu basteln.
Es wird cmake verwendet, was soweit ja auch funktioniert.
Leider aber kommt am Ende folgende Meldung:

Code:
 * QA Notice: make jobserver unavailable:
 *
 *      make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
 *      make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
 *      make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
 * QA Notice: This ebuild installs into paths that should be created at runtime.
 *  To fix, simply do not install into these directories.  Instead, your package
 *  should create dirs on the fly at runtime as needed via init scripts/etc...
 *


Im Grund genommen ist das ja nicht weiter schlimm, aber ich wollte versuchen es mit "-j1" zu bauen.

So funkktioniert das aber leider nicht: :(

Code:
src_install() {
   MAKEOPTS="-j1"
   cmake-utils_src_install || die "install failed"
}


Die Frage ist nun, wo ich cmake sagen kann, dass kein jobserver verwendet werden soll?


Last edited by 3PO on Sun Oct 30, 2016 12:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Sun Oct 30, 2016 12:04 pm    Post subject: Reply with quote

ERLEDIGT!

So geht's:

Code:

MAKEOPTS="-j1"

src_install() {
        cmake-utils_src_install || die "install failed"
 }
Back to top
View user's profile Send private message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Tue Nov 01, 2016 11:12 am    Post subject: Reply with quote

Allerdings solltest du "+=" verwenden, damit du nicht alle anderen Settings überschreibst.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum