[devel] buildroot remnants test [was: warnings and errors found by repocop.]

Igor Vlasenko =?iso-8859-1?q?vlasenko_=CE=C1_imath=2Ekiev=2Eua?=
Сб Мар 1 21:40:42 MSK 2008


On Fri, Feb 29, 2008 at 10:39:22PM +0700, Евгений Терешков wrote:
> P.S.: дарю идею - сделать юниттест, проверяющий все файлы пакета на предмет
> текстового вхождения %name-buildroot (имени каталога, где происходила
> сборка). Думаю, это было бы сильно полезнее против гораздо более
> разломанных пакетов. 

В яблочко.

Найдены многие (22 шт.) emacs и python-based пакеты,
где подобное вхождение может быть связано с компилятором, 
(c python подозрительно, поскольку python-modules-* чисты.
Что скажет python team?)
на примере
--- cjc-1.0.0-alt2.1.noarch
found paths to buildroot: Binary file repocop-run.Cus17240/usr/share/cjc/plugins/xmlconsole.pyc matches Binary file repocop-run.Cus17240/usr/share/cjc/plugins/version.pyc matches... и т. д. 

и 23! пакета, где вхождение %name-buildroot похоже на bug:

--- fvwm-themes-0.7.0-alt2.noarch
--- alexandria-0.6.2-alt1.noarch
--- xblast-2.10.3-alt1.x86_64
--- wput-0.6-alt1.x86_64
--- ufoai-2.1.1-alt1.4.x86_64
--- seamonkey-1.1.8-alt1.x86_64
--- rutilt-0.15-alt1.x86_64
--- pidgin-2.3.1-alt1.1.x86_64
--- openib-diags-1.2.7-alt1.x86_64
--- octave-3.0.0-alt1.x86_64
--- mvapich-0.9.9-alt2.x86_64
--- musixtex-T101-alt3.x86_64
--- libdlib-1.0-alt0.1.x86_64
--- libcomedi-0.7.22-alt3.1.x86_64
--- ircservices-5.0.63-alt1.x86_64
--- imposter-0.3-alt1.x86_64
--- gip-1.6.1-alt2.x86_64
--- fricas-1.0.1-alt2.x86_64
--- etherape-0.9.7-alt1.x86_64
--- emacspeak-26.0-alt1.x86_64
--- ccsm-0.6.99-alt2.x86_64
--- avr-gcc-4.2.2-alt1.x86_64
--- MyPasswordSafe-20061216-alt1.x86_64


--- fvwm-themes-0.7.0-alt2.noarch
found paths to buildroot: repocop-run.TWE23176/usr/share/fvwm/themes-rc-3:ImagePath $HOME/tmp/fvwm-themes-buildroot/usr/share/fvwm/themes/current/images:$HOME/tmp/fvwm-themes-buildroot/usr/share/fvwm/images:/usr/share/icons/mini:/usr/share/icons:/usr/X11R6/include/bitmaps repocop-run.TWE23176/usr/share/fvwm/themes-rc-2:ImagePath $HOME/tmp/fvwm-themes-buildroot/usr/share/fvwm/themes/current/images:$HOME/tmp/fvwm-themes-buildroot/usr/share/fvwm/images:/usr/share/icons/mini:/usr/share/icons:/usr/X11R6/include/bitmaps
--- alexandria-0.6.2-alt1.noarch
found paths to buildroot: repocop-run.ZfL18727/usr/share/omf/alexandria/alexandria-fr.omf: <identifier url="/usr/src/tmp/alexandria-buildroot/usr/share/gnome/help/alexandria/fr/alexandria.xml"/> repocop-run.ZfL18727/usr/share/omf/alexandria/alexandria-C.omf: <identifier url="/usr/src/tmp/alexandria-buildroot/usr/share/gnome/help/alexandria/C/alexandria.xml"/>
--- xblast-2.10.3-alt1.x86_64
found paths to buildroot: Binary file repocop-run.PpKk8911/usr/games/xblast matches
--- wput-0.6-alt1.x86_64
found paths to buildroot: Binary file repocop-run.ADSX4529/usr/bin/wput matches
--- ufoai-2.1.1-alt1.4.x86_64
found paths to buildroot: repocop-run.eCb12498/usr/share/applications/ufoai.desktop:rm -rf "/usr/src/tmp/ufoai-buildroot"
--- seamonkey-1.1.8-alt1.x86_64
found paths to buildroot: repocop-run.cOoe8581/usr/lib64/seamonkey-1.1.8/components/xpti.dat:1,AppDir,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla repocop-run.cOoe8581/usr/lib64/seamonkey-1.1.8/components/xpti.dat:0,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/components repocop-run.cOoe8581/usr/lib64/seamonkey-1.1.8/components/xpti.dat:1,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/plugins repocop-run.cOoe8581/usr/lib64/seamonkey/components/xpti.dat:1,AppDir,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla repocop-run.cOoe8581/usr/lib64/seamonkey/components/xpti.dat:0,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/components repocop-run.cOoe8581/usr/lib64/seamonkey/components/xpti.dat:1,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/plugins repocop-run.cOoe8581/usr/lib64/mozilla/components/xpti.dat:1,AppDir,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla repocop-run.cOoe8581/usr/lib64/mozilla/components/xpti.dat:0,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/components repocop-run.cOoe8581/usr/lib64/mozilla/components/xpti.dat:1,/usr/src/tmp/seamonkey-buildroot/usr/lib64/mozilla/plugins
--- rutilt-0.15-alt1.x86_64
found paths to buildroot: repocop-run.ypMt4311/usr/share/applications/rutilt.desktop:Icon=/usr/src/tmp/rutilt-buildroot/usr/share/pixmaps/rutilt/RutilT64x64.png Binary file repocop-run.ypMt4311/usr/lib64/rutilt/rutilt_helper matches Binary file repocop-run.ypMt4311/usr/bin/rutilt matches
--- pidgin-2.3.1-alt1.1.x86_64
found paths to buildroot: Binary file repocop-run.Rhfh9143/usr/bin/pidgin matches
--- openib-diags-1.2.7-alt1.x86_64
found paths to buildroot: repocop-run.IqYS4769/usr/bin/ibswportwatch.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl"; repocop-run.IqYS4769/usr/bin/ibqueryerrors.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl"; repocop-run.IqYS4769/usr/bin/ibprintswitch.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl"; repocop-run.IqYS4769/usr/bin/ibprintca.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl"; repocop-run.IqYS4769/usr/bin/iblinkinfo.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl"; repocop-run.IqYS4769/usr/bin/ibfindnodesusing.pl:use lib "/usr/src/tmp/openib-diags-buildroot/usr/lib/perl";
--- octave-3.0.0-alt1.x86_64
found paths to buildroot: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/imagelib: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/audio: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control/base: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control/hinf: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control/obsolete: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control/system: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/control/util: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/deprecated: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/elfun: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/finance: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/general: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/geometry: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/image: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/io: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/linear-algebra: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/miscellaneous: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/optimization: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/path: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/pkg: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/plot: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/polynomial: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/quaternion: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/set: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/signal: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/sparse: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/specfun: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/special-matrix: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/startup: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/statistics: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/statistics/base: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/statistics/distributions: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/statistics/models: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/statistics/tests: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/strings: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/testfun: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/3.0.0/m/time: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/site: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/site/m: repocop-run.nBWL2757/usr/share/octave/ls-R:/usr/src/tmp/octave-buildroot/usr/share/octave/site/m/startup:
--- mvapich-0.9.9-alt2.x86_64
found paths to buildroot: repocop-run.Wad18979/usr/lib/mvapich/bin/mpirun:datadir=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/share repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPE_DIR='/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/mpe' repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPIR_HOME='/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich' repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPICC=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/bin/mpicc repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPIF77=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/bin/mpif77 repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPIF90=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/bin/mpif90 repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:MPICPLUSPLUS=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/bin/mpicxx repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:PREFIX='/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich' repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig.dat:prsub='s%^prefix\([ ]*\)=\([ ]*\).*$%prefix\1=\2/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich% repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig:PREFIX=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig:binbuild_dir=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/bin repocop-run.Wad18979/usr/lib/mvapich/bin/mpireconfig:MPIR_HOME=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich repocop-run.Wad18979/usr/lib/mvapich/bin/mpiman:mandir=/usr/src/tmp/mvapich-buildroot//usr/lib/mvapich/man Binary file repocop-run.Wad18979/usr/lib/mvapich/bin/mpichversion matches
--- musixtex-T101-alt3.x86_64
found paths to buildroot: repocop-run.Yxp18818/usr/share/texmf/web2c/musixtex.log:**/usr/src/tmp/musixtex-buildroot/usr/share/texmf/tex/generic/musixtex/musixtex repocop-run.Yxp18818/usr/share/texmf/web2c/musixtex.log:(/usr/src/tmp/musixtex-buildroot/usr/share/texmf/tex/generic/musixtex/musixtex. repocop-run.Yxp18818/usr/share/texmf/web2c/musixtex.log:(/usr/src/tmp/musixtex-buildroot/usr/share/texmf/tex/generic/musixtex/musixtex. Binary file repocop-run.Yxp18818/usr/share/texmf/web2c/musixtex.fmt matches
--- libdlib-1.0-alt0.1.x86_64
found paths to buildroot: Binary file repocop-run.Jsrw8556/usr/lib64/libdsound.so.1.0.0 matches Binary file repocop-run.Jsrw8556/usr/lib64/libdsound.so.1.0 matches Binary file repocop-run.Jsrw8556/usr/lib64/libdsound.so.1 matches
--- libcomedi-0.7.22-alt3.1.x86_64
found paths to buildroot: Binary file repocop-run.mHh31205/usr/lib64/libcomedi-0.7.22.so matches
--- ircservices-5.0.63-alt1.x86_64
found paths to buildroot: Binary file repocop-run.mbp29686/usr/bin/ircservices matches
--- imposter-0.3-alt1.x86_64
found paths to buildroot: Binary file repocop-run.lMu23429/usr/bin/imposter matches
--- gip-1.6.1-alt2.x86_64
found paths to buildroot: Binary file repocop-run.amL14381/usr/bin/gip matches
--- fricas-1.0.1-alt2.x86_64
found paths to buildroot: repocop-run.kJj27385/usr/lib64/axiom/target/x86_64-alt-linux-gnu/bin/axiom:AXIOM=/usr/src/tmp/fricas-buildroot/usr/lib64/axiom/target/x86_64-alt-linux-gnu
--- etherape-0.9.7-alt1.x86_64
found paths to buildroot: repocop-run.sPd11138/var/lib/scrollkeeper/scrollkeeper_docs:/usr/src/tmp/etherape-buildroot/usr/share/omf/etherape/etherape-C.omf 0 file:/usr/share/etherape/doc/etherape/C/etherape.xml 1167680354 C repocop-run.sPd11138/var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml: <doc docid="0"><doctitle>EtherApe Manual V0.2</doctitle><docomf>/usr/src/tmp/etherape-buildroot/usr/share/omf/etherape/etherape-C.omf</docomf><docsource>file:/usr/share/etherape/doc/etherape/C/etherape.xml</docsource><docformat>text/xml</docformat><docseriesid>26207ade-85f9-11da-8825-c4740b431a42</docseriesid></doc></sect> repocop-run.sPd11138/var/lib/scrollkeeper/C/scrollkeeper_cl.xml: <doc docid="0"><doctitle>EtherApe Manual V0.2</doctitle><docomf>/usr/src/tmp/etherape-buildroot/usr/share/omf/etherape/etherape-C.omf</docomf><docsource>file:/usr/share/etherape/doc/etherape/C/etherape.xml</docsource><docformat>text/xml</docformat><docseriesid>26207ade-85f9-11da-8825-c4740b431a42</docseriesid></doc></sect>
--- emacspeak-26.0-alt1.x86_64
found paths to buildroot: repocop-run.yyEr8260/usr/share/doc/emacspeak-26.0/emacspeak.sh:exec emacs -q -l /usr/src/tmp/emacspeak-buildroot/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el $INITSTR $CL_ALL
--- ccsm-0.6.99-alt2.x86_64
--- avr-gcc-4.2.2-alt1.x86_64
found paths to buildroot: repocop-run.fgs17320/usr/lib64/avr/gcc/avr/4.2.2/install-tools/mkheaders.conf:SYSTEM_HEADER_DIR="/usr/src/tmp/avr-gcc-buildroot/usr/lib64/avr/gcc/avr/4.2.2/../../../echo /usr/src/tmp/avr-gcc-buildroot/usr/lib64 | sed -e 's|^/usr/src/tmp/avr-gcc-buildroot/usr||' -e 's|/$||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'"
--- MyPasswordSafe-20061216-alt1.x86_64
found paths to buildroot: Binary file repocop-run.SLO18639/usr/bin/MyPasswordSafe matches



-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine




Подробная информация о списке рассылки Devel