]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't fail when debugedit exits with "canonicalization unexpectedly shrank
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sun, 12 Apr 2009 13:37:55 +0000 (13:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  by one character" (needed to build openoffice.org.spec)
- added note to rpmbuild manual (from https://bugzilla.redhat.com/show_bug.cgi?id=482903)

Changed files:
    rpm-debugedit-workaround.patch -> 1.1

rpm-debugedit-workaround.patch [new file with mode: 0644]

diff --git a/rpm-debugedit-workaround.patch b/rpm-debugedit-workaround.patch
new file mode 100644 (file)
index 0000000..00facee
--- /dev/null
@@ -0,0 +1,29 @@
+diff -urN rpm-4.5/doc/rpmbuild.8 rpm-4.5.new/doc/rpmbuild.8
+--- rpm-4.5/doc/rpmbuild.8     2009-04-12 11:29:27.449408696 +0200
++++ rpm-4.5.new/doc/rpmbuild.8 2009-04-12 12:04:02.462534640 +0200
+@@ -252,6 +252,13 @@
+ .SS "Temporary"
+ .PP
+ \fI/var/tmp/rpm*\fR
++.SH "BUGS"
++Extraction of the debugging data may fail if the source refer to files 
++with "//" in their path. In that case, the tool "debugedit" used by rpmbuild 
++to extract the debugging information will fail with a message "canonicalization 
++unexpectedly shrank by one character" but the binary package will be built 
++nevertheless.
++
+ .SH "SEE ALSO"
+ .nf
+diff -urN rpm-4.5/scripts/find-debuginfo.sh rpm-4.5.new/scripts/find-debuginfo.sh
+--- rpm-4.5/scripts/find-debuginfo.sh  2009-04-12 11:29:27.006092294 +0200
++++ rpm-4.5.new/scripts/find-debuginfo.sh      2009-04-12 11:59:26.240060976 +0200
+@@ -200,7 +200,7 @@
+   echo "extracting debug info from $f"
+   id=$(/usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug \
+-                            -i -l "$SOURCEFILE" "$f") || exit
++                            -i -l "$SOURCEFILE" "$f")
+   if [ -z "$id" ]; then
+     echo >&2 "*** ${strict_error}: No build ID note found in $f"
+     $strict && exit 2
This page took 0.043836 seconds and 4 git commands to generate.