RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: Ticket 16: find-debuginfo.sh references nonexistent /usr/lib/rpm/d[...]

From: undisclosed <undisclosed@rpm5.org>
Date: Mon 25 Jun 2007 - 14:33:45 CEST
Message-Id: <20070625123345.4CA6C348507@rpm5.org>
('binary' encoding is not supported, stored as-is) RPM CVS Repository, Ticket Change Notification http://rpm5.org/cvs ____________________________________________________________________________ Ticket: #16 URL: http://rpm5.org/cvs/tktview?tn=16 Created: 2007-06-25 13:17:45 Creator: anonymous Contact: undisclosed@rpm5.org Title: find-debuginfo.sh references nonexistent /usr/lib/rpm/d[...] Type: Technology Version: 4.5+ Subsystem: - Severity: 3 Priority: 3 Updated: 2007-06-25 14:33:45 Status: New Assigned: - ____________________________________________________________________________ Description: Since rpm 4.5 (and i think rpm 5.0) libraries and tools are installed under /usr/lib/rpm/ (instead of old /usr/lib/rpm) tools and scripts should be modified according to these new layout. The script find-debuginfo.sh available in /usr/lib/rpm/4.5 (as of rpm-4.5-0.4) reference the nonexistent executable in /usr/lib/rpm/debugedit. Suggested resolution: Fix line 33 of /usr/lib/rpm/4.5/find-debuginfo.sh from /usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f" to /usr/lib/rpm/4.5/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f" or use a more generic environment variable that tells the script where the rpm home is. Remarks: _2007-Jun-25 14:33:45 by anonymous:_ {linebreak} Here is the patch: --- scripts/find-debuginfo.sh.orig 2007-05-25 19:36:39.000000000 +0200 +++ scripts/find-debuginfo.sh 2007-06-25 14:24:28.000000000 +0200 @@ -30,7 +30,7 @@ [ -f "${debugfn}" ] && continue echo extracting debug info from $f - /usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f" + /usr/lib/rpm/4.5/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f" # A binary already copied into /usr/lib/debug doesn't get stripped, # just has its file names collected and adjusted. Received on Mon Jun 25 14:33:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.