ensfun.cpp ^[[01m^[[Ksrc/gimplensfun.cpp:^[[m^[[K In function ‘^[[01m^[[Kvoid query()^[[m^[[K’: ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] }; ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] ^[[01m^[[Ksrc/gimplensfun.cpp:211:5:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[Kdeprecated conversion from string constant to ‘^[[01m^[[Kgchar* {aka char*}^[[m^[[K’ [-Wwrite-strings] ^[[01m^[[Ksrc/gimplensfun.cpp:^[[m^[[K In function ‘^[[01m^[[Kvoid PrintLens(const lfLens*)^[[m^[[K’: ^[[01m^[[Ksrc/gimplensfun.cpp:306:41:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[K‘^[[01m^[[Kconst struct lfLens^[[m^[[K’ has no member named ‘^[[01m^[[KRedCCI^[[m^[[K’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:306:55:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[K‘^[[01m^[[Kconst struct lfLens^[[m^[[K’ has no member named ‘^[[01m^[[KGreenCCI^[[m^[[K’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:306:71:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[K‘^[[01m^[[Kconst struct lfLens^[[m^[[K’ has no member named ‘^[[01m^[[KBlueCCI^[[m^[[K’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:^[[m^[[K At global scope: ^[[01m^[[Ksrc/gimplensfun.cpp:277:13:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[K‘^[[01m^[[Kvoid PrintMount(const lfMount*)^[[m^[[K’ defined but not used [-Wunused-function] static void PrintMount (const lfMount *mount) ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:312:13:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[K‘^[[01m^[[Kvoid PrintCameras(const lfCamera**)^[[m^[[K’ defined but not used [-Wunused-function] static void PrintCameras (const lfCamera **cameras) ^[[01;32m^[[K ^^[[m^[[K ^[[01m^[[Ksrc/gimplensfun.cpp:324:13:^[[m^[[K ^[[01;35m^[[Kwarning: ^[[m^[[K‘^[[01m^[[Kvoid PrintLenses(const lfLens**)^[[m^[[K’ defined but not used [-Wunused-function] static void PrintLenses (const lfLens **lenses) ^[[01;32m^[[K ^^[[m^[[K Makefile:51: recipe for target 'src/gimplensfun.o' failed make: *** [src/gimplensfun.o] Error 1 * ERROR: media-plugins/gimp-lensfun-0.2.3::gentoo failed (compile phase): * emake failed Reproducible: Always Portage 2.2.15 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.18.3-gentoo x86_64) ================================================================= System uname: Linux-3.18.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24626780 total, 20147616 free KiB Swap: 25461756 total, 25461756 free Timestamp of tree: Tue, 20 Jan 2015 13:00:01 +0000 sh bash 4.3_p33 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.4.2 dev-util/cmake: 3.1.0 dev-util/pkgconfig: 0.28-r2 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.13.4, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.4, 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 bitcoin steam-overlay bumblebee printer-drivers media-overlay lokal ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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-php5.6/ext-active/ /etc/php/cgi-php5.6/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=corei7 -O2 -pipe" DISTDIR="/mnt/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://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/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="/mnt/portage"
Created attachment 394408 [details] build.log
Same problem here: >>> Emerging (1 of 1) media-plugins/gimp-lensfun-0.2.3::gentoo * gimp-lensfun-0.2.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gimp-lensfun-0.2.3.tar.gz to /var/tmp/portage/media-plugins/gimp-lensfun-0.2.3/work >>> Source unpacked in /var/tmp/portage/media-plugins/gimp-lensfun-0.2.3/work >>> Preparing source in /var/tmp/portage/media-plugins/gimp-lensfun-0.2.3/work/GIMP-Lensfun-0.2.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-plugins/gimp-lensfun-0.2.3/work/GIMP-Lensfun-0.2.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/gimp-lensfun-0.2.3/work/GIMP-Lensfun-0.2.3 ... make -j5 x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -DDEBUG=0 -O3 -Wall -fopenmp -pthread -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/lensfun -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o src/gimplensfun.o src/gimplensfun.cpp src/gimplensfun.cpp: In function ‘void query()’: src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] }; ^ src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] src/gimplensfun.cpp:211:5: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings] src/gimplensfun.cpp: In function ‘void PrintLens(const lfLens*)’: src/gimplensfun.cpp:306:41: error: ‘const struct lfLens’ has no member named ‘RedCCI’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^ src/gimplensfun.cpp:306:55: error: ‘const struct lfLens’ has no member named ‘GreenCCI’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^ src/gimplensfun.cpp:306:71: error: ‘const struct lfLens’ has no member named ‘BlueCCI’ g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI); ^ src/gimplensfun.cpp: At global scope: src/gimplensfun.cpp:277:13: warning: ‘void PrintMount(const lfMount*)’ defined but not used [-Wunused-function] static void PrintMount (const lfMount *mount) ^ src/gimplensfun.cpp:312:13: warning: ‘void PrintCameras(const lfCamera**)’ defined but not used [-Wunused-function] static void PrintCameras (const lfCamera **cameras) ^ src/gimplensfun.cpp:324:13: warning: ‘void PrintLenses(const lfLens**)’ defined but not used [-Wunused-function] static void PrintLenses (const lfLens **lenses) ^ Makefile:51: recipe for target 'src/gimplensfun.o' failed make: *** [src/gimplensfun.o] Error 1 * ERROR: media-plugins/gimp-lensfun-0.2.3::gentoo failed (compile phase): * emake failed This is my emerge --info: emerge --info '=media-plugins/gimp-lensfun-0.2.3::gentoo' WARNING: One or more repositories have missing repo_name entries: /usr/local/portage/overlay/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.17.8-gentoo-r1y x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.8-gentoo-r1y-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.2 KiB Mem: 16435004 total, 213156 free KiB Swap: 17414456 total, 17014192 free Timestamp of tree: Sat, 21 Feb 2015 08:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1 dev-util/ccache: 3.1.9-r4 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.11 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.4 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.19 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo kde x-overlay ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc" 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/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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 -ggdb" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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="/var/lib/layman/kde /usr/local/portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi akonadi alsa amd64 apache2 avi berkdb bluetooth branding bzip2 cairo cdda cddb cdr cleartype cli corefonts cracklib crypt cups cxx dbus dga divx dts dv dvd dvdr dvdread emboss encode exif fam fame ffmpeg firefox flac fortran gdbm gif glamor gphoto2 gpm gps gtk gudev iconv introspection ipv6 java java6 javascript jpeg jpeg2k lcms ldap libav libnotify lm_sensors mad midi mjpeg mmx mng modules mp3 mp4 mpeg msn multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp pam pango pcre pda pdf phonon png policykit ppds python qt3support qt4 quicktime raw readline scanner sdl session smp spell sql sse sse2 ssl startup-notification subtitles svg syslog systemd tcpd threads tiff timidity truetype type1 udev udisks unicode upower usb v4l v4l2 vcd vorbis wavpack win32codecs wmf wxwidgets x264 xcb xine xml xpm xv xvid 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" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" 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="nvidia" 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 This problem exists also with gimp-lensfun-0.2.2.-r2.
Created attachment 397298 [details, diff] gimp-lensfun-0.2.3-remove-deprecated-output.patch This was fixed upstream with this commit: https://github.com/seebk/GIMP-Lensfun/commit/730e1280bb1968ec1e31f8c87949187b022a74bb Attached patch has to be applied with "epatch ${FILESDIR}/gimp-lensfun-0.2.3-remove-deprecated-output.patch" in src_prepare(). Now, we just need someone with commit access.
Confirm, build fails without https://github.com/seebk/GIMP-Lensfun/commit/730e1280bb1968ec1e31f8c87949187b022a74bb.patch
(In reply to Mario Kicherer from comment #3) > Created attachment 397298 [details, diff] [details, diff] > gimp-lensfun-0.2.3-remove-deprecated-output.patch > > This was fixed upstream with this commit: > https://github.com/seebk/GIMP-Lensfun/commit/ > 730e1280bb1968ec1e31f8c87949187b022a74bb > > Attached patch has to be applied with "epatch > ${FILESDIR}/gimp-lensfun-0.2.3-remove-deprecated-output.patch" in > src_prepare(). > > Now, we just need someone with commit access. gimp-lensfun-0.2.3-remove-deprecated-output.patch is sooo long I reduced it to 0.2.3-remove-deprecated-output.patch which with bash substitution came out to ${PV}-remove-deprecated-output.patch. This is purely style. Naming a patch is as much an art as a science. The is whole patch could be reduced further to a single sed statement which is lighter weight again. The patch does after all merely delete on line from 1 file. Both are legit means to the end. ~/cvsPortage/gentoo-x86/media-plugins/gimp-lensfun $ sudo ebuild gimp-lensfun-0.2.3.ebuild clean install >>> Install gimp-lensfun-0.2.3 into /mnt/gen2/TmpDir/portage/media-plugins/gimp-lensfun-0.2.3/image/ category media-plugins >>> Completed installing gimp-lensfun-0.2.3 into /mnt/gen2/TmpDir/portage/media-plugins/gimp-lensfun-0.2.3/image/ 30 Mar 2015; Ian Delaney <idella4@gentoo.org> +files/0.2.3-remove-deprecated-output.patch, gimp-lensfun-0.2.3.ebuild: add patch sourced from upstream, supplied by maintainer in bug #537130, fixes bug
I was going to add; I suggest you make a request to us to purge the old 2 revbumps of 0.2.2. *gimp-lensfun-0.2.2 (30 Sep 2012) is rather past its use by date.