Failing to build on Debian Testing

Forum to talk about the development of SMPlayer (code, patches...).

Failing to build on Debian Testing

Postby Evereve » Mon Feb 06, 2017 10:04 am

Hello,

Until version 16.x I managed to build SMPlayer from source on Debian Testing.
Since version 17.1 (and now on 17.2) I get this output

Code: Select all
[...]
dh_shlibdeps
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by glx-diversions from: /usr/lib/i386-linux-gnu/libGL.so.1
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by glx-diversions to: /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
dpkg-shlibdeps: warning: tried to merge the same object (libc.so.6) twice in a symfile
dpkg-shlibdeps: warning: tried to merge the same object (libc.so.6) twice in a symfile
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/smplayer/usr/bin/smplayer was not linked against libXext.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/smplayer/usr/bin/smplayer was not linked against libGL.so.1 (it uses none of the library's symbols)
dh_gencontrol
dh_md5sums
dh_builddeb -- -Z lzma
dpkg-deb: errore: obsolete compression type 'lzma'; use xz instead

Usare "dpkg-deb --help" per l'aiuto sulla gestione dei file *.deb;
Usare "dpkg --help" per l'aiuto sull'installazione e rimozione dei pacchetti.
dh_builddeb: dpkg-deb -Z lzma --build debian/.debhelper/smplayer/dbgsym-root .. returned exit code 2
debian/rules:70: set di istruzioni per l'obiettivo "binary-arch" non riuscito
make: *** [binary-arch] Errore 1
dh_clean: Compatibility levels before 9 are deprecated (level 5 in use)


I couldn't find any information about similar issues here or elsewhere, could someone please give me some hint about a possible solution?

Thanks.
Evereve
 
Posts: 2
Joined: Mon Feb 06, 2017 9:53 am

Re: Failing to build on Debian Testing

Postby rvm » Mon Feb 06, 2017 12:02 pm

Does it work if you replace
dh_builddeb -- -Z lzma
with
dh_builddeb -- -Z xz
in debian-rvm/rules?
rvm
Site Admin
 
Posts: 2688
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Failing to build on Debian Testing

Postby Evereve » Mon Feb 06, 2017 12:45 pm

Thanks! It worked!

I didn't think the problem was in the compression method but in the diversions!
Evereve
 
Posts: 2
Joined: Mon Feb 06, 2017 9:53 am


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest