First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 230043
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Mobile Phone Developers <mobile-phone@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: A. Frederick Christensen <christendoc@nosocomia.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bitpim-1.0.5-with-gcc-4.3-build-fail Build log for bitpim 1.0.5 with gcc-4.3 failure text/plain A. Frederick Christensen 2008-06-29 16:00 0000 3.73 KB Details
bitpim-1.0.5-gcc-4.3-fix.patch bitpim-1.0.5 patch for GCC 4.3 patch A. Frederick Christensen 2008-06-30 06:31 0000 728 bytes Details | Diff
bitpim-1.0.5.ebuild New ebuild for bitpim-1.0.5 with GCC 4.3 patch text/plain A. Frederick Christensen 2008-06-30 06:35 0000 4.69 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 230043 depends on: Show dependency tree
Bug 230043 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-29 15:52 0000
bitpim 1.0.5 is the only remaining bitpim atom in portage. Using gcc 4.3.1, an
attempt to build bitpim always dies with complaints of "error: XXXX was not
declared in this scope" where memcpy, strncpy, and memset are the funtions
(XXXX), and avi_file.cxx and bmp_file.cxx are the source files generating the
complaint. Reading bug reports like 229063, I believe that this is a gcc 4.3
issue. I have not tried to compile with other versions of gcc. Bitpim is not
important enough to me to revert.

Reproducible: Always

------- Comment #1 From A. Frederick Christensen 2008-06-29 16:00:15 0000 -------
Created an attachment (id=158865) [edit]
Build log for bitpim 1.0.5 with gcc-4.3 failure

------- Comment #2 From A. Frederick Christensen 2008-06-29 16:02:23 0000 -------
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

------- Comment #3 From A. Frederick Christensen 2008-06-29 16:18:09 0000 -------
Adding "#include <cstring>"
to both the avi_file.cxx and the bmp_file.cxx
will resolve this issue.

------- Comment #4 From A. Frederick Christensen 2008-06-30 06:31:21 0000 -------
Created an attachment (id=158913) [edit]
bitpim-1.0.5 patch for GCC 4.3

------- Comment #5 From A. Frederick Christensen 2008-06-30 06:35:32 0000 -------
Created an attachment (id=158915) [edit]
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.

------- Comment #6 From Alin Năstac 2008-07-01 16:29:59 0000 -------
Did you saw any QA notices while building wxpython or bitpim?

------- Comment #7 From Alin Năstac 2008-07-01 17:13:29 0000 -------
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.

------- Comment #8 From A. Frederick Christensen 2008-07-01 17:26:14 0000 -------
(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.

------- Comment #9 From Alin Năstac 2008-07-01 18:57:34 0000 -------
Fixed in cvs, without revision bump. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug