[Reproducible-builds] Bug#823523: obex-data-server: FTBFS: /usr/bin/ld: cannot find s/libusb-0.1.so.4.4.4

Chris Lamb lamby at debian.org
Thu May 5 16:18:44 UTC 2016


Source: obex-data-server
Version: 0.4.5-1.1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

obex-data-server fails to build from source in unstable/amd64:

  [..]

  src/ods-session.c:1914:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c: In function 'resize_image_cb':
  src/ods-session.c:1936:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (data->session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1955:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (data->session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1960:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_UNLOCK (data->session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c: In function 'ods_session_put_image_resized':
  src/ods-session.c:1978:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_LOCK (session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1981:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1989:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1998:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2002:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2010:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2037:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:1976:18: warning: variable 'encoding_local' set but not used [-Wunused-but-set-variable]
    const gchar    *encoding_local;
                    ^
  src/ods-session.c: In function 'ods_session_put_linked_attachment':
  src/ods-session.c:2056:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_LOCK (session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2059:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2067:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2075:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2084:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2088:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2096:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2104:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2127:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2132:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_UNLOCK (session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c: In function 'ods_session_remote_display_full':
  src/ods-session.c:2145:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_LOCK (session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2148:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2156:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2164:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2168:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2176:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2184:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2200:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c: In function 'ods_session_is_busy':
  src/ods-session.c:2254:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    if (!g_static_mutex_trylock (&session->priv->mutex))
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2257:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock (&session->priv->mutex);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c: In function 'ods_session_cancel':
  src/ods-session.c:2287:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
    ODS_SESSION_LOCK (session);
    ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2290:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2302:4: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
      ODS_SESSION_UNLOCK (session);
      ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  src/ods-session.c:2310:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ODS_SESSION_UNLOCK (session);
     ^
  In file included from /usr/include/glib-2.0/glib.h:107:0,
                   from src/ods-session.c:36:
  /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
   GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
           ^
  gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6  -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include  -I/usr/include/libusb-1.0 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o src/obex-data-server src/ods-bluez.o src/ods-usb.o src/ods-capabilities.o src/ods-common.o src/ods-error.o src/ods-folder-listing.o src/ods-imaging-helpers.o src/ods-main.o src/ods-marshal.o src/ods-manager.o src/ods-logging.o src/ods-obex.o src/ods-server.o src/ods-server-session.o src/ods-session.o -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lusb -ldbus-glib-1 -lgobject-2.0 -lglib-2.0 -ldbus-1 -lbluetooth -lopenobex 
  /usr/bin/ld: cannot find /lib/
  /usr/bin/ld: cannot find s/libusb-0.1.so.4.4.4
  collect2: error: ld returned 1 exit status
  %Makefile:380: recipe for target 'src/obex-data-server' failed
  make[2]: *** [src/obex-data-server] Error 1
  Makefile:263: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160505171227.1A4xVPVqcc.obex-data-server/obex-data-server-0.4.5'
  /usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
  make: *** [debian/stamp-makefile-build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: obex-data-server.0.4.5-1.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 13577 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160505/2cf4fd7f/attachment.obj>


More information about the Reproducible-builds mailing list