From areilly@bigpond.net.au  Mon May 17 01:46:19 2010
Return-Path: <areilly@bigpond.net.au>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 594DC106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2010 01:46:19 +0000 (UTC)
	(envelope-from areilly@bigpond.net.au)
Received: from nschwmtas03p.mx.bigpond.com (nschwmtas03p.mx.bigpond.com [61.9.189.143])
	by mx1.freebsd.org (Postfix) with ESMTP id E6AE28FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2010 01:46:18 +0000 (UTC)
Received: from nschwotgx03p.mx.bigpond.com ([124.188.161.100])
          by nschwmtas03p.mx.bigpond.com with ESMTP
          id <20100517014617.CGVB20574.nschwmtas03p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 17 May 2010 01:46:17 +0000
Received: from duncan.reilly.home ([124.188.161.100])
          by nschwotgx03p.mx.bigpond.com with ESMTP
          id <20100517014616.YLSU2192.nschwotgx03p.mx.bigpond.com@duncan.reilly.home>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 17 May 2010 01:46:16 +0000
Message-Id: <1274060776.44782@duncan.reilly.home>
Date: Mon, 17 May 2010 11:46:16 +1000
From: Andrew Reilly <areilly@bigpond.net.au>
Reply-To: Andrew Reilly <areilly@bigpond.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: lib/libarchive/Makefile broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146648
>Category:       bin
>Synopsis:       lib/libarchive/Makefile broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 17 01:50:01 UTC 2010
>Closed-Date:    Mon May 17 07:58:15 UTC 2010
>Last-Modified:  Mon May 17 07:58:15 UTC 2010
>Originator:     Andrew Reilly
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Fri May 14 20:45:12 EST 2010 root@duncan.reilly.home:/nb/obj/nb/src/sys/DUNCAN amd64


	
>Description:
	make buildworld stopped in libarchive just now.
	cc complained that it couldn't find "1"
>How-To-Repeat:
	cd /usr/src/lib/libarchive; make
	or cd /usr/src; make buildworld
>Fix:

--- lib/libarchive/Makefile.orig        2010-05-17 11:39:53.000000000 +1000
+++ lib/libarchive/Makefile     2010-05-17 11:40:01.000000000 +1000
@@ -7,7 +7,7 @@
 
 DPADD+= ${LIBBZ2}
 LDADD+= -lbz2
-CFLAGS+= -DHAVE_BZLIB_H 1
+CFLAGS+= -DHAVE_BZLIB_H=1
 
 DPADD+= ${LIBLZMA}
 LDADD+= -llzma

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kientzle 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Mon May 17 02:00:58 UTC 2010 
Responsible-Changed-Why:  
Tim is the best person to handle this.  It looks ok... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146648 

From: Giorgos Keramidas <keramida@freebsd.org>
To: Andrew Reilly <areilly@bigpond.net.au>
Cc: bug-followup@freebsd.org
Subject: Re: bin/146648: lib/libarchive/Makefile broken
Date: Mon, 17 May 2010 05:00:28 +0300

 On Mon, 17 May 2010 11:46:16 +1000, Andrew Reilly <areilly@bigpond.net.au> wrote:
 > --- lib/libarchive/Makefile.orig        2010-05-17 11:39:53.000000000 +1000
 > +++ lib/libarchive/Makefile     2010-05-17 11:40:01.000000000 +1000
 > @@ -7,7 +7,7 @@
 >
 >  DPADD+= ${LIBBZ2}
 >  LDADD+= -lbz2
 > -CFLAGS+= -DHAVE_BZLIB_H 1
 > +CFLAGS+= -DHAVE_BZLIB_H=1
 >
 >  DPADD+= ${LIBLZMA}
 >  LDADD+= -llzma
 
 That's precisely the change I made locally too.  Looks ok...
 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Mon May 17 07:57:54 UTC 2010 
State-Changed-Why:  
Fixed. 


Responsible-Changed-From-To: kientzle->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Mon May 17 07:57:54 UTC 2010 
Responsible-Changed-Why:  
Take. 

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