Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560114 - dev-db/mysql-5.6.25 fails to build using distcc
Summary: dev-db/mysql-5.6.25 fails to build using distcc
Status: RESOLVED DUPLICATE of bug 645298
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 12:12 UTC by nobody
Modified: 2018-01-23 00:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.log,6.89 KB, text/plain)
2015-09-10 12:13 UTC, nobody
Details
cmake log with synch.h test succeed (CMakeOutput.log,637.83 KB, text/plain)
2015-09-10 12:14 UTC, nobody
Details
build log (build.log.gz,10.37 KB, application/x-gzip)
2015-09-10 12:19 UTC, nobody
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2015-09-10 12:12:46 UTC
On the failing host:
FEATURES="-distcc" emerge mysql -> succeed
FEATURES="distcc" emerge mysql -> fail

On another host, with or without distcc, it works.

None of my distcc hosts have the synch.h file, all have it from kernel source, but only for powerpcc arch, and all my hosts are x86.

Reproducible: Always

Steps to Reproduce:
1. impossible: on some hosts it works as-is, only this one need distcc off.
2.
3.
Actual Results:  
the cmake log show clearly that cmake found synch.h, dunno where it found it, but it shouldn't found any.
<Determining if files synch.h exist passed with the following output:
Change Dir: /var/tmp/portage/dev-db/mysql-5.6.25/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeTmp>

Note also that mariadb share the same problem, find a synch.h file, try to use it, fail. I didn't test if mariadb was buildable when distcc is off.


- the cmake log showing it found the synch.h where there's none from
/var/tmp/portage/dev-db/mysql-5.6.25/work/mysql-abi_x86_32.x86/CMakeFiles
- the build log where pthread.h refer to synch.h if the ifdef is set, as it is set by previous test, it try use it and fail.
- failing host emerge --info when distcc is enable.
Comment 1 nobody 2015-09-10 12:13:24 UTC
Created attachment 411498 [details]
emerge --info
Comment 2 nobody 2015-09-10 12:14:04 UTC
Created attachment 411500 [details]
cmake log with synch.h test succeed
Comment 3 nobody 2015-09-10 12:19:55 UTC
Created attachment 411504 [details]
build log
Comment 4 nobody 2015-09-10 12:36:30 UTC
Ah i figure it out the "my other host using distcc build it" mystery.

The failing host is using pump, while the other is not (it doesn't need that much help).

On the failing host, i'm now able to build it with FEATURES="-distcc-pump".
Of course when i was using FEATURES="-distcc" it was also disabling pump allowing it to build.

So someone should test: mariadb and mysql ebuild fail if distcc-pump is enable ; but works with distcc out of pump mode.
Comment 5 WGH 2016-02-07 10:46:52 UTC
I'm having the same issue.
Comment 6 nobody 2018-01-23 00:20:30 UTC

*** This bug has been marked as a duplicate of bug 645298 ***
Comment 7 nobody 2018-01-23 00:21:40 UTC
the real solution to stop this mess, should be that an ebuild which use cmake should disable distcc-pump, that's what they are force to do to have the package built anyway.