NetBSD Problem Report #44082
From Wolfgang.Stukenbrock@nagler-company.com Thu Nov 11 09:45:44 2010
Return-Path: <Wolfgang.Stukenbrock@nagler-company.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 5797563BA61
for <gnats-bugs@gnats.NetBSD.org>; Thu, 11 Nov 2010 09:45:44 +0000 (UTC)
Message-Id: <20101111094535.521184EAA1E@s012.nagler-company.com>
Date: Thu, 11 Nov 2010 10:45:35 +0100 (CET)
From: Wolfgang.Stukenbrock@nagler-company.com
Reply-To: Wolfgang.Stukenbrock@nagler-company.com
To: gnats-bugs@gnats.NetBSD.org
Subject: rpm2pkg from pkgtools produces useless warnings
X-Send-Pr-Version: 3.95
>Number: 44082
>Category: pkg
>Synopsis: rpm2pkg from pkgtools produces useless warnings
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tron
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 11 09:50:00 +0000 2010
>Closed-Date: Fri Nov 12 16:32:02 +0000 2010
>Last-Modified: Fri Nov 12 16:32:02 +0000 2010
>Originator: Dr. W. Stukenbrock
>Release: NetBSD 4.0
>Organization:
Dr. Nagler & Company GmbH
>Environment:
System: NetBSD s012 4.0 NetBSD 4.0 (NSW-S012) #11: Fri Mar 26 15:01:49 CET 2010 root@s012:/usr/src/sys/arch/amd64/compile/NSW-S012 amd64
Architecture: x86_64
Machine: amd64
>Description:
When running rpm2pkg with option -s and -i error messages with
'Leading path to strip too big' will be printed for pathnames, that
are excluded from the installation by -i options.
This may confuse the user and should be avoided.
I'm not shure if this misleading message is generated in any case or
only if no file from the rpm gets installed due to filtering by -i
This problem has been detected with rpm2pkg from pkgsrc-2010Q3
while extracting the open-xchange rpm's from the SLES11 version.
>How-To-Repeat:
Try to install only some parts of an rpm and strip more components as
some of the not installed files have.
>Fix:
fix rpm2pkg and suppress printing of such message if the file is excluded
from the installation.
I've no time to have a deaper look at the moment - sorry.
Perhaps later, but I cannot promise this.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tron
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 11 Nov 2010 10:45:07 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44082 CVS commit: pkgsrc/pkgtools/rpm2pkg
Date: Thu, 11 Nov 2010 13:07:34 +0000
Module Name: pkgsrc
Committed By: tron
Date: Thu Nov 11 13:07:34 UTC 2010
Modified Files:
pkgsrc/pkgtools/rpm2pkg: Makefile
pkgsrc/pkgtools/rpm2pkg/files: rpm2pkg.c
Log Message:
Update "rpm2pkg" package to version 3.1.6. Changes since version 3.1.5:
- Don't apply the strip count (option "-s") to entries that we will
ignore ("-i" option). This should fix PR pkg/44082 by Dr. W. Stukenbrock.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/pkgtools/rpm2pkg/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/pkgtools/rpm2pkg/files/rpm2pkg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: tron@NetBSD.org
State-Changed-When: Thu, 11 Nov 2010 13:12:44 +0000
State-Changed-Why:
Can you please confirm whether this is fixed in version 3.1.6 of the
"rpm2pkg" package?
From: Wolfgang Stukenbrock <Wolfgang.Stukenbrock@nagler-company.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/44082 (rpm2pkg from pkgtools produces useless warnings)
Date: Fri, 12 Nov 2010 12:04:36 +0100
Hi,
the fix looks good - it fixes the problem.
I think you can close the report.
Thanks
W. Stukenbrock
tron@NetBSD.org wrote:
> Synopsis: rpm2pkg from pkgtools produces useless warnings
>
> State-Changed-From-To: open->feedback
> State-Changed-By: tron@NetBSD.org
> State-Changed-When: Thu, 11 Nov 2010 13:12:44 +0000
> State-Changed-Why:
> Can you please confirm whether this is fixed in version 3.1.6 of the
> "rpm2pkg" package?
>
>
>
>
--
Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach
Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50
Wolfgang.Stukenbrock@nagler-company.com
http://www.nagler-company.com
Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
State-Changed-From-To: feedback->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Fri, 12 Nov 2010 16:32:02 +0000
State-Changed-Why:
The originator confirmed that the new version fixes the problem.
Thanks a lot for the bug report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.