Summary: | media-gfx/exact-image-0.8.1-r1 with swig-3.0.3-3.0.8 - src_compile(): api/python/../api-swig.hh:25: Error: Unknown SWIG preprocessor directive: manually | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 544102 | ||
Bug Blocks: | 651072 | ||
Attachments: |
build.log
patch for swig-3.0.7 |
Description
Juergen Rose
2014-12-31 12:59:04 UTC
After masking >=dev-lang/swig-3.0.3 'emerge -v1 exact-image' works like a charm'. (In reply to Juergen Rose from comment #1) > After masking >=dev-lang/swig-3.0.3 'emerge -v1 exact-image' works like a > charm'. +1 I've also hit this problem. swig-3.0.3 seems to be at fault here and a bug (or this bug renamed) should pinpoint to this, since other packages are affected as well sci-libs/gdal (see also https://forums.gentoo.org/viewtopic-t-1007890.html?sid=0113987a879408f98c0efd21d6befb0f) media-libs/libgpod sci-chemistry/openbabel-python to name a few. These all emerge/cave fine after masking swig-3.0.3 .. I suggest to rename this bug to "dev-lang/swig-3.0.3 breaks python bindings in various ebuild". How is the state with >=swig-3.0.3? I have still masked >=dev-lang/swig-3.0.3. But now 'emerge -vt --update --newuse --deep --with-bdeps=y --backtrack=30 @world' wants to install dev-lang/swig-3.0.7 apparently as dependency of opal: root@impala:/usr/local/portage/dev-tex(119)# emerge -vt --update --newuse --deep --with-bdeps=y --backtrack=30 @world These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild rR ] app-office/libreoffice-5.0.4.2::gentoo USE="bluetooth branding collada cups dbus eds gltf gnome gstreamer gtk java kde mysql postgres (-aqua) -coinmp -debug (-firebird) -gtk3 -jemalloc -libressl -odk (-telepathy) {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB ... [nomerge ] net-voip/ekiga-4.0.1::gentoo USE="dbus doc eds gnome gstreamer kde ldap libnotify nls pulseaudio shm v4l xv (-aqua) -avahi -debug -gconf -h323 -kontact -static -xcap" CPU_FLAGS_X86="mmx" [nomerge ] net-libs/opal-3.10.11::gentoo USE="doc dtmf examples ffmpeg h323 ipv6 java ldap plugins sip sipim sound ssl swig theora video wav x264 xml -capi -celt -debug -fax -h224 -h281 -iax -ilbc -ivr -ixj -lid -sbc -srtp -static-libs -stats -vpb -vxml -x264-static" [nomerge ] dev-java/java-config-2.2.0:2::gentoo PYTHON_TARGETS="python2_7 python3_4 -python3_3" [nomerge ] sys-apps/portage-2.2.26::gentoo USE="doc (ipc) xattr -build -epydoc (-selinux)" LINGUAS="ru" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5" [ebuild U ] sys-apps/sandbox-2.10-r1::gentoo [2.9::gentoo] USE="(multilib)" 408 KiB [ebuild U #] dev-lang/swig-3.0.7::x-portage [3.0.2::x-portage] USE="doc pcre -ccache" 5,785 KiB ... [nomerge ] sci-visualization/ggobi-2.1.11::x-portage USE="doc nls -minimal" [nomerge ] media-gfx/graphviz-2.38.0-r1::gentoo USE="X cairo doc examples gtk guile java nls pdf perl postscript python qt4 svg tcl -devil -gdk-pixbuf -gts -lasi -ruby -static-libs" PYTHON_TARGETS="python2_7" [ebuild NS ] dev-lang/swig-1.3.40-r2:1::x-portage [3.0.2:0::x-portage] USE="doc -ccache" 4,777 KiB ... The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by media-gfx/freecad-0.15.4671::gentoo ... ## exact-image-0.8.1-r1 fails with >= 3.0.3 =dev-lang/swig-3.0.7 If I remove the mask for >=swig-3.0.3, 'emerge world' works again. At https://blueprints.launchpad.net/ubuntu/+source/exactimage/+changelog there is patch to enable the compiling of exact-image with swig-3.0.7. I modified this patch a little bit for gentoo. Created attachment 420698 [details]
patch for swig-3.0.7
*** Bug 544458 has been marked as a duplicate of this bug. *** exact-image-0.8.1-r2 fails with the same error. (In reply to Juergen Rose from comment #7) > exact-image-0.8.1-r2 fails with the same error. Patch of comment 5 works for exact-image-0.8.1-r2 as well. python support has been removed |