Summary: | app-mobilephone/bitpim-1.0.5 fails to build with gcc 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | A Frederick Christensen <fauxmight> |
Component: | New packages | Assignee: | Gentoo Mobile Phone Developers (INACTIVE) <mobile-phone> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
Build log for bitpim 1.0.5 with gcc-4.3 failure
bitpim-1.0.5 patch for GCC 4.3 New ebuild for bitpim-1.0.5 with GCC 4.3 patch |
Description
A Frederick Christensen
2008-06-29 15:52:13 UTC
Created attachment 158865 [details]
Build log for bitpim 1.0.5 with gcc-4.3 failure
Portage 2.2_rc1 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-tuxonice-r5 i686) ================================================================= System uname: Linux-2.6.25-tuxonice-r5-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-glibc2.0 Timestamp of tree: Sun, 29 Jun 2008 09:15:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/e xt-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.muntinternet.net/pub/gentoo/" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfile s --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa apache2 bash-completion branding bzip2 cddb cdr cli cracklib crypt cups dri dts dvd dvdr dvdread ffmpeg fortran gdbm gif gpm iconv imap ipv6 isdnlog javascript jpeg libao libcaca midi mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin ocamlopt offe nsive opengl openmp pam pcre perl png pppd python readline reflection sasl sdl session slang spell spl sse sse2 ssl syslog tcpd tiff truetype unicode u sb vim-syntax wifi win32codecs x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens137 0 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw a sym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACH E2_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 l ogio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU " VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR _OVERLAY Adding "#include <cstring>" to both the avi_file.cxx and the bmp_file.cxx will resolve this issue. Created attachment 158913 [details, diff]
bitpim-1.0.5 patch for GCC 4.3
Created attachment 158915 [details]
New ebuild for bitpim-1.0.5 with GCC 4.3 patch
With this ebuild and the patch, bitpim 1.0.5 compiled happily for me. However, bitpim itself still silently dies when I run it. This has happened (without the gcc issues involved) several times for me in the past when python, wxpython, or bitpim have updated. I've already rebuild python/wxpython, and bitpim still does the silent death routine, but hey, at least it builds.
Did you saw any QA notices while building wxpython or bitpim? According to bug 230363, bitpim-1.0.5 needs on dev-python/apsw-3.3.13.1. Please check if the new version of apsw fixes your problem. (In reply to comment #7) > According to bug 230363, bitpim-1.0.5 needs on dev-python/apsw-3.3.13.1. Please > check if the new version of apsw fixes your problem. > I just rebuilt both wxpython and bitpim. No QA notices in either one. Apsw fixes the silent bitpim death at runtime (Thank You!). It seems the poster of bug 230363 is correct, and bitpim SHOULD depend on apsw. I still need the patch I posted above to get bitpim to compile with gcc 4.3. Older gcc versions will auto-inlcude simple libs that are not #included like <cstring>, it seems. 4.3 will not. Fixed in cvs, without revision bump. Thanks! |