Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593094 - media-gfx/enblend-4.1.3-r1 (with vigra-1.11.0) - /usr/include/vigra/stdconvolution.hxx:1170:19: error: ‘iter’ does not name a typ
Summary: media-gfx/enblend-4.1.3-r1 (with vigra-1.11.0) - /usr/include/vigra/stdconvol...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-08 09:26 UTC by Juergen Rose
Modified: 2022-05-10 19:41 UTC (History)
21 users (show)

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


Attachments
build.log (build.log,26.59 KB, text/x-log)
2016-09-08 09:26 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2016-09-08 09:26:39 UTC
Created attachment 445200 [details]
build.log

'MAKEOPTS=-j1 emerge -v1 enblend' fails with:
...

cd /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-4.1.3_build/src && /usr/bin/x86_64-pc-linux-gnu-g++  -DHAVE_BOOST_FILESYSTEM -DHAVE_CONFIG_H -DHasEXR -DHasJPEG -DHasPNG -DHasTIFF -I/var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-4.1.3_build -I/usr/include/OpenEXR -I/var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/include -I/var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src -I/var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/layer_selection -I/var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-4.1.3_build/src   -march=native -O2 -pipe    -ffast-math -DNDEBUG -Wall   -fopenmp -o CMakeFiles/enblend.dir/enblend.cc.o -c /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/enblend.cc
In file included from /usr/include/vigra/convolution.hxx:41:0,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/openmp.h:34,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/enblend.h:39,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/enblend.cc:179:
/usr/include/vigra/stdconvolution.hxx: In member function ‘vigra::Kernel2D<ARITHTYPE>& vigra::Kernel2D<ARITHTYPE>::initExplicitly(const vigra::BasicImage<ARITHTYPE>&)’:
/usr/include/vigra/stdconvolution.hxx:1170:19: error: ‘iter’ does not name a type
         for (auto iter = image.begin(); iter != image.end(); ++iter)
                   ^
/usr/include/vigra/stdconvolution.hxx:1170:41: error: expected ‘;’ before ‘iter’
         for (auto iter = image.begin(); iter != image.end(); ++iter)
                                         ^
/usr/include/vigra/stdconvolution.hxx:1170:41: error: ‘iter’ was not declared in this scope
In file included from /usr/include/vigra/resizeimage.hxx:47:0,
                 from /usr/include/vigra/stdimagefunctions.hxx:74,
                 from /usr/include/vigra/nonlineardiffusion.hxx:41,
                 from /usr/include/vigra/convolution.hxx:44,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/openmp.h:34,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/enblend.h:39,
                 from /var/tmp/portage/media-gfx/enblend-4.1.3-r1/work/enblend-enfuse-4.1.3/src/enblend.cc:179:
/usr/include/vigra/splines.hxx: At global scope:
/usr/include/vigra/splines.hxx:93:20: error: ‘ORDER’ is not a type
     static_assert (ORDER < 18 , "BSpline: ORDER must be less than 18." );
                    ^





root@condor:/usr/local/portage/x11-misc(47)# emerge --info '=media-gfx/enblend-4.1.3-r1::gentoo'
Portage 2.3.0 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.7.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.2-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.3
KiB Mem:     7068408 total,   1543720 free
KiB Swap:   25173848 total,  24456308 free
Timestamp of repository gentoo: Thu, 08 Sep 2016 04:00:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12-r100::sage-on-gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.6.1-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage_condor
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 1

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo science
    priority: 50

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

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

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

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile aufs automap automount barcode bash-completion berkdb blas blast bluetooth bluray boost branding btrfs bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cilk cli cmake collada consolekit contrib cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia digitalradio djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam fbcon fbcondecor ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate lirc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencl opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qml qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht theora thesaurus threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video vim-syntax virt-network virtualbox visio vorbis vpx vtk wav wayland webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xetex xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="nss" DVB_CARDS="tda10045 tda10046lifeview" 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" L10N="de en fr ru" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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, USE_PYTHON

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

media-gfx/enblend-4.1.3-r1::gentoo was built with the following:
USE="doc openmp -debug -gpu -image-cache" ABI_X86="64"





root@condor:/usr/local/portage/x11-misc(48)# emerge -pqv '=media-gfx/enblend-4.1.3-r1::gentoo'
[ebuild   R   ] media-gfx/enblend-4.1.3-r1  USE="doc openmp -debug -gpu -image-cache"
Comment 1 Kobboi 2016-09-08 14:54:04 UTC
Yup
Comment 2 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-08 16:42:56 UTC
This is due to mixed ABIs. Vigra tries to compile c++11 and enblend uses '98. Version 4.2 is supposed to compile cleanly with the new version of Vigra, but that is not in the tree.
Comment 3 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-08 17:54:51 UTC
You can get a very hackish ebuild for enblend 4.2 here:
https://bugs.gentoo.org/show_bug.cgi?id=577512

Read my post for it. It's late and tired and not happy (:P), so I will pay more attention to the ebuild later. Unless the Graphics Project beats me to it, I will polish it up a bit more. :) It's a starting point if anyone wants a crack at it.

-Drac
Comment 4 Wojciech Myrda 2016-09-09 06:49:50 UTC
@Jon I tried your ebuild and besides it being "hackish" it fails to use "doc" as configure option which in fact means one would have to have latex installed on the system else it fails to pass configure process
Comment 5 Silvio 2016-09-10 07:58:16 UTC
here too.
Comment 6 Martin von Gagern 2016-09-11 20:13:12 UTC
Would it make sense to add a blocker for the time being, to ensure people don't upgrade vigra before enblend has caught up if they want both installed? Or are there any plans to make enblend 4.1.3 work with vigra 1.11.0? Apparently a simple switch to CXXFLAGS="-std=c++11" isn't enough, since it will complain about ambiguity in some overloaded assignment operator.
Comment 7 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-12 11:40:03 UTC
(In reply to Wojciech Myrda from comment #4)
> @Jon I tried your ebuild and besides it being "hackish" it fails to use
> "doc" as configure option which in fact means one would have to have latex
> installed on the system else it fails to pass configure process

The configure system is set to autodetect latex and friends, but not fail to configure, it just won't build docs. If it is the case that it fails, then I'll need to report upstream.
Comment 8 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-12 15:27:58 UTC
Hope this ebuild works better:
https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend
Comment 9 Bernd Feige 2016-09-13 07:40:54 UTC
(In reply to Jon from comment #8)
> Hope this ebuild works better:
> https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

In fact, works like a charm here!
Thanks and best regards,
Bernd
Comment 10 Juergen Rose 2016-09-13 13:37:09 UTC
(In reply to Jon from comment #8)
> Hope this ebuild works better:
> https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

It fails here with ACCESS VIOLATION:

make[2]: Entering directory '/var/tmp/portage/media-gfx/enblend-4.2/work/enblend-enfuse-4.2'
make[2]: Leaving directory '/var/tmp/portage/media-gfx/enblend-4.2/work/enblend-enfuse-4.2'
make[1]: Leaving directory '/var/tmp/portage/media-gfx/enblend-4.2/work/enblend-enfuse-4.2'
>>> Source compiled.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-4169.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: /usr/bin/convert png:- -transparent white -resize 16% external-mask-workflow.png 

....
Comment 11 Juergen Rose 2016-09-13 13:59:12 UTC
'USE=-doc MAKEOPTS=-j1 emerge -v1 enblend' works.
Comment 12 Juergen Rose 2016-09-13 14:21:24 UTC
If I compile imagemagick-6.9.5.9 without the opencl USE flag, I can subsequently emerge enblend with the doc USE flag.
Comment 13 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-13 15:17:36 UTC
(In reply to Juergen Rose from comment #12)
> If I compile imagemagick-6.9.5.9 without the opencl USE flag, I can
> subsequently emerge enblend with the doc USE flag.

Can you do ls /usr/share/doc/enblend-enfuse
to see if there's anything there, or is there just a /usr/share/doc/enblend-4.2 folder?

I don't have opencl as a use flag for imagemagick, which is why I never got that error. Thanks for reporting. I may need to add another override.
Comment 14 Juergen Rose 2016-09-13 15:37:57 UTC
(In reply to Jon from comment #13)
> (In reply to Juergen Rose from comment #12)
> > If I compile imagemagick-6.9.5.9 without the opencl USE flag, I can
> > subsequently emerge enblend with the doc USE flag.
> 
> Can you do ls /usr/share/doc/enblend-enfuse
> to see if there's anything there, or is there just a
> /usr/share/doc/enblend-4.2 folder?
> 
> I don't have opencl as a use flag for imagemagick, which is why I never got
> that error. Thanks for reporting. I may need to add another override.

I have only a /usr/share/doc/enblend-4.2 folder:

root@lynx:/root(2)# ll -d /usr/share/doc/enblend*
drwxr-xr-x 3 root root 4096 Sep 13 16:15 /usr/share/doc/enblend-4.2/
Comment 15 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-13 16:27:28 UTC
(In reply to Juergen Rose from comment #14)
> (In reply to Jon from comment #13)
> > (In reply to Juergen Rose from comment #12)
> > > If I compile imagemagick-6.9.5.9 without the opencl USE flag, I can
> > > subsequently emerge enblend with the doc USE flag.
> > 
> > Can you do ls /usr/share/doc/enblend-enfuse
> > to see if there's anything there, or is there just a
> > /usr/share/doc/enblend-4.2 folder?
> > 
> > I don't have opencl as a use flag for imagemagick, which is why I never got
> > that error. Thanks for reporting. I may need to add another override.
> 
> I have only a /usr/share/doc/enblend-4.2 folder:
> 
> root@lynx:/root(2)# ll -d /usr/share/doc/enblend*
> drwxr-xr-x 3 root root 4096 Sep 13 16:15 /usr/share/doc/enblend-4.2/

Damn. I had it working to install the docs. I did a change and it stopped. :S I'll need to look into that.
Comment 16 Silvio 2016-09-24 08:10:38 UTC
(In reply to Jon from comment #8)
> Hope this ebuild works better:
> https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

For me no problem with this ebuild 4.2

# eix enblend
[I] media-gfx/enblend
     Available versions:  4.1.3-r1 [m]4.1.3-r1[1] 4.2[2] {debug doc gpu image-cache openmp tcmalloc}
     Installed versions:  4.2[2](10:04:37 24/09/2016)(openmp -debug -doc -image-cache -tcmalloc)
     Homepage:            http://enblend.sourceforge.net/
     Description:         Image Blending with Multiresolution Splines

[1] "maekke" /var/lib/layman/maekke
[2] "manual" /usr/portage/local/manual
Comment 17 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-24 11:28:27 UTC
I updated the ebuild to 4.2.1 pre since it has loads of fixes. I added in new use flags. html and pdf are for building those type of docs. sse2 adds in SIMD optimizations. There's loads of added depends for docs, so doc building should work well.

You can find them here:
https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend
Comment 18 Alexis Lahouze 2016-09-25 11:52:58 UTC
(In reply to Jon from comment #17)
> I updated the ebuild to 4.2.1 pre since it has loads of fixes. I added in
> new use flags. html and pdf are for building those type of docs. sse2 adds
> in SIMD optimizations. There's loads of added depends for docs, so doc
> building should work well.
> 
> You can find them here:
> https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

Hi,

I had the compiling bug, and this ebuild solved the issue. Thank you very mutch!
Comment 19 Denis Sokolovsky 2016-09-27 00:59:03 UTC
With enblend-4.2.1_pre20160706[pdf,doc] I got error:

Can't locate Readonly.pm in @INC (you may need to install the Readonly module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
CMake Error at CMakeLists.txt:416 (message):
  Checking for perl module Readonly - failed

-- Configuring incomplete, errors occurred!

After I installed it manually I got

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 2+293/600 --dpi 1493 cmbcsc10
 * ACCESS DENIED:  mkdir:        /var/cache/fonts/pk
mkdir: cannot create directory ‘././var/cache/fonts/pk’: Permission denied
mktexpk: /usr/share/texmf-dist/web2c/mktexdir /var/cache/fonts/pk/ljfour/public/cm failed.
kpathsea: Appending font creation commands to missfont.log.
...
!pdfTeX error: /usr/bin/pdflatex (file cmbcsc10): Font cmbcsc10 at 1493 not fou
nd
 ==> Fatal error occurred, no output PDF file produced!
CMake Error at createdvi.cmake:83 (message):
  latex failed: 1

"Access denied" generated by sandbox.
Comment 20 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-08 10:34:38 UTC
I update the enblend pre ebuild to the latest source. I also added in a compile fix for the access denied error for build docs.

@Denis Sokolovsky, could you try this new ebuild to see if docs build for you now?
https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

Cheers
Comment 21 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-08 13:28:50 UTC
Update: I was requested to submit the 4.2 version in a PR:
https://github.com/gentoo/gentoo/pull/2510

It will be named 4.2.0_p20161007
Comment 22 David Seifert gentoo-dev 2016-10-08 17:06:21 UTC
commit 7868cf824003c710cbf58cd04d316765e7ce9a02
Author: Jonathan Scruggs <j.scruggs@gmail.com>
Date:   Sat Oct 8 14:12:14 2016 +0100

    media-gfx/enblend: Bump version to 4.2.0_p20161007
    
    Gentoo-bug: 577512, 593094, 595630
    
    The 4.2.0 release has missing CMake files, thus doesn't build, and
    there are general runtime bugs. This patch is from upstream that
    fixes all these issues.
    
    * Added more depends for document building
    * Added fix for document fonts access violation
    * Changed to EAPI 6
    * Added SIMD use flag
    * General ebuild tidy ups
    * Depend on Boost version >=1.62 (due to C++11/14)
Comment 23 . 2016-10-24 17:43:08 UTC
still not fixed, media-gfx/enblend-4.1.3 has to limit the required version of vigra to 1.9.0
Comment 24 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-24 18:21:30 UTC
(In reply to Jan Chren (rindeal) from comment #23)
> still not fixed, media-gfx/enblend-4.1.3 has to limit the required version
> of vigra to 1.9.0

The enblend 4.1.x series does not support higher versions of vigra at all. It's an upstream thing. Support for newer versions of vigra was added in the 4.2.x series which is now in portage. You should use v4.2.0_p20161007.

Hope that clears it up a bit. :)
Comment 25 . 2016-10-25 17:09:06 UTC
(In reply to Jon from comment #24)
> The enblend 4.1.x series does not support higher versions of vigra at all.
> It's an upstream thing. Support for newer versions of vigra was added in the
> 4.2.x series which is now in portage. You should use v4.2.0_p20161007.
> 
> Hope that clears it up a bit. :)

Let me clear it up for you.

```
RDEPEND="
  >=media-libs/vigra-1.8.0[openexr]
  <=media-libs/vigra-1.9.0
"
```

is what I'm asking for.

v4.2.0_p20161007 is a no go because of the boost dependency.