0.26 build fails on Fedora

Bug #901007 reported by BJ Dierkes
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gearman
Fix Released
Medium
Brian Aker

Bug Description

  CC docs/libgearman/examples/gearman_execute_partition.o
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -g -std=c99 -pipe -O2 -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -floop-parallelize-all -Wstrict-aliasing -Wswitch-enum -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o docs/libgearman/examples/gearman_execute_partition.o docs/libgearman/examples/gearman_execute_partition.c
  CXXLD libgearman/libgearman.la
  CCLD libhostile/libhostile.la
  CXXLD benchmark/libbenchmark.la
  CXXLD tests/libstartworker.la
  CXXLD gearmand/hostile_gearmand
  CXXLD libgearman-server/libgearman-server.la
  CXXLD libtest/libtest.la
  CXXLD bin/gearman
  CXXLD benchmark/blobslap_client
  CXXLD benchmark/blobslap_worker
  CCLD docs/libgearman/examples/gearman_client_do_background_example
gearmand/gearmand.cc: In function 'void _log(const char*, gearmand_verbose_t, void*)':
gearmand/gearmand.cc:462:7: warning: variable 'fd' set but not used [-Wunused-but-set-variable]
copying selected object files to avoid basename conflicts...
libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
make[1]: *** [gearmand/hostile_gearmand] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/builddir/build/BUILD/gearmand-0.26'
make: *** [all] Error 2

Related branches

Brian Aker (brianaker)
Changed in gearmand:
assignee: nobody → Brian Aker (brianaker)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Kaydannik Alexander (kaydannik-a) wrote :

RHEL6/CentOS 6 the same problem:
  CXXLD libgearman/libgearman.la
  CCLD libhostile/libhostile.la
  CXXLD benchmark/libbenchmark.la
  CXXLD libgearman-server/libgearman-server.la
  CXXLD tests/libstartworker.la
  CXXLD gearmand/hostile_gearmand
libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
make[1]: *** [gearmand/hostile_gearmand] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/root/rpmbuild/BUILD/gearmand-0.26'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.3YcPjX (%build)

Revision history for this message
Brian Aker (brianaker) wrote : Re: [Bug 901007] 0.26 build fails on Fedora

Try out lp:gearmand/build

Cheers,
 -Brian

On Dec 29, 2011, at 4:13 AM, Kaydannik Alexander wrote:

> RHEL6/CentOS 6 the same problem:
> CXXLD libgearman/libgearman.la
> CCLD libhostile/libhostile.la
> CXXLD benchmark/libbenchmark.la
> CXXLD libgearman-server/libgearman-server.la
> CXXLD tests/libstartworker.la
> CXXLD gearmand/hostile_gearmand
> libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
> make[1]: *** [gearmand/hostile_gearmand] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/root/rpmbuild/BUILD/gearmand-0.26'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.3YcPjX (%build)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/901007
>
> Title:
> 0.26 build fails on Fedora
>
> Status in Gearman Server and Client Libraries:
> In Progress
>
> Bug description:
> CC docs/libgearman/examples/gearman_execute_partition.o
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -g -std=c99 -pipe -O2 -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -floop-parallelize-all -Wstrict-aliasing -Wswitch-enum -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o docs/libgearman/examples/gearman_execute_partition.o docs/libgearman/examples/gearman_execute_partition.c
> CXXLD libgearman/libgearman.la
> CCLD libhostile/libhostile.la
> CXXLD benchmark/libbenchmark.la
> CXXLD tests/libstartworker.la
> CXXLD gearmand/hostile_gearmand
> CXXLD libgearman-server/libgearman-server.la
> CXXLD libtest/libtest.la
> CXXLD bin/gearman
> CXXLD benchmark/blobslap_client
> CXXLD benchmark/blobslap_worker
> CCLD docs/libgearman/examples/gearman_client_do_background_example
> gearmand/gearmand.cc: In function 'void _log(const char*, gearmand_verbose_t, void*)':
> gearmand/gearmand.cc:462:7: warning: variable 'fd' set but not used [-Wunused-but-set-variable]
> copying selected object files to avoid basename conflicts...
> libtool: link: cannot find the library `libgearman-server/libgearman-server.la' or unhandled argument `libgearman-server/libgearman-server.la'
> make[1]: *** [gearmand/hostile_gearmand] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/builddir/build/BUILD/gearmand-0.26'
> make: *** [all] Error 2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearmand/+bug/901007/+subscriptions

Brian Aker (brianaker)
Changed in gearmand:
status: In Progress → Fix Committed
Brian Aker (brianaker)
Changed in gearmand:
status: Fix Committed → Fix Released
Revision history for this message
Taneli Leppä (rosmiitto) wrote :

I just tried the latest lp:gearmand/build on CentOS 6, still fails with that error message.

Revision history for this message
Taneli Leppä (rosmiitto) wrote :

Oh, it was just actually due to using "make -j3", dropping the -j3 fixes the compilation issue.

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.