Ubuntu

twclock FTBFS in Raring

Reported by Graham Inggs on 2013-02-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twclock (Debian)
Fix Released
Unknown
twclock (Ubuntu)
Undecided
Kamal Mostafa

Bug Description

A no-changes build of twclock sent to the PPA builders fails with the following message:

gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c libCW.c
  CCLD twclock
/usr/bin/ld: libCW.o: undefined reference to symbol 'pa_strerror@@PULSE_0'
/usr/bin/ld: note: 'pa_strerror@@PULSE_0' is defined in DSO /usr/lib/x86_64-linux-gnu/libpulse.so.0 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libpulse.so.0: could not read symbols: Invalid operation

Related branches

Graham Inggs (ginggs) wrote :

The attached patch fixes the FTBFS by explicitly linking libpulse.

The attachment "twclock_3.1-1ubuntu1 raring" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Daniel Holbach (dholbach) wrote :

This fails to build for me on raring am64:

gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -c libCW.c
  CCLD twclock
/usr/bin/ld: libCW.o: undefined reference to symbol 'pa_strerror@@PULSE_0'
/usr/bin/ld: note: 'pa_strerror@@PULSE_0' is defined in DSO /usr/lib/x86_64-linux-gnu/libpulse.so.0 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libpulse.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [twclock] Error 1
make[3]: Leaving directory `/tmp/buildd/twclock-3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/twclock-3.1'
make[1]: *** [all] Error 2

Graham Inggs (ginggs) wrote :

Sorry for wasting your time. On my system configure was re-generated from configure.ac.
I attach an amended patch which builds on the PPA builders.

Sebastien Bacher (seb128) wrote :

Thanks. Could be get that patch sent to Debian as well? The package is currently in sync and it would be good to keep it like that

Changed in twclock (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: New → In Progress
Kamal Mostafa (kamalmostafa) wrote :

Thanks for the report and the patch Graham. I've applied the patch to twclock 3.1-2 in Debian unstable, and will arrange for that to be pulled into Ubuntu Raring shortly.

Changed in twclock (Ubuntu):
status: In Progress → Fix Committed
Bryce Harrington (bryce) wrote :

Thanks Kamal; unsubscribing sponsors at this point since it sounds like you have it in hand and no further sponsorship is needed.

wa0eir (wa0eir) wrote :

Hi

Thanks for all your work on this and the twpsk patch. I have added -lpulse to the LiIBS line in configure.ac.
I hope that will help in the future.

Now, does someone want to package twHamQTH?

73,
Ted - wa0eir
http://home.mchsi.com/wa0eir

Changed in twclock (Debian):
status: Unknown → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package twclock - 3.1-2

---------------
twclock (3.1-2) unstable; urgency=high

  * Fix underlinking: link libpulse explicitly
    - Thanks Graham Inggs (Closes: #701900, LP: #1134240)
  * Enabled build-hardening

 -- Kamal Mostafa <email address hidden> Thu, 28 Feb 2013 11:42:51 -0800

Changed in twclock (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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