Bug 26247 - bug in debuginfo.req
Summary: bug in debuginfo.req
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 16:24 MSK by viy
Modified: 2011-09-08 12:16 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2011-09-07 16:24:25 MSK
в #54043 brp-debuginfo создал симлинк с двумя слешами, 
/usr/lib/debug/usr/lib/gcj/itext2//usr/lib/gcj/itext2/itext-2.1.7.jar.so.debug
который потом превратился в unmet dependency.

[#54043] FAILED (try 2) srpm=itext2-2.1.7-alt1_7jpp6.src.rpm srpm=pdftk-1.44-alt1_5jpp6.src.rpm
http://git.altlinux.org/tasks/54043/task/log.2.1
...
       i586: NEW unmet dependencies detected:
pdftk-debuginfo#1.44-alt1_5jpp6 /usr/lib/debug/usr/lib/gcj/itext2//usr/lib/gcj/itext2/itext-2.1.7.jar.so.debug
...
2011-Sep-07 00:28:36 :: dependencies check FAILED
Comment 1 viy 2011-09-07 16:29:20 MSK
т.е. в симлинке должен быть 1 слеш.
Comment 2 Dmitry V. Levin 2011-09-08 02:16:43 MSK
В ссылках нет // вообще:
$ rpmquery -lvp http://git.altlinux.org/tasks/54043/build/200/i586/rpms/pdftk-debuginfo-1.44-alt1_5jpp6.i586.rpm |grep -c //
0

В ссылках даже нет упоминаний об itext:
$ rpmquery -lvp http://git.altlinux.org/tasks/54043/build/200/i586/rpms/pdftk-debuginfo-1.44-alt1_5jpp6.i586.rpm |grep -c itext
0
Comment 3 Dmitry V. Levin 2011-09-08 03:28:21 MSK
$ readelf -d /usr/src/tmp/pdftk-buildroot/usr/bin/pdftk |grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [/usr/lib64/gcj/itext2/itext-2.1.7.jar.so]
 0x0000000000000001 (NEEDED)             Shared library: [libgcj.so.11]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
Comment 4 Repository Robot 2011-09-08 05:13:26 MSK
rpm-4.0.4-alt100.33 -> sisyphus:

* Thu Sep 08 2011 Dmitry V. Levin <ldv@altlinux> 4.0.4-alt100.33
- debuginfo.req: fixed handling of exotic sonames written as pathnames
  (closes: #26247).
Comment 5 viy 2011-09-08 12:16:49 MSK
thanks!