[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 <nfsc/libnfs.h>
     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 <drm_mode.h>

                         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 -DENABLE_EVENTCLIENTS=ON -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_INTERNAL_FFMPEG=OFF -DENABLE_MICROHTTPD=ON -DENABLE_MYSQLCLIENT=ON -DENABLE_NFS=ON -DENABLE_OPTICAL=ON -DENABLE_PULSEAUDIO=ON -DENABLE_SMBCLIENT=ON -DENABLE_UDEV=ON -DENABLE_UPNP=ON -DENABLE_VAAPI=ON -DENABLE_VDPAU=ON -DENABLE_XSLT=ON -DDATE_URL=tools/depends/target/date/libdate-tz-3.0.0.tar.xz -DLIBDVDREAD_URL=tools/depends/target/libdvdread/libdvdread-6.0.0-Leia-Alpha-3.tar.xz -DLIBDVDNAV_URL=tools/depends/target/libdvdnav/libdvdnav-6.0.0-Leia-Alpha-3.tar.xz -DENABLE_LIRCCLIENT=ON -DNEON=False "-DCORE_PLATFORM_NAME=x11 wayland gbm" -DAPP_RENDER_SYSTEM=gl .. returned exit code 1
make[1]: *** [debian/rules:135: override_dh_auto_configure] Error 255
make[1]: Leaving directory '/home/bonnaudl/kodi-19.0~beta2+dfsg1'
make: *** [debian/rules:98: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
E: Build command 'cd kodi-19.0~beta2+dfsg1 && dpkg-buildpackage -b -uc' failed.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-rt-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kodi depends on:
ii  kodi-bin   2:19.0~beta2+dfsg1-5
ii  kodi-data  2:19.0~beta2+dfsg1-5

Versions of packages kodi recommends:
ii  kodi-repository-kodi [kodi-repository]  2:19.0~beta2+dfsg1-5
ii  kodi-visualization-spectrum             3.0.3-1

kodi suggests no packages.

-- no debconf information

--
Laurent.

Reply to: