On 07/26/2017 11:05 AM, Gianfranco Costamagna wrote: > 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 @@ > fi > 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?
Having written that patch, I totally agree and suggest to add it.