Author Topic: [solved] question about find-provides (boost update)  (Read 487 times)

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1194
[solved] question about find-provides (boost update)
« on: July 27, 2012, 09:58:16 AM »
Hi Team,

i'm currently working on an update of libboost. While rpmbuild is processing the files i get this

Code: [Select]
Finde Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-provides
tr: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
tr: Schreibfehler
/usr/lib/rpm/mandriva/find-requires: Zeile 276: echo: Schreibfehler: Datenübergabe unterbrochen (broken pipe).

Sorry for the german the translation is something like

Writing error: Data transfer interrupted (broken pipe)


The packages build successfully after this message but do i have to worry about this?

Thanks in advance

regards
ghostbunny
« Last Edit: July 29, 2012, 04:15:50 AM by ghostbunny »
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: question about find-provides (boost update)
« Reply #1 on: July 27, 2012, 10:37:10 AM »
The packages build successfully after this message but do i have to worry about this?

Probably.  It is a shared library and so it relies on the "provides" to tell apt/synaptic when to select it as a dependency.  If the spec file has no explicit "Provides:" tag then this failure will render the library useless as it won't provide anything.  Worse still, if it were to be put the repo like this then anything that depends on libboost would be removed when users update.

You can check the final RPM with:

Code: [Select]
rpm -qp --provides <packagename>.rpm
to see if it actually providing anything.

I would need the SRPM (or at least the build log) to be able to tell why it is failing.

Terry.
« Last Edit: July 27, 2012, 10:40:29 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1194
Re: question about find-provides (boost update)
« Reply #2 on: July 27, 2012, 10:59:06 AM »
Thanks Terry

for the first informations. Seems like the static devel and examples package is affected.

I will rebuild it to get a complete build log for you but this could take a bit time it is a big thing.

Edit: Rebuild done but without this message  ??? ??? ??? i'm confused

i will try it again
« Last Edit: July 27, 2012, 11:29:19 AM by ghostbunny »
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1194
Re: question about find-provides (boost update)
« Reply #3 on: July 27, 2012, 12:03:40 PM »
mh  dont know whether the build conflict with the writing the log.

but if i dont write it to a file i get the message again

here is the processing step

Quote
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .bz2
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/translate_menu
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ DONT_STRIP=
+ /usr/share/spec-helper/check_elf_files
Warning: unused libraries in /usr/lib/libboost_math_tr1.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_regex.so.1.50.0: libicudata.so.44
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_math_tr1l.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_timer.so.1.50.0: libboost_system.so.1.50.0
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_math_c99l.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_iostreams.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_signals.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_python.so.1.50.0: libutil.so.1
 libdl.so.2
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_date_time.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_math_c99f.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_serialization.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_prg_exec_monitor.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_filesystem.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_graph.so.1.50.0: libicuuc.so.44
 libicui18n.so.44
 libicudata.so.44
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_math_c99.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_program_options.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_wserialization.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_wave.so.1.50.0: libboost_date_time.so.1.50.0
 libboost_chrono.so.1.50.0
 libboost_filesystem.so.1.50.0
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_unit_test_framework.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_math_tr1f.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_locale.so.1.50.0: libboost_chrono.so.1.50.0
 libicudata.so.44
 librt.so.1

Warning: unused libraries in /usr/lib/libboost_random.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_system.so.1.50.0: librt.so.1

Warning: unused libraries in /usr/lib/libboost_thread.so.1.50.0: libboost_chrono.so.1.50.0
 librt.so.1

Processing files: libboost1.50.0-1.50.0-1ghostbunny2012.i586
Ausführung(%doc): /bin/sh -e /home/ghostbunny/RPM/tmp/rpm-tmp.w29dOu
+ umask 022
+ cd /home/ghostbunny/RPM/BUILD
+ cd boost_1_50_0
+ DOCDIR=/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost1.50.0
+ export DOCDIR
+ /bin/mkdir -p /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost1.50.0
+ cp -pr LICENSE_1_0.txt /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost1.50.0
+ exit 0
Finde Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-provides
Finde Requires: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-requires /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386 i586
Provides: libboost = 1.50.0-1ghostbunny2012 boost = 1.50.0-1ghostbunny2012 libboost_chrono.so.1.50.0 libboost_date_time.so.1.50.0 libboost_filesystem.so.1.50.0 libboost_graph.so.1.50.0 libboost_iostreams.so.1.50.0 libboost_locale.so.1.50.0 libboost_math_c99f.so.1.50.0 libboost_math_c99l.so.1.50.0 libboost_math_c99.so.1.50.0 libboost_math_tr1f.so.1.50.0 libboost_math_tr1l.so.1.50.0 libboost_math_tr1.so.1.50.0 libboost_prg_exec_monitor.so.1.50.0 libboost_program_options.so.1.50.0 libboost_python.so.1.50.0 libboost_random.so.1.50.0 libboost_regex.so.1.50.0 libboost_serialization.so.1.50.0 libboost_signals.so.1.50.0 libboost_system.so.1.50.0 libboost_thread.so.1.50.0 libboost_timer.so.1.50.0 libboost_unit_test_framework.so.1.50.0 libboost_wave.so.1.50.0 libboost_wserialization.so.1.50.0
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: libboost_chrono.so.1.50.0 libboost_date_time.so.1.50.0 libboost_filesystem.so.1.50.0 libboost_regex.so.1.50.0 libboost_serialization.so.1.50.0 libboost_system.so.1.50.0 libboost_thread.so.1.50.0 libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_4.0.0) libgcc_s.so.1(GLIBC_2.0) libicudata.so.44 libicui18n.so.44 libicuuc.so.44 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.3.2) libpython2.6.so.1.0 librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.6 libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.10) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.5) libstdc++.so.6(GLIBCXX_3.4.7) libstdc++.so.6(GLIBCXX_3.4.9) libutil.so.1 libz.so.1 rtld(GNU_HASH)
Processing files: libboost-devel-1.50.0-1ghostbunny2012.i586
Ausführung(%doc): /bin/sh -e /home/ghostbunny/RPM/tmp/rpm-tmp.ijYd1N
+ umask 022
+ cd /home/ghostbunny/RPM/BUILD
+ cd boost_1_50_0
+ DOCDIR=/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost-devel
+ export DOCDIR
+ /bin/mkdir -p /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost-devel
+ cp -pr packagedoc/boost.css packagedoc/boost.png packagedoc/doc packagedoc/index.htm packagedoc/index.html packagedoc/libs packagedoc/more packagedoc/rst.css packagedoc/tools /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/libboost-devel
+ exit 0
Finde Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-provides
tr: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
tr: Schreibfehler
/usr/lib/rpm/mandriva/find-requires: Zeile 276: echo: Schreibfehler: Datenübergabe unterbrochen (broken pipe).
Finde Requires: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-requires /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386 i586
Provides: boost-devel = 1.50.0-1ghostbunny2012 libboost-devel = 1.50.0-1ghostbunny2012 devel(libboost_chrono) devel(libboost_date_time) devel(libboost_filesystem) devel(libboost_graph) devel(libboost_iostreams) devel(libboost_locale) devel(libboost_math_c99) devel(libboost_math_c99f) devel(libboost_math_c99l) devel(libboost_math_tr1) devel(libboost_math_tr1f) devel(libboost_math_tr1l) devel(libboost_prg_exec_monitor) devel(libboost_program_options) devel(libboost_python) devel(libboost_random) devel(libboost_regex) devel(libboost_serialization) devel(libboost_signals) devel(libboost_system) devel(libboost_thread) devel(libboost_timer) devel(libboost_unit_test_framework) devel(libboost_wave) devel(libboost_wserialization)
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: devel(libboost_chrono) devel(libboost_date_time) devel(libboost_filesystem) devel(libboost_regex) devel(libboost_serialization) devel(libboost_system) devel(libboost_thread) devel(libbz2) devel(libdl) devel(libgcc_s) devel(libicudata) devel(libicui18n) devel(libicuuc) devel(libm) devel(libpython2.6) devel(libstdc++) devel(libutil) devel(libz) multiarch-utils
Obsoletes: libboost1-devel < 1.50.0-1ghostbunny2012
Processing files: libboost-static-devel-1.50.0-1ghostbunny2012.i586
Finde Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-provides
Finde Requires: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-requires /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386 i586
Provides: boost-static-devel = 1.50.0-1ghostbunny2012
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Obsoletes: libboost1-static-devel < 1.50.0-1ghostbunny2012
Processing files: boost-examples-1.50.0-1ghostbunny2012.i586
Ausführung(%doc): /bin/sh -e /home/ghostbunny/RPM/tmp/rpm-tmp.E53NeR
+ umask 022
+ cd /home/ghostbunny/RPM/BUILD
+ cd boost_1_50_0
+ DOCDIR=/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/boost-examples
+ export DOCDIR
+ /bin/mkdir -p /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/boost-examples
+ cp -pr examples/libs /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386/usr/share/doc/boost-examples
+ exit 0
Finde Provides: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-provides
Finde Requires: /usr/lib/rpm/mandriva/filter.sh ' ' ' ' '/home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386' /usr/lib/rpm/mandriva/find-requires /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386 i586
Provides: libboost1.50.0-examples = 1.50.0-1ghostbunny2012
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Obsoletes: libboost1.50.0-examples < 1.50.0-1ghostbunny2012
Prüfe auf nicht gepackte Datei(en): /usr/lib/rpm/check-files /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386
Erstellt: /home/ghostbunny/RPM/SRPMS/boost-1.50.0-1ghostbunny2012.src.rpm
Erstellt: /home/ghostbunny/RPM/RPMS/i586/libboost1.50.0-1.50.0-1ghostbunny2012.i586.rpm
Erstellt: /home/ghostbunny/RPM/RPMS/i586/libboost-devel-1.50.0-1ghostbunny2012.i586.rpm
Erstellt: /home/ghostbunny/RPM/RPMS/i586/libboost-static-devel-1.50.0-1ghostbunny2012.i586.rpm
Erstellt: /home/ghostbunny/RPM/RPMS/i586/boost-examples-1.50.0-1ghostbunny2012.i586.rpm
Ausführung(%clean): /bin/sh -e /home/ghostbunny/RPM/tmp/rpm-tmp.IWujC4
+ umask 022
+ cd /home/ghostbunny/RPM/BUILD
+ cd boost_1_50_0
+ rm -rf /home/ghostbunny/RPM/BUILDROOT/boost-1.50.0-1ghostbunny2012.i386
+ exit 0


above this is only some extra linking and copying of files and the compilation process. if you need it to let me know
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: question about find-provides (boost update)
« Reply #4 on: July 27, 2012, 12:55:10 PM »
It has generated some provides in spite of the error

The list looks complete to me so whatever the error was (possibly a special character in a filename or symbol) it doesn't seem to have affected the output of the script.

If I get a chance tomorrow I'll take a closer look at it to see if I can determine the exact cause of the error but it looks OK to me.

Terry.
« Last Edit: July 28, 2012, 12:49:15 PM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1194
Re: question about find-provides (boost update)
« Reply #5 on: July 27, 2012, 01:39:26 PM »
Ok thanks for looking into this

here is the link for the srpm if you want to build it by yourself

[link removed]

regards
ghostbunny
« Last Edit: July 29, 2012, 04:15:29 AM by ghostbunny »
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD