From nobody@FreeBSD.org  Sat Jan 21 16:09:23 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3F5E2106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Jan 2012 16:09:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0FC9D8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Jan 2012 16:09:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0LG9M3D070098
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Jan 2012 16:09:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0LG9M60070088;
	Sat, 21 Jan 2012 16:09:22 GMT
	(envelope-from nobody)
Message-Id: <201201211609.q0LG9M60070088@red.freebsd.org>
Date: Sat, 21 Jan 2012 16:09:22 GMT
From: Paul Lambert <eb30750@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gpt will not install using pkg_add
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: Mel Flynn <rflynn@acsalaska.net>

>Number:         164355
>Category:       ports
>Synopsis:       misc/gpt will not install using pkg_add
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    scheidell
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 21 16:10:13 UTC 2012
>Closed-Date:    Sun Jun 10 22:18:10 UTC 2012
>Last-Modified:  Thu Jun 21 04:10:13 UTC 2012
>Originator:     Paul Lambert
>Release:        9.0
>Organization:
BRSINC
>Environment:
BRSINC-BSDHST# pkg_add gpt -r
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/gpt.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/makepatch-2.04.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-IO-String-1.08.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/gmake-3.82.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-IO-Zlib-1.10_1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-Archive-Tar-1.82.tbz... Done.
ERROR: Can't find GNU unzip. Use -gunzip=<location> flag with gpt-config
pkg_add: command 'PATH=/usr/local/bin:${PATH} GPT_LOCATION=/usr/local /usr/local/sbin/gpt-config -probe -perl=/usr/local/bin/perl' failed

>Description:
The install process for gpt downloads but does not complete installation.  
gunzip is installed on my system.


BRSINC-BSDHST# pkg_add gpt -r
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/gpt.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/makepatch-2.04.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-IO-String-1.08.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/gmake-3.82.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-IO-Zlib-1.10_1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/p5-Archive-Tar-1.82.tbz... Done.
ERROR: Can't find GNU unzip. Use -gunzip=<location> flag with gpt-config
pkg_add: command 'PATH=/usr/local/bin:${PATH} GPT_LOCATION=/usr/local /usr/local/sbin/gpt-config -probe -perl=/usr/local/bin/perl' failed

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 21 19:23:19 UTC 2012 
Responsible-Changed-Why:  
ports PR. 

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

From: Mel Flynn <rflynn@acsalaska.net>
To: bug-followup@FreeBSD.org, eb30750@gmail.com
Cc:  
Subject: Re: ports/164355: misc/gpt will not install using pkg_add
Date: Mon, 20 Feb 2012 22:22:20 +0100

 This is a multi-part message in MIME format.
 --------------030701020600000503050900
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
 the port is missing a few runtime dependencies that make the exec
 command fail. Attached patch fixes things, but since I'm not a user of
 the software can't verify if it'll fix all it's problems.
 
 -- 
 Mel
 
 --------------030701020600000503050900
 Content-Type: text/plain;
  name="patch-misc__gpt.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-misc__gpt.diff"
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/misc/gpt/Makefile,v
 retrieving revision 1.14
 diff -u -r1.14 Makefile
 --- Makefile	21 Sep 2010 07:56:37 -0000	1.14
 +++ Makefile	20 Feb 2012 21:12:19 -0000
 @@ -7,7 +7,7 @@
  
  PORTNAME=	gpt
  PORTVERSION=	3.2
 -PORTREVISION=	4
 +PORTREVISION=	5
  CATEGORIES=	misc archivers devel parallel
  MASTER_SITES=	ftp://ftp.globus.org/pub/gt4/4.0/4.0.0/gpt/
  DISTNAME=	gpt-${PORTVERSION}autotools2004-src
 @@ -20,7 +20,9 @@
  RUN_DEPENDS+=	${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
  		${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
  		${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \
 -		${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch
 +		${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch \
 +		unzip:${PORTSDIR}/archivers/unzip \
 +		gmake:${PORTSDIR}/devel/gmake
  
  USE_PERL5=	yes
  WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}autotools2004
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/misc/gpt/pkg-plist,v
 retrieving revision 1.3
 diff -u -r1.3 pkg-plist
 --- pkg-plist	2 Mar 2006 22:39:14 -0000	1.3
 +++ pkg-plist	20 Feb 2012 21:12:19 -0000
 @@ -132,5 +132,5 @@
  @dirrm %%DATADIR%%/aclocal
  @dirrm %%DATADIR%%/amdir
  @dirrm %%DATADIR%%
 -@exec PATH=%%LOCALBASE%%/bin:${PATH} GPT_LOCATION=%D %D/sbin/gpt-config -probe -perl=%%PERL%%
 +@exec PATH=%%LOCALBASE%%/bin:${PATH} GPT_LOCATION=%D %D/sbin/gpt-config -probe -perl=%%PERL%% -gmake=%%LOCALBASE%%/bin/gmake -tar=/usr/bin/tar -unzip=%%LOCALBASE%%/bin/unzip
  @unexec echo "Configuration information saved.  If you will *NOT* use this package" && echo "anymore, please remove /var/db/gpt and its contents manually."
 
 --------------030701020600000503050900--

From: Michael Scheidell <scheidell@freebsd.org>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: ports/164355: misc/gpt will not install using pkg_add
Date: Wed, 9 May 2012 09:23:00 -0400

 Paul:
 
 Mel Flynn suggested a possible fix to this two months ago.
 
 Did this fix your problem?  This Pr has been opened, waiting for a 
 response for two months.  Do we commit this fix and close the pr, or 
 just close the pr?
 
 -- 
 Michael Scheidell, CTO
  >*| * SECNAP Network Security Corporation
 d: +1.561.948.2259
 w: http://people.freebsd.org/~scheidell
Responsible-Changed-From-To: freebsd-ports-bugs->scheidell 
Responsible-Changed-By: scheidell 
Responsible-Changed-When: Sun Jun 10 11:13:27 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164355 
State-Changed-From-To: open->feedback 
State-Changed-By: scheidell 
State-Changed-When: Sun Jun 10 19:35:45 UTC 2012 
State-Changed-Why:  
Interestingly enough: 
When I try this without the patches, on 7.4, i386, I get a totally different set of errors: 
I will try this on 9.0, amd64 (first) before applying Mel's patches. 
But, I need you (Paul) to try Mel's patches: 
cd /usr/ports/misc/gpt 
fetch -o - 'http://www.freebsd.org/cgi/query-pr.cgi?pr=ports%2F164355&getpatch=1' | patch -EuNI 
(Mel: note, I might change the run_depends to 'USE_GMAKE' to get rid of the make illegal option error. 
see portlint -abt ) 

logs from tinderbox: 


add_pkg 
make: don't know how to make regression-test(continuing) 
================================================================ 
====================<phase 6: make install>==================== 
add_pkg p5-IO-String-1.08.tbz perl-5.12.4_4.tbz p5-Archive-Tar-1.84.tbz p5-IO-Zlib-1.10_1.tbz gettext-0.18.1.1.tbz  
libiconv-1.14.tbz gmake-3.82.tbz makepatch-2.04.tbz 
adding dependencies 
pkg_add p5-IO-String-1.08.tbz 
pkg_add perl-5.12.4_4.tbz 
skipping perl-5.12.4_4, already added 
pkg_add p5-Archive-Tar-1.84.tbz 
pkg_add p5-IO-Zlib-1.10_1.tbz 
pkg_add gettext-0.18.1.1.tbz 
pkg_add libiconv-1.14.tbz 
skipping libiconv-1.14, already added 
pkg_add gmake-3.82.tbz 
pkg_add makepatch-2.04.tbz 
===>  Installing for gpt-3.2_4 
===>   gpt-3.2_4 depends on file: /usr/local/lib/perl5/site_perl/5.12.4/Archive/Tar.pm - found 
===>   gpt-3.2_4 depends on file: /usr/local/lib/perl5/site_perl/5.12.4/IO/Zlib.pm - found 
===>   gpt-3.2_4 depends on file: /usr/local/bin/gmake - found 
===>   gpt-3.2_4 depends on file: /usr/local/bin/makepatch - found 
===>   gpt-3.2_4 depends on file: /usr/local/bin/perl5.12.4 - found 
===>   Generating temporary packing list 
===>  Checking if misc/gpt already installed 
build_gpt ====> installing GPT into /usr/local 
make: illegal option -- - 
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] 
[-d flags] [-E variable] [-f makefile] [-I directory] 
[-j max_jobs] [-m directory] [-V variable] 
[variable=value] [target ...] 
build_gpt ====> building /work/a/ports/misc/gpt/work/gpt-3.2autotools2004/packaging_tools 


http://www.freebsd.org/cgi/query-pr.cgi?pr=164355 
State-Changed-From-To: feedback->closed 
State-Changed-By: scheidell 
State-Changed-When: Sun Jun 10 22:16:06 UTC 2012 
State-Changed-Why:  
No feedback from submitter. 
pkg_add broken on 9.0, amd64 
make -- broken on 7.4 i386 
upstream has newer source (and even that is unmaintained since 2004) 
ftp server non responsive. even old source (www.globus.com) has different source (different size, different sha256) 
This was a dependency for net/globus4, which was removed from the source tree as broken in 2008. 


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

From: Paul Lambert <eb30750@gmail.com>
To: bug-followup@FreeBSD.org, eb30750@gmail.com
Cc:  
Subject: Re: ports/164355: misc/gpt will not install using pkg_add
Date: Thu, 21 Jun 2012 00:09:51 -0400

 --e0cb4efe2e40ef379004c2f3af82
 Content-Type: text/plain; charset=ISO-8859-1
 
 Regarding this bug, I have confirmed that the most recent version of gpt is
 3.2-4 which is what I installed over 3/4 months ago.  The bug report shows
 that the responder posted a patch in the bug itself that required me to
 rebuild the gpt package.  I am not set up on FreeBSD to compile code, nor
 do I want to.  My main goal was to get Virtual Box up an running to try it
 out.  This venture started in 2010 but because none of the desktop software
 worked due to dependencies I was not able to get it running until the
 spring of 2012 when I installed 9.0 and then ran into the gpt bug.
 
 No one responded to my bug report for over six weeks so I went on to other
 projects.  I do not boot FreeBSD everyday since I use Fedora as my primary
 desktop system.  But the networking is horrific and I want to move to
 FreeBSD because the performance is much better.
 
 Anyway, if someone compiles a new gpt package I will attempt to install it
 and see how far I get.  However, based on the other comments in the bug
 report it does not appear that support for AMD is current.  PJL
 
 --e0cb4efe2e40ef379004c2f3af82
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Regarding this bug, I have confirmed that the most recent version of gpt is=
  3.2-4 which is what I installed over 3/4 months ago.=A0 The bug report sho=
 ws that the responder posted a patch in the bug itself that required me to =
 rebuild the gpt package.=A0 I am not set up on FreeBSD to compile code, nor=
  do I want to.=A0 My main goal was to get Virtual Box up an running to try =
 it out.=A0 This venture started in 2010 but because none of the desktop sof=
 tware worked due to dependencies I was not able to get it running until the=
  spring of 2012 when I installed 9.0 and then ran into the gpt bug.<br>
 <br>No one responded to my bug report for over six weeks so I went on to ot=
 her projects.=A0 I do not boot FreeBSD everyday since I use Fedora as my pr=
 imary desktop system.=A0 But the networking is horrific and I want to move =
 to FreeBSD because the performance is much better.=A0 <br>
 <br>Anyway, if someone compiles a new gpt package I will attempt to install=
  it and see how far I get.=A0 However, based on the other comments in the b=
 ug report it does not appear that support for AMD is current.=A0 PJL<br>
 
 --e0cb4efe2e40ef379004c2f3af82--
>Unformatted:
