From areilly@bigpond.net.au  Mon Feb 15 09:32:22 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 8FFB21065672
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Feb 2010 09:32:22 +0000 (UTC)
	(envelope-from areilly@bigpond.net.au)
Received: from nskntmtas02p.mx.bigpond.com (nskntmtas02p.mx.bigpond.com [61.9.168.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B99E8FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 15 Feb 2010 09:32:21 +0000 (UTC)
Received: from nskntotgx03p.mx.bigpond.com ([124.188.161.100])
          by nskntmtas02p.mx.bigpond.com with ESMTP
          id <20100215093220.ITBK1835.nskntmtas02p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 15 Feb 2010 09:32:20 +0000
Received: from duncan.reilly.home ([124.188.161.100])
          by nskntotgx03p.mx.bigpond.com with ESMTP
          id <20100215093219.NWKA1978.nskntotgx03p.mx.bigpond.com@duncan.reilly.home>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 15 Feb 2010 09:32:19 +0000
Message-Id: <1266226339.43070@duncan.reilly.home>
Date: Mon, 15 Feb 2010 20:32:19 +1100
From: Andrew Reilly <areilly@bigpond.net.au>
Reply-To: Andrew Reilly <areilly@bigpond.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: system unzip pickiness unhelpful for OpenOffice build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         143949
>Category:       ports
>Synopsis:       editors/openoffice-3: system unzip pickiness unhelpful for OpenOffice build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    office
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 09:40:02 UTC 2010
>Closed-Date:    Wed Apr 30 22:21:52 UTC 2014
>Last-Modified:  Wed Apr 30 22:21:52 UTC 2014
>Originator:     Andrew Reilly
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #16: Sat Feb 13 14:33:31 EST 2010 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64


	
>Description:
	Building port editors/openoffice-3 just now, it stops,
	unhelpfully telling one to build --from odk.  Figuring
	out how to do that reveals that it really failed like
	this:

/usr/local/bin/gcp /usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/bin/jurt_src.zip ../../unxfbsdx.pro/misc/java_src/jurt_src.zip
cd ../../unxfbsdx.pro/misc/java_src && unzip -quo jurt_src.zip
unzip: -n, -o and -u are contradictory
dmake:  Error code 1, while making '../../unxfbsdx.pro/misc/java_src/jurt_src.zip'
dmake:  '../../unxfbsdx.pro/misc/java_src/jurt_src.zip' removed.

	This looks as though unzip is unhappy with the
	combination of flags used, above.
	
>How-To-Repeat:
	Just trying to make in /usr/ports/editors/openoffice-3
	works every time, for me.
>Fix:

	Moving /usr/bin/unzip asside so that the build sees
	/usr/local/bin/unzip is enough to allow the build to
	proceed.

	It's possible that this problem could be re-phrased as a
	ports bug against ooo, os that unzip doesn't get called
	with a contradictory set of arguments, but it's probably
	safer if our internal version just does the right
	thing. (at least as defined by this example.)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->openoffice 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 15 10:17:56 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s). 

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

From: Howard Goldstein <hg@queue.to>
To: bug-followup@FreeBSD.org, areilly@bigpond.net.au
Cc:  
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful
 for OpenOffice build
Date: Mon, 15 Feb 2010 17:03:33 -0500

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig93CA92427BE87590C93FAEB3
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 I don't have unzip in /usr/bin on any of the 8.0-STABLE boxens, could it
 be cruft from an earlier release?
 
 
 --------------enig93CA92427BE87590C93FAEB3
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFLecS7dYVFuiUUgywRAudEAKDI0Qmqwa2jXoBn98hpnKfUSqn6EQCgpVgm
 cls29CQem3iJQodqp6vr6lY=
 =sDP4
 -----END PGP SIGNATURE-----
 
 --------------enig93CA92427BE87590C93FAEB3--

From: Andrew Reilly <areilly@bigpond.net.au>
To: Howard Goldstein <hg@queue.to>
Cc: bug-followup@FreeBSD.org, joerg@NetBSD.org, des@freebsd.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful for OpenOffice build
Date: Tue, 16 Feb 2010 09:37:07 +1100

 On Mon, Feb 15, 2010 at 05:03:33PM -0500, Howard Goldstein wrote:
 > I don't have unzip in /usr/bin on any of the 8.0-STABLE boxens, could it
 > be cruft from an earlier release?
 
 I'm running 9-current and I think that it's new with version 9,
 and based on the libarchive that is the new back-end for the
 system tar and what-not.
 
 Sort of anti-cruft. :-)
 
 If the command line args used by the ooo build are meaningful,
 then I think that this could represent a bug (or misfeature) in
 the new unzip, rather than in the ooo port.  I couldn't say:
 the system's unzip complaint seemed reasonable on first read
 of the man pages.  Anyway, that's why I filed the PR against
 bin, rather than ports...  We probably need to get the author
 involved, as a domain expert. (attached as CC addresses.)
 
 Cheers,
 
 -- 
 Andrew
 

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Andrew Reilly <areilly@bigpond.net.au>
Cc: Howard Goldstein <hg@queue.to>,  bug-followup@FreeBSD.org,  joerg@NetBSD.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful for OpenOffice build
Date: Tue, 16 Feb 2010 12:16:18 +0100

 Andrew Reilly <areilly@bigpond.net.au> writes:
 > If the command line args used by the ooo build are meaningful,
 > then I think that this could represent a bug (or misfeature) in
 > the new unzip, rather than in the ooo port.
 
 A while ago, I did a review of ports that used unzip(1).  Many of them
 used flag combinations that were completely meaningless (no-op or
 self-contradicting) or even unsafe.
 
 This is a borderline case, and you could make a good case for changing
 unzip(1) to accept -u and -o together, not least because there is an
 example that uses -uo in the man page :) But in what way does -uo differ
 from -o alone?  If there is no difference, then using -uo is pointless,
 although *allowing* it is harmless.  If there is, is there also a
 difference between -uo and -ou?
 
 I can't remember what the default behavior (without either -f or -u) is.
 
 In any case, neither -f, -u nor -o should not be used with -n.  Using -f
 and -n together results in no files being extracted, -n cancels -u, and
 -o and -n directly contradict each other.  Using -f and -u together is
 not a good idea either: they agree on updating existing files, but
 disagree on extracting new ones; which one takes precedence?
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Andriy Gapon <avg@icyb.net.ua>
To: bug-followup@FreeBSD.org
Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>,
        openoffice@FreeBSD.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful
 for OpenOffice build
Date: Tue, 16 Feb 2010 17:35:32 +0200

 This is just a me too.
 I am upgrading editors/openoffice-3 to 3.2.0 and been hit by this issue.
 Let's make up our minds if we are going to make our unzip compatible with unzip
 from ports (even if its behavior doesn't make logical sense) or if we are going to
 patch openoffice port(s).
 But, please, let's do one or the other.
 
 -- 
 Andriy Gapon

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Andriy Gapon <avg@icyb.net.ua>
Cc: bug-followup@FreeBSD.org,  openoffice@FreeBSD.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful for OpenOffice build
Date: Tue, 16 Feb 2010 16:52:12 +0100

 We should probably allow -uo, but add checks for -f etc. as outlined in
 my previous followup.
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no

From: Maho NAKATA <chat95@mac.com>
To: des@des.no
Cc: avg@icyb.net.ua, bug-followup@FreeBSD.org, openoffice@FreeBSD.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness
 unhelpful for OpenOffice build
Date: Wed, 17 Feb 2010 17:52:58 +0900 (JST)

 Hello des@
 
 I would like to ask, accepting -uo option might work for us (I think it=
  might not)? =
 
 Do you think upstream patches are needed for OOo? (I guess many small p=
 atches
 are required).
 
 What do you think?
 
 Meanwhile, I will apply patch in PR 142843 if it goes fine.
 Thanks
 
 From: Dag-Erling Sm=F8rgrav <des@des.no>
 Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness=
  unhelpful for OpenOffice build
 Date: Tue, 16 Feb 2010 16:52:12 +0100
 
 > We should probably allow -uo, but add checks for -f etc. as outlined =
 in
 > my previous followup.
 > =
 
 > DES
 > -- =
 
 > Dag-Erling Sm=F8rgrav - des@des.no
 > _______________________________________________
 > freebsd-openoffice@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
 > To unsubscribe, send any mail to "freebsd-openoffice-unsubscribe@free=
 bsd.org"
 > =
 

From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To: Maho NAKATA <chat95@mac.com>
Cc: avg@icyb.net.ua,  bug-followup@FreeBSD.org,  openoffice@FreeBSD.org
Subject: Re: ports/143949: editors/openoffice-3: system unzip pickiness unhelpful for OpenOffice build
Date: Wed, 17 Feb 2010 10:52:19 +0100

 Maho NAKATA <chat95@mac.com> writes:
 > I would like to ask, accepting -uo option might work for us (I think
 > it might not)?=20
 
 Sorry, I don't understand the question.
 
 DES
 --=20
 Dag-Erling Sm=C3=B8rgrav - des@des.no
Responsible-Changed-From-To: openoffice->office 
Responsible-Changed-By: bapt 
Responsible-Changed-When: Tue Sep 20 14:05:32 UTC 2011 
Responsible-Changed-Why:  
Over to new maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143949 
State-Changed-From-To: open->closed 
State-Changed-By: pfg 
State-Changed-When: Wed Apr 30 22:20:22 UTC 2014 
State-Changed-Why:  
OpenOffice-3 is not available anymore. 

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