NetBSD Problem Report #44145

From www@NetBSD.org  Wed Nov 24 10:20:41 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 376EF63BAE5
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Nov 2010 10:20:41 +0000 (UTC)
Message-Id: <20101124102041.1BA0063B95F@www.NetBSD.org>
Date: Wed, 24 Nov 2010 10:20:41 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: graphics/lensfun needs GNU findutils
X-Send-Pr-Version: www-1.0

>Number:         44145
>Category:       pkg
>Synopsis:       graphics/lensfun needs GNU findutils
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 10:25:00 +0000 2010
>Closed-Date:    Fri May 12 09:09:59 +0000 2023
>Last-Modified:  Fri May 12 09:09:59 +0000 2023
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Installing graphics/lensfun on Solaris fails because of options for xargs and find probably only found in the GNU variant:

INSTALLDIR out/posix.i86pc/release/docs/manual/ to /usr/pkgsrc/20101105/share/doc/lensfun-0.2.5/manual/
xargs: illegal option -- 0
xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]]
find: bad option -print0
find: [-H | -L] path-list predicate-list

I tried adding gfind and gxargs to USE_TOOLS and ../../sysutils/findutils to BUILD_DEPENDS, but none succeeded. It is unclear to me if this can be fixed by only manipulating Makefile, or a patch for lensfun's sources is needed.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44145: graphics/lensfun needs GNU findutils
Date: Wed, 24 Nov 2010 16:36:00 +0000

 On Wed, Nov 24, 2010 at 10:25:00AM +0000, joern.clausen@uni-bielefeld.de wrote:
  > Installing graphics/lensfun on Solaris fails because of options for
  > xargs and find probably only found in the GNU variant:

 find -print0 is found nearly everywhere except slowaris :-)

  > I tried adding gfind and gxargs to USE_TOOLS

 I think adding just "find" to USE_TOOLS should fix this... can you try
 that?

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 24 Nov 2010 20:39:21 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 24 Nov 2010 20:39:21 +0000
State-Changed-Why:
Fix suggested, does it work?


From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: David Holland <dholland-pbugs@NetBSD.org>, pkg-manager@NetBSD.org,
 gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/44145: graphics/lensfun needs GNU findutils
Date: Thu, 25 Nov 2010 10:29:22 +0100

 >    >  I tried adding gfind and gxargs to USE_TOOLS
 >
 >   I think adding just "find" to USE_TOOLS should fix this... can you try
 >   that?

 Nope, didn't work. I have installed sysutils/findutils manually (with 
 "g"-prefix to the binaries, though). Somehow I had expected those 
 versions to be used in any case.

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 26 Nov 2010 22:14:00 +0000
State-Changed-Why:
No such luck. I thought part of the point of explicit USE_TOOLS+=find was
to be able to use print0 and other things missing from legacy find, but
apparently not. As there are other pkgsrc packages that use print0 we
should probably sort this out...


From: Tim Zingelman <zingelman@gmail.com>
To: gnats-bugs@netbsd.org
Cc: dholland@netbsd.org, solaris-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org, 
	gnats-admin@netbsd.org, joern.clausen@uni-bielefeld.de
Subject: Re: pkg/44145 (graphics/lensfun needs GNU findutils)
Date: Thu, 7 Apr 2011 10:11:32 -0500

 > No such luck. I thought part of the point of explicit USE_TOOLS+=find was
 > to be able to use print0 and other things missing from legacy find, but
 > apparently not. As there are other pkgsrc packages that use print0 we
 > should probably sort this out...

 Does setting USE_TOOLS+= find:pkgsrc do the right thing here?  (see
 http://www.netbsd.org/docs/pkgsrc/tools.html)

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: zingelman@gmail.com
Cc: gnats-bugs@netbsd.org, dholland@netbsd.org, solaris-pkg-people@netbsd.org,
 pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/44145 (graphics/lensfun needs GNU findutils)
Date: Thu, 07 Apr 2011 17:37:47 +0200

 As of pkg/44828, I don't expect your solution to work.

 But the immediate problem is gone. It seems "find" was used during 
 installation of the manual, which is now avoided via patch-ae and the 
 exclusion of doxygen.

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 12 May 2023 09:09:59 +0000
State-Changed-Why:
Original problem is fixed; this is not a good place to try to keep track
of questions about what USE_TOOLS+=find is supposed to support.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.