FS#15394 - List of [community] packages that needs rebuild for boost

Attached to Project: Community Packages
Opened by Gerardo Exequiel Pozzi (djgera) - Monday, 06 July 2009, 01:50 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 15 July 2009, 18:05 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jaroslaw Swierczynski (swiergot)
Andrea Scarpino (BaSh)
Mateusz Herych (Partition)
Geoffroy Carrier (gcarrier)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

New boost-1.39 is in [testing]. There are a soname bump, so when boost hit [extra] all these packages should be rebuilded.


** REMAINS **

* gcarrier (1):
qbittorrent-1.3.3-2

* partition (1):
pokerth-0.7.1-2

* swiergot (1):
glob2-0.9.3-1



** DONE **

* sergej (3):
keysafe-0.4.0.1-1
schroot-1.2.3_1-1
xmms2-0.6DrMattDestruction-4

* snowman (1):
pingus-0.7.2-1

* wonder (1):
gnote-0.5.2-1

* bash (2):
encfs-1.5-3
tagpy-0.94.5-8
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 15 July 2009, 18:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  all fixed
Comment by Eric Belanger (Snowman) - Monday, 06 July 2009, 02:03 GMT
FYI: I removed pingus from the list. It doesn't need to be rebuild.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 06 July 2009, 02:08 GMT
@Eric: Really all pkg will work, because the soname bump is libboost_xxxxxx.so -> libboost_xxxxxx.so-1.39.0 So will fallback through the symlink. But this is not a good idea, programs may work or not, and if work can do incorrectly.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 06 July 2009, 02:30 GMT
Rebuild required:

6955: /usr/bin/pingus: error: symbol lookup error: undefined symbol: _ZN5boost7signals6detail11signal_baseC2ERKNS_9function2IbNS1_12stored_groupES4_SaINS_13function_baseEEEERKNS_3anyE (continued)

Doing the rebuild remove the symbol lookup error.

Patch attached to solve build issue.
Comment by Eric Belanger (Snowman) - Tuesday, 14 July 2009, 02:27 GMT
FYI: boost-1.39 has been moved to extra.
Comment by Eric Belanger (Snowman) - Tuesday, 14 July 2009, 03:40 GMT
I've rebuilt pingus.

djgera: How did you get that symbol error message? BTW, about your patch, for C++ code it should be cstdio and cstring instead of stdio.h and string.h
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 14 July 2009, 03:56 GMT
Thanks,

@Eric: yes, but I respect the includes in the original .cpp. For example already present this stdc: string.h.

For symbol lookup error:
LD_BIND_NOW=y /usr/bin/pingus

or using ldd script that uses LD_BIND_NOW
ldd -u -r /usr/bin/pingus

This ensures that all symbol resolutions are performed at startup time, not on-demand ;)

Additionally if the code is from C++, as in this case, can parse the output with c++filt to demangle symbols.

$ LD_BIND_NOW=y /usr/bin/pingus 2>&1 | c++filt -n
/usr/bin/pingus: symbol lookup error: /usr/bin/pingus: undefined symbol: boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group, std::allocator<boost::function_base> > const&, boost::any const&)


Good Luck!
Comment by Sergej Pupykin (sergej) - Tuesday, 14 July 2009, 14:38 GMT
fixed:

keysafe
schroot
xmms2
Comment by Ionut Biru (wonder) - Tuesday, 14 July 2009, 22:01 GMT
fixed gnote
Comment by Ionut Biru (wonder) - Wednesday, 15 July 2009, 11:21 GMT
fixed:
encfs-1.5-3
tagpy-0.94.5-8

Loading...