Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284396 - firebird fails to build with debug set
Summary: firebird fails to build with debug set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wormo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 01:48 UTC by Michael B
Modified: 2009-10-04 21:20 UTC (History)
0 users

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


Attachments
build log (build.log,93.18 KB, text/plain)
2009-09-10 01:51 UTC, Michael B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael B 2009-09-10 01:48:31 UTC
When trying to emerge firebird it fails with debug set. 

Reproducible: Always

Steps to Reproduce:
1.In packages.use: dev-db/firebird debug
2.emerge firebird
3.

Actual Results:  
...more info from build log.....
alloc.cpp -o ../temp/boot/common/classes/alloc.o                                                                                              
../src/common/classes/alloc.cpp: In static member function 'static void* Firebird::MemoryPool::external_alloc(size_t&)':                      
../src/common/classes/alloc.cpp:357: error: 'VALGRIND_MAKE_WRITABLE' was not declared in this scope                                           
../src/common/classes/alloc.cpp: In static member function 'static void Firebird::MemoryPool::external_free(void*, size_t&, bool)':           
../src/common/classes/alloc.cpp:366: error: 'VALGRIND_MAKE_NOACCESS' was not declared in this scope                                           
../src/common/classes/alloc.cpp: In static member function 'static void Firebird::MemoryPool::deletePool(Firebird::MemoryPool*)':             
../src/common/classes/alloc.cpp:1232: error: 'VALGRIND_MAKE_WRITABLE' was not declared in this scope                                          
../src/common/classes/alloc.cpp: In member function 'void Firebird::MemoryPool::deallocate(void*)':                                           
../src/common/classes/alloc.cpp:1651: error: 'VALGRIND_MAKE_NOACCESS' was not declared in this scope                                          
../src/common/classes/alloc.cpp:1675: error: 'VALGRIND_MAKE_WRITABLE' was not declared in this scope                                          
make[3]: *** [../temp/boot/common/classes/alloc.o] Error 1                                                                                    
make[3]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen'                                   
make[2]: *** [gpre_boot] Error 2                                                                                                              
make[2]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen'                                   
make[1]: *** [../gen/firebird/bin/gpre_static] Error 2                                                                                        
make[1]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen'                                   
make: *** [firebird] Error 2  

Expected Results:  
installed firebird

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r6-bostwick-server i686)                                
=================================================================                                                                             
System uname: Linux-2.6.30-gentoo-r6-bostwick-server-i686-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-2.0.1                        
Timestamp of tree: Wed, 09 Sep 2009 21:25:01 +0000                                                                                            
app-shells/bash:     4.0_p28                                                                                                                  
dev-java/java-config: 2.1.9                                                                                                                   
dev-lang/python:     2.6.2-r1, 3.1.1                                                                                                          
dev-util/cmake:      2.6.4-r2                                                                                                                 
sys-apps/baselayout: 2.0.1                                                                                                                    
sys-apps/openrc:     0.4.3-r3                                                                                                                 
sys-apps/sandbox:    2.1                                                                                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                            
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                                                         
sys-devel/binutils:  2.19.1-r1                                                                                                                
sys-devel/gcc-config: 1.4.1                                                                                                                   
sys-devel/libtool:   2.2.6a                                                                                                                   
virtual/os-headers:  2.6.30-r1                                                                                                                
ACCEPT_KEYWORDS="x86 ~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"                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /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://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi activefilter admin administrator alsa amarok2 apache2 apm archive arts aspell backtrace bash-completion berkdb branding bugzilla bzip2 cairo calendar chm cisco cli clipboard cmake colordiff colors corefonts cracklib crypt css csv cups curl curlwrappers cvs cxx db2 dbus debug disk-partition dns dri dvd dvdnav dvdr dvdread ebook editor eds embedded encode esd evo excel exchange exif faac faad faillog fat fbsplash festival ffmpeg filter finger firebird firefox firefox3 flash fortran ftp gcrypt gdbm gecko geoip gif gmail google google-gadgets gpm groupwise grub gs gstreamer gtkspell hal hpn http http-forms http-server httpd hub icons iconv ieee1394 injection inkjar inline iostats iproute2 ipsec ipv6 irc irda isdnlog iso14755 jabber java javascript john joystick jpeg jpeg2k jpg kate kde kde4 lcms ldap libcaca libedit libnotify libssh2 lirc lm_sensors log4j logwatch mail md5sum meanwhile mime mjpeg mng mono mp3 mp4 mpeg msn msql mssql mudflap multiuser munin-apache munin-dhcp munin-irc munin-surfboard mysql mysqli nat ncurse ncurses net network network-cron networking nfs nfsv3 nfsv4 nids nls nmap nptl nptlonly nss ntfs ntp objc objc++ objc-gc odbc openal opengl openid openmp openssl opensslcrypt openvpn oracle otr pam passwd passwordsave pastebin pcap pcre pda pdf perl perl-geoipupdate php pidgin plasma player plugins pm-utils png podcast pop pop3d posix postproc postscript pppd pptp prediction ps python python-bindings pythong qmake qt3 qt3support qt4 radio rar raw rdesktop react readline recode reflection regex rrdtool rss samba scanner screen search serial server session sftp shadow skype sms smtp sndfile snes snmp sockets socks socks5 solver speech spell spl spoof-source sql sqlite sqlite3 ssh ssl stats subversion suexec svg sysfs tcl tcpd tcpdump tcpmd5 tcpwrapper tftp themes theora thumbnail thunderbird tk tls tordns tos trace transcode tts ui unicode unzip upnp url usb utils v4l v4l2 vcd video video-file videos visual vlc vnc vorbis wav wavpack weather web webkit webmail wifi wildcards win32codecs winetools wireshark wma wma-fixed wmf wmp wps x264 x86 xine xinerama xml xorg xterm yahoo zeroconf zip 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" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael B 2009-09-10 01:51:08 UTC
Created attachment 203651 [details]
build log
Comment 2 Michael B 2009-09-10 01:54:34 UTC
Builds just fine with out debug set.
Comment 3 Wormo (RETIRED) gentoo-dev 2009-09-11 00:26:40 UTC
Thanks for the report. I happen to know a firebird user who was planning to report the solution, so I'll take this bug and get his fix committed. 
Comment 4 Wormo (RETIRED) gentoo-dev 2009-10-04 21:20:04 UTC
Ok, the patch was ready for me after I got back from vacation, and is now checked into CVS. Thanks again for bothering to file the report, I had been meaning to get around to this for a while :)