Page MenuHomePhabricator

EFL 1.21.0 documentation compilation fails due to missing file
Closed, DuplicatePublic

Description

When attempting to compile this is the result:

Generating widget preview image preview-00.png for widget actionslider
ERR<7479>:elementary lib/elementary/elm_module.c:114 _elm_module_find_as() Failed to load elementary module: 'prefs_iface': No such file or directory

Control-C causes the build to continue, and other similar errors are encountered:

^Cconvert: unable to open image '../doc/html/img/widget/actionslider/preview-00.png': No such file or directory @ error/blob.c/OpenBlob/3375.
convert: no images defined `../doc/latex/img/widget/actionslider/preview-00.eps' @ error/convert.c/ConvertImageCommand/3275.
Generating widget preview image preview-00.png for widget bg
ERR<8096>:elementary lib/elementary/elm_module.c:114 _elm_module_find_as() Failed to load elementary module: 'prefs_iface': No such file or directory

My device:
System: Host: ishtar Kernel: 4.17.10-1-ck x86_64 bits: 64 Desktop: Enlightenment 0.22.99.23231 Distro: Arch Linux

A link to the PKGBUILD used is here.

denkijin created this task.Aug 18 2018, 2:32 AM
denkijin triaged this task as Showstopper Issues priority.
ApB added a subscriber: ApB.Aug 18 2018, 3:49 AM

if you disable the documentation build it will work fine. In case you dont need efl-docs you can use the PKGBUILD below:

# $Id$
# Maintainer: Ronald van Haren 
# Contributor: Enlightenment Developers 

pkgbase=efl
pkgname=('efl')
pkgver=1.21.0
pkgrel=1
pkgdesc="Enlightenment Foundation Libraries"
arch=('i686' 'x86_64')
url="https://www.enlightenment.org"
license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
depends=('bullet' 'libjpeg-turbo' 'gst-plugins-base'
         'luajit' 'curl' 'fribidi' 'libpulse' 'libxcomposite'
         'libxinerama' 'libxrandr' 'libxss' 'libinput'
         'libxcursor' 'libxp' 'libwebp' 'shared-mime-info'
         'libxkbcommon' 'wayland' 'lz4' 'openjpeg2' 'avahi'
         'libspectre' 'libraw' 'librsvg')
optdepends=('python2: einabench-cmp' 'libreoffice: thumbnailing for DOC/PPT/XLS files' 'geoclue2: for elocation')
makedepends=('doxygen' 'python' 'texlive-core' 'ghostscript' 'imagemagick')
options=('!emptydirs' 'debug')
source=(https://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.xz)
sha256sums=('SKIP')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's/env python$/' src/scripts/eina/eina-bench-cmp
  }

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  export CFLAGS="$CFLAGS -fvisibility=hidden"

  ./configure --prefix=/usr \
  --disable-static --disable-tslib --enable-fb \
  --enable-xinput22 --enable-multisense --enable-systemd \
  --enable-image-loader-webp --enable-harfbuzz --enable-wayland \
  --enable-liblz4 --enable-drm --enable-gl-drm --enable-elput --enable-egl --with-opengl=es

  make
  #make -j1 doc || return 0  # don't fail on the docs
  }

package_efl(){
  replaces=('elementary' 'evas_generic_loaders' 'emotion_generic_players')

  cd "${srcdir}/${pkgname}-${pkgver}"
  make -j1 DESTDIR=${pkgdir} install

  # install non-standard license files
  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.SMALL" \
    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.SMALL"
    }

Thanks @ApB, that worked

stefan_schmidt renamed this task from EFL 1.21.0 compilation fails due to missing file to EFL 1.21.0 documentation compilation fails due to missing file.Aug 20 2018, 3:00 AM
stefan_schmidt claimed this task.
stefan_schmidt added a subscriber: stefan_schmidt.

I edited the title to reflect that the doc build is broken and not the normal EFL build.

Thanks for the report on this. I am bisecting right now where this broke and will make sure patches to fix this will be backported and land in a 1.21.1 release.

I digged into this. The missing file error has actually nothing to do with the hang you are seeing. That hang comes from a not finishing operation in the shot engine we use for generating the screenshots for the documentation.

Which makes this bug a duplicate of T7166. I will follow up there for a fix to this.