| Summary: | Can't install devel/gettext whenever the linux.ko module is loaded | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Kirk Strauser <kirk> |
| Component: | Individual Port(s) | Assignee: | autotools |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Kirk Strauser
2010-06-04 16:40:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->autotools Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->feedback Merely loading the linux module will do nothing to affect devel/gettext in any way at all, so the subject line is misleading. With a populated /compat/linux, I am also unable to reproduce this problem. It would seem that, for whatever reason, you have /compat/linux/bin in your $PATH ahead of everything else, hence the wrong mkdir is being picked up, with the resultant fun and games. Please verify that /compat/linux/bin is _not_ in your $PATH, and try again. State Changed From-To: feedback->closed Submitter has /compat/linux/bin in their path. This is non-standard, and not required. Removing this from $PATH causes the port to build as expected just like on thousands of other machines. It's also nothing to do with the linux.ko kernel module. This is a new change, and the only port that requires me to modify my $PATH. It also does not address why devel/gettext is suddenly *not* using FreeBSD's /bin/mkdir. Please consider reopening because the bug still exists. I have do have /compat/linux/bin in my $PATH, but at the very end (where's it's been since at least 2004, according to "svn log"), and it's not the one that my shell ordinarily uses: # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/ bin:/home/kirk/bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/ usr/bin:/compat/linux/usr/sbin # type mkdir mkdir is /bin/mkdir However, the port isn't using FreeBSD's mkdir either in that case. From the output of configure: checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d Removing /compat/linux/bin causes the port to build correctly, so this is also an effective temporary workaround. I still stand by my subject, though, as the presence of linux.ko triggers allows the port to use the (wrong) Linux mkdir even though FreeBSD's mkdir comes first in my $PATH. |