Source: gnuradio
Version: 3.10.8.0-1
Severity: normal
Tags: ftbfs

Dear Maintainer,

The build fails here:
-- Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Checking for module 'thrift'
--   Package 'thrift', required by 'virtual:world', not found
-- thrift looking for version 0.13
-- Binary 'thrift' not found.
-- Checking for module 'thrift'
--   Package 'thrift', required by 'virtual:world', not found
-- thrift looking for version 0.13
-- Binary 'thrift' not found.

See:
https://buildd.debian.org/status/fetch.php?pkg=gnuradio&arch=hppa&ver=3.10.8.0-1&stamp=1697909969&raw=0

This occurs because we have by default -DENABLE_CTRLPORT_THRIFT=ON.

I had a successful build with the following change:

dave@mx3210:/mnt/debian/D$ cat gnuradio-rules.diff
--- rules.save  2023-10-21 19:35:20.125629410 +0000
+++ rules       2023-10-21 19:35:40.545927406 +0000
@@ -11,7 +11,7 @@
        dh $@ --with python3 --with numpy3 --buildsystem=cmake+ninja

 override_dh_auto_configure:
-       dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release 
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DENABLE_CTRLPORT_THRIFT=ON 
-DENABLE_SYSTEM_DESKTOP=ON -DENABLE_DOXYGEN_PDF=ON
+       dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release 
-DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DENABLE_CTRLPORT_THRIFT=OFF 
-DENABLE_SYSTEM_DESKTOP=ON -DENABLE_DOXYGEN_PDF=ON

 override_dh_python3:
        dh_python3 --no-ext-rename

Would please update rules to disable dependency on thrift for hppa.

Thanks,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.1.59+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to