make[4]: Leaving directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3/bindings/mono' make[3]: Leaving directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3/bindings/mono' Making all in python make[3]: Entering directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3/bindings/python' cat gpod_doc.i.in > gpod_doc.i if test -x "`which xsltproc 2>/dev/null`"; then \ for xml in ../../docs/reference/xml/*.xml; do \ xsltproc ./gtkdoc-to-swig.xsl $xml; \ done >> gpod_doc.i; \ fi warning: failed to load external entity "../../docs/reference/xml/*.xml" unable to parse ../../docs/reference/xml/*.xml Makefile:1009: recipe for target 'gpod_doc.i' failed make[3]: [gpod_doc.i] Error 6 (ignored) /usr/bin/swig -python -o gpod.py gpod.i gpod.i:301: Error: Unknown SWIG preprocessor directive: be (if this is a block of target language code, delimit it with %{ and %}) gpod.i:302: Error: Unknown SWIG preprocessor directive: layer (if this is a block of target language code, delimit it with %{ and %}) gpod.i:303: Error: Unknown SWIG preprocessor directive: them (if this is a block of target language code, delimit it with %{ and %}) Makefile:1020: recipe for target 'gpod.py' failed make[3]: *** [gpod.py] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3/bindings/python' Makefile:432: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3/bindings' Makefile:557: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3' Makefile:465: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: media-libs/libgpod-0.8.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/libgpod-0.8.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/libgpod-0.8.3::gentoo'`. * The complete build log is located at '/var/log/portage/media-libs:libgpod-0.8.3:20150127-035740.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libgpod-0.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libgpod-0.8.3/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3' * S: '/var/tmp/portage/media-libs/libgpod-0.8.3/work/libgpod-0.8.3' * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: app-accessibility/speech-tools-2.1-r3 * - /usr/lib64/libeststring.so.1.2 * used by /usr/bin/audsp (app-accessibility/festival-2.1-r1) * used by /usr/bin/festival (app-accessibility/festival-2.1-r1) * used by /usr/share/festival/etc/unknown_GentooLinux/audsp (app-accessibility/festival-2.1-r1) * - /usr/lib64/libestbase.so.2.1.1 * used by /usr/bin/audsp (app-accessibility/festival-2.1-r1) * used by /usr/bin/festival (app-accessibility/festival-2.1-r1) * used by /usr/share/festival/etc/unknown_GentooLinux/audsp (app-accessibility/festival-2.1-r1) * - /usr/lib64/libestools.so.2.1.1 * used by /usr/bin/festival (app-accessibility/festival-2.1-r1) >>> package: net-libs/zeromq-2.2.0 * - /usr/lib64/libzmq.so.3 * - /usr/lib64/libzmq.so.3.1.0 * used by /usr/lib64/python2.7/site-packages/zmq/backend/cython/_device.so (dev-python/pyzmq-14.4.1) * used by /usr/lib64/python2.7/site-packages/zmq/backend/cython/_poll.so (dev-python/pyzmq-14.4.1) * used by /usr/lib64/python2.7/site-packages/zmq/backend/cython/_version.so (dev-python/pyzmq-14.4.1) * used by 15 other files Use emerge @preserved-rebuild to rebuild packages using these libraries * IMPORTANT: 4 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. ! ! ! This is a build bot chroot located at a hardened amd64 host ! ! ! Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r1, 3.18.3-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.18.3-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 16166860 total, 961556 free KiB Swap: 16777212 total, 16745996 free Timestamp of tree: Mon, 26 Jan 2015 23:15:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r1 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.2 dev-util/cmake: 3.1.0 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.9.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.5 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.18 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --deep --jobs 1" 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mbox mmx modules multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON The build log is stored in /var/log/portage/_emerge_20150127-045826.log The chroot image is amd64-unstable
Created attachment 396450 [details] build.log same problem here. my emerge --info Portage 2.2.17 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r1, 3.18.6-gentoo x86_64) ================================================================= System uname: Linux-3.18.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 16344728 total, 10792292 free KiB Swap: 17825788 total, 17825788 free Timestamp of repository gentoo: Sat, 14 Feb 2015 08:45:01 +0000 sh bash 4.3_p33-r1 ld ld di GNU (GNU Binutils) 2.24 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.2.1 [disabled] app-shells/bash: 4.3_p33-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.1-r4::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo dev-util/ccache: 3.2.1-r1::gentoo dev-util/cmake: 3.0.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.9::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo, 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.5::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 manual location: /usr/portage/local/manual masters: gentoo priority: 0 bibletime location: /var/lib/layman/bibletime masters: gentoo priority: 1 amielke-overlay location: /var/lib/layman/amielke-overlay masters: gentoo priority: 50 belak location: /var/lib/layman/belak masters: gentoo priority: 50 betagarden location: /var/lib/layman/betagarden masters: gentoo priority: 50 gamerlay location: /var/lib/layman/gamerlay masters: gentoo priority: 50 luman location: /var/lib/layman/luman masters: gentoo priority: 50 maekke location: /var/lib/layman/maekke masters: gentoo priority: 50 maggu2810-overlay location: /var/lib/layman/maggu2810-overlay masters: gentoo priority: 50 nikai location: /var/lib/layman/nikai masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 pinkbyte location: /var/lib/layman/pinkbyte masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 vortex location: /var/lib/layman/vortex masters: gentoo priority: 50 voyageur location: /var/lib/layman/voyageur masters: gentoo priority: 50 yarik-overlay location: /var/lib/layman/yarik-overlay masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="${CONFIG_PROTECT} /etc /etc/idea/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /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/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 -fomit-frame-pointer" 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ rsync://rsync3.it.gentoo.org/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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" PORTAGE_TMPDIR="/var/tmp" USE="3ds 64bit X a52 aac aacplus aacs aalib acl acpi ads aften aiglx akode alias alsa amd64 amr ao apache apm apng asyncns audiofile autoreplace autotrace avahi avi bash-completion berkdb bidi bitmap-fonts bluetooth bluray bmp branding browserplugin bzip bzip2 cairo caps cdaudio cdda cddb cdr cli clucene connectionstatus consolekit contactnotes cracklib crypt cuda cups cvd cvs cxx dbus declarative dia dialup dirac djvu dri dtmf dts dv dvb dvd dvdr dvdread dvi dxva2 dynamicplugin ebook efi emboss encode ethereal exif faac faad fam farstream fat fdk ffmpeg firefox flac fluidsynth fontconfig foomaticdb fortran freetds frei0r fribidi g726 g729 gbm gdbm geolocation gif gimp git glamor gles gles2 glib glitz gme gphoto2 gpm gps gpu groupwise gstreamer gtk gtk3 h323 highlight history hvm i8x0 iconv icu ieee1394 ilbc imagemagick innodb ios iphone ipod ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kate kde kdenlive kdepim kerberos kipi kontact kqemu lame laptop lcms ldap libass libkms libnotify lm_sensors lucene m4a mad marble mbrola mdb mdnsresponder-compat mercurial midi mime minizip mmx mmxext mng modules moonlight mozilla mp3 mp4 mpeg mpeg2 mplayer msn mssql multilib musepack musicbrainz ncurses netmeeting nls nowlistening npt1 nptl nptlonly nsplugin ntfs nvidia odbc ogg openal openexr opengl openipmi openmp opus orc oss pam pango pcmcia pcre pda pdf perl phonon plasma pmu png policykit portaudio postgres ppds pulseaudio python python3 qemu qt qt3support qt4 quicktime rar raw rdesktop rdp readline reiserfs reports rtsp samba sametime sane scanner sdl sdl-image semantic-desktop session shout sip sipim skype smp sms soprano soundtouch speex spell sqlite sse sse2 sse3 ssh ssl startup-notification subtitles subversion svg tcpd texteffect texteffects theora tidy tiff timidity tk tordns translator truetype truetype-fonts twolame type1-fonts udev udisks unicode upower usb utempter uxa v4l v4l2 vaapi vcd vcdx vdpau video virtualbox vnc vorbis vpx wav wavpack webkit webpresence webrtc-aec wicd wifi win32codecs win64 winbind winetriks winpopup wlm wma wma-fixed wmf wxwidgets wxwindows x264 xcb xcomposite xen xetex xine xinerama xml xmp xscreensaver xv xvid xvmc yahoo zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 sse4_2 avx avx2 fma3" 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 joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en it_IT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965 nv vesa nouveau v4l v4l2 modesetting 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Any news? the bug is still here.
*** Bug 542408 has been marked as a duplicate of this bug. ***
I was able to emerge libgpod by downgrading to swig-3.0.2.
I hit this bug today. Was using swig-3.0.4. Downgrading to 3.0.2 worked.
https://bugzilla.redhat.com/show_bug.cgi?id=1191583 https://trac.macports.org/browser/trunk/dports/multimedia/libgpod/files/patch-bindings-python-gpod.i.in.diff?rev=132989
Here's a patch (but it's really stupid). Upstream put bash #comments in the swig input file... I also updated the ebuild in my overlay that I use in conjunction with arm-overlay (both on github: https://github.com/sarnold) with some autotools foo and made another silly patch for their xml doc fail.
Created attachment 405498 [details, diff] patch for gpod.i.in Should work on its own (doc patch requires autotools).
*** Bug 563178 has been marked as a duplicate of this bug. ***
I have the error again. Now with swig-3.0.8.
(In reply to Juergen Rose from comment #10) > I have the error again. Now with swig-3.0.8. The patch of comment 7 worked again.
Added the ebuild in the sabayon overlay with the patch in #c8, everything seems ok here https://github.com/Sabayon/for-gentoo/tree/master/media-libs/libgpod
[master cbaa8dc] media-libs/libgpod: Fix segfault (#565052 by Julien Papasian) and build failure (#537968 by Toralf Förster). 3 files changed, 121 insertions(+) create mode 100644 media-libs/libgpod/files/libgpod-0.8.3-comment.patch create mode 100644 media-libs/libgpod/files/libgpod-0.8.3-segfault.patch create mode 100644 media-libs/libgpod/libgpod-0.8.3-r1.ebuild