Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727524 - net-wireless/gqrx-2.12.1 with net-wireless/gnuradio-3.8.1.0-r1 - CMake Error at CMakeLists.txt:150 (find_package): By not providing "FindPortaudio.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "P
Summary: net-wireless/gqrx-2.12.1 with net-wireless/gnuradio-3.8.1.0-r1 - CMake Error ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-08 13:25 UTC by mario.haustein
Modified: 2021-07-09 07:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.01 KB, text/plain)
2020-06-08 13:28 UTC, mario.haustein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mario.haustein 2020-06-08 13:25:16 UTC
gqrx fails to build together with gnuradio-3.8.1.0. Placing a symlink /usr/lib64/cmake/gnuradio/FindPortaudio.cmake pointing to /usr/lib64/cmake/gnuradio/FindPORTAUDIO.cmake will work around the issue.

ln -s FindPORTAUDIO.cmake FindPortaudio.cmake

Maybe it's a bug of gnuradio instead of gqrx.


-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any parent up to mount point /var)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Checking for module 'gnuradio-osmosdr'
--   No package 'gnuradio-osmosdr' found
-- Found GNURADIO_OSMOSDR: /usr/lib64/libgnuradio-osmosdr.so  
-- Found LOG4CPP: /usr/lib64/liblog4cpp.so
-- Checking for module 'gmp'
--   Found gmp, version 6.2.0
-- Found GMP: /usr/lib64/libgmpxx.so  
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Found MPIR: /usr/lib64/libmpirxx.so  
-- Found MPLIB: /usr/lib64/libgmpxx.so  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Boost: /usr/include (found suitable version "1.72.0", minimum required is "1.72.0") found components: date_time program_options filesystem system regex thread chrono atomic 
-- Found VOLK: Volk::volk  
-- User set python executable /usr/bin/python3.7
-- Found PythonInterp: /usr/bin/python3.7 (found version "3.7.7") 
-- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable exact version "3.7.7") 
-- Checking for module 'fftw3f >= 3.0'
--   Found fftw3f , version 3.3.6-pl2
-- Found FFTW3f: /usr/lib64/libfftw3f.so  
-- Checking for module 'alsa'
--   Found alsa, version 1.2.2
-- Found ALSA 1.2.2
-- Checking for module 'portaudio-2.0'
--   Found portaudio-2.0, version 19
-- Performing Test PORTAUDIO2_FOUND
-- Performing Test PORTAUDIO2_FOUND - Success
-- Found PORTAUDIO: /usr/include  
CMake Error at CMakeLists.txt:150 (find_package):
  By not providing "FindPortaudio.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Portaudio", but CMake did not find one.

  Could not find a package configuration file provided by "Portaudio" with
  any of the following names:

    PortaudioConfig.cmake
    portaudio-config.cmake

  Add the installation prefix of "Portaudio" to CMAKE_PREFIX_PATH or set
  "Portaudio_DIR" to a directory containing one of the above files.  If
  "Portaudio" provides a separate development package or SDK, be sure it has
  been installed.

--------
emerge --info gqrx

Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.30-r8, 5.4.38-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.38-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-gentoo-2.6
KiB Mem:    16350332 total,   2867684 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 08 Jun 2020 12:00:01 +0000
Head commit of repository gentoo: d37d2a385e1c2f607319b642a2d9ca9f6730047e
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo

local
    location: /usr/local/portage
    masters: gentoo

brancik-overlay
    location: /var/lib/layman/brancik-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3d X a52 aac aalib acl acpi activities afs alsa amd64 atsc avr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cryptsetup cscope cups dbus declarative designer device-mapper display-manager doc dot dri dri3 dts dtv dvd dvdr dvipdfm elogind emboss encode eqmod exif extra extras fcd fec fits flac fontconfig fortran fuse games gd gdal gdbm geolocation georeferencer geos gif glamor glut gmp gmttria gnuplot gphoto2 gpm gps graph graphics grass grc grub gssapi gtk hackrf hamlib handbook hires humanities iconv icu iio indi introspection ip4200 ipv6 iqbalance jadetex jpeg kde kerberos kipi kpathsea kwallet lapack latex latex3 lcms ldap libcaca libnotify libtirpc lm_sensors lua luatex lvm mad messages mmap mng mp3 mp4 mpeg multilib multimedia ncurses networking nls noaa nptl ntp objc objc++ objc-gc ogdi ogg omega openexr opengl openmp openssl osmesa pam pango pcap pcre pcsc-lite pdf pgf phonon pim plasma plotutils plplot plutosdr png pnm policykit portaudio postgres postscript ppds printsupport pstricks publishers pygments python qml qt5 readline rss rtlsdr schematics science script scripts sddm sdl seccomp semantic-desktop serialport smartcard smp sna soapy sound spatialite spell split-usr sql sqlite sqlite3 ssh ssl stars startup-notification svg tcpd testlib theora threads tiff tools toupbase trellis truetype udev udisks unicode upower usb uxa v4l v4l2 vaapi vdpau vim-syntax vocoder vorbis vpx wallpapers waveform wavelet webchannel webengine webkit widgets wxwidgets x264 xattr xcb xcomposite xetex xinerama xml xplanet xrandr xv xvfb xvid xvmc zeromq zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-wireless/gqrx-2.12.1::gentoo was built with the following:
USE="portaudio -gr-audio -pulseaudio" ABI_X86="(64)"
Comment 1 mario.haustein 2020-06-08 13:28:47 UTC
Created attachment 643940 [details]
build.log
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2020-09-21 19:15:32 UTC
Fixed, thanks for your report.
Comment 3 RyanMeston 2021-07-09 07:49:51 UTC Comment hidden (spam)