Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531586 - media-sound/mup-5.7 with x11-libs/fltk-1.3.3 - mupmate/Preferences.H:10:31: fatal error: FL/Fl_Preferences.H: No such file or directory
Summary: media-sound/mup-5.7 with x11-libs/fltk-1.3.3 - mupmate/Preferences.H:10:31: f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard: Pending removal: 2018-04-13
Keywords: PMASKED
: 571206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-03 18:54 UTC by Toralf Förster
Modified: 2018-04-09 02:20 UTC (History)
3 users (show)

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


Attachments
emerge log (media-sound:mup-5.7:20141203-181142.log,12.50 KB, text/plain)
2014-12-03 18:54 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,6.58 KB, text/plain)
2016-04-24 18:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,35.18 KB, text/plain)
2016-04-24 18:34 UTC, Toralf Förster
Details
environment (environment,72.48 KB, text/plain)
2016-04-24 18:34 UTC, Toralf Förster
Details
media-sound:mup-5.7:20160424-175602.log (media-sound:mup-5.7:20160424-175602.log,13.24 KB, text/plain)
2016-04-24 18:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2014-12-03 18:54:41 UTC
Created attachment 390882 [details]
emerge log

x86_64-pc-linux-gnu-g++ -O2 -pipe -Wl,-O1 -Wl,--as-needed -o mupmate/mupmate mupmate/Config.C mupmate/Edit.C mupmate/File.C mupmate/Help.C mupmate/Main.C mupmate/Preferences.C mupmate/Run.C mupmate/utils.C mupmate/license.C mupmate/regform.C mupmate/template.C \
-I/usr/include/fltk-1 -Imup -L/usr/lib64 \
-L/usr/lib64/fltk-1 -lfltk -lfltk_images -lXext -lX11 -lXpm \
-ljpeg -lpng -lz -lm
In file included from mupmate/Config.C:7:0:
mupmate/Preferences.H:10:31: fatal error: FL/Fl_Preferences.H: No such file or directory
 #include <FL/Fl_Preferences.H>
                               ^







This chroot image is located at a hardened amd64 system.

--- Invalid atom in /etc/portage/package.mask/package.mask.common: gplpmnPX03vAjAiP
Portage 2.2.14 (python 3.3.5-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.20, 3.17.4-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.17.4-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16166892 total,   3003712 free
KiB Swap:   16777212 total,  16768324 free
Timestamp of tree: Tue, 02 Dec 2014 18:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.8, 3.3.5-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --deep --jobs 1"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="en_US.utf8"
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=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm hardened iconv ipv6 justify mbox mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode urandom xattr xtpax 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-03 23:49:57 UTC
Which version of x11-libs/fltk?
Comment 2 Toralf Förster gentoo-dev 2014-12-04 23:17:25 UTC
Hhm, the log dir shows :

/mnt/qa/tinderbox/amd64-hardened/var/log/portage # ll *fltk*
-rw-rw---- 1 portage portage 155534 Nov 13 17:24 x11-libs:fltk-1.3.3:20141113-162137.log
-rw-rw---- 1 portage portage 155515 Nov 14 16:23 x11-libs:fltk-1.3.3:20141114-152118.log
-rw-rw---- 1 portage portage 156350 Dec  3 19:11 x11-libs:fltk-1.3.3-r1:20141203-180921.log

so I'd assume x11-libs:fltk-1.3.3-r1
Comment 3 Tomáš Mózes 2016-01-08 06:39:27 UTC
*** Bug 571206 has been marked as a duplicate of this bug. ***
Comment 4 Toralf Förster gentoo-dev 2016-04-24 18:34:22 UTC
Created attachment 431838 [details]
emerge-info.txt

different image same error, more info + data\n\n-ljpeg -lpng -lz -lm
In file included from mupmate/Config.C:7:0:
mupmate/Preferences.H:10:31: fatal error: FL/Fl_Preferences.H: No such file or directory
compilation terminated.
In file included from mupmate/Edit.C:8:0:
Comment 5 Toralf Förster gentoo-dev 2016-04-24 18:34:25 UTC
Created attachment 431840 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2016-04-24 18:34:27 UTC
Created attachment 431842 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2016-04-24 18:34:30 UTC
Created attachment 431844 [details]
media-sound:mup-5.7:20160424-175602.log
Comment 8 Pacho Ramos gentoo-dev 2018-03-01 11:30:39 UTC
still failing to build
Comment 9 jospezial 2018-03-18 20:43:49 UTC
(In reply to Pacho Ramos from comment #8)
> still failing to build

The cause for this bug is not in mup but path inconsistencies in fltk .


The fltk ebuild installs the include files in /usr/include/fltk/FL/ :
local FLTK_INCDIR=${EPREFIX}/usr/include/fltk
If you look in
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-libs/fltk/files/FLTKConfig.cmake
you see
SET(FLTK_INCLUDE_DIRS "/usr/include")
and not
SET(FLTK_INCLUDE_DIRS "/usr/include/fltk")
See also https://bugs.gentoo.org/462776

I see in other distributions these files are installed in /usr/include/FL

After adding a symlink
/usr/include/FL -> fltk/FL/
I could emerge rakarrack which had the same problem of not finding the header file.
Comment 10 Tim Harder gentoo-dev 2018-04-09 02:20:10 UTC
Fixed in 6.6 in the tree.