Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370077 - dev-libs/grantlee-0.1.8 - work/grantlee-0.1.8/templates/lib/abstractlocalizer.cpp:50:47: error: call of overloaded 'localizeNumber(double)' is ambiguous
Summary: dev-libs/grantlee-0.1.8 - work/grantlee-0.1.8/templates/lib/abstractlocalizer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-05 04:17 UTC by Kuzemko Aleksandr
Modified: 2011-06-18 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kuzemko Aleksandr 2011-06-05 04:17:46 UTC
I am using Gentoo ~arm on the Beagleboard-Xm.
When I try to compile kde-4.6.80, I stoped on the grantlee build phase.
This is a full log.
http://paste.ubuntu.com/618234
I try also without distcc with the same results.
Comment 1 Kuzemko Aleksandr 2011-06-05 04:31:30 UTC
emerge --info =dev-libs/grantlee-0.1.8
WARNING: One or more repositories have missing repo_name entries:

        /var/lib/layman/my/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.0_alpha37 (default/linux/arm/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.38.2-x1 armv7l)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38.2-x1-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.0.2
Timestamp of tree: Sat, 04 Jun 2011 06:00:01 +0000
distcc 3.1 armv7a-unknown-linux-gnueabi [enabled]
ccache version 3.1.4 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo neuvoo x11 kde x-my
Installed sets: 
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-unknown-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fPIC"
CHOST="armv7a-unknown-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/neuvoo /var/lib/layman/x11 /var/lib/layman/kde /var/lib/layman/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm bazaar berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cvs cxx dbus dts dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif git gpm iconv ipv6 jpeg kde lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg openes-v5 opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl semantic-desktop session spell ssl startup-notification subversion svg sysfs tcpd tiff truetype udev unicode usb vorbis xcb xetex xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Kuzemko Aleksandr 2011-06-05 04:32:56 UTC
emerge -pqv =dev-libs/grantlee-0.1.8
[ebuild  N    ] dev-libs/grantlee-0.1.8  USE="-debug -doc -test"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-07 20:41:53 UTC
(In reply to comment #0)
> This is a full log.
> http://paste.ubuntu.com/618234

Attach that please.
Comment 4 Kuzemko Aleksandr 2011-06-12 19:20:34 UTC
 * Package:    dev-libs/grantlee-0.1.8
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:        arm consolekit elibc_glibc kernel_linux policykit userland_GNU
 * FEATURES:   ccache distcc preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking grantlee-0.1.8.tar.gz to /var/tmp/portage/dev-libs/grantlee-0.1.8/work
>>> Source unpacked in /var/tmp/portage/dev-libs/grantlee-0.1.8/work
>>> Preparing source in /var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-libs/grantlee-0.1.8/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/grantlee-0.1.8/temp/gentoo_rules.cmake  /var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-libs/grantlee-0.1.8/temp/gentoo_common_config.cmake
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/lib/ccache/bin/armv7a-unknown-linux-gnueabi-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/armv7a-unknown-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/armv7a-unknown-linux-gnueabi-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/armv7a-unknown-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fPIC 
C++             -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fPIC 
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8_build"
make -j5 
[  0%] [  1%] [  2%] [  0%] Scanning dependencies of target grantlee_gui
Generating scriptablevariable.moc                                                                                 
Generating engine.moc                                                                                             
Generating nodebuiltins_p.moc                                                                                     
Generating node.moc                                                                                               
[  3%] Generating parser.moc                                                                                      
[  3%] [  5%] [  4%] Generating template.moc                                                                      
Generating scriptablecontext.moc                                                                                  
Generating scriptablefilterexpression.moc                                                                         
[  5%] [  6%] [  6%] Generating scriptablenode.moc                                                                
Generating scriptableparser.moc                                                                                   
[  7%] Generating scriptablesafestring.moc                                                                        
Generating scriptabletags.moc                                                                                     
[  8%] Generating scriptabletemplate.moc                                                                          
[  9%] [ 10%] [  8%] [ 11%] Building CXX object textdocument/lib/CMakeFiles/grantlee_gui.dir/bbcodebuilder.cpp.o  
Building CXX object textdocument/lib/CMakeFiles/grantlee_gui.dir/plaintextmarkupbuilder.cpp.o                     
Building CXX object textdocument/lib/CMakeFiles/grantlee_gui.dir/texthtmlbuilder.cpp.o                            
Building CXX object textdocument/lib/CMakeFiles/grantlee_gui.dir/markupdirector.cpp.o                             
Scanning dependencies of target grantlee_core                                                                     
[ 11%] Building CXX object textdocument/lib/CMakeFiles/grantlee_gui.dir/mediawikimarkupbuilder.cpp.o              
Linking CXX shared library libgrantlee_gui.so                                                                     
/usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.2/../../../../armv7a-unknown-linux-gnueabi/bin/ld: warning: creating a DT_TEXTREL in object.
[ 11%] Built target grantlee_gui
[ 12%] [ 12%] [ 12%] [ 13%] [ 14%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/abstractlocalizer.cpp.o                                                                                                           
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/customtyperegistry.cpp.o                           
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/context.cpp.o                                      
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/cachingloaderdecorator.cpp.o                       
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/engine.cpp.o                                       
[ 14%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/filterexpression.cpp.o                      
[ 15%] [ 16%] [ 16%] [ 17%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/lexer.cpp.o            
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/metatype.cpp.o                                     
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/node.cpp.o                                         
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/nodebuiltins.cpp.o                                 
[ 18%] [ 18%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/nulllocalizer.cpp.o                  
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/outputstream.cpp.o                                 
[ 19%] [ 20%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/parser.cpp.o                         
[ 20%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/qtlocalizer.cpp.o                           
Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/rendercontext.cpp.o                                
[ 21%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/safestring.cpp.o                            
[ 22%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/template.cpp.o                              
[ 22%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/templateloader.cpp.o                        
distcc[1720] ERROR: compile /root/.ccache/tmp/abstractlo.tmp.localhost.1679.ii on localhost failed                
/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8/templates/lib/abstractlocalizer.cpp: In member function 'virtual QString Grantlee::AbstractLocalizer::localize(const QVariant&) const':
/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8/templates/lib/abstractlocalizer.cpp:50:47: error: call of overloaded 'localizeNumber(double)' is ambiguous
/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8/templates/lib/abstractlocalizer.h:94:19: note: candidates are: virtual QString Grantlee::AbstractLocalizer::localizeNumber(int) const
/var/tmp/portage/dev-libs/grantlee-0.1.8/work/grantlee-0.1.8/templates/lib/abstractlocalizer.h:99:19: note:                 virtual QString Grantlee::AbstractLocalizer::localizeNumber(qreal) const
make[2]: *** [templates/lib/CMakeFiles/grantlee_core.dir/abstractlocalizer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object templates/lib/CMakeFiles/grantlee_core.dir/typeaccessors.cpp.o
make[1]: *** [templates/lib/CMakeFiles/grantlee_core.dir/all] Error 2                                             
make: *** [all] Error 2
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-14 23:39:14 UTC
Hm, dev-libs/grantlee isn't keyworded for ARM.
Comment 6 Denis I. Polukarov 2011-06-16 07:36:44 UTC
I've same problem (throw build =kde-base/kdepim-meta-4.6.0... kdebase-meta-4.6.4 build successful) with ~arm on Tegra 2 platform with CHOST='armv7a-hardfloat-linux-gnueabi' & CFLAGS/CXXFLAGS="-O2 -pipe mcpu=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard" .
Comment 7 Denis I. Polukarov 2011-06-16 08:23:45 UTC
=dev-libs/grantlee-0.1.7 build successful.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-06-17 22:05:13 UTC
I've seen that problem before, and it happens only on ARM... why do QT programmers always insist to use "double" instead of the correct "QReal"?! Arrgh. Trying to reproduce.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-06-18 16:37:38 UTC
Reproduced, fixed, keyworded ~arm. Thanks!