From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 4 15:40:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2BFD1065674 for ; Fri, 4 Jun 2010 15:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7D08FC0C for ; Fri, 4 Jun 2010 15:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o54Fe2mw029838 for ; Fri, 4 Jun 2010 15:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o54Fe2GB029837; Fri, 4 Jun 2010 15:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 4 Jun 2010 15:40:02 GMT Resent-Message-Id: <201006041540.o54Fe2GB029837@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0A83106566B for ; Fri, 4 Jun 2010 15:38:01 +0000 (UTC) (envelope-from kirk@daycos.com) Received: from mail.daycos.com (mail.daycos.com [204.26.70.93]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD798FC0C for ; Fri, 4 Jun 2010 15:38:00 +0000 (UTC) Received: from mail.daycos.com (mail.daycos.com [10.45.14.81]) by mail.daycos.com (Postfix) with ESMTP id 1E85426A0A for ; Fri, 4 Jun 2010 10:22:28 -0500 (CDT) Received: from mail.daycos.com ([10.45.14.81]) by mail.daycos.com (mail.daycos.com [10.45.14.81]) (amavisd-new, port 10024) with LMTP id dVqljhbmo3Ky for ; Fri, 4 Jun 2010 10:22:20 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [10.45.12.8]) by mail.daycos.com (Postfix) with ESMTP id 113A926A04 for ; Fri, 4 Jun 2010 10:22:20 -0500 (CDT) Received: by athena.daycos.com (Postfix, from userid 1001) id F01E4A80; Fri, 4 Jun 2010 10:22:19 -0500 (CDT) Message-Id: <20100604152219.F01E4A80@athena.daycos.com> Date: Fri, 4 Jun 2010 10:22:19 -0500 (CDT) From: Kirk Strauser To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/147474: Can't install devel/gettext whenever the linux.ko module is loaded X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kirk Strauser List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 15:40:03 -0000 >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: