Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
If you can't compile dbus-1.10.12 how to fix.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
cciechad
n00b
n00b


Joined: 28 Jun 2005
Posts: 31

PostPosted: Wed Nov 16, 2016 12:55 am    Post subject: If you can't compile dbus-1.10.12 how to fix. Reply with quote

If you get an automake error in dbus 1.10 (I'm guessing this will probably work for any 1.10* ver).

nano -w /tmp/portage/sys-apps/dbus/dbus-1.10.12.ebuild

Add the following line near the top in the variables

WANT_AUTOMAKE="1.13"

ebuild /tmp/portage/sys-apps/dbus/dbus-1.10.12.ebuild digest

Rerun your emerge and you should be good. Unfortunately you will have to do this any time you update portage as it will mess up the ebuild again.

Hope this helps,

Chad
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 36552
Location: 56N 3W

PostPosted: Wed Nov 16, 2016 12:45 pm    Post subject: Reply with quote

cciechad,

You can do that on a per package basis.

WANT_AUTOMAKE is, or becomes, an environment variable, which portage allows you to set an a per package basis.

/etc/portage/env/ contains files that define an environment variable you would like to set on a per package basis.
These are definitions, they don't do anything yet.
I have a file MAKEOPTS-j2 that contains
Code:
# use this for things that fail at higher parallel makes that -j2
MAKEOPTS="-j2"
A raspberry pi is RAM constrained and MAKOPTS=" -j5", from make.conf causes some builds to fail.

The file /etc/portage/package.env is used to apply the definitions in /etc/portage/env/ to package atoms.
I have
Code:
# list things that need -j2 here
app-office/libreoffice  MAKEOPTS-j2
dev-libs/boost MAKEOPTS-j2
games-emulation/sdlmame MAKEOPTS-j2
#www-client/firefox MAKEOPTS-j2
www-client/chromium MAKEOPTS-j2

# list things that need MAKEOPTS-j1
www-client/firefox MAKEOPTS-j1

So portage remembers it all.

That's the workaround. Please file a bug at bugs.gentoo.org if there isn't one already.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cciechad
n00b
n00b


Joined: 28 Jun 2005
Posts: 31

PostPosted: Wed Nov 16, 2016 1:22 pm    Post subject: Reply with quote

NeddySeagoon,

Thank you that seems much easier than my solution. I just got my bugzilla acct straightened out bug 599996 entered. It's sitting with bugwranglers as it appears I lost my assignment rights(wouldn't let me reassign to freedesktop-bugs@gentoo.org)

Thanks,

Chad

[Moderator edit: added [bug] tag to poster's bug # so that users can access the bug report more readily. -Hu]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 36552
Location: 56N 3W

PostPosted: Wed Nov 16, 2016 2:19 pm    Post subject: Reply with quote

cciechad,

You may want to investigate the use of version and comparison operators in /etc/portage/package.env
That will make forgetting to remove the WANT_AUTOMAKE="1.13" harmless, when you really don't want it and a future build fails.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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