Project

General

Profile

Actions

Bug #6093

closed

Building rudder-agent fails on Ubuntu 10.04

Added by Matthieu CERDA almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The build fails due to the following error:

02:46:47 dh_shlibdeps
02:46:47 dpkg-shlibdeps: error: couldn't find library libcrypto.so.1.0.0 needed by debian/rudder-agent/opt/rudder/lib/engines/libgmp.so (ELF format: 'elf32-i386'; RPATH: '').
02:46:47 Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
02:46:47 To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
02:46:47 dh_shlibdeps: dpkg-shlibdeps -Tdebian/rudder-agent.substvars debian/rudder-agent/opt/rudder/lib/engines/libgmp.so debian/rudder-agent/opt/rudder/lib/engines/libatalla.so debian/rudder-agent/opt/rudder/lib/engines/libcapi.so debian/rudder-agent/opt/rudder/lib/engines/libchil.so debian/rudder-agent/opt/rudder/lib/engines/libsureware.so debian/rudder-agent/opt/rudder/lib/engines/libubsec.so debian/rudder-agent/opt/rudder/lib/engines/libaep.so debian/rudder-agent/opt/rudder/lib/engines/libgost.so debian/rudder-agent/opt/rudder/lib/engines/libpadlock.so debian/rudder-agent/opt/rudder/lib/engines/libcswift.so debian/rudder-agent/opt/rudder/lib/engines/lib4758cca.so debian/rudder-agent/opt/rudder/lib/engines/libnuron.so debian/rudder-agent/opt/rudder/lib/libcrypto.so.1.0.0 debian/rudder-agent/opt/rudder/lib/libssl.so.1.0.0 debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Compress/Raw/Bzip2/Bzip2.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Compress/Raw/Zlib/Zlib.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so debian/rudder-agent/opt/rudder/lib/perl5/x86_64-linux-thread-multi/auto/HTML/Parser/Parser.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Data/Dumper/Dumper.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/IO/IO.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Cwd/Cwd.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Opcode/Opcode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/POSIX/POSIX.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Digest/SHA/SHA.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Digest/MD5/MD5.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/KR/KR.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/EBCDIC/EBCDIC.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/TW/TW.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Symbol/Symbol.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Encode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/JP/JP.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Byte/Byte.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/Unicode/Unicode.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Encode/CN/CN.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/Peek/Peek.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/DProf/DProf.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Devel/PPPort/PPPort.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Hash/Util/Util.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Hash/Util/FieldHash/FieldHash.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/List/Util/Util.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/IPC/SysV/SysV.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Storable/Storable.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Filter/Util/Call/Call.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/threads/shared/shared.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/threads/threads.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/MIME/Base64/Base64.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/I18N/Langinfo/Langinfo.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/via/via.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/scalar/scalar.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/PerlIO/encoding/encoding.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/File/Glob/Glob.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Sys/Syslog/Syslog.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Sys/Hostname/Hostname.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/attributes/attributes.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Time/Piece/Piece.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Time/HiRes/HiRes.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/mro/mro.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Text/Soundex/Soundex.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Math/BigInt/FastCalc/FastCalc.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/SDBM_File/SDBM_File.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/re/re.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Unicode/Normalize/Normalize.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/B/B.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Socket/Socket.so debian/rudder-agent/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-multi/auto/Fcntl/Fcntl.so debian/rudder-agent/opt/rudder/lib/liblmdb.so debian/rudder-agent/opt/rudder/bin/rpmvercmp debian/rudder-agent/opt/rudder/bin/cf-promises debian/rudder-agent/opt/rudder/bin/openssl debian/rudder-agent/opt/rudder/bin/mdb_stat debian/rudder-agent/opt/rudder/bin/cf-key debian/rudder-agent/opt/rudder/bin/a2p debian/rudder-agent/opt/rudder/bin/cf-monitord debian/rudder-agent/opt/rudder/bin/cf-agent debian/rudder-agent/opt/rudder/bin/cf-upgrade debian/rudder-agent/opt/rudder/bin/perl5.12.4 debian/rudder-agent/opt/rudder/bin/mdb_copy debian/rudder-agent/opt/rudder/bin/cf-execd debian/rudder-agent/opt/rudder/bin/cf-serverd debian/rudder-agent/opt/rudder/bin/cf-runagent debian/rudder-agent/opt/rudder/bin/perl returned exit code 2
02:46:47 make[1]: *** [binary-arch] Error 9

According to what I found, it seems that this is due to the fact that we do not need to call dh_shlibs (and actually did not due to the same reason when we had separate tokyocabinet patches) as it will always choke on libs that are not packaged as part of another package. (cf manpage)

We simply need to remove it when we build OpenSSL included.

EDIT : WARNING, the fix applied to this bug has been reverted since we now run dh_shlibdeps on every rudder-agent package to prevent missing dependencies. The second fix is in #6337.


Related issues 4 (0 open4 closed)

Related to Rudder - Bug #6134: Building rudder-agent fails on Ubuntu 10.04, due to failing patchReleasedBenoît PECCATTE2015-01-15Actions
Related to Rudder - Bug #6239: Unable to install Rudder agent if there is no rsync nor libpcre3 installed on the system on DebianReleasedNicolas CHARLES2015-02-09Actions
Related to Rudder - Bug #6337: Rudder agent fails to build on Ubuntu 10.04 due to a buggy dh_shlibdepsReleasedMatthieu CERDA2015-03-04Actions
Has duplicate Rudder - Bug #5868: Build of rudder-agent 3.0.0~beta1 bundling OpenSSL fails on Ubuntu 10.04Rejected2014-11-29Actions
Actions #1

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/579
Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Merged !

Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0, which was released on 2015/02/16

Actions #4

Updated by Matthieu CERDA over 9 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF