Date: Fri, 4 Jun 2010 10:22:19 -0500 (CDT) From: Kirk Strauser <kirk@strauser.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/147474: Can't install devel/gettext whenever the linux.ko module is loaded Message-ID: <20100604152219.F01E4A80@athena.daycos.com> Resent-Message-ID: <201006041540.o54Fe2GB029837@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147474 >Category: ports >Synopsis: Can't install devel/gettext whenever the linux.ko module is loaded >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 04 15:40:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: FreeBSD 8.0-STABLE amd64 >Organization: >Environment: System: FreeBSD athena.daycos.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Apr 8 14:43:56 CDT 2010 root@athena.daycos.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Whenever I try to build devel/gettext with Linux compatibility enabled, it fails during the installation step: Making install in intl-java /compat/linux/bin/mkdir -p /usr/local/share/gettext /compat/linux/bin/mkdir -p /usr/local/share/doc/gettext/javadoc2 /compat/linux/bin/mkdir -p /usr/local/share/doc/gettext/javadoc2/gnu/gettext install -o root -g wheel -m 444 ./javadoc2/index.html /usr/local/share/doc/gettext/javadoc2/index.html install: /usr/local/share/doc/gettext/javadoc2/index.html: No such file or directory *** Error code 71 Stop in /var/tmp/usr/ports/devel/gettext/work/gettext-0.18/gettext-runtime/intl-java. *** Error code 1 Stop in /var/tmp/usr/ports/devel/gettext/work/gettext-0.18/gettext-runtime/intl-java. *** Error code Running the build and install process inside "script" and diffing the output shows that the port tries to use /compat/linux/bin/mkdir (from emulators/linux_base-f10) instead of /bin/mkdir: --- /tmp/gettext-withoutlinux 2010-06-04 09:59:11.486925826 -0500 +++ /tmp/gettext-withlinux 2010-06-04 10:02:41.365989642 -0500 @@ -13,8 +13,7 @@ ===> Configuring for gettext-0.18_1 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... ELF binary type "3" not known. -build-aux/install-sh -c -d +checking for a thread-safe mkdir -p... /compat/linux/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes Using the Linux mkdir causes the directories to be created in /compat/linux instead of / and the rest of the install script is understandably unhappy about that. I can easily repeat this on my system. If you need any further information or experimentation, I'll be happy to provide it. >How-To-Repeat: # kldload linux; cd /usr/ports/devel/gettext; make clean; make install >Fix: # kldunload linux; cd /usr/ports/devel/gettext; make clean; make install >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100604152219.F01E4A80>