Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651688 - dev-libs/efl-1.20.7 USE=fbcon - configure: error: Unknown build profile --with-profile=release --enable-eglfs
Summary: dev-libs/efl-1.20.7 USE=fbcon - configure: error: Unknown build profile --wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 10:42 UTC by Anton Gubarkov
Modified: 2018-07-07 14:48 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.96 KB, text/plain)
2018-03-27 10:43 UTC, Anton Gubarkov
Details
efl-1.20.7.ebuild.patch (efl-1.20.7.ebuild.patch,459 bytes, patch)
2018-06-21 03:17 UTC, David Davidson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2018-03-27 10:42:15 UTC
....
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
configure: error: Unknown build profile --with-profile=release --enable-eglfs
Comment 1 Anton Gubarkov 2018-03-27 10:43:24 UTC
Created attachment 525652 [details]
build.log
Comment 2 Anton Gubarkov 2018-03-27 10:43:54 UTC
r9-008cln ~ # emerge --info efl
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r6, 4.15.12-ck-zfs x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.12-ck-zfs-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:    16300284 total,    117096 free
KiB Swap:   20971516 total,  20971260 free
Timestamp of repository gentoo: Tue, 27 Mar 2018 06:09:22 +0000
Head commit of repository gentoo: b7825db0bd55a2bec493aa159d3842309b123dde

Head commit of repository eclipse: 80b6b0802f9f65864a7064d7e0812154720423f4

sh bash 4.4_p19
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.10.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

rugubara
    location: /home/anton/devel/rugubara
    masters: gentoo
    priority: 0

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 50

cg
    location: /var/lib/layman/cg
    masters: gentoo
    priority: 50

eclipse
    location: /var/lib/layman/eclipse
    sync-type: git
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

proaudio
    location: /var/lib/layman/pro-audio
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 50

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

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16
c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -fstack-protector-strong"
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"
CXXFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf
16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -fstack-protector-strong"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/etersoft"
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="X a52 aac acl acpi aes alsa amd64 archive avahi avx avx2 bash-completion berkdb bluetooth bluray branding bzip2 cacert cairo cdda cdr cli cloudprint colord crypt cups cxx cycles dbus dhcpcd djvu dri dri3 dts dvd dvdr eds egl emboss encode equalizer evdev evo exif extras faac fam ffmpeg fftw flac fma3 fortran fprint frei0r g711 g722 g7221 gbm gdbm gif gimp gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 http iconv idn ieee1394 introspection ipv6 jack javafx jpeg jpeg2k kms lcms ldap libnotify libsecret linguas_en linguas_ru lv2 lxc mad midi mmx mmxext mng modules mp3 mp4 mpeg mtp multilib native-headset nautilus ncurses networkmanager nls nptl nsplugin nvenc ogg opengl openimageio openmp opus overlay pam pango pcre pdf png policykit popcnt postproc ppds pulseaudio qt3support qt5 rar raw readline realtime samba sdl sdl2 seccomp sendto sftp smp speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification steamruntime svg sync-plugin-portage systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb user-session v4l vaapi vdpau virgl vnc vorbis vpx vulkan wavpack wayland winbind wxwidgets x264 x265 xa xattr xcb xinerama xml xv xvid xvmc 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" APACHE2_MPMS="prefork" 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="multiboot efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" 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="ruby24 ruby22 ruby23 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XFCE_PLUGINS="brightness clock trash battery power" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-libs/efl-1.18.4::gentoo was built with the following:
USE="X bmp drm eet egl fontconfig gif gles gstreamer ico jpeg2k nls png ppm psd pulseaudio raw sound ssl systemd tiff v4l wayland -debug -doc -fbcon -fribidi -glib -gnutls -harfbuzz -ibus -libressl (-neon) -oldlua -opengl -physics (-pixman) -postscript -scim -sdl -tga -tslib -unwind -valgrind -webp -xim -xine -xpm" ABI_X86="(64)"
Comment 3 Joonas Niilola gentoo-dev 2018-03-27 13:53:50 UTC
Your 'fbcon' use flag is enabled with 1.20.7 while it was disabled with 1.18.4. So I presume you dont need it? Try building without fbcon use flag, you should be able to get past that error. 

No idea whats causing it since eglfs seems to be part of efl, 
 https://git.enlightenment.org/core/efl.git/tree/configure.ac
and 'release' seems to be valid build profile as well.
Comment 4 Anton Gubarkov 2018-03-29 08:01:18 UTC
configure completes with USE=-fbcon, but build fails. See https://bugs.gentoo.org/show_bug.cgi?id=651890
Comment 5 Petross404(Petros S) 2018-04-09 14:12:18 UTC
I can confirm that USE="-fbcon" allows the configure to complete.
Comment 6 David Davidson 2018-06-21 03:17:02 UTC
Created attachment 536638 [details, diff]
efl-1.20.7.ebuild.patch

E_ECONF is an array, but when adding "--enable-eglfs" or "--enable xpresent" (additionally, a typo with that option) it's effectively adding it the the "--with-profile=release" element of E_ECONF.

The attached patch fixes appending those options, and the typo with "--enable-xpresent"
Comment 7 Joonas Niilola gentoo-dev 2018-06-21 06:10:43 UTC
(In reply to David Davidson from comment #6)
> Created attachment 536638 [details, diff] [details, diff]
> efl-1.20.7.ebuild.patch
> 
> E_ECONF is an array, but when adding "--enable-eglfs" or "--enable xpresent"
> (additionally, a typo with that option) it's effectively adding it the the
> "--with-profile=release" element of E_ECONF.
> 
> The attached patch fixes appending those options, and the typo with
> "--enable-xpresent"

Nice catch! If you want, you can try to get this merged by making a pull request in Gentoo's github page. I'm afraid they'll ask you to fix few other staging issues as well (bump EAPI, remove enlightenment.eclass etc) so I personally don't want to get involved with that :P

Im in the process of writing an ebuild for efl 1.21 from scratch so its ready when efl-1.21 is released (soon). I will probably end up cleaning ebuild for 1.20.7 as well, but it'll take a while.

I can maybe get your fix merged in a week or two, but as I said, you are free to open a pull request in Github, and I hope it gets accepted asap :)
Comment 8 Larry the Git Cow gentoo-dev 2018-07-07 14:48:13 UTC
The bug has been closed via the following commit(s):

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

commit a7fd9de06cc89d685aa149e92e0adb50e48e10f1
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-07-04 15:43:43 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-07 14:15:46 +0000

    dev-libs/efl: bug fix & EAPI-7 bump for 1.20.7
    
    Closes: https://bugs.gentoo.org/571532
    Closes: https://bugs.gentoo.org/658602
    Closes: https://bugs.gentoo.org/651688
    Thanks to David Davidson for fix in #651688.
    
    Package-Manager: Portage[mgorny]-2.3.36.1
    Closes: https://github.com/gentoo/gentoo/pull/9045

 dev-libs/efl/efl-1.20.7-r1.ebuild | 305 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 305 insertions(+)