Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584680

Summary: dev-db/mariadb-10.0.25 fails to build if parallel make enabled...probably should disable it
Product: Gentoo Linux Reporter: Scott Alfter <scott>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge --info

Description Scott Alfter 2016-05-31 17:12:28 UTC
I normally have MAKEOPTS=-j5 set on a Core i5 4690K box.  While updating the system this morning, the MariaDB ebuild kept failing.  When building  sql/sql_digest.cc, it would complain that lex_token.h was missing.

I found this in the MariaDB bug tracker:

https://mariadb.atlassian.net/browse/MDEV-8556

This would suggest that perhaps parallel make should be disabled for this package.  I commented out MAKEOPTS in my make.conf (and FEATURES, too, which had parallel-fetch and ccache enabled) and ran the build again.  This time, it worked.
Comment 1 Tomáš Mózes 2016-06-01 02:41:57 UTC
Please attach your build.log and emerge --info.
Comment 2 Scott Alfter 2016-06-01 04:45:24 UTC
I didn't save a failed build log from earlier, and now that it has been successfully installed, I can't get it to fail.  MAKEOPTS is set to -j5 and I've disabled ccache, yet it's just gone 2 for 2 on successful builds.
Comment 3 Scott Alfter 2016-06-01 04:46:35 UTC
Created attachment 435988 [details]
emerge --info
Comment 4 Scott Alfter 2016-06-01 04:49:15 UTC
Created attachment 435990 [details]
emerge --info
Comment 5 Tomáš Mózes 2016-06-01 07:30:44 UTC
I'm closing for now, if it happens again, please re-open and attach the build log. Thanks!