Subject: pkg/25334: can't compile www/mozilla-gtk2
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: pkgsrc-bugs
Date: 04/27/2004 02:10:05
>Number: 25334
>Category: pkg
>Synopsis: can't compile www/mozilla-gtk2
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 26 17:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Kouichirou Hiratsuka
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #18: Mon Apr 26 01:27:03 JST 2004 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
I can't compile www/mozilla-gtk2. Because distinfo does not match.
# cd /usr/pkgsrc/www/mozilla-gtk2
# make
===> Checking for vulnerabilities in mozilla-gtk2-1.6nb3
=> Checksum OK for mozilla-source-1.6.tar.bz2.
===> Extracting for mozilla-gtk2-1.6nb3
[snip]
===> Patching for mozilla-gtk2-1.6nb3
===> Applying pkgsrc patches for mozilla-gtk2-1.6nb3
**************************************
Patch file ../../www/mozilla/patches/patch-ab has been modified
**************************************
**************************************
Ignoring unknown patch file: ../../www/mozilla/patches/patch-ax
**************************************
**************************************
Patch file ../../www/mozilla/patches/patch-bq has been modified
**************************************
Patching failed due to modified patch file(s): patch-ab patch-bq
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/mozilla-gtk2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/mozilla-gtk2
#
>How-To-Repeat:
cd ${PKGSRCDIR}/www/mozilla-gtk2
make
>Fix:
Use ../../www/mozilla/distinfo instead of www/mozilla-gtk2/distinfo.
BTW, it can't open without ${.CURDIR}.
# make
===> Checking for vulnerabilities in mozilla-gtk2-1.6nb3
/usr/bin/awk: can't open file ../../www/mozilla/distinfo
source line number 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/www/mozilla-gtk2
#
Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/www/mozilla-gtk2/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 11 Mar 2004 08:27:09 -0000 1.5
+++ Makefile 26 Apr 2004 16:53:45 -0000
@@ -7,8 +7,9 @@
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-PATCHDIR= ../../www/mozilla/patches
-FILESDIR= ../../www/mozilla/files
+DISTINFO_FILE= ${.CURDIR}/../../www/mozilla/distinfo
+PATCHDIR= ${.CURDIR}/../../www/mozilla/patches
+FILESDIR= ${.CURDIR}/../../www/mozilla/files
COMMENT= Full featured gecko-based browser built with GTK2
>Release-Note:
>Audit-Trail:
>Unformatted: