Package Details: distcc-git v3.4.r40.g2d33649-1

Git Clone URL: (read-only, click to copy)
Package Base: distcc-git
Description: Distributed compilation service for C, C++ and Objective-C
Upstream URL:
Licenses: GPL
Conflicts: distcc
Provides: distcc
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-27 11:07 (UTC)
Last Updated: 2023-08-02 11:53 (UTC)

Latest Comments

FabioLolix commented on 2023-08-02 05:42 (UTC)

@simona sei pregata di scrivere in inglese su AURweb, usa LANG=C $command, come ti ho scritto diverse volte in tempi recenti

Per quanto rigurda il problema, è uscita la nuova version di gcc, devi ricompilare il paccchetto sulla nuova verasione di gcc, sei su AUR almeno dal 2017 ormai dovresti saperlo. Se ti fai un repo locale non hai queste scocciature

graysky commented on 2023-05-04 17:49 (UTC)

Thanks updated

rjahanbakhshi commented on 2023-05-04 15:40 (UTC)


Few corrections for this package:

  • _gccver is still on 11 despite the current version is 13. I would say it is not necessary to create symlinks for specific GCC versions. Even in the official repository, it is on 12 and there's no provider for GCC 12 on Arch Linux.
  • symlinks and targets are created in the wrong directory /usr/lib/distcc-git. Those should be created in /usr/lib/distcc otherwise update-distcc-symlinks script won't work correctly and leaves some broken symlinks behind.

Here's my patch for this PKGBUILD.

diff --git a/PKGBUILD b/PKGBUILD
index 398cfc6..93e14d2 100644
@@ -6,16 +6,14 @@

-_gccver=11.2.0 # Current GCC version, used for symlinks. See FS#69044
 pkgdesc='Distributed compilation service for C, C++ and Objective-C'
 depends=(avahi popt python)
 makedepends=(git gtk3)
@@ -68,13 +66,13 @@ package() {

   # Package symlinks
   _targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc $CARCH-pc-linux-gnu-g++
-            $CARCH-pc-linux-gnu-gcc $CARCH-pc-linux-gnu-gcc-$_gccver)
-  install -d "$pkgdir/usr/lib/$pkgname/bin"
+            $CARCH-pc-linux-gnu-gcc)
+  install -d "$pkgdir/usr/lib/$_pkgname/bin"
   for bin in "${_targets[@]}"; do
     # For whitelist since version 3.3, see FS#57978
-    ln -sf ../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/$bin"
+    ln -sf ../../bin/$_pkgname "$pkgdir/usr/lib/$_pkgname/$bin"
     # Needed for makepkg to work
-    ln -sf ../../../bin/$pkgname "$pkgdir/usr/lib/$pkgname/bin/$bin"
+    ln -sf ../../../bin/$_pkgname "$pkgdir/usr/lib/$_pkgname/bin/$bin"

   # FS#67629

Feel free to add me as a co-maintainer if you like.