Ticket #1965 (assigned enhancement)

Opened 10 years ago

Last modified 10 years ago

Failed to build if OE and QtopiaSDK coexisting on the same host

Reported by: Niko! Owned by: openmoko-devel
Priority: normal Milestone:
Component: Distro Version: Om2008.8
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible: always

Description

| Xrender auto-detection... ()
| Xrender enabled.
| FontConfig? auto-detection... ()
| /opt/toolchains/arm920t-eabi/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lfreetype
| collect2: ld returned 1 exit status
| make[1]: * [fontconfig] Error 1
| FontConfig? disabled.
| FontConfig? support cannot be enabled due to functionality tests!
| Turn on verbose messaging (-v) to /home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1/git/qtopiacore/qt/configure to see the final report.
| If you believe this message is in error you may use the continue
| switch (-continue) to /home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1/git/qtopiacore/qt/configure to continue.
| configure exited with value 101 at /home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1/git/src/build/bin/configure line 3325
| main::configure_qt('/home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueab...', 'Qtopia Core (target)', 'qte_config') called at /home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1/git/src/build/bin/configure line 2644
| make:
* [src/build/mkconf/configure] Error 101
NOTE: Task failed: /home/niko/moko/build/tmp/work/om-gta01-angstrom-linux-gnueabi/qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1/temp/log.do_configure.26000
NOTE: package qtopia-phone-x11-4.3.2+git0+23612e6f1af35a8602e9cf6e8390e40d0fb50b05-r39.1: task do_configure: failed
ERROR: TaskFailed? event exception, aborting

this happens on a gentoo machine, emerge --info follows

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) D CPU 3.40GHz
Timestamp of tree: Tue, 26 Aug 2008 10:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/local/my_portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bluetooth cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap lirc mad mbrola midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly obex ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="bte cmdir devinput inputlirc serial userspace" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT

Change History

comment:1 Changed 10 years ago by zecke

  • Owner changed from openmoko-kernel to openmoko-devel
  • Component changed from System Software to unknown

Please read http://wiki.openmoko.org/wiki/Bug_Filing_Policy. Don't set a component please.

comment:2 Changed 10 years ago by zecke

  • Status changed from new to assigned

comment:3 Changed 10 years ago by zecke

How did you get to this point? Building what kind of thing?

comment:4 Changed 10 years ago by Aiua

By the look of it ("/opt/toolchains/arm920t-eabi/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/bin/ld") I'd say your are using the Trolltech toolchain instead of the OpenMoko? one.
And Trolltech toolchain comes with fewer library than openmoko (libfreetype being one of the missing libraries).
So you have to either use OpenMoko? toolchain (I had no luck with that when trying to build QtopiaOnX11) or to add the missing libraries to the Trolltech toolchain (worked great for met).
Hope this helps!

comment:5 follow-up: ↓ 7 Changed 10 years ago by Niko!

Hi!
I used mokomakefile with "make openmoko-qtopia-x11-image". Thanks to Aiua for suggestion, it seems that qtopia configure script search automatically in /opt/toolchains for the compiler. I renamed /opt/toolchains and just now i'm building qtopia-phone-x11, the configure phase passed so i think the problem is solved, but some patches are required to avoid this and having the OE and QtopiaSDK coexisting on the same host.

comment:6 Changed 10 years ago by john_lee

  • Component changed from unknown to Distro
  • HasPatchForReview unset
  • Type changed from defect to enhancement
  • Summary changed from qtopia-phone-x11 build failed cannot find -lfreetype to Failed to build if OE and QtopiaSDK coexisting on the same host

Change the summary to be more informative.

comment:7 in reply to: ↑ 5 Changed 10 years ago by ipse

Replying to Niko!:

Hi!
I used mokomakefile with "make openmoko-qtopia-x11-image".
Thanks to Aiua for suggestion, it seems that qtopia configure
script search automatically in /opt/toolchains for the compiler.
I renamed /opt/toolchains and just now i'm building qtopia-phone-x11,
the configure phase passed so i think the problem is solved, but
some patches are required to avoid this and having the OE and
QtopiaSDK coexisting on the same host.

Have you had success with this?
Could you post your patches here, please?

Note: See TracTickets for help on using tickets.