After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691609 - build error (with jhbuild, building 3.8)
build error (with jhbuild, building 3.8)
Status: RESOLVED FIXED
Product: gupnp-igd
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
: 691934 692710 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-01-12 15:56 UTC by Volker Sobek (weld)
Modified: 2019-02-22 06:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Re-link against gthread (773 bytes, patch)
2013-01-14 09:48 UTC, Jens Georg
committed Details | Review

Description Volker Sobek (weld) 2013-01-12 15:56:09 UTC
The last working commit for me is ca9d8e4c5b1b674a79bf19c5b66d901f96d37e49 (HEAD^ atm)

*** Configuring gupnp-igd *** [113/155]
./autogen.sh --prefix /home/gnomedev/jhbuild-gnome/install/3.8 --libdir '/home/gnomedev/jhbuild-gnome/install/3.8/lib64' --disable-python --disable-static --disable-gtk-doc 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/gnomedev/jhbuild-gnome/install/3.8/share/aclocal -I /usr/share/aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
libgupnp-igd/Makefile.am: installing './depcomp'
python/Makefile.am:18: installing './py-compile'
autoreconf: Leaving directory `.'
Creating po/ subdirectory
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /home/gnomedev/jhbuild-gnome/install/3.8/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

checking for a BSD-compatible install... /home/gnomedev/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGUPNP... yes
checking whether make supports nested variables... yes
checking for gtkdoc-check... /home/gnomedev/jhbuild-gnome/install/3.8/bin/gtkdoc-check
checking for gtkdoc-rebase... /home/gnomedev/jhbuild-gnome/install/3.8/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /home/gnomedev/jhbuild-gnome/install/3.8/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgupnp-igd/Makefile
config.status: creating python/Makefile
config.status: creating tests/Makefile
config.status: creating tests/gtest/Makefile
config.status: creating tests/examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating gupnp-igd-1.0.pc
config.status: creating gupnp-igd-1.0-uninstalled.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
*** Building gupnp-igd *** [113/155]
make -j 4
make  all-recursive
make[1]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd'
Making all in libgupnp-igd
make[2]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/libgupnp-igd'
  GEN      gupnp-simple-igd-marshal.c
  GEN      gupnp-simple-igd-marshal.h
make  all-am
make[3]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/libgupnp-igd'
  CC       gupnp-simple-igd.lo
  CC       gupnp-simple-igd-thread.lo
  CC       gupnp-enum-types.lo
  CC       gupnp-simple-igd-marshal.lo
  CCLD     libgupnp-igd-1.0.la
  GISCAN GUPnPIgd-1.0.gir
  GICOMP GUPnPIgd-1.0.gir
make[3]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/libgupnp-igd'
make[2]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/libgupnp-igd'
Making all in tests
make[2]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests'
Making all in gtest
make[3]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/gtest'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/gtest'
Making all in examples
make[3]: Entering directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/examples'
  CC       test.o
  CC       test-thread.o
test.c: In function ‘main’:
test.c:66:3: warning: ‘g_type_init’ is deprecated (declared at /home/gnomedev/jhbuild-gnome/install/3.8/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
test.c:67:3: warning: ‘g_thread_init’ is deprecated (declared at /home/gnomedev/jhbuild-gnome/install/3.8/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
test-thread.c: In function ‘main’:
test-thread.c:51:3: warning: ‘g_type_init’ is deprecated (declared at /home/gnomedev/jhbuild-gnome/install/3.8/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
test-thread.c:52:3: warning: ‘g_thread_init’ is deprecated (declared at /home/gnomedev/jhbuild-gnome/install/3.8/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
  CCLD     test
  CCLD     test-thread
test.o: In function `main':
/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/examples/test.c:67: undefined reference to `g_thread_init'
collect2: error: ld returned 1 exit status
make[3]: *** [test] Error 1
make[3]: *** Waiting for unfinished jobs....
test-thread.o: In function `main':
/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/examples/test-thread.c:52: undefined reference to `g_thread_init'
collect2: error: ld returned 1 exit status
make[3]: *** [test-thread] Error 1
make[3]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gnomedev/jhbuild-gnome/source/gupnp-igd'
make: *** [all] Error 2
*** Error during phase build of gupnp-igd: ########## Error running make -j 4 *** [113/155]
Comment 1 Jens Georg 2013-01-14 09:48:22 UTC
Created attachment 233426 [details] [review]
Re-link against gthread
Comment 2 Jens Georg 2013-01-17 14:47:45 UTC
*** Bug 691934 has been marked as a duplicate of this bug. ***
Comment 3 Jens Georg 2013-01-28 18:58:22 UTC
*** Bug 692710 has been marked as a duplicate of this bug. ***
Comment 4 Jens Georg 2013-01-28 19:00:38 UTC
Attachment 233426 [details] pushed as 5b72f29 - Re-link against gthread