]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-debugedit-workaround.patch
- compress debuginfo sections with zlib (reduce /usr/lib/debug size).
[packages/rpm.git] / rpm-debugedit-workaround.patch
1 diff -urN rpm-4.5/doc/rpmbuild.8 rpm-4.5.new/doc/rpmbuild.8
2 --- rpm-4.5/doc/rpmbuild.8      2009-04-12 11:29:27.449408696 +0200
3 +++ rpm-4.5.new/doc/rpmbuild.8  2009-04-12 12:04:02.462534640 +0200
4 @@ -252,6 +252,13 @@
5  .SS "Temporary"
6  .PP
7  \fI/var/tmp/rpm*\fR
8 +.SH "BUGS"
9 +Extraction of the debugging data may fail if the source refer to files 
10 +with "//" in their path. In that case, the tool "debugedit" used by rpmbuild 
11 +to extract the debugging information will fail with a message "canonicalization 
12 +unexpectedly shrank by one character" but the binary package will be built 
13 +nevertheless.
14 +
15  .SH "SEE ALSO"
16  
17  .nf
18 diff -urN rpm-4.5/scripts/find-debuginfo.sh rpm-4.5.new/scripts/find-debuginfo.sh
19 --- rpm-4.5/scripts/find-debuginfo.sh   2009-04-12 11:29:27.006092294 +0200
20 +++ rpm-4.5.new/scripts/find-debuginfo.sh       2009-04-12 11:59:26.240060976 +0200
21 @@ -200,7 +200,7 @@
22  
23    echo "extracting debug info from $f"
24    id=$(/usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug \
25 -                             -i -l "$SOURCEFILE" "$f") || exit
26 +                             -i -l "$SOURCEFILE" "$f")
27    if [ -z "$id" ]; then
28      echo >&2 "*** ${strict_error}: No build ID note found in $f"
29      $strict && exit 2
This page took 0.030689 seconds and 3 git commands to generate.