View previous topic :: View next topic |
Author |
Message |
cciechad n00b
Joined: 28 Jun 2005 Posts: 31
|
Posted: Wed Nov 16, 2016 12:55 am Post subject: If you can't compile dbus-1.10.12 how to fix. |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Wed Nov 16, 2016 12:45 pm Post subject: |
|
|
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 |
|
|
cciechad n00b
Joined: 28 Jun 2005 Posts: 31
|
Posted: Wed Nov 16, 2016 1:22 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Wed Nov 16, 2016 2:19 pm Post subject: |
|
|
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 |
|
|
|