Build - libuuid linker error

Bug #539054 reported by Jay Pipes on 2010-03-15
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gearman Packaging
High
Monty Taylor

Bug Description

On trunk, now I can't get anything to build. Using Lucid.

...
  CXXLD plugin/libhello_world_plugin.la
  CXXLD plugin/libhex_functions_plugin.la
  CXXLD plugin/liblength_plugin.la
  CXXLD plugin/liblogging_gearman_plugin.la
  CXXLD plugin/liblogging_query_plugin.la
/bin/sed: can't read /usr/lib/libuuid.la: No such file or directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive
make[2]: *** [plugin/libgearman_udf_plugin.la] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sed: can't read /usr/lib/libuuid.la: No such file or directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive
make[2]: *** [plugin/liblogging_gearman_plugin.la] Error 1
make[2]: Leaving directory `/home/jpipes/repos/drizzle/replication-to-transaction'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jpipes/repos/drizzle/replication-to-transaction'
make: *** [all] Error 2

I have uuid-dev installed.

Versions of build tools:

jpipes@serialcoder:~/repos/drizzle/replication-to-transaction$ automake --version
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <email address hidden>
       and Alexandre Duret-Lutz <email address hidden>.
jpipes@serialcoder:~/repos/drizzle/replication-to-transaction$ autoconf --version
autoconf (GNU Autoconf) 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
jpipes@serialcoder:~/repos/drizzle/replication-to-transaction$ libtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <email address hidden>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
jpipes@serialcoder:~/repos/drizzle/replication-to-transaction$ gcc --version
gcc (Ubuntu 4.4.3-3ubuntu3) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Using kernel version:

jpipes@serialcoder:~/repos/drizzle/replication-to-transaction$ uname -a
Linux serialcoder 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux

This is a showstopper for me. Can't get any branch building now. :(

Jay Pipes (jaypipes) wrote :

Hmmm, I'm only getting this every once in a while now. If I make after doing a full ./config/autorun.sh && ./configure && make, it seems to run fine...marking invalid.

Changed in drizzle:
status: New → Invalid
Jay Pipes (jaypipes) wrote :

OK, can't get past this on a straight, clean trunk branch build...

make[2]: Entering directory `/home/jpipes/repos/drizzle/trunk'
srcdir=. ./config/make-lint.py
  CXXLD drizzled/internal/libinternal.la
  CXXLD plugin/libmemory_plugin.la
  CXXLD plugin/libinnobase_plugin.la
  CXXLD plugin/liblength_plugin.la
  CXXLD plugin/liblogging_gearman_plugin.la
  CXXLD plugin/liblogging_query_plugin.la
  CXXLD plugin/liblogging_syslog_plugin.la
/bin/sed: can't read /usr/lib/libuuid.la: No such file or directory
libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive
make[2]: *** [plugin/liblogging_gearman_plugin.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jpipes/repos/drizzle/trunk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jpipes/repos/drizzle/trunk'
make: *** [all] Error 2

Changed in drizzle:
status: Invalid → Confirmed
Jay Pipes (jaypipes) wrote :

Some more information... libuuid.a is on my system, but not libuuid.la, which is what the libtool script seems to want. I tried ./configure --disable-static to no avail.

jpipes@serialcoder:/$ locate libuuid
/lib/libuuid.so.1
/lib/libuuid.so.1.3.0
/lib32/libuuid.so
/lib32/libuuid.so.1
/lib32/libuuid.so.1.3.0
/usr/lib/libuuid.a
/usr/lib/libuuid.so
/usr/share/doc/libuuid-perl
/usr/share/doc/libuuid1
/usr/share/doc/libuuid-perl/changelog.Debian.gz
/usr/share/doc/libuuid-perl/changelog.gz
/usr/share/doc/libuuid-perl/copyright
/usr/share/doc/libuuid1/changelog.Debian.gz
/usr/share/doc/libuuid1/changelog.gz
/usr/share/doc/libuuid1/copyright
/var/cache/apt/archives/libuuid-perl_0.02-3build2_amd64.deb
/var/cache/apt/archives/libuuid1_2.17-0ubuntu2_amd64.deb
/var/cache/apt/archives/libuuid1_2.17-0ubuntu3_amd64.deb
/var/lib/libuuid
/var/lib/dpkg/info/libuuid-perl.list
/var/lib/dpkg/info/libuuid-perl.md5sums
/var/lib/dpkg/info/libuuid1.list
/var/lib/dpkg/info/libuuid1.md5sums
/var/lib/dpkg/info/libuuid1.postinst
/var/lib/dpkg/info/libuuid1.postrm
/var/lib/dpkg/info/libuuid1.shlibs
/var/lib/dpkg/info/libuuid1.symbols
jpipes@serialcoder:/$

This is a libgearman-dev package issue. It needs to be rebuilt... I'll
upload a new one.

On 03/15/2010 06:24 AM, Jay Pipes wrote:
> OK, can't get past this on a straight, clean trunk branch build...
>
> make[2]: Entering directory `/home/jpipes/repos/drizzle/trunk'
> srcdir=. ./config/make-lint.py
> CXXLD drizzled/internal/libinternal.la
> CXXLD plugin/libmemory_plugin.la
> CXXLD plugin/libinnobase_plugin.la
> CXXLD plugin/liblength_plugin.la
> CXXLD plugin/liblogging_gearman_plugin.la
> CXXLD plugin/liblogging_query_plugin.la
> CXXLD plugin/liblogging_syslog_plugin.la
> /bin/sed: can't read /usr/lib/libuuid.la: No such file or directory
> libtool: link: `/usr/lib/libuuid.la' is not a valid libtool archive
> make[2]: *** [plugin/liblogging_gearman_plugin.la] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/jpipes/repos/drizzle/trunk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jpipes/repos/drizzle/trunk'
> make: *** [all] Error 2
>
>
> ** Changed in: drizzle
> Status: Invalid => Confirmed
>

Monty Taylor (mordred) wrote :

This bug is actually in the lucid libgearman package. A new version has been uploaded.

Changed in drizzle:
status: Confirmed → Fix Released
affects: drizzle → pkg-gearman
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers