Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684520 - x11-wm/enlightenment-0.22.4 - ../enlightenment-0.22.4/src/bin/e_comp_wl.c:2174:45: error: ‘EFL_EVENT_ANIMATOR_TICK’ undeclared (first use in this function); did you mean ‘EFL_EVENT_POINTER_IN’?
Summary: x11-wm/enlightenment-0.22.4 - ../enlightenment-0.22.4/src/bin/e_comp_wl.c:217...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-04-27 18:30 UTC by Nabucho
Modified: 2019-05-08 17:04 UTC (History)
1 user (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 Nabucho 2019-04-27 18:30:49 UTC
Fresh install with the WAYLAND use failed during the build process.

FAILED: src/bin/3a6e061@@enlightenment@exe/e_comp_wl.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/bin/3a6e061@@enlightenment@exe -Isrc/bin -I../enlightenment-0.22.4/src/bin -I../enlightenment-0.22.4/src/bin/efx -Isrc/bin/generated -I../enlightenment-0.22.4/src/bin/generated -Isrc/bin/../.. -I../enlightenment-0.22.4/src/bin/../.. -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/include/eet-1 -I/usr/include/emile-1 -I/usr/include/eeze-1 -I/usr/include/ecore-file-1 -I/usr/include/ecore-con-1 -I/usr/include/ecore-1 -I/usr/include/eo-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ecore-ipc-1 -I/usr/include/ecore-input-1 -I/usr/include/ecore-input-evas-1 -I/usr/include/evas-1 -I/usr/include/evas-1/canvas -I/usr/include/freetype2 -I/usr/include/efreet-1 -I/usr/include/eio-1 -I/usr/include/eldbus-1 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/emotion-1 -I/usr/include/elementary-1 -I/usr/include/ecore-wl2-1 -I/usr/include/ecore-drm2-1 -I/usr/include/elput-1 -I/usr/include/ecore-x-1 -I/usr/include/elocation-1 -I/usr/include/ethumb-client-1 -I/usr/include/ethumb-1 -I/usr/include/edje-1 -I/usr/include/embryo-1 -I/usr/include/ecore-imf-evas-1 -I/usr/include/ecore-imf-1 -I/usr/include/ecore-evas-1 -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -DHAVE_CONFIG_H=1 -Wall -W -Wpointer-arith -Wshadow -Wno-missing-field-initializers -Wfloat-equal -Wuninitialized -Wundef -Wcast-align -Wformat=2 -Wno-format-y2k '-DPACKAGE_BIN_DIR="/usr/bin"' '-DPACKAGE_LIB_DIR="/usr/lib64"' '-DPACKAGE_DATA_DIR="/usr/share/enlightenment"' '-DPACKAGE_SYSCONF_DIR="/etc"' -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 -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt -DE_LOGGING=1 -MD -MQ 'src/bin/3a6e061@@enlightenment@exe/e_comp_wl.c.o' -MF 'src/bin/3a6e061@@enlightenment@exe/e_comp_wl.c.o.d' -o 'src/bin/3a6e061@@enlightenment@exe/e_comp_wl.c.o' -c ../enlightenment-0.22.4/src/bin/e_comp_wl.c
../enlightenment-0.22.4/src/bin/e_comp_wl.c: In function ‘_cb_early_frame_cb’:
../enlightenment-0.22.4/src/bin/e_comp_wl.c:2174:45: error: ‘EFL_EVENT_ANIMATOR_TICK’ undeclared (first use in this function); did you mean ‘EFL_EVENT_POINTER_IN’?
        efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             EFL_EVENT_POINTER_IN
../enlightenment-0.22.4/src/bin/e_comp_wl.c:2174:45: note: each undeclared identifier is reported only once for each function it appears in
../enlightenment-0.22.4/src/bin/e_comp_wl.c: In function ‘_e_comp_wl_surface_early_frame’:
../enlightenment-0.22.4/src/bin/e_comp_wl.c:2184:46: error: ‘EFL_EVENT_ANIMATOR_TICK’ undeclared (first use in this function); did you mean ‘EFL_EVENT_POINTER_IN’?
         efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
                                              ^~~~~~~~~~~~~~~~~~~~~~~
                                              EFL_EVENT_POINTER_IN
../enlightenment-0.22.4/src/bin/e_comp_wl.c: In function ‘_e_comp_wl_client_cb_del’:
../enlightenment-0.22.4/src/bin/e_comp_wl.c:2568:41: error: ‘EFL_EVENT_ANIMATOR_TICK’ undeclared (first use in this function); did you mean ‘EFL_EVENT_POINTER_IN’?
    efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
                                         ^~~~~~~~~~~~~~~~~~~~~~~
                                         EFL_EVENT_POINTER_IN
[212/641] x86_64-pc-linux-gnu-gcc  -o src/bin/enlightenment_filemanager 'src/bin/3a6e061@@enlightenment_filemanager@exe/e_fm_cmdline.c.o' -Wl,--no-undefined -Wl,--as-needed -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 -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libeina.so -lpthread /usr/lib64/libecore.so /usr/lib64/libefl.so /usr/lib64/libecore_file.so /usr/lib64/libeldbus.so /usr/lib64/libefreet.so -Wl,--end-group 


Does any one know how to compil it ?


======= EMERGE INFO
Portage 2.3.64 (python 3.7.3-final-0, default/linux/amd64/17.1/no-multilib, gcc-8.3.0, glibc-2.29-r2, 4.20.1-AntOS x86_64)
=================================================================
System uname: Linux-4.20.1-AntOS-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16358564 total,   2773568 free
KiB Swap:   16383996 total,  16383484 free
Timestamp of repository gentoo: Fri, 26 Apr 2019 17:45:01 +0000
Head commit of repository gentoo: f749843d9b856f9686d37e6cd6cd6ee7920af3d4
sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p3-r1::gentoo
dev-lang/perl:            5.28.2::gentoo
dev-lang/python:          2.7.16::gentoo, 3.7.3::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/antos/portage
    sync-type: rsync
    sync-uri: ssh://xxx.xxx.frxxxdata/portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: -e "ssh -l xxx"
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

extra-antos
    location: /var/antos/extra/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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 -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-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 -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt"
DISTDIR="/var/antos/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 buildpkg 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en"
MAKEOPTS="-j9"
PKGDIR="/var/antos/packages"
PORTAGE_BINHOST="https://xxx.xxx.xxx/haswell/all https://xxx.xxx.xxx/haswell/core"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-e "ssh -l xxx""
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="/tmp"
USE="X acl amd64 apng berkdb bzip2 cairo caps cli crypt cxx dbus dga dri dri3 egl eglfs evdev exif gbm gdbm gif gles2 gmp gphoto2 graphicsmagick gtk iconv imlib ithreads jpeg lcms libkms libtirpc logrotate minizip mktemp mpfr mtp ncurses nftables nls nptl numa opengl openmp pam pcre pcre16 pcre32 perl png qt5 raw readline seccomp smp ssl startup-notification svg tcpd threads tiff truetype udev unicode vaapi vdpau wayland wmf xa xattr xcb xdg xinerama xkb xlib-xcb xpm xrandr 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard libinput mouse evdev synaptics" KERNEL="linux" L10N="fr en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="vesa fbdev" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


The EFL package is :
Calculating dependencies... done!
[ebuild   R    ] dev-libs/efl-1.22.1::gentoo  USE="X bmp drm eet fontconfig gif gles2 ico nls ppm psd raw ssl svg system-lz4 tiff wayland xpm -connman -dds -debug -elogind -examples -fbcon -fribidi -glib -gnutls -gstreamer -harfbuzz -hyphen -ibus -jpeg2k -libressl -libuv -luajit (-neon) -opengl -pdf -physics -postscript -pulseaudio -scim -sdl -sound -static-libs -systemd -tga -tslib -unwind -v4l -valgrind -vlc -vnc -webp -xcf -xim -xine -xpresent -zeroconf" 0 KiB
[ebuild  N     ] x11-wm/enlightenment-0.22.4:0.17/0.22.4::gentoo  USE="nls pam wayland -acpi -bluetooth -connman -doc -geolocation (-packagekit) -systemd -udisks -wifi" 0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 1 Joonas Niilola gentoo-dev 2019-04-28 06:12:05 UTC
Oh, yes.

Efl-1.22 broke wayland support for <enlightenment-0.22.5. It's an upstream issue and new enlightenment should be released soonish. I've been waiting for it and didn't want to touch old ebuilds for this since processing PRs takes a lot of time nowadays, and I don't know if I can touch the stable ebuild. I was hoping new enlightenment would be released already...

So fast-fix: use efl-1.21.
Or wait for new enlightenment, which hopefully is released SOON :)

Sorry about this.
Comment 2 Nabucho 2019-04-28 06:48:12 UTC
Hello Joonas,

First of all, Thanks for your quick repply... And don't be sorry for that ;)


Ok I will use the previous ebuild to finish my fresh install today and I will wait the new release :)

Tanks again :)

David

(In reply to Joonas Niilola from comment #1)
> Oh, yes.
> 
> Efl-1.22 broke wayland support for <enlightenment-0.22.5. It's an upstream
> issue and new enlightenment should be released soonish. I've been waiting
> for it and didn't want to touch old ebuilds for this since processing PRs
> takes a lot of time nowadays, and I don't know if I can touch the stable
> ebuild. I was hoping new enlightenment would be released already...
> 
> So fast-fix: use efl-1.21.
> Or wait for new enlightenment, which hopefully is released SOON :)
> 
> Sorry about this.
Comment 3 Joonas Niilola gentoo-dev 2019-04-28 09:53:55 UTC
Actually thanks for opening my eyes to a possibility where people might have e-0.22.4[wayland] installed, then they upgrade to efl-1.22 and I suspect it'll cause some problems. 

If/when the linked PR gets merged, everything should work as intended without any package.mask shenanigans, and enlightenment update will clear the restriction allowing efl-1.22 to be used with wayland :)

TLDR: When this bug gets closed, everyone should clear their possible package.* entries and wait for regular world update.
Comment 4 Larry the Git Cow gentoo-dev 2019-05-08 17:04:36 UTC
The bug has been closed via the following commit(s):

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

commit 96945f261af856453c4d48d49c683f1294e3afec
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2019-04-28 16:15:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-05-08 16:59:35 +0000

    x11-wm/enlightenment: make wayland work with 0.22.4
    
    - added a new USE flag for XWayland support,
    - added a patch for wayland with efl-1.22,
    - bumped EAPI to 7,
    - restored KEYWORDS from enlightenment-0.22.3.
    
    Closes: https://bugs.gentoo.org/684520
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Joonas Niilola <juippis@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/11846
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../enlightenment/enlightenment-0.22.4-r1.ebuild   | 102 +++++++++++++++++++++
 .../enlightenment-0.22.4-efl-1.22-wayland.patch    |  65 +++++++++++++
 x11-wm/enlightenment/metadata.xml                  |   1 +
 3 files changed, 168 insertions(+)