Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2006 12:09:56 +0100 (CET)
From:      Ruben van Staveren <ruben@verweg.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106203: linux-megacli needs unzip as a build dependancy too
Message-ID:  <200612021109.kB2B9uQQ008537@helium.verweg.com>
Resent-Message-ID: <200612021120.kB2BK4wS013486@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 11:20:04 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612021109.kB2B9uQQ008537>