From ruben@helium.verweg.com  Sat Dec  2 11:10:07 2006
Return-Path: <ruben@helium.verweg.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8837E16A416
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Dec 2006 11:10:07 +0000 (UTC)
	(envelope-from ruben@helium.verweg.com)
Received: from helium.verweg.com (helium.xs4all.nl [194.109.251.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E866843CA7
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Dec 2006 11:09:46 +0000 (GMT)
	(envelope-from ruben@helium.verweg.com)
Received: from helium.verweg.com (ruben@localhost.verweg.com [IPv6:::1])
	by helium.verweg.com (8.13.8/8.13.8) with ESMTP id kB2B9uLv008539
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 2 Dec 2006 12:10:01 +0100 (CET)
	(envelope-from ruben@helium.verweg.com)
Received: (from ruben@localhost)
	by helium.verweg.com (8.13.8/8.13.8/Submit) id kB2B9uQQ008537;
	Sat, 2 Dec 2006 12:09:56 +0100 (CET)
	(envelope-from ruben)
Message-Id: <200612021109.kB2B9uQQ008537@helium.verweg.com>
Date: Sat, 2 Dec 2006 12:09:56 +0100 (CET)
From: Ruben van Staveren <ruben@verweg.com>
Reply-To: Ruben van Staveren <ruben@verweg.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: linux-megacli needs unzip as a build dependancy too
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106203
>Category:       ports
>Synopsis:       linux-megacli needs unzip as a build dependancy too
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 11:20:04 GMT 2006
>Closed-Date:    Sat Dec 02 12:12:35 GMT 2006
>Last-Modified:  Sat Dec  2 12:20:04 GMT 2006
>Originator:     Ruben van Staveren
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD helium.verweg.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #22: Wed Nov 29 12:46:25 CET 2006 root@helium.verweg.com:/usr/obj/usr/cvsup/6-stable/src/sys/HELIUM-SMP i386


	
>Description:

linux-megacli needs unzip as a build dependancy too, to make the ports build
cluster happy

USE_ZIP only registers it for extracting

>How-To-Repeat:

building linux-megacli-1.01.09 on gohan21.freebsd.org
in directory /x/tmp/5-exp/chroot/70144
building for: 6.2-RELEASE i386
maintained by: ruben@verweg.com
port directory: /usr/ports/sysutils/linux-megacli
build started at Sat Dec  2 00:10:13 UTC 2006
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=gettext-0.14.5_2.tbz libiconv-1.9.2_2.tbz popt-1.7_2.tbz rpm-3.0.6_13.tbz unzip-5.52_2.tbz
BUILD_DEPENDS=
RUN_DEPENDS=linux_base-fc-4_9.tbz
prefixes: LOCALBASE=usr/local X11BASE=usr/xorg
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> Linux_MegaCli_1.01.09.zip doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/Linux_MegaCli_1.01.09.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/.
fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/Linux_MegaCli_1.01.09.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://lsi.com/files/support/rsa/MR_SAS_1.0/.
Linux_MegaCli_1.01.09.zip                              563 kB  586 kBps
=> MD5 Checksum OK for Linux_MegaCli_1.01.09.zip.
=> SHA256 Checksum OK for Linux_MegaCli_1.01.09.zip.
================================================================
====================<phase 2: make extract>====================
add_pkg gettext-0.14.5_2.tbz libiconv-1.9.2_2.tbz popt-1.7_2.tbz rpm-3.0.6_13.tbz unzip-5.52_2.tbz
adding dependencies
pkg_add gettext-0.14.5_2.tbz
pkg_add libiconv-1.9.2_2.tbz
skipping libiconv-1.9.2_2, already added
pkg_add popt-1.7_2.tbz
pkg_add rpm-3.0.6_13.tbz
pkg_add unzip-5.52_2.tbz
===>  Extracting for linux-megacli-1.01.09
=> MD5 Checksum OK for Linux_MegaCli_1.01.09.zip.
=> SHA256 Checksum OK for Linux_MegaCli_1.01.09.zip.
===>   linux-megacli-1.01.09 depends on file: /usr/local/bin/rpm2cpio - found
===>   linux-megacli-1.01.09 depends on executable in : unzip - found
Deleting unzip-5.52_2
Deleting rpm-3.0.6_13
Deleting popt-1.7_2
Deleting gettext-0.14.5_2
Deleting libiconv-1.9.2_2
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for linux-megacli-1.01.09
================================================================
====================<phase 4: make build>====================
add_pkg
===>  Configuring for linux-megacli-1.01.09
===>  Building for linux-megacli-1.01.09
/usr/local/bin/unzip: not found
*** Error code 127

Stop in /a/ports/sysutils/linux-megacli.
================================================================
build of /usr/ports/sysutils/linux-megacli ended at Sat Dec  2 00:11:19 UTC 2006



>Fix:


--- Makefile.orig	Sat Dec  2 11:57:51 2006
+++ Makefile	Sat Dec  2 12:03:40 2006
@@ -15,6 +15,8 @@
 MAINTAINER=		ruben@verweg.com
 COMMENT=		LSI MegaRAID SAS controller management utility
 
+BUILD_DEPENDS+=       unzip:${PORTSDIR}/archivers/unzip
+
 NO_WRKSUBDIR=		yes
 USE_ZIP=		yes
 RESTRICTED=		Redistribution prohibited, see: http://lsi.com/cm/License.do

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Sat Dec 2 11:40:38 UTC 2006 
Class-Changed-Why:  
Fix category (submitter is maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106203 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Dec 2 12:10:40 UTC 2006 
State-Changed-Why:  
Committed, thanks. I also added rpm2cpio as another build dependency, as I see 
you use it in do-build: target too. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106203: commit references a PR
Date: Sat,  2 Dec 2006 12:12:12 +0000 (UTC)

 pav         2006-12-02 12:12:07 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/linux-megacli Makefile 
   Log:
   - Fix build on pointyhat: make sure extract depends are present in build phase
   
   PR:             ports/106203
   Submitted by:   Ruben van Staveren <ruben@verweg.com> (maintainer)
   
   Revision  Changes    Path
   1.2       +3 -0      ports/sysutils/linux-megacli/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
