Bug 2644

Summary: %{add,set}_verify_elf_skiplist has no effect
Product: Sisyphus Reporter: Yuri N. Sedunov <aris>
Component: rpm-buildAssignee: placeholder <placeholder>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P4 CC: arseny, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: all   
OS: Linux   

Description Yuri N. Sedunov 2003-06-08 15:44:15 MSD
While build rosegarden I try to use 
%add_verify_elf_skiplist %customdocdir/*/*                                         
to avoid file bug (#2643), but this doesn\'t work.
Only 
                                                                                   %add_strip_skiplist %customdocdir/*/*
allows to build package without error

$ rpm -q rpm-build
rpm-build-4.0.4-alt20

---

---

Comment 1 Dmitry V. Levin 2003-07-20 21:39:39 MSD
What kind of effect do you expect from *_verify_elf_skiplist?
Comment 2 Dmitry V. Levin 2003-07-20 21:39:39 MSD
What kind of effect do you expect from *_verify_elf_skiplist?
Comment 3 Yuri N. Sedunov 2003-07-20 22:26:40 MSD
Ожидал, что verify-elf не будет трогать файлы указанные в *_verify_elf_skiplist
Comment 4 Yuri N. Sedunov 2003-07-20 22:26:40 MSD
Ожидал, что verify-elf не будет трогать файлы указанные в *_verify_elf_skiplist
Comment 5 Dmitry V. Levin 2003-09-27 19:52:04 MSD
Только что специально проверил - работает: 
 
%install 
%__mkdir -p %buildroot%_datadir/%name 
cp -p /bin/ls %buildroot%_datadir/%name/ 
%add_verify_elf_skiplist %_datadir/*/* 
 
Comment 6 Yuri N. Sedunov 2003-09-28 01:30:03 MSD
Фрагмент rosegarden.spec
-------------------------------------------------------------------------
%define customdocdir %_docdir/%name-%version                                   
                                                                               
                                                                               
        ## %customdocdir/task_lists/tasks_rwb.txt
## does not recognized as a text file (/usr/bin/file bug)                      
           
                                                                               
                       %add_verify_elf_skiplist %customdocdir/*/*              
                                                                               
                                                                               
                               

%prep                                                                          
                                            %setup -q -c -n %name-4-%version
-------------------------------------------------------------------------------
$ hsh ../SRPMS/rosegarden-0.9.1-alt0.6.src.rpm
.......
Compressing files in /usr/src/RPM/tmp/rosegarden-buildroot (auto)
Verifying ELF objects in /usr/src/RPM/tmp/rosegarden-buildroot (normal)
Stripping binaries in /usr/src/RPM/tmp/rosegarden-buildroot (executable,shared)
objdump:
/usr/src/RPM/tmp/rosegarden-buildroot/usr/share/doc/rosegarden-0.9.1/task_lists/tasks_rwb.txt:
File format not recognized
strip:
/usr/src/RPM/tmp/rosegarden-buildroot/usr/share/doc/rosegarden-0.9.1/task_lists/tasks_rwb.txt:
File format not recognized
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.5325 (%install)
Comment 7 Dmitry V. Levin 2003-09-28 01:41:05 MSD
Теперь понятно, что имелось в виду. 
 
Так и должно быть: 
_verify_elf_skiplist отвечает только за "Verifying ELF objects ...", 
_strip_skiplist отвечает только за "Stripping binaries in ...". 
Не надо их путать друг с другом.