Source: wine-development
Version: 1.9.9-1
Severity: wishlist

Hi Maintainer

Since version 1.9.9-1, wine-development has FTBFS on all architectures
in Ubuntu.
I see the following in the build log:

./debian/scripts/sonames2elf libfontconfig.so.1 libfreetype.so.6
libncurses.so.5 > debian/tmp/elf.depends
./debian/scripts/sonames2elf libcups.so.2 libdbus-1.so.3
libfontconfig.so.1 libfreetype.so.6 libGL.so.1 libgnutls.so.30
libgsm.so.1 libjpeg.so.8 libncurses.so.5 libodbc.so.2 libopenal.so.1
libOSMesa.so.8 libpng16.so.16 libtiff.so.5 libX11.so.6
libXcomposite.so.1 libXcursor.so.1 libXext.so.6 libXi.so.6
libXinerama.so.1 libXrandr.so.2 libXrender.so.1 libxslt.so.1
libXxf86vm.so.1 > debian/tmp/elf.recommends
/usr/bin/ld: cannot find libGL.so.1
collect2: error: ld returned 1 exit status
debian/rules:153: recipe for target 'override_dh_shlibdeps' failed

Assuming this had something to do with packaging differences between
Debian and Ubuntu's mesa package, I made the following changes:

--- a/debian/rules
+++ b/debian/rules
@@ -70,6 +70,7 @@
 sonamesRecommends=$(shell \
     grep "^\#define SONAME_" include/config.h | \
     grep -v libnetapi | \
+    grep -v libGL | \
     cut -d\" -f2)

 debian/control: debian/control.in
--- a/debian/control
+++ b/debian/control
@@ -218,6 +218,7 @@
 Recommends:
  ${dlopen:Recommends},
  libgl1-mesa-dri,
+ libgl1-mesa-glx | libgl1,
  libasound2-plugins,
  fonts-liberation,
  fonts-wine (>= 1.8.2-1~),
---a/debian/control.in
+++ b/debian/control.in
@@ -218,6 +218,7 @@
 Recommends:
  ${dlopen:Recommends},
  libgl1-mesa-dri,
+ libgl1-mesa-glx | libgl1,
  libasound2-plugins,
  fonts-liberation,
  fonts-wine (>= 1.8.2-1~),

With the above changes in place, the builds succeeded on amd64, arm64
and i386, but failed on armhf with a new error:

./debian/scripts/sonames2elf libfontconfig.so.1 libfreetype.so.6
libncurses.so.5 > debian/tmp/elf.depends
./debian/scripts/sonames2elf libcups.so.2 libdbus-1.so.3
libfontconfig.so.1 libfreetype.so.6 libgnutls.so.30 libgsm.so.1
libjpeg.so.8 libncurses.so.5 libodbc.so.2 libopenal.so.1
libOSMesa.so.8 libpng16.so.16 libtiff.so.5 libX11.so.6
libXcomposite.so.1 libXcursor.so.1 libXext.so.6 libXi.so.6
libXinerama.so.1 libXrandr.so.2 libXrender.so.1 libxslt.so.1
libXxf86vm.so.1 > debian/tmp/elf.recommends
dpkg-shlibdeps --warnings=1 \
    -pdlopen \
    -dDepends -edebian/tmp/elf.depends \
    -dRecommends -edebian/tmp/elf.recommends \
    -Tdebian/libwine-development.substvars
dpkg-shlibdeps: error: couldn't find library libfontconfig.so.1 needed
by debian/tmp/elf.depends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libfreetype.so.6 needed
by debian/tmp/elf.depends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libncurses.so.5 needed by
debian/tmp/elf.depends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: warning: binaries to analyze should already be
installed in their package's directory
dpkg-shlibdeps: error: couldn't find library libcups.so.2 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libdbus-1.so.3 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libfontconfig.so.1 needed
by debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi';
RPATH: '')
dpkg-shlibdeps: error: couldn't find library libfreetype.so.6 needed
by debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi';
RPATH: '')
dpkg-shlibdeps: error: couldn't find library libgnutls.so.30 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libgsm.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libjpeg.so.8 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libncurses.so.5 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libodbc.so.2 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libopenal.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libOSMesa.so.8 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libpng16.so.16 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libtiff.so.5 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libX11.so.6 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXcomposite.so.1 needed
by debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi';
RPATH: '')
dpkg-shlibdeps: error: couldn't find library libXcursor.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXext.so.6 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXi.so.6 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXinerama.so.1 needed
by debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi';
RPATH: '')
dpkg-shlibdeps: error: couldn't find library libXrandr.so.2 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXrender.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libxslt.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: error: couldn't find library libXxf86vm.so.1 needed by
debian/tmp/elf.recommends (ELF format: 'elf32-littlearm-sfabi'; RPATH:
'')
dpkg-shlibdeps: warning: binaries to analyze should already be
installed in their package's directory
dpkg-shlibdeps: error: cannot continue due to the errors listed above
Note: libraries are not searched in other binary packages that do not
have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
make[1]: *** [override_dh_shlibdeps] Error 2
debian/rules:154: recipe for target 'override_dh_shlibdeps' failed

Any ideas?

Regards
Graham

Reply via email to