Linker option -Wl,-Bsymbolic-functions

Bug #1250534 reported by emmanuel taurel
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tango (Ubuntu)
Fix Released
Undecided
Unassigned
Saucy
Fix Released
Undecided
Unassigned

Bug Description

Hello Ubuntu team,

I am a user of the libtango8 package available in Ubuntu repository. Since Ubuntu 13.10, this library is built with the option
-Wl,-Bsymbolic-functions. This generates problems for this software. In previous Ubuntu releases, it was not the case and the software worked nicely.

In its source package, in the debian/rules file, there is this line

export DEB_LDFLAGS_MAINT_STRIP="-Wl,-Bsymbolic-functions"

which should prevent the use of this -Wl,-Bsymbolic-functions option when building the package but it seems that it is not true anymore.

Is it a Ubuntu bug?
Is there something we can do with the package developpers?

Any help welcome

Emmanuel

[Impact]

 * The user cannot use anymore tango devices compiled with this version of the libtango8. symptoms are
the Db server refuse to start with the error:
sudo /usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp:localhost:10000
main(): arrived
Oups, no class defined in this server. Exiting ...

 * this bugs affect saucy so our users can not upgrade to the saucy distribution.

 * This upload fix the debian/rules. I backported the fix from debian unstable onto 8.0.5+dfsg-3

[Test Case]

 * [UNFIXED] sudo /usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp:localhost:10000
main(): arrived
Oups, no class defined in this server. Exiting ...

* [FIXED] sudo /usr/lib/tango/DataBaseds 2 -ORBendPoint giop:tcp:localhost:10000
main(): arrived
main(): export DataBase as named servant (name=database)
Ready to accept request

 * The fix was tested by the upstream, and they confirm that it solve the problem

[Regression Potential]

* no regression expected (nothing changed in the code of the package except the problematic LDFLAGS.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tango (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tango - 8.1.2c+dfsg-2

---------------
tango (8.1.2c+dfsg-2) unstable; urgency=low

  * debian/rules
    - fix for real the build on ubuntu (mismatch between shell and
      makefile syntax) (LP: #1250534).
      The -Wl,symbolic-functions LDFLAGS is now stripped for real
  * debian/patches
    + 0005-forwarded-upstrean-fix-FTBFS-on-sparc64.patch
      (Closes: #729163) thanks Aurelien Jarno for the patch

 -- Picca Frédéric-Emmanuel <email address hidden> Wed, 13 Nov 2013 10:22:20 +0100

Changed in tango (Ubuntu):
status: Confirmed → Fix Released
description: updated
Revision history for this message
Picca Frederic-Emmanuel (picca-debian) wrote :
Robie Basak (racb)
Changed in tango (Ubuntu Saucy):
assignee: nobody → Robie Basak (racb)
Revision history for this message
Robie Basak (racb) wrote :

Uploaded. Thank you!

I made two trivial changes:

1. I dropped the change to debian/gbp.conf, since the SRU must include "no other unrelated changes" according to the policy.
2. I ran "update-maintainer" to update the Maintainer field according to https://wiki.ubuntu.com/DebianMaintainerField.

The next step is for the SRU team to review this, and assuming that they accept it a final verification step from -proposed will be needed.

Changed in tango (Ubuntu Saucy):
assignee: Robie Basak (racb) → nobody
status: New → Triaged
Revision history for this message
Picca Frederic-Emmanuel (picca-debian) wrote :

thanks for your help

Cheers

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello emmanuel, or anyone else affected,

Accepted tango into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/tango/8.0.5+dfsg-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in tango (Ubuntu Saucy):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
emmanuel taurel (taurel-esrf) wrote :

Helllo,

I have tested package libtango8 release 8.0.5+dfsg-3ubuntu0.1 from saucy-proposed repository.
It works fine.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tango - 8.0.5+dfsg-3ubuntu0.1

---------------
tango (8.0.5+dfsg-3ubuntu0.1) saucy; urgency=low

  * fix for real the build on ubuntu (mismatch between shell and
    makefile syntax) (LP: #1250534)
 -- Picca Frederic-Emmanuel <email address hidden> Wed, 13 Nov 2013 10:22:20 +0100

Changed in tango (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.