You are not logged in.

#1 2015-06-27 10:06:15

89c51
Member
Registered: 2012-06-05
Posts: 741

[SOLVED] Enlightenment Wayland Git build failure.

/usr/bin/ld: src/bin/src_bin_enlightenment-e_hints.o: undefined reference to symbol 'ECORE_X_ATOM_NET_WM_STATE_HIDDEN'
/usr/lib/libecore_x.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:8676: recipe for target 'src/bin/enlightenment' failed
make[2]: *** [src/bin/enlightenment] Error 1
make[2]: Leaving directory '/home/erro/builds/enlightenment-wayland-git/src/enlightenment'
Makefile:15157: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/erro/builds/enlightenment-wayland-git/src/enlightenment'
Makefile:4670: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I tried to add xwayland to the PKGBUILD but probably thats not the problem. Does this look like an upstream thing?


Edit
Solved by Upstream but xwayland support needs to be added in the PKGBUILD. Got into trouble when i did it so its up to our resident enlightenment experts to fix this.

Last edited by 89c51 (2015-07-01 06:23:35)

Offline

#2 2015-07-08 18:24:07

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED] Enlightenment Wayland Git build failure.

The PKGBUILD with xwayland support in case someone wants to build it (and until Scimmia uploads it on AUR).

Edit:Update to include the shot module which finaly works on WL.

# Maintainer: Doug Newgard <scimmia at archlinux dot info>
# Contributor: Ronald van Haren <ronald.archlinux.org>

_pkgname=enlightenment
pkgname=$_pkgname-wayland-git
pkgver=0.19.99.20187.31f6c5b
pkgrel=1
pkgdesc="Highly expermimental Enlightenment window manager for Wayland - Development version"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('BSD')
depends=('elementary-git' 'xcb-util-keysyms' 'hicolor-icon-theme'
         'desktop-file-utils' 'udisks2' 'ttf-font' 'mesa' 'xorg-server-xwayland')
  [[ ! $(pacman -T bluez-libs) ]] && depends+=('bluez-libs') #l2ping support in enlightenment_sys is detected at build time
makedepends=('git')
optdepends=('acpid: power events on laptop lid close'
            'bc: calculator in everything module'
            'bluez4: bluetooth module'
            'connman: network module'
            'gdb: create backtraces on crash'
            'packagekit: packagekit module')
options=('debug')
install=enlightenment.install
source=("git://git.enlightenment.org/core/$_pkgname.git"
        "enlightenment_start_wayland")
sha256sums=('SKIP'
            '87a2a6f68d91b73e3c838f11b09a1156cd4e2525a6e00a53af30cc7638ae7311')
 
pkgver() {
  cd "$srcdir/$_pkgname"

  for _i in v_maj v_min v_mic; do
    local v_ver=${v_ver#.}.$(grep -m1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
  done

  v_ver=$(awk -F , -v v_ver=$v_ver '/^AC_INIT/ {gsub(/v_ver/, v_ver); gsub(/[\[\] -]/, ""); print $2}' configure.ac)
 
  printf "$v_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname"
 
  export CFLAGS="$CFLAGS -fvisibility=hidden"
 
  ./autogen.sh \
    --prefix=/opt/enlightenment-wayland \
    --enable-wl-drm \
    --enable-wayland \
    --enable-xwayland \
    --disable-xkbswitch \
    --disable-conf-randr \
    --disable-wl-x11
 
  make
}
 
package() {
  cd "$srcdir/$_pkgname"
 
  make DESTDIR="$pkgdir" install
 
  rm -r "$pkgdir/usr"
 
# install run script
  install -Dm755 "$srcdir/enlightenment_start_wayland" "$pkgdir/usr/bin/enlightenment_start_wayland"
 

Last edited by 89c51 (2015-07-10 07:16:28)

Offline

Board footer

Powered by FluxBB