Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 700296 Details for
Bug 782040
catalyst calls get_libdir for lib64 but distcc installs under lib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch catalyst for distcc under libexec
catalyst-distcc-libexec-path.patch (text/plain), 1.31 KB, created by
nic
on 2021-04-17 05:29:14 UTC
(
hide
)
Description:
patch catalyst for distcc under libexec
Filename:
MIME Type:
Creator:
nic
Created:
2021-04-17 05:29:14 UTC
Size:
1.31 KB
patch
obsolete
># testing distcc pathing using /usr/libexec vs lib/lib64 >#https://bugs.gentoo.org/782040 > >diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh >index d8472d46..8ab5967d 100755 >--- a/targets/support/chroot-functions.sh >+++ b/targets/support/chroot-functions.sh >@@ -83,10 +83,10 @@ setup_features() { > # This sets up automatic cross-distcc-fu according to > # https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling > CHOST=$(portageq envvar CHOST) >- cd /usr/lib/distcc/bin >+ cd /usr/libexec/distcc/bin > rm cc gcc g++ c++ 2>/dev/null >- echo -e '#!/bin/bash\nexec /usr/lib/distcc/bin/'${CHOST}'-g${0:$[-2]} "$@"' > ${CHOST}-wrapper >- chmod a+x /usr/lib/distcc/bin/${CHOST}-wrapper >+ echo -e '#!/bin/bash\nexec /usr/libexec/distcc/bin/'${CHOST}'-g${0:$[-2]} "$@"' > ${CHOST}-wrapper >+ chmod a+x /usr/libexec/distcc/bin/${CHOST}-wrapper > for i in cc gcc g++ c++; do ln -s ${CHOST}-wrapper ${i}; done > fi > >@@ -172,10 +172,10 @@ setup_gcc(){ > cleanup_distcc() { > rm -f /etc/distcc/hosts > for i in cc gcc c++ g++; do >- rm -f /usr/lib/distcc/bin/${i} >- ln -s /usr/bin/distcc /usr/lib/distcc/bin/${i} >+ rm -f /usr/libexec/distcc/bin/${i} >+ ln -s /usr/bin/distcc /usr/libexec/distcc/bin/${i} > done >- rm -f /usr/lib/distcc/bin/*-wrapper >+ rm -f /usr/libexec/distcc/bin/*-wrapper > } > > cleanup_icecream() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 782040
:
699276
|
700293
| 700296