Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641830 - media-radio/wsjtx-1.8.0 should depend on sci-libs/fftw[fortran] - libwsjt_fort_omp.a(four2a.f90.o): In function `four2a_': four2a.f90:(.text+0x4b9): undefined reference to `sfftw_destroy_plan_'
Summary: media-radio/wsjtx-1.8.0 should depend on sci-libs/fftw[fortran] - libwsjt_for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 17:44 UTC by John Blbec
Modified: 2017-12-24 12:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Blbec 2017-12-20 17:44:24 UTC
.
.
.
[ 84%] Linking CXX executable jt9
/usr/bin/cmake -E cmake_link_script CMakeFiles/jt9.dir/link.txt --verbose=1
/usr/lib64/ccache/bin/c++  -march=native -O2 -pipe -Wall -Wextra -fexceptions -frtti -Wno-pragmas -fopenmp --std=gnu++11 -pthread -O3 -DNDEBUG -fdata-sections -ffunction-sections  -Wl,-O1 -Wl,--as-needed  -Wl,--gc-sections -rdynamic -fopenmp CMakeFiles/jt9.dir/lib/jt9.f90.o CMakeFiles/jt9.dir/lib/jt9a.f90.o CMakeFiles/jt9.dir/lib/ipcomm.cpp.o CMakeFiles/jt9.dir/jt9_autogen/moc_compilation.cpp.o  -o jt9 libwsjt_fort_omp.a libwsjt_cxx.a /usr/lib64/libQt5Core.so.5.7.1 -lfftw3_threads -lfftw3f_threads -lfftw3 -lfftw3f -lgfortran -lquadmath
libwsjt_fort_omp.a(four2a.f90.o): In function `four2a_':
four2a.f90:(.text+0x4b9): undefined reference to `sfftw_destroy_plan_'
four2a.f90:(.text+0x529): undefined reference to `sfftw_destroy_plan_'
four2a.f90:(.text+0x550): undefined reference to `sfftw_destroy_plan_'
four2a.f90:(.text+0x577): undefined reference to `sfftw_destroy_plan_'
four2a.f90:(.text+0x59e): undefined reference to `sfftw_destroy_plan_'
libwsjt_fort_omp.a(four2a.f90.o):four2a.f90:(.text+0x5c5): more undefined references to `sfftw_destroy_plan_' follow
libwsjt_fort_omp.a(four2a.f90.o): In function `four2a_':
four2a.f90:(.text+0x8c4): undefined reference to `sfftw_plan_dft_r2c_1d_'
four2a.f90:(.text+0x907): undefined reference to `sfftw_plan_dft_c2r_1d_'
four2a.f90:(.text+0x966): undefined reference to `sfftw_execute_'
four2a.f90:(.text+0xb26): undefined reference to `sfftw_plan_dft_1d_'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/jt9.dir/build.make:181: jt9] Error 1
make[5]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/wsjtx-prefix/src/wsjtx-build'
make[4]: *** [CMakeFiles/Makefile2:1656: CMakeFiles/jt9.dir/all] Error 2
make[4]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/wsjtx-prefix/src/wsjtx-build'
make[3]: *** [Makefile:152: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build/wsjtx-prefix/src/wsjtx-build'
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:61: wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build'
make[1]: *** [CMakeFiles/Makefile2:325: CMakeFiles/wsjtx-build.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-radio/wsjtx-1.8.0/work/wsjtx-1.8.0_build'
make: *** [Makefile:84: all] Error 2
 * ERROR: media-radio/wsjtx-1.8.0::gentoo failed (compile phase)
Comment 1 John Blbec 2017-12-20 17:47:58 UTC
solution: there is a missing "fortran" use flag for sci-libs/fftw package in the  wsjtx-1.8.0.ebuild which is obviously required
Comment 2 John Blbec 2017-12-20 17:51:38 UTC
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r9, 4.14.7-gentoo x86_64)
=================================================================
System uname: Linux-4.14.7-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.4.1
KiB Mem:     8166696 total,   1464528 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 20 Dec 2017 13:30:01 +0000
Head commit of repository gentoo: f9cf5c2368182601197fe78ee5aa44afb9caccbd
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync-excludes

rpolasek
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=2.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 -l2.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync-excludes"
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="X acl alsa amd64 avahi bash-completion berkdb bzip2 cli cracklib crypt cxx dbus dri gdbm gif gpm iconv jpeg mmx modules mp3 multilib ncurses nls nptl nvidia opengl openmp pam pcre png pulseaudio qt3support readline seccomp session slang sse sse2 ssl symlink tcpd threads tiff truetype unicode xattr zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Larry the Git Cow gentoo-dev 2017-12-24 12:14:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16cbca0b640ca79bc2804732f4055ab2fc812cca

commit 16cbca0b640ca79bc2804732f4055ab2fc812cca
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2017-12-24 12:12:22 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2017-12-24 12:13:47 +0000

    media-radio/wsjtx: Add missing 'build with USE'.
    
    Add missing 'build with USE' for sci-libs/fftw.
    
    Reported-by: John Blbek <john.blbec@centrum.cz>
    Closes: https://bugs.gentoo.org/641830
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-radio/wsjtx/wsjtx-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)