Bug#979880: kodi: FTBFS because of mount_getexports_timeout and struct hdr_output_metadata

2021-01-14 Thread Vasyl Gello
Hi Laurent!

Can you please perform a rebuild using git-pbuilder (gbp) ? My gbp setup is 
quite unconventional but even that passes all the packages I feed into it.
Alternatively, you can use plain pbuilder with dsc files.
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#979880: kodi: FTBFS because of mount_getexports_timeout and struct hdr_output_metadata

2021-01-12 Thread Laurent Bonnaud

On 1/12/21 1:02 PM, Vasyl Gello wrote:


This is probably a regression due to ABI change in libnfs. Let me
check if upstream has a fix for it.


Thanks a lot for looking at this bug!


Do you use NFS shares with Kodi in your HTPC setup?


Not at all.  I am just trying to rebuild kodi before doing a backport for older 
systems...

Thanks again,

--
Laurent.



Bug#979880: kodi: FTBFS because of mount_getexports_timeout and struct hdr_output_metadata

2021-01-12 Thread Laurent Bonnaud

Package: kodi
Version: 2:19.0~beta2+dfsg1-5
Severity: important


Dear Maintainer,

in fact there are 2 compilation errors.  Note that my system has dev packages 
from experimental, but libnfs-dev and libdrm-dev are from sid:

  Package: libnfs-dev
  Version: 4.0.0-1

  Package: libdrm-dev
  Version: 2.4.103-2

Here are the errors:

$ apt -b source kodi
[...]
Performing C++ SOURCE FILE Test NFS_MOUNT_GETEXPORTS_TIMEOUT failed with the 
following output:
Change Dir: 
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_74802/fast && gmake[2]: Entering 
directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/gmake  -f CMakeFiles/cmTC_74802.dir/build.make 
CMakeFiles/cmTC_74802.dir/build
gmake[3]: Entering directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_74802.dir/src.cxx.o
/usr/bin/c++   -g -ffile-prefix-map=/home/bonnaudl/kodi-19.0~beta2+dfsg1=. 
-fstack-protector-strong -Wformat -Werror=format-security -O3 -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_XBMC -gsplit-dwarf -Wall -DNFS_MOUNT_GETEXPORTS_TIMEOUT -o 
CMakeFiles/cmTC_74802.dir/src.cxx.o -c 
"/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx"
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:
 In function ‘int main()’:
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:6:8:
 error: ‘mount_getexports_timeout’ was not declared in this scope; did you mean 
‘mount_getexports_async’?
6 |mount_getexports_timeout(NULL, 0);
  |^~~~
  |mount_getexports_async
gmake[3]: *** [CMakeFiles/cmTC_74802.dir/build.make:85: 
CMakeFiles/cmTC_74802.dir/src.cxx.o] Error 1
gmake[3]: Leaving directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
gmake[2]: *** [Makefile:140: cmTC_74802/fast] Error 2
gmake[2]: Leaving directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'


Source file was:


 #include 
 int main()
 {
   mount_getexports_timeout(NULL, 0);
 }

Performing C SOURCE FILE Test LIBDRM_HAS_HDR_OUTPUT_METADATA failed with the 
following output:
Change Dir: 
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_b3181/fast && gmake[2]: Entering 
directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/gmake  -f CMakeFiles/cmTC_b3181.dir/build.make 
CMakeFiles/cmTC_b3181.dir/build
gmake[3]: Entering directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b3181.dir/src.c.o
/usr/bin/cc  -I/usr/include/libdrm -g 
-ffile-prefix-map=/home/bonnaudl/kodi-19.0~beta2+dfsg1=. -fstack-protector-strong 
-Wformat -Werror=format-security -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -D_XBMC 
-gsplit-dwarf -Wall -DLIBDRM_HAS_HDR_OUTPUT_METADATA -o CMakeFiles/cmTC_b3181.dir/src.c.o 
-c 
"/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c"
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:
 In function ‘main’:
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:5:55:
 error: storage size of ‘test’ isn’t known
5 |struct hdr_output_metadata test;
  |   ^~~~
/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.c:5:55:
 warning: unused variable ‘test’ [-Wunused-variable]
gmake[3]: *** [CMakeFiles/cmTC_b3181.dir/build.make:85: 
CMakeFiles/cmTC_b3181.dir/src.c.o] Error 1
gmake[3]: Leaving directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
gmake[2]: *** [Makefile:140: cmTC_b3181/fast] Error 2
gmake[2]: Leaving directory 
'/home/bonnaudl/kodi-19.0~beta2+dfsg1/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'


Source file was:
#include 

 int main()
 {
   struct hdr_output_metadata test;
   return test.metadata_type;
 }

dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var 
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DVERBOSE=1 -DUSE_LTO=2 
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_AIRTUNES=ON -DENABLE_ALSA=ON -DENABLE_AVAHI=ON 
-DENABLE_BLURAY=ON -DENABLE_CEC=ON -DENABLE_DBUS=ON -DENABLE_DVDCSS=OFF 

Bug#979880: kodi: FTBFS because of mount_getexports_timeout and struct hdr_output_metadata

2021-01-12 Thread Vasyl Gello
Hi Laurent!

> Not at all.  I am just trying to rebuild kodi before doing a backport for 
> older systems...

You can use my unofficial repo: 
https://basilgello.github.io/kodi-nightly-debian-repo for buster-backports.

I also want to have a backport officially but it needs ffmpeg ported and 
colleagues from Multimedia Team are skeptic about it… 
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Bug#979880: kodi: FTBFS because of mount_getexports_timeout and struct hdr_output_metadata

2021-01-12 Thread Vasyl Gello
Hi Laurent!

This is probably a regression due to ABI change in libnfs. Let me check if 
upstream has a fix for it.
If it is there, I will test it and include in the upcoming RC1 upstream release 
that has to be rolled out next few days.
If it is not there, I will prepare one and make a test build for you. Do you 
use NFS shares with Kodi in your HTPC setup?
-- 
Vasyl Gello
==
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.ge...@gmail.com

Skype: vasek.gello
==
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다