Your message dated Wed, 22 Jan 2014 21:24:30 +0000
with message-id <e1w65hi-00022o...@franck.debian.org>
and subject line Bug#661409: fixed in rawstudio 2.0-2
has caused the Debian Bug report #661409,
regarding rawstudio: FTBFS with undefined reference to `g_thread_init'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
661409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661409
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rawstudio
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Dear maintaner,
rawstudio fails to build with undefined reference to `g_thread_init'.

Excerpt from the buildlog:

rs-dir-selector.c: In function 'rs_dir_selector_class_init':
rs-dir-selector.c:60:18: warning: variable 'object_class' set but not used 
[-Wunused-but-set-variable]
rs-dir-selector.c:59:18: warning: variable 'widget_class' set but not used 
[-Wunused-but-set-variable]
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 
-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include 
-I/usr/include/gphoto2 -I/usr/include/libexif -I/usr/include/gconf/2 
-I/usr/include/ -I../librawstudio/ -I../ -D_FORTIFY_SOURCE=2 -Wall 
-fno-strict-aliasing -DWITH_GCONF -O4 -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -c rs-tag-gui.c
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 
-I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include 
-I/usr/include/gphoto2 -I/usr/include/libexif -I/usr/include/gconf/2 
-I/usr/include/ -I../librawstudio/ -I../ -D_FORTIFY_SOURCE=2 -Wall 
-fno-strict-aliasing -DWITH_GCONF -O4 -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -c rs-tethered-shooting.c
rs-tethered-shooting.c: In function 'start_monitor':
rs-tethered-shooting.c:870:3: warning: 'g_thread_create' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 
'g_thread_new' instead [-Wdeprecated-declarations]
rs-tethered-shooting.c: In function 'start_interval_shooting':
rs-tethered-shooting.c:940:2: warning: 'g_thread_create' is deprecated 
(declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 
'g_thread_new' instead [-Wdeprecated-declarations]
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -fno-strict-aliasing 
-DWITH_GCONF -O4 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o rawstudio 
application.o rs-actions.o gtk-helper.o gtk-interface.o rs-save-dialog.o 
gtk-progress.o rs-camera-db.o rs-cache.o rs-batch.o rs-toolbox.o rs-navigator.o 
rs-photo.o rs-tiff.o filename.o rs-store.o rs-preview-widget.o rs-loupe.o 
rs-histogram.o eog-pixbuf-cell-renderer.o rs-pixbuf.o rs-external-editor.o 
rs-dir-selector.o rs-tag-gui.o rs-tethered-shooting.o 
../librawstudio/librawstudio-2.0.la -L/usr/lib/ -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo 
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgconf-2 -llcms -ldbus-1 
-lpthread -lrt -lexiv2 -lfftw3f -llensfun -lglib-2.0 -lflickcurl -lxml2 -lcurl 
-lraptor -lsqlite3 -lgphoto2 -lgphoto2_port -lm -lexif -lusb -lX11 -ljpeg -ltiff
libtool: link: gcc -Wall -fno-strict-aliasing -DWITH_GCONF -O4 -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o .libs/rawstudio application.o 
rs-actions.o gtk-helper.o gtk-interface.o rs-save-dialog.o gtk-progress.o 
rs-camera-db.o rs-cache.o rs-batch.o rs-toolbox.o rs-navigator.o rs-photo.o 
rs-tiff.o filename.o rs-store.o rs-preview-widget.o rs-loupe.o rs-histogram.o 
eog-pixbuf-cell-renderer.o rs-pixbuf.o rs-external-editor.o rs-dir-selector.o 
rs-tag-gui.o rs-tethered-shooting.o ../librawstudio/.libs/librawstudio-2.0.so 
-L/usr/lib/ -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
-lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libcairo.so 
-lpango-1.0 /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig -lgobject-2.0 
/usr/lib/libgconf-2.so /usr/lib/i386-linux-gnu/liblcms.so -ldbus-1 -lpthread 
-lrt /usr/lib/libexiv2.so -lfftw3f -llensfun -lglib-2.0 -lflickcurl 
/usr/lib/i386-linux-gnu/libxml
 2.so /usr/lib/i386-linux-gnu/libcurl-gnutls.so /usr/lib/libraptor.so 
/usr/lib/i386-linux-gnu/libsqlite3.so -lgphoto2 -lgphoto2_port -lm -lexif -lusb 
-lX11 -ljpeg /usr/lib/i386-linux-gnu/libtiff.so -pthread
application.o: In function `main':
/build/buildd/rawstudio-2.0/src/application.c:708: undefined reference to 
`g_thread_init'
collect2: ld returned 1 exit status
make[3]: *** [rawstudio] Error 1
make[3]: Leaving directory `/build/buildd/rawstudio-2.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/rawstudio-2.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/rawstudio-2.0'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120210-0946
FAILED [dpkg-buildpackage died]

The full buidlog can be found at 
https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3169265/+files/buildlog_ubuntu-precise-i386.rawstudio_2.0-1build1_FAILEDTOBUILD.txt.gz.

The patch in attachment fixes the problem. It was stolen from upstream, in the 
devel version.

Have a great day,

Leo.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric'), (100, 
'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.2-030202-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Add -lgthread-2.0 during build. Patch stolen from upstream.
Author: Leo Iannacone <l...@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/935406
Forwarded: no

---
 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- rawstudio.orig/configure.in
+++ rawstudio/configure.in
@@ -83,7 +83,7 @@ AC_CHECK_LIB(tiff, TIFFOpen, tiff_ok=yes
 fi
 AC_SUBST(LIBTIFF)
 
-pkg_modules="gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0 lcms dbus-1 
exiv2 fftw3f lensfun libcurl flickcurl sqlite3 libgphoto2 x11"
+pkg_modules="gtk+-2.0 >= 2.8.0 libxml-2.0 >= 2.4 gconf-2.0 >= 2.0 lcms dbus-1 
exiv2 fftw3f lensfun libcurl flickcurl sqlite3 libgphoto2 x11 gthread-2.0"
 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
 AC_SUBST(PACKAGE_CFLAGS)
 AC_SUBST(PACKAGE_LIBS)

--- End Message ---
--- Begin Message ---
Source: rawstudio
Source-Version: 2.0-2

We believe that the bug you reported is fixed in the latest version of
rawstudio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 661...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <bi...@debian.org> (supplier of updated rawstudio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 22 Jan 2014 20:39:52 +0100
Source: rawstudio
Binary: rawstudio rawstudio-dbg
Architecture: source amd64
Version: 2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PhotoTools Maintainers 
<pkg-phototools-de...@lists.alioth.debian.org>
Changed-By: Laurent Bigonville <bi...@debian.org>
Description: 
 rawstudio  - RAW image converter
 rawstudio-dbg - RAW image converter - debuggin symbols
Closes: 661409 736044 736222
Changes: 
 rawstudio (2.0-2) unstable; urgency=medium
 .
   * Team upload.
   * [7e7ee48d] Drop debian/clean, do no delete config.{guess,sub}
   * [588c0966] Bump Standards-Version to 3.9.5 (no further changes)
   * [dbc7eda5] Bump debhelper compatibility to 9
   * [8e1c4542] Use canonical URL's for VCS-* fields
   * [d74facbf] Switch to dpkg-source 3.0 (quilt) format
   * [3abcbf55] Build-depend against libgphoto2-dev instead of libgphoto2-2-dev
     (Closes: #736222)
   * [48f43cea] deprecated-glib.patch: Remove call to deprecated g_thread_init()
     (Closes: #661409)
   * [8b729acc] Add add-gmodule-reference.patch: Link against gmodule
   * [f3e14d03] Build-depends against libtiff-dev instead of libtiff4-dev
     (Closes: #736044)
   * [f7277dd4] Pass --libdir=/usr/lib to the configure
Checksums-Sha1: 
 fb2697333445111d518288058c84e461d1192985 1889 rawstudio_2.0-2.dsc
 d0adec64ba49a7523201b21daf67cabb5f7dd0b8 12052 rawstudio_2.0-2.debian.tar.xz
 e0d0d485e2f42106fbfb8832c94faa517c58e073 702770 rawstudio_2.0-2_amd64.deb
 b464224235004d99e9386a73e059cf3fb7f6ee99 2811748 rawstudio-dbg_2.0-2_amd64.deb
Checksums-Sha256: 
 a12f0d29e102e321f12ec0c734c5616037c1f484b18c33b8528eaeef32d92f85 1889 
rawstudio_2.0-2.dsc
 234c22a42f43bae9a68a6c2657cbde08b68fca97327015897e93bb6883d5cf15 12052 
rawstudio_2.0-2.debian.tar.xz
 ef766fed20486e90c5d112a981704dd05a44eab5cece30e21a993897966304f4 702770 
rawstudio_2.0-2_amd64.deb
 caa44a767b939d8f9c4e24933efe6ed0a4811c329d259be7ea3d59f19a7c6178 2811748 
rawstudio-dbg_2.0-2_amd64.deb
Files: 
 8d25c17f5ec30aeadfd030708904f2b1 1889 graphics optional rawstudio_2.0-2.dsc
 c173e973b36f929362bd0b233d0a3047 12052 graphics optional 
rawstudio_2.0-2.debian.tar.xz
 b28769629baa86586c320f8a8c2811a6 702770 graphics optional 
rawstudio_2.0-2_amd64.deb
 013c5eff7adf5d8593602176cf36b708 2811748 debug extra 
rawstudio-dbg_2.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJS4CQ0AAoJEB/FiR66sEPViuwH/iLM3JdjHYLS5tmD6NcOiiX8
e//6q0/sDWm5Mlh/Q9ACG5YB2MvjN2ozulsASbyyTgJOOkvEymLLOxiMZnJTf1KX
tvJsakbXwb3davq3/KsDNPMCPIvOVMsGcNeUq1nLCCQ2QuWUlEmK1+FpCOTkokJ+
205dx7X7pxge1i3R0x8IdiOS4nRtRRKxLz/aIir8mGrsgM7N1dTVXpBqPLY3HtCz
6q1a9ebQp12VTzA8VgNyyOrHb5TKsv3eet5eBNdqRmMuMYYMKdkxbGQe9KlXKW/I
t3X43sz3Y/kmagFeMiA3G2H/FC1IPbFdutHuGrOclST/xR48Bi5T8Fc7J/nBe1c=
=Z/fz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to