FS#78400 - [distcc] needs rebuild for gcc-13

Attached to Project: Community Packages
Opened by Reza Jahanbakhshi (rjahanbakhshi) - Thursday, 04 May 2023, 16:11 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 23 May 2023, 21:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
NATIVE_COMPILER_TRIPLE is set to x86_64-linux-gnu-gcc while compiling this package. It should be set to x86_64-pc-linux-gnu-gcc. It could be that GCC 12 -dumpmachine was reporting it as x86_64-linux-gnu-gcc, or the package was compiled using a distro other than Arch. In any case, this causes the whitelist symlinks to be completely broken for meson builds, and consequently non of the freedesktop projects can be compiled distributedly. A simple recompile using GCC 13 on Arch might solve this issue. Also, in my opinion, the _gccver symlink is not necessary anymore.

Additional info:
* Packages and versions: distcc 3.4-6, meson 1.1.0-1, mesa-git, lib32-mesa-git, virglrenderer-git, ...
* Error in distccd.log: distccd[42137] (dcc_check_compiler_whitelist) CRITICAL! x86_64-linux-gnu-gcc not in /usr/lib/distcc or /usr/lib/distcc whitelist.

Steps to reproduce:
Build any of the mesa-git, lib32-mesa-git, or virglrenderer-git using distcc.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 23 May 2023, 21:52 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Friday, 05 May 2023, 02:56 GMT
Dupe  FS#78404 
Comment by Alexander F. Rødseth (xyproto) - Saturday, 06 May 2023, 13:54 GMT
Thanks for reporting. I tried reproducing the issue by compiling mesa-git, but it appears to be working here.

I updated the distcc package. Please test distcc-3.4-7 and confirm that it works as it should now.
Comment by Reza Jahanbakhshi (rjahanbakhshi) - Tuesday, 09 May 2023, 07:33 GMT
Thanks, I don't have access to my setup for about two weeks. I'll check when I'm back from the holidays.

Loading...