Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501796 - x11-libs/qwtpolar-1.1.0 - qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory
Summary: x11-libs/qwtpolar-1.1.0 - qwt_polar_item.h:14:29: fatal error: qwt_legend_dat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 15:58 UTC by Jean-Claude Repetto
Modified: 2017-01-23 07:17 UTC (History)
3 users (show)

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 Jean-Claude Repetto 2014-02-19 15:58:24 UTC
Compiling qwtpolar-1.1.0 fails to build :

compiling qwt_polar_item.cpp
In file included from qwt_polar_itemdict.h:15:0,
                 from qwt_polar_plot.h:14,
                 from qwt_polar_item.cpp:9:
qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory


Reproducible: Always




$ emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.17, 3.10.7-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_0_@_3.60GHz-with-gentoo-2.2
KiB Mem:     2052348 total,    133352 free
KiB Swap:   15623208 total,  15395788 free
Timestamp of tree: Wed, 19 Feb 2014 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo java seden rion x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"                                                                                                                                                                                                                                                   
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                                                    
MAKEOPTS="-j1"                                                                                                                                                                                                                                                       
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"                                     
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                                                                            
PORTDIR="/usr/portage"                                                                                                                                                                                                                                               
PORTDIR_OVERLAY="/var/lib/layman/java /var/lib/layman/seden /var/lib/layman/rion /usr/local/portage"                                                                                                                                                                 
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib cups cxx dbus declarative dri dts dvd dvdr ecwj2k emboss encode exif expat fam firefox flac fortran gdbm gif gpm gtk iconv jpeg kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spatialite spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" NETBEANS_MODULES="cnd apisupport java javafx profiler websvccommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Jean-Claude Repetto 2014-02-19 16:02:07 UTC
Build log :

 * Package:    x11-libs/qwtpolar-1.1.0
 * Repository: gentoo
 * Maintainer: sci-geosciences@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qwtpolar-1.1.0.zip to /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work
>>> Source unpacked in /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work
>>> Preparing source in /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0 ...
 * Running qmake ...
 *  - fixed CONFIG in qwtpolarbuild.pri                                                                                                                                                                                                                       [ ok ]
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0 ...
make -j1 
cd src/ && /usr/bin/qmake /var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0/src/src.pro QTDIR=/usr/lib64 QMAKE=/usr/bin/qmake QMAKE_AR=x86_64-pc-linux-gnu-ar\ cqs QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_CFLAGS=-O2\ -pipe QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/usr/lib64/qt4 QMAKE_LIBDIR_X11=/usr/lib64 QMAKE_LIBDIR_OPENGL=/usr/lib64 -o Makefile
cd src/ && make -f Makefile 
make[1]: Entering directory `/var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0/src'
compiling qwt_polar_fitter.cpp
compiling qwt_polar_item.cpp
In file included from qwt_polar_itemdict.h:15:0,
                 from qwt_polar_plot.h:14,
                 from qwt_polar_item.cpp:9:
qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory
compilation terminated.
make[1]: *** [obj/qwt_polar_item.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0/src'
make: *** [sub-src-make_default-ordered] Error 2
 * ERROR: x11-libs/qwtpolar-1.1.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/qwtpolar-1.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/qwtpolar-1.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/qwtpolar-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qwtpolar-1.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0'
 * S: '/var/tmp/portage/x11-libs/qwtpolar-1.1.0/work/qwtpolar-1.1.0'
Comment 2 Jean-Claude Repetto 2014-03-04 09:13:04 UTC
I have found the reason of the problem : qwtpolar-1.1 requires qwt-6.1. It does not compile with qwt-6.0.

Please add this dependance to the qwtpolar-1.1 ebuild.
Comment 3 Thomas Capricelli 2014-10-02 12:59:25 UTC
I can confirm the bug with x11-libs/qwtpolar-1.1.1
I have a whole bunch of error of the same kind. Typically as quoted at the end.

For information, i have x11-libs/qwt installed, both version 5.2.3-r2 and 6.0.0


--------------------------------------------------------------------------------------------------
compilation terminated.
Makefile:350: recipe for target 'obj/qwt_polar_magnifier.o' failed
make[1]: *** [obj/qwt_polar_magnifier.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from qwt_polar_itemdict.h:15:0,
                 from qwt_polar_plot.h:14,
                 from qwt_polar_panner.cpp:10:
qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory
 #include <qwt_legend_data.h>
                             ^
compilation terminated.
Makefile:341: recipe for target 'obj/qwt_polar_panner.o' failed
make[1]: *** [obj/qwt_polar_panner.o] Error 1                                                                                                    
In file included from qwt_polar_itemdict.h:15:0,                                                                                                 
                 from qwt_polar_plot.h:14,                                                                                                       
                 from qwt_polar_picker.cpp:10:                                                                                                   
qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory                                                                
 #include <qwt_legend_data.h>                                                                                                                    
                             ^                                                                                                                   
compilation terminated.                                                                                                                          
In file included from qwt_polar_itemdict.h:15:0,                                                                                                 
                 from qwt_polar_plot.h:14,                                                                                                       
                 from qwt_polar_item.cpp:9:                                                                                                      
qwt_polar_item.h:14:29: fatal error: qwt_legend_data.h: No such file or directory
 #include <qwt_legend_data.h>
Comment 4 Andreas Sturmlechner gentoo-dev 2017-01-23 07:17:52 UTC
=x11-libs/qwt-6.0* is no longer in tree, so this can be closed.