[Bug 729152] Re: package kmflcomp-0.9.8-1 failed to build from source

Dave Walker davewalker at ubuntu.com
Wed Mar 9 12:55:17 UTC 2011


As discussed with Tarun, as the Natty toolchain has reverted the "ld
--as-needed" option - this package no longer FTBFS. However, when the
next development cycle opens - this will be an issue. The patch has been
submitted to Debian, which will hopefully be applied - and we can sync
next cycle.

unsubscribing ~ubuntu-sponsors.

Thanks for your work Tarun!


** Summary changed:

- package kmflcomp-0.9.8-1 failed to build from source
+ package kmflcomp-0.9.8-1 failed to build from source with "ld --as-needed"

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/729152

Title:
  package kmflcomp-0.9.8-1 failed to build from source with "ld --as-
  needed"

Status in “kmflcomp” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: kmflcomp

  Package failed to build from source on Ubuntu natty
  Here is the error log:

  gcc -Wall -g -g -O2 -g -O2 -Wl,-Bsymbolic-functions -o kmflcomp kmflcomp-kmfl_compiler.o  -lX11 -L/usr/X11R6/lib ../src/.libs/libkmflcomp.a
  ../src/.libs/libkmflcomp.a(libkmflcomp_la-kmflcomp.o): In function `text_to_keysym':
  /home/tarun/source/kmflcomp/kmflcomp-0.9.8/src/kmflcomp.c:1329: undefined reference to `XStringToKeysym'
  ../src/.libs/libkmflcomp.a(libkmflcomp_la-kmflcomp.o): In function `make_keysym':
  /home/tarun/source/kmflcomp/kmflcomp-0.9.8/src/kmflcomp.c:1350: undefined reference to `XOpenDisplay'
  /home/tarun/source/kmflcomp/kmflcomp-0.9.8/src/kmflcomp.c:1354: undefined reference to `XKeysymToKeycode'
  /home/tarun/source/kmflcomp/kmflcomp-0.9.8/src/kmflcomp.c:1355: undefined reference to `XKeycodeToKeysym'
  /home/tarun/source/kmflcomp/kmflcomp-0.9.8/src/kmflcomp.c:1356: undefined reference to `XCloseDisplay'
  collect2: ld returned 1 exit status
  make[3]: *** [kmflcomp] Error 1
  make[3]: Leaving directory `/home/tarun/source/kmflcomp/kmflcomp-0.9.8/kmfl_compiler'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/tarun/source/kmflcomp/kmflcomp-0.9.8'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/tarun/source/kmflcomp/kmflcomp-0.9.8'
  make: *** [debian/stamp-makefile-build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Ubuntu-sponsors mailing list