From nicolas@i.0x5.de  Tue Oct 12 20:21:10 2004
Return-Path: <nicolas@i.0x5.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id B27B016A4CE; Tue, 12 Oct 2004 20:21:10 +0000 (GMT)
Received: from pc5.i.0x5.de (n.0x5.de [217.197.85.142])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id DE56843D49; Tue, 12 Oct 2004 20:21:08 +0000 (GMT)
	(envelope-from nicolas@i.0x5.de)
Received: from pc5.i.0x5.de (nicolas@localhost [127.0.0.1])
	by pc5.i.0x5.de (8.12.11/8.12.11) with ESMTP id i9CKL71K083057;
	Tue, 12 Oct 2004 22:21:07 +0200 (CEST)
	(envelope-from nicolas@pc5.i.0x5.de)
Received: (from nicolas@localhost)
	by pc5.i.0x5.de (8.12.11/8.12.11/Submit) id i9CKL6tg083056;
	Tue, 12 Oct 2004 22:21:06 +0200 (CEST)
	(envelope-from nicolas)
Message-Id: <200410122021.i9CKL6tg083056@pc5.i.0x5.de>
Date: Tue, 12 Oct 2004 22:21:06 +0200 (CEST)
From: Nicolas Rachinsky <nr@rachinsky.de>
Reply-To: Nicolas Rachinsky <nr@rachinsky.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gnome@freebsd.org, marcus@freebsd.org
Subject: www/mozilla does not install
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72594
>Category:       ports
>Synopsis:       www/mozilla does not install
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 12 20:30:27 GMT 2004
>Closed-Date:    Tue Oct 12 20:32:56 GMT 2004
>Last-Modified:  Tue Oct 12 20:32:56 GMT 2004
>Originator:     Nicolas Rachinsky
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD pc5.i.0x5.de 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Fri Jul 2 09:03:30 CEST 2004 nicolas@pc5.i.0x5.de:/scratch/obj/usr/exported/src/sys/PC5 i386


	
>Description:
The installation of www/mozilla fails:
# make install
[...]
===>  Checking if www/mozilla already installed
/bin/mkdir -p /usr/X11R6/lib/mozilla
/bin/chmod 755 /usr/X11R6/lib/mozilla
install -c -o root -g wheel -m 555 /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla /usr/X11R6/lib/mozilla
install: /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla: Inappropriate file type or format
*** Error code 71

Stop in /usr/exported/ports/www/mozilla.
#

# ll -d /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla
drwxr-xr-x  11 root  wheel  1024 Oct 12 22:14 /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla/



>How-To-Repeat:

cd /usr/ports/www/mozilla
make install

>Fix:


Index: Makefile
===================================================================
RCS file: /usr/cvs-freebsd/ports/www/mozilla/Makefile,v
retrieving revision 1.172
diff -u -r1.172 Makefile
--- Makefile	12 Oct 2004 16:45:45 -0000	1.172
+++ Makefile	12 Oct 2004 20:18:00 -0000
@@ -308,8 +308,8 @@
 do-install:
 	${MKDIR} ${PREFIX}/lib/${MOZILLA}
 	${CHMOD} 755 ${PREFIX}/lib/${MOZILLA}
-	${INSTALL_SCRIPT} ${FAKEDIR}/lib/mozilla ${PREFIX}/lib/${MOZILLA}
-	${INSTALL_SCRIPT} ${FAKEDIR}/lib/mozilla-config ${PREFIX}/lib/${MOZILLA}
+	${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA}
+	${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA}
 	${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
 		${PREFIX}/lib/${MOZILLA}/mozilla \
 		${PREFIX}/lib/${MOZILLA}/mozilla-config

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Tue Oct 12 20:32:45 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72594 
>Unformatted:
