Created attachment 419132 [details] kipi-plugins-4.14.0_build.log.bz2 Can't rebuild kipi-plugins-4.14.0 since last updates and also changing to plasma-5.5.0 emerge --info =media-plugins/kipi-plugins-4.14.0::gentoo Portage 2.2.26 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r1, 4.3.2-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.3.2-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.2 KiB Swap: 16383996 total, 16252432 free Timestamp of repository gentoo: Sun, 13 Dec 2015 10:30:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.11::gentoo, 3.4.3-r5::gentoo, 3.5.0-r4::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 Local-Overlay location: /usr/local/portage masters: gentoo priority: 0 betagarden location: /var/lib/layman/betagarden masters: gentoo priority: 50 kde location: /var/lib/layman/kde masters: gentoo priority: 50 palemoon location: /var/lib/layman/palemoon masters: gentoo priority: 50 quarks location: /var/lib/layman/quarks masters: gentoo priority: 50 Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=westmere -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-march=westmere -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going --autounmask-write --autounmask-keep-masks --jobs --load-average=20" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs clean-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="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12 -l40" 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="R X a52 aac aacplus aacs aalib accessibility acpi additions addressbook aften akonadi alsa amd64 amr amrenc animgif apcupsd apm apng archive aspell audiofile audit autoipd autotrace avahi berkdb binary-drivers binfilter bluray bookmarks boost branding btrfs bzip2 c++0x cairo canvas caps ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom celt cg cgi chipcard chm chroot cjk clamav cli client-libs clucene colord compressed-lumas consolekit corefonts cover cracklib crypt css cups curl custom-cpuopts cvs cvsgraph cxx daemon dar64 dbus dc1394 declarative dhclient dia dirac disk-partition djbfft djvu dpi dri dri3 drm dts dv dvd dvdnav dvdr dvi dynamic ebook editor emboss emovix encode enscript evdev excel exif expoblending ext4 extensions extraengine extrafilters extras f2fs faac fam fame fat fdk ffmpeg fftw finger firefox firefox3 flac flash flite flv fmod fontconfig foomaticdb fortran fortran2003 fpx frei0r fuse g3dvl gallium gcj gd gdal gdbm geolocation gif gimp git glamor glew glib glut gme gmp gnokii gpac gphoto2 gpm gpssync gptfdisk gpu graphite graphviz gsl gsm gstreamer gtk gtk3 gzip handbook hddtemp hdri howl-compat html http httpd ical iconv icq id3 id3tag ieee1394 image imagemagick imaging imap imlib infinality inkjar inotify introspection iostats ipc iptv ipv6 irc ivtv jabber java java6 javacomm javascript jbig jce jingle joystick jpeg jpeg2k json juju kaapi kde kdepim kdm kexiv2 kig-scripting kino kipi kmail kontact kvm ladspa lame lcdfilter lcms ldap ldap-bind ldap-sasl legacy-systray lensfun libass libcaca libnotify librrd libsamplerate libsoxr libv4l libv4l2 libvisual lightning live llvm lm_sensors logrotate logwatch loop-aes lua lua-cairo lxc lz4 lzma lzo mad magic magnetgenerator marble math matroska max-idx-128 mdnsresponder-compat melt metric midi mikmod mime mjpeg mmx mmxext mng mod modplug modules mono mouse mozdevelop mozilla mp3 mp3rtp mp4 mpd mpeg mpg123 mpi mplayer mpu401 mtp muine multilib multimedia multiprocess musepack music musicbrainz mysql mysqli nano-syntax nas ncurses network network-cron networkmanager nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nntp normalize nptl nsplugin nss ntfs numa numpy nut nuv nvcontrol nvtt oauth obex ocean ocr ocrad odk ofa ogg ogg123 ogm okular openal openctl opencv openexr opengl openmedia openmp openrc openssl opensslcrypt opus oss pam pango panorama parted pch pcm pcre pda pdf pdfimport perforce perl pg-intdatetime phonon php physfs pipe plasma player plotutils pmount pmu png pnm podcast policykit pop postgis postproc ppds prelink prison private-headers profile profiler proj ps pstoedit pvr python python3 q32 q64 qalculate qemu qemu-block qml qos qt3support qt4 qt5 quesoglc quicktime quodlibet quvi radio rar raw readline redeyes rendering rle romio rsh rss rtc rtmp rtsp ruby scale0tilt scanner schedule schroedinger script scripting scripts scripttools sdl sdl-image sdl-sound sdlaudio search seccomp secure-delete semantic-desktop sensord server session sftp shaders shine shorten shout sift skins slideshow smartcard smp sms sndfile snmp sound soundextract soundtouch soup source spamassassin speex spell spice sql sqlite srt srtp sse sse2 sse2check sse3 sse4 sse4_1 sse4_2 ssh ssh1 ssl ssse3 startup-notification static-user statistics stats stk stream subversion suid svg svgz sysfs syslog system-cairo system-icu system-jpeg szip t1lib tcl tcmalloc tcpd teletext templates tesseract test tga tgif themes theora threads threadsafe thumbnail thumbnails tiff timidity tk toolame tools touchpad transcode tremor truetype tts tv_check tv_combiner tv_pick_cgi twolame type3 udev udisks umfpack uml unicode unzip upower urlpicpreview usb usbredir utempter utils uudeview uuid v4l v4l2 vaapi vala vamp vc vcd vcdinfo vcdx vde vdr vhost-net video videoslideshow views vim vim-syntax virt-network virtfs virtualbox virtuoso visibility vlm vorbis vpx vrml vxml wav wavpack weather-metar weather-xoap webcam webdav webgl webkit webm webp widgets windeco winpopup wma wma-fixed wmf word-perfect wordperfect wxwidgets wxwindows x11vnc x264 x265 xanim xattr xcb xcf xcomposite xface xforms xine xinerama xml xmlpatterns xmlreader xmlwriter xmp xorg xpm xscreensaver xsl xslt xterm xulrunner xv xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg youtube yv12 zeroconf zip zlib zvbi" ABI_X86="64" ALSA_CARDS="hda-intel" 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="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_DE en en_US en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="alpha arm i386 mips mips64 mips64el mipsel ppc ppc64 s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha arm armeb i386 mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="v4l2 nouveau" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Which version of sys-devel/bison and sys-devel/flex do you have installed?
I'm using sys-devel/bison-3.0.4-r1 and sys-devel/flex-2.6.0 Thanks for looking into this report so quick, Andy.
Thanks kensington, for pointing me into the right direction. After downgrading to sys-devel/flex-2.5.39-r1 the kipi-plugins-4.14.0 builds fine. Regards, Andy.
I was also hit by this. Can confirm, downgrading sys-devel/flex worked.
It just happened to me as well. masking >=sys-devel/flex-2.6 and installing sys-devel/flex-2.5.39-r1 made it compile
different error message with gcc-5.3.0: [ 90%] Building C object panorama/CMakeFiles/libpanorama.dir/panoScanner.c.o /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c:1920:21: error: C++ style comments are not allowed in ISO C90 num_to_alloc = 1; // After all that talk, this was set to 1 anyways... ^ /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c:1920:21: error: (this will be reported only once per input file) distcc[3255] ERROR: compile /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c on llano/6 failed distcc[3255] (dcc_build_somewhere) Warning: remote compilation of '/var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c' failed, retrying locally distcc[3255] Warning: failed to distribute /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c to llano/6, running locally instead /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c: In function ‘yyensure_buffer_stack’: /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c:1920:21: error: C++ style comments are not allowed in ISO C90 num_to_alloc = 1; // After all that talk, this was set to 1 anyways... ^ /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c:1920:21: error: (this will be reported only once per input file) ptoparser/panoScanner.l: At top level: /var/tmp/portage/media-plugins/kipi-plugins-4.14.0/work/kipi-plugins-4.14.0_build/panorama/panoScanner.c:2071:16: warning: ‘yy_top_state’ defined but not used [-Wunused-function] static int yy_top_state (void)
Created attachment 424432 [details, diff] flex-2.6.0-C-style-comment.patch OK, so the attached patch for sys-devel/flex fixes the build error described here...
Created attachment 424434 [details] kipi-plugins-9999.build.log ...only to be followed up by a new build error. Regardless of GCC 4.8.5 or 5.3.0, same for kipi-plugins-4.14.0.
This issue is also present in media-plugins/kipi-plugins-5.0.0_beta4. The build fails when sys-devel/flex-2.6.0 is installed, exiting with the same error: "expected expression before '/' token" in panoScanner.c. When downgrading to sys-devel/flex-2.5.39-r1, the kipi-plugins build runs successfully. If Andreas' patch works, I suggest we add it to the affected ebuild(s) until the issue is solved by upstream. I couldn't find anything about this on the KDE bug tracker, so I will open a bug there and point them to this discussion.
Corresponding upstream bug: https://bugs.kde.org/show_bug.cgi?id=361316
Whoops, I messed up here. The patch looked like it solves a malformed comment in kipi-plugins rather than a patch for flex. Nevermind the KDE bug I linked to. Sorry!
I filed bug #578844 to bump flex which contains the patch mentioned in comment #7.
flex-2.6.1 is bumped which should resolve this issue.
Confirmed fixed for me!