Bug 2644 - %{add,set}_verify_elf_skiplist has no effect
: %{add,set}_verify_elf_skiplist has no effect
Status: CLOSED NOTABUG
: Sisyphus
(All bugs in Sisyphus/rpm-build)
: unstable
: all Linux
: P4 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-06-08 15:44 by
Modified: 2005-07-13 15:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-06-08 15:44:15
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 From 2003-07-20 21:39:39 -------
What kind of effect do you expect from *_verify_elf_skiplist?
------- Comment #2 From 2003-07-20 21:39:39 -------
What kind of effect do you expect from *_verify_elf_skiplist?
------- Comment #3 From 2003-07-20 22:26:40 -------
Ожидал, что verify-elf не будет трогать файлы указанные в *_verify_elf_skiplist
------- Comment #4 From 2003-07-20 22:26:40 -------
Ожидал, что verify-elf не будет трогать файлы указанные в *_verify_elf_skiplist
------- Comment #5 From 2003-09-27 19:52:04 -------
Только что специально проверил - работает: 
 
%install 
%__mkdir -p %buildroot%_datadir/%name 
cp -p /bin/ls %buildroot%_datadir/%name/ 
%add_verify_elf_skiplist %_datadir/*/* 
 
------- Comment #6 From 2003-09-28 01:30:03 -------
Фрагмент 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 From 2003-09-28 01:41:05 -------
Теперь понятно, что имелось в виду. 
 
Так и должно быть: 
_verify_elf_skiplist отвечает только за "Verifying ELF objects ...", 
_strip_skiplist отвечает только за "Stripping binaries in ...". 
Не надо их путать друг с другом.