[FTBFS] Package gpe-what 0.43-3 in Natty

Bug #700449 reported by Mahyuddin Susanto
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gpe-what (Debian)
Fix Released
Unknown
gpe-what (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gpe-what

http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/gpe-what_0.43-3_lubuntu32.buildlog

/usr/bin/ld: gpe-what.o: undefined reference to symbol 'XGrabPointer'
/usr/bin/ld: note: 'XGrabPointer' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.5.2/../../../../lib/libX11.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.5.2/../../../../lib/libX11.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gpe-what] Error 1
make[2]: Leaving directory `/build/user-gpe-what_0.43-3-i386-tKiIb9/gpe-what-0.43'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/user-gpe-what_0.43-3-i386-tKiIb9/gpe-what-0.43'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Tags: patch

Related branches

Changed in gpe-what (Ubuntu):
assignee: nobody → Mahyuddin Susanto (udienz)
status: New → In Progress
Revision history for this message
Mahyuddin Susanto (udienz) wrote :
Changed in gpe-what (Ubuntu):
status: In Progress → Confirmed
assignee: Mahyuddin Susanto (udienz) → nobody
Revision history for this message
Bhavani Shankar (bhavi) wrote :

looks good

processing this now

regards

Revision history for this message
Bhavani Shankar (bhavi) wrote :

Hello Mahyuddin again

as said in the previous bug

I find this change

Add -lX11 and test with Wl,--no-add-needed. (Closes: #554734)

Please test build the debian package in a PPA/updated natty chroot n if it FTBFS again please reopen the bug and forward the patch if applicable and inform the debian maintainer so that we can sync the package if the FTBFS is fixed

regards

Unsubsribing sponsors till then. Please resubscribe when ready

regards

Changed in gpe-what (Ubuntu):
status: Confirmed → Incomplete
tags: added: patch
Revision history for this message
Mahyuddin Susanto (udienz) wrote :

referring bug #700430, libraries should never be added to LDFLAGS, but to
LDADD or LIBADD

build from debian source http://paste.ubuntu.com/552448/
building with my patch http://paste.ubuntu.com/552455/

Building at PPA:
https://launchpad.net/~garuda-id/+archive/test-build/+build/2139280
https://launchpad.net/~garuda-id/+archive/test-build/+build/2139281

Changed in gpe-what (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Angel Abad (angelabad) wrote :

Hi! You dont need patch Makefile.am if you dont run automake. Patching Makefile.in is enough.

Thanks!

Revision history for this message
Bhavani Shankar (bhavi) wrote :

yes angel but mahyuddin's doubt is that Makefile.in is generated from Makefile.am so he has patched the file also I guess which is valid I think I welcome your comments on the same

And as said in the previous bug please reopen the corresponding debian bug with the modified patch so that we can look at syncing the package

regards

Changed in gpe-what (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Angel Abad (angelabad) wrote :

Hi! The Makefile.in is only generated from Makefile.am when you call automake, also, I think the patch is valid too.

Mahyuddin please report your patch to Debian Bug 609650, you can use the submittodebian command for this.

Thanks!

Changed in gpe-what (Debian):
status: Unknown → New
Revision history for this message
Mahyuddin Susanto (udienz) wrote :

sended, thanks!

Revision history for this message
Bhavani Shankar (bhavi) wrote :

Sponsoring this now as we are past DIF and fixing in ubuntu sooner or later makes sense I guess

regards

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

This bug was fixed in the package gpe-what - 0.43-3ubuntu1

---------------
gpe-what (0.43-3ubuntu1) natty; urgency=low

  * Fix FTBFS with ld --no-add-needed by adding -lX11 to
    Makefile.in and Makefile.am files (LP: #700449)
 -- Mahyuddin Susanto <email address hidden> Mon, 10 Jan 2011 12:56:03 +0000

Changed in gpe-what (Ubuntu):
status: Incomplete → Fix Released
Changed in gpe-what (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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