From mail@sysfault.org  Tue Aug 21 08:57:58 2007
Return-Path: <mail@sysfault.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3840616A41A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Aug 2007 08:57:58 +0000 (UTC)
	(envelope-from mail@sysfault.org)
Received: from smtprelay09.ispgateway.de (smtprelay09.ispgateway.de [80.67.29.23])
	by mx1.freebsd.org (Postfix) with ESMTP id 9B9EF13C458
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Aug 2007 08:57:57 +0000 (UTC)
	(envelope-from mail@sysfault.org)
Received: (qmail 5310 invoked from network); 21 Aug 2007 08:57:55 -0000
Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.23.0])
          (envelope-sender <mail@sysfault.org>)
          by smtprelay09.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 21 Aug 2007 08:57:55 -0000
Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org)
	by medusa.sysfault.org with esmtp (Exim 4.67 (FreeBSD))
	(envelope-from <mail@sysfault.org>)
	id 1INPam-0004bv-T7
	for FreeBSD-gnats-submit@freebsd.org; Tue, 21 Aug 2007 11:00:06 +0200
Received: (from marcus@localhost)
	by medusa.sysfault.org (8.14.1/8.14.1/Submit) id l7L903wZ017726;
	Tue, 21 Aug 2007 11:00:03 +0200 (CEST)
	(envelope-from marcus)
Message-Id: <200708210900.l7L903wZ017726@medusa.sysfault.org>
Date: Tue, 21 Aug 2007 11:00:03 +0200 (CEST)
From: Marcus von Appen <mva@sysfault.org>
Reply-To: Marcus von Appen <mva@sysfault.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: archivers/rpm fails to build on RELENG_6
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115676
>Category:       ports
>Synopsis:       archivers/rpm fails to build on RELENG_6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 09:00:11 GMT 2007
>Closed-Date:    Tue Aug 21 23:24:51 GMT 2007
>Last-Modified:  Tue Aug 21 23:24:51 GMT 2007
>Originator:     Marcus von Appen
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD medusa.sysfault.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Aug 21 09:51:56 CEST 2007 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386


	
>Description:
	archivers/rpm does not build due to a gawk: not found error on
        RELENG_6:

/usr/ports/archivers/rpm # make
===>  Extracting for rpm-3.0.6_13
=> MD5 Checksum OK for rpm-3.0.6.tar.gz.
=> SHA256 Checksum OK for rpm-3.0.6.tar.gz.
===>  Patching for rpm-3.0.6_13
===>  Applying FreeBSD patches for rpm-3.0.6_13
===>   rpm-3.0.6_13 depends on executable: gmake - found
===>   rpm-3.0.6_13 depends on file: /usr/local/bin/automake-1.4 - found
===>   rpm-3.0.6_13 depends on file: /usr/local/bin/autoconf-2.13 - found
===>   rpm-3.0.6_13 depends on file: /usr/local/bin/libtool - found
===>   rpm-3.0.6_13 depends on shared library: popt.0 - found
===>   rpm-3.0.6_13 depends on shared library: intl - found
===>  Configuring for rpm-3.0.6_13
gawk: not found
===>  Building for rpm-3.0.6_13
gmake: Makefile: No such file or directory
gmake: *** No rule to make target `Makefile'.  Stop.
*** Error code 2

Stop in /usr/ports/archivers/rpm.
 
>How-To-Repeat:
	 cd /usr/ports/archivers/rpm
         make
>Fix:
        --
>Release-Note:
>Audit-Trail:

From: Marcus von Appen <mva@sysfault.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/115676: archivers/rpm fails to build on RELENG_6
Date: Tue, 21 Aug 2007 11:24:12 +0200

 --BOKacYhQ+x31HxR3
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 archivers/rpm seems to require gawk explicitly.
 The following patch fixes the problem:
 
 diff -ur rpm/Makefile rpm.new/Makefile
 --- rpm/Makefile	2007-08-21 11:16:18.000000000 +0200
 +++ rpm.new/Makefile	2007-08-21 11:18:11.000000000 +0200
 @@ -15,6 +15,7 @@
  MAINTAINER=3D	ports@FreeBSD.org
  COMMENT=3D	The Red Hat Package Manager
 =20
 +BUILD_DEPENDS=3D	gawk:${PORTSDIR}/lang/gawk
  LIB_DEPENDS=3D	popt.0:${PORTSDIR}/devel/popt
 =20
  CONFLICTS=3D	rpm-4.*
 
 Regards
 Marcus
 
 --BOKacYhQ+x31HxR3
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQFGyq88o/JpszXavhwRAuVuAJsFHR9zcDpdtRX1XUICr4zZTgECjwCggArU
 6iyGZornNaHc4lR8VE6OzeA=
 =gDgV
 -----END PGP SIGNATURE-----
 
 --BOKacYhQ+x31HxR3--

From: Yuri Pankov <yuri@darklight.org.ru>
To: bug-followup@freebsd.org, Marcus von Appen <mva@sysfault.org>
Cc:  
Subject: Re: ports/115676: archivers/rpm fails to build on RELENG_6
Date: Tue, 21 Aug 2007 14:16:04 +0400

 Can't reproduce it on 5.5, 6.2 and -CURRENT systems. Can you check that
 you don't have stale symlinks, shell aliases, etc. mentioning {g,}awk?

From: Marcus von Appen <mva@sysfault.org>
To: Yuri Pankov <yuri@darklight.org.ru>
Cc: bug-followup@freebsd.org
Subject: Re: ports/115676: archivers/rpm fails to build on RELENG_6
Date: Tue, 21 Aug 2007 12:28:56 +0200

 --PuGuTyElPB9bOcsM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On, Tue Aug 21, 2007, Yuri Pankov wrote:
 
 > Can't reproduce it on 5.5, 6.2 and -CURRENT systems. Can you check that
 > you don't have stale symlinks, shell aliases, etc. mentioning {g,}awk?
 
 None of those exist(ed) except /usr/bin/awk installed by
 /usr/src/usr.bin/awk.
 
 If you have lang/gawk installed, deinstall it before you try to build
 archivers/rpm.
 
 Regards
 Marcus
 
 --PuGuTyElPB9bOcsM
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQFGyr5oo/JpszXavhwRAl81AJ94mQPnjuppbEqiihZjaZHQtXCkzACdEmL5
 pwkNxhvG0ybrLKbMtMa8fWE=
 =f23T
 -----END PGP SIGNATURE-----
 
 --PuGuTyElPB9bOcsM--

From: Yuri Pankov <yuri@darklight.org.ru>
To: Marcus von Appen <mva@sysfault.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/115676: archivers/rpm fails to build on RELENG_6
Date: Tue, 21 Aug 2007 14:41:18 +0400

 On Tue, Aug 21, 2007 at 12:28:56PM +0200, Marcus von Appen wrote:
 > On, Tue Aug 21, 2007, Yuri Pankov wrote:
 > 
 > > Can't reproduce it on 5.5, 6.2 and -CURRENT systems. Can you check that
 > > you don't have stale symlinks, shell aliases, etc. mentioning {g,}awk?
 > 
 > None of those exist(ed) except /usr/bin/awk installed by
 > /usr/src/usr.bin/awk.
 > 
 > If you have lang/gawk installed, deinstall it before you try to build
 > archivers/rpm.
 > 
 > Regards
 > Marcus
 
 Sorry for not mentioning it, that's exactly what I did - tried with and
 without gawk from ports. I just can't see where 'gawk: not found' can
 possibly come from when running configure target, hence my suggestion
 that there's something wrong with your setup.
 
 /usr/ports/archivers/rpm# which gawk
 gawk: Command not found.
 /usr/ports/archivers/rpm# make clean configure
 ===>  Cleaning for rpm-3.0.6_13
 ===>  Extracting for rpm-3.0.6_13
 => MD5 Checksum OK for rpm-3.0.6.tar.gz.
 => SHA256 Checksum OK for rpm-3.0.6.tar.gz.
 ===>  Patching for rpm-3.0.6_13
 ===>  Applying FreeBSD patches for rpm-3.0.6_13
 ===>   rpm-3.0.6_13 depends on executable: gmake - found
 ===>   rpm-3.0.6_13 depends on file: /usr/local/bin/automake-1.4 - found
 ===>   rpm-3.0.6_13 depends on file: /usr/local/bin/autoconf-2.13 -
 found
 ===>   rpm-3.0.6_13 depends on file: /usr/local/bin/libtool - found
 ===>   rpm-3.0.6_13 depends on shared library: popt.0 - found
 ===>   rpm-3.0.6_13 depends on shared library: intl - found
 ===>  Configuring for rpm-3.0.6_13
 creating cache ./config.cache
 checking host system type... i386-portbld-freebsd6.2
 checking target system type... i386-portbld-freebsd6.2
 checking build system type... i386-portbld-freebsd6.2
 checking for a BSD compatible install... /usr/bin/install -c -o root -g
 wheel
 checking whether build environment is sane... yes
 checking whether gmake sets ${MAKE}... yes
 checking for working aclocal... found
 checking for working autoconf... found
 checking for working automake... found
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for gcc... cc
 checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe  )
 works... yes
 checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe  ) is
 a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether cc accepts -g... yes
 checking how to run the C preprocessor... cc -E
 checking whether cc needs -traditional... no
 checking for a BSD compatible install... /usr/bin/install -c -o root -g
 wheel
 checking flag used by libtool to link rpm...  -static
 checking POSIX chmod... yes
 checking for mkdir... /bin/mkdir
 checking if /bin/mkdir supports -p... yes
 checking for AIX... no
 checking for minix/config.h... no
 checking for POSIXized ISC... no
 checking for cc option to accept ANSI C... none needed
 checking for function prototypes... yes
 checking for mawk... no
 checking for gawk... no
 checking for nawk... nawk
 <snip>
 
 
 Yuri

From: Marcus von Appen <mva@sysfault.org>
To: Yuri Pankov <yuri@darklight.org.ru>
Cc: bug-followup@freebsd.org
Subject: Re: ports/115676: archivers/rpm fails to build on RELENG_6
Date: Tue, 21 Aug 2007 22:28:51 +0200

 --tKW2IUtsqtDRztdT
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Okay, after some hunting within bsd.autotools.mk I could track it down
 with some local .m4 issue, which seemed to be caused by a screwed up
 update of the autotools. After a complete removal of devel/autotools and
 its deps, anything works fine again.
 
 Sorry for the noise, the PR can be closed.
 
 Regards
 Marcus
 
 --tKW2IUtsqtDRztdT
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD4DBQFGy0sDo/JpszXavhwRAuJXAJ4ocYDyoh6XE1dOgQvy3XXHEespawCXQxTu
 t3UsHD1tdPwDHj2G2wV8cA==
 =RXlm
 -----END PGP SIGNATURE-----
 
 --tKW2IUtsqtDRztdT--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Aug 21 23:24:41 UTC 2007 
State-Changed-Why:  
Closed at submitter's request. 

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