Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251246 - [sunrise] dev-db/mysqlwrapped-1.6 fails to compile with gcc 4.3
Summary: [sunrise] dev-db/mysqlwrapped-1.6 fails to compile with gcc 4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sunrise Overlay Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 23:33 UTC by Gabriel Máculus
Modified: 2009-02-08 17:20 UTC (History)
0 users

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 Gabriel Máculus 2008-12-16 23:33:32 UTC
>>> Unpacking source...
>>> Unpacking mysqlwrapped-1.6.tar.gz to /var/tmp/portage/dev-db/mysqlwrapped-1\
.6/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-db/mysqlwrapped-1.6/work/mysqlwrap\
ped-1.6 ...
make CXX=i686-pc-linux-gnu-g++
i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -fPIC -I/usr/include  -MD  -c -o Da\
tabase.o Database.cpp
i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -fPIC -I/usr/include  -MD  -c -o Qu\
ery.o Query.cpp
i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -fPIC -I/usr/include  -MD  -c -o St\
derrLog.o StderrLog.cpp
i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -fPIC -I/usr/include  -MD  -c -o Sy\
sLog.o SysLog.cpp
SysLog.cpp: In constructor 'SysLog::SysLog(const std::string&, int, int)':
SysLog.cpp:43: error: 'strcpy' was not declared in this scope
make: *** [SysLog.o] Error 1
 ^[[31;01m*^[[0m


Reproducible: Always

Actual Results:  
not compile
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2008-12-17 04:56:42 UTC
Probably a gcc 4.3 bug but please include emerge --info
Comment 2 Gabriel Máculus 2008-12-17 20:32:32 UTC
(In reply to comment #1)
> Probably a gcc 4.3 bug but please include emerge --info
> 

Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.6.1-r0, 2.6.28-rc6-zen1 i686)
=================================================================
System uname: Linux-2.6.28-rc6-zen1-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-glibc2.0
Timestamp of tree: Tue, 16 Dec 2008 20:39:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
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-r1
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"               
LINGUAS="es es_LA es_ES"        
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/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa bash-completion bzip2 cli cracklib crypt curl cxx directfb dri emacs encode fbcon flac gdbm gmp gnutls gpm gtk iconv ipv6 isdnlog java jpeg libedit loop-aes lyrics midi mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd profile python readline reflection ruby sdl session sftp spl sqlite srt sse sse2 ssl svg sysfs taglib tcpd threads truetype unicode vorbis wavpack wifi win32codecs wma x86 xattr xft xorg 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" LINGUAS="es es_LA es_ES" NETBEANS_MODULES="*" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2009-02-08 17:20:02 UTC
hey Gabriel,

thanks for your report, it is fixed in svn and will be reviewed soon.
i've also bumped to 1.6.1 and applied a Makefile patch.