Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448136 - x11-libs/qtscriptgenerator-0.2.0 - ~arm keyword request
Summary: x11-libs/qtscriptgenerator-0.2.0 - ~arm keyword request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: was: ../../generated_cpp/com_trolltec...
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2012-12-21 22:57 UTC by Tobias Leupold
Modified: 2013-03-17 09:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,47.38 KB, text/plain)
2012-12-23 16:37 UTC, Tobias Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2012-12-21 22:57:52 UTC
Compiling x11-libs/qtscriptgenerator-0.2.0 (as a dependecy of Amarok) on the Raspberry Pi fails. I first tried to compile it (as all other packages) via distcc and mostly on my amd64 host with a cross toolchain. Then, I tried it with MAKEOPTS="-j1" and without distcc. It fails at the very same point:

armv6j-hardfloat-linux-gnueabi-g++ -c -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I. -o qtscript_QEasingCurve.o ../../generated_cpp/com_trolltech_qt_core/qtscript_QEasingCurve.cpp
../../generated_cpp/com_trolltech_qt_core/qtscript_QEasingCurve.cpp: In Funktion »QScriptValue qtscript_QEasingCurve_prototype_call(QScriptContext*, QScriptEngine*)«:
../../generated_cpp/com_trolltech_qt_core/qtscript_QEasingCurve.cpp:332:39: Fehler: keine passende Funktion für Aufruf von »QEasingCurve::setCustomType(float&)«
/usr/include/qt4/QtCore/qeasingcurve.h:97:10: Anmerkung: candidate is: void QEasingCurve::setCustomType(qreal (*)(qreal))
make[1]: *** [qtscript_QEasingCurve.o] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qtscriptgenerator-0.2.0/work/qtscriptgenerator-src-0.2.0/qtbindings/qtscript_core'
make: *** [sub-qtscript_core-make_default] Fehler 2

Here's emerge --info:

Portage 2.1.11.31 (default/linux/arm/10.0/armv6j/desktop, gcc-4.5.4, glibc-2.15-r3, 3.2.27+ armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.27+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.1
Timestamp of tree: Fri, 21 Dec 2012 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 armv6j-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/src/distfiles"
FCFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
GENTOO_MIRRORS="         http://ftp.uni-erlangen.de/pub/mirrors/gentoo/         http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/         http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/tree"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-12-22 17:06:50 UTC
Please attach the entire build.log
Comment 2 Tobias Leupold 2012-12-23 16:37:55 UTC
Created attachment 333142 [details]
build.log
Comment 3 Tobias Leupold 2012-12-29 10:45:31 UTC
I don't know if this is important, but I get the same error after the upgrade to Qt 4.8.4.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2012-12-29 16:03:27 UTC
qtscriptgenerator is not keyworded for arm so it is not unexpected that it does not work. :)

I found this patch[1], are you able to test it? If it works for you, I will commit it and file a request to have it keyworded.

[1]: http://pkgs.fedoraproject.org/cgit/qtscriptgenerator.git/plain/qtscriptgenerator-0.2.0-arm-ftbfs-float.patch
Comment 5 Tobias Leupold 2012-12-29 20:15:03 UTC
The patch actually fixed it! I simply added it as files/arm-ftbfs-float.patch and added one line as the first line of src_prepare(): epatch "${FILESDIR}/arm-ftbfs-float.patch"

Thanks a lot :-)
Comment 6 Michael Palimaka (kensington) gentoo-dev 2012-12-30 14:12:47 UTC
Thanks for testing.

+  30 Dec 2012; Michael Palimaka <kensington@gentoo.org>
+  +files/qtscriptgenerator-0.2.0-arm.patch, qtscriptgenerator-0.2.0.ebuild:
+  Add patch to from OpenMamba to fix build on arm, wrt bug #448136.

Arm team, please do your magic!
Comment 7 Michael Palimaka (kensington) gentoo-dev 2013-03-14 15:49:06 UTC
ping
Comment 8 Sergey Popov gentoo-dev 2013-03-17 09:42:36 UTC
+  17 Mar 2013; Sergey Popov <pinkbyte@gentoo.org>
+  qtscriptgenerator-0.2.0.ebuild:
+  Add ~arm keyword, wrt bug #448136