pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38106: pkgsrc should not use ld(1) or as(1) in ${PREFIX} by default.
>Number: 38106
>Category: pkg
>Synopsis: pkgsrc should not use ld(1) or as(1) in ${PREFIX} by default.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 25 22:50:00 +0000 2008
>Originator: Tobias Nygren
>Release: current
>Organization:
>Environment:
i386
>Description:
If you by some freak accident have got devel/binutils installed,
then the pkgsrc wrapper framework will automatically prefer
the broken /usr/pkg/bin/ld over the native ld(1).
>How-To-Repeat:
# cd /usr/pkgsrc/pkgtools/digest
# touch /usr/pkg/bin/ld
# chmod +x /usr/pkg/bin/ld
# export PATH=/bin:/usr/bin
# make
[...]
configure: error: C compiler cannot create executables
grep "^cmd=" work/.wrapper/bin/ld
cmd="/usr/pkg/bin/ld"
cmd="$cmd $libs"
>Fix:
pkgsrc should probably not look in ${PREFIX} for toolchain components.
Also, devel/binutils should use GNU_PROGRAM_PREFIX="pkgsrc-" or something like
that.
Home |
Main Index |
Thread Index |
Old Index