net-misc/smb4k-1.2.0 fail to build -- Found Gettext: built in libc CMake Warning (dev) at /usr/share/apps/cmake/modules/KDE4Macros.cmake:1353 (add_custom_target): Policy CMP0037 is not set: Target names should not be reserved and should match a validity pattern. Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "actions for net.sourceforge.smb4k.mounthelper" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. Call Stack (most recent call first): helpers/CMakeLists.txt:8 (kde4_install_auth_actions) This warning is for project developers. Use -Wno-dev to suppress it. -- Installing plasmoid (-DINSTALL_PLASMOID=false to disable) -- Not installing core header files (-DINSTALL_HEADER_FILES=true to enable) CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:232 (ADD_CUSTOM_TARGET): add_custom_target cannot create target "pofiles" because another target with the same name already exists. The existing target is a custom target created in source directory "/var/tmp/portage/net-misc/smb4k-1.2.0/work/smb4k-1.2.0/po/en_GB". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): po/es/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES) CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:232 (ADD_CUSTOM_TARGET): add_custom_target cannot create target "pofiles" because another target with the same name already exists. The existing target is a custom target created in source directory "/var/tmp/portage/net-misc/smb4k-1.2.0/work/smb4k-1.2.0/po/en_GB". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): po/fr/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES) -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common C++ -march=native -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden Linker flags: Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed Module -Wl,--enable-new-dtags -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed Shared -Wl,--enable-new-dtags -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/net-misc/smb4k-1.2.0/work/smb4k-1.2.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/net-misc/smb4k-1.2.0/work/smb4k-1.2.0_build/CMakeFiles/CMakeError.log". * ERROR: net-misc/smb4k-1.2.0::gentoo failed (configure phase): * cmake failed
Created attachment 398026 [details] CMakeError.log
Created attachment 398028 [details] CMakeOutput.log
emerge --info '=net-misc/smb4k-1.2.0::gentoo' Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.19-r1, 3.17.3-gentoo-jms-r16 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.3-gentoo-jms-r16-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 7674108 total, 830060 free KiB Swap: 8396796 total, 8248088 free Timestamp of repository gentoo: Wed, 04 Mar 2015 11:45:02 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.1-r4::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::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.13.4::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.4::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.19-r1::gentoo Repositories: gentoo location: /portage sync-type: rsync sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage priority: -1000 pinkbyte location: /var/lib/layman/pinkbyte masters: gentoo priority: 0 gamerlay location: /var/lib/layman/gamerlay masters: gentoo priority: 1 x-portage location: /usr/local/portage masters: gentoo priority: 2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe " DISTDIR="/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs clean-logs collision-protect 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://91.121.124.139/gentoo-distfiles/ http://91.121.125.139/gentoo-distfiles/ ftp://ftp.swin.edu.au/gentoo ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/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="X a52 aac aalib acl acpi alsa amd64 ao avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif ffmpeg firefox flac fontconfig fortran gd gdbm gif glamor gpm gtk gzip iconv icu imap inotify ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libkms libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng mod modules motif mp3 mp4 mpeg mtp multilib mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop sematic-deskyop session smp spell sse sse2 ssl startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis wifi win32codecs wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" 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="aes avx 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" 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
Created attachment 398030 [details] build log
Created attachment 398032 [details] environment
Thanks, fixed in CVS. I'll send a patch upstream for review to fix out-of-source builds. + 04 Mar 2015; Michael Palimaka <kensington@gentoo.org> smb4k-1.2.0.ebuild: + Force in-source build to avoid build failure when LINGUAS has multiple values + wrt bug #542088.
Thanks build fine now...
This is now fixed upstream so we can remove our workaround for the next release. http://quickgit.kde.org/?p=smb4k.git&a=commit&h=150bfb0dcb291dec43dd061abdfc6b745a95a7ed