[pkg-wine-party] Bug#827770: Bug#827770: wine-development: FTBFS in Ubuntu

Gianfranco Costamagna locutusofborg at debian.org
Wed Jul 26 09:05:24 UTC 2017

control: reopen -1
control: tags -1 patch

> No, they get to deal with the problems they create for themselves.

while this is true in general, in this particular case this is a problem in Debian too, when different versions of
the same libraries might coexist in Debian too.

Fortunately the new approach patch seems sane and applicable directly in Debian too

diff -Nru wine-development-2.13/debian/scripts/sonames2elf wine-development-2.13/debian/scripts/sonames2elf
--- wine-development-2.13/debian/scripts/sonames2elf    2017-07-22 17:17:47.000000000 +0200
+++ wine-development-2.13/debian/scripts/sonames2elf    2017-07-23 00:25:08.000000000 +0200
@@ -34,7 +34,10 @@
 tmpdir=$(mktemp -d -t sonames2elf.XXXXXX)
 cd "$tmpdir"
-printf 'INPUT(%s)\n' "$@" > libeverything.so
+# Use the unversioned solink because the soname might be not found.
+# solink always points to the default soname, which is what wine uses.
+SOLINKS="$(echo $@ | sed "s|\([[:alnum:]]*\.so\)[\.[0-9]*]*|\1|g")"
+printf 'INPUT(%s)\n' "$SOLINKS" > libeverything.so
 gcc -shared -Wl,--no-as-needed -L. -leverything -o elf
 cat elf
 rm -rf "$tmpdir"

what do you think about?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20170726/02187621/attachment.sig>

More information about the pkg-wine-party mailing list