Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209467 - app-crypt/truecrypt-5.0 fails to build if wxGTK has odbc USE
Summary: app-crypt/truecrypt-5.0 fails to build if wxGTK has odbc USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 21:39 UTC by Kliakhandler Kosta
Modified: 2008-02-12 21:42 UTC (History)
1 user (show)

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


Attachments
build log with the same error (build.log,48.31 KB, text/plain)
2008-02-10 11:07 UTC, Kliakhandler Kosta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kliakhandler Kosta 2008-02-09 21:39:55 UTC
truecrypt-5.0 fails to build.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =truecrypt-5.0
2.
3.

Actual Results:  
>>> Emerging (1 of 3) app-crypt/truecrypt-5.0 to /
 * truecrypt-5.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                
[ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   
[ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  
[ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 
[ ok ]
 * checking truecrypt-5.0.tar.gz ;-) ...                                                                                                               
[ ok ]
>>> Unpacking source...
>>> Unpacking truecrypt-5.0.tar.gz to /var/tmp/portage/app-crypt/truecrypt-5.0/work
 * Applying truecrypt-5.0-build.patch ...                                                                                                              
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source ...
 * Checking wxGTK-2.8 for X support ...                                                                                                                
[ ok ]

 * Requested wxWidgets:        unicode 2.8
 * Using wxWidgets:            gtk2-unicode-release-2.8

Compiling Buffer.cpp
Compiling Exception.cpp
Compiling Event.cpp
Compiling FileCommon.cpp
Compiling MemoryStream.cpp
Compiling Memory.cpp
Compiling PlatformTest.cpp
Compiling Serializable.cpp
Compiling Serializer.cpp
Compiling SerializerFactory.cpp
PlatformTest.cpp: In static member function ‘static bool TrueCrypt::PlatformTest::TestAll()’:
PlatformTest.cpp:243: warning: unused variable ‘finally243’
Compiling StringConverter.cpp
Compiling TextReader.cpp
Compiling Directory.cpp
Compiling File.cpp
Compiling FilesystemPath.cpp
Compiling Mutex.cpp
Compiling Pipe.cpp
Compiling Poller.cpp
Compiling Process.cpp
Compiling SystemException.cpp
Compiling SystemLog.cpp
Compiling Thread.cpp
Compiling Time.cpp
Updating library Platform.a
Compiling Cipher.cpp
Compiling EncryptionAlgorithm.cpp
Compiling EncryptionMode.cpp
Compiling EncryptionModeCBC.cpp
Compiling EncryptionModeLRW.cpp
Compiling EncryptionModeXTS.cpp
Compiling EncryptionTest.cpp
Compiling Hash.cpp
Compiling Keyfile.cpp
Compiling Pkcs5Kdf.cpp
Compiling Volume.cpp
Compiling VolumeException.cpp
Compiling VolumeHeader.cpp
Compiling VolumeInfo.cpp
Compiling VolumeLayout.cpp
Compiling VolumePassword.cpp
Compiling VolumePasswordCache.cpp
Compiling Aescrypt.c
Compiling Aeskey.c
Compiling Aestab.c
Compiling Bf_ecb.c
Compiling Bf_enc.c
Compiling Bf_skey.c
Compiling C_ecb.c
Compiling C_enc.c
Compiling C_skey.c
Compiling Des.c
Compiling Des_enc.c
Compiling Ecb3_enc.c
Compiling Rmd160.c
Compiling Serpent.c
Compiling Set_key.c
Compiling Sha1.c
Compiling Sha2.c
Compiling Twofish.c
Compiling Whirlpool.c
Compiling Crc.c
Compiling Endian.c
Compiling GfMul.c
Compiling Pkcs5.c
Updating library Volume.a
Compiling FuseService.cpp
Updating library Driver.a
Compiling CoreBase.cpp
Compiling CoreException.cpp
Compiling FatFormatter.cpp
Compiling HostDevice.cpp
Compiling MountOptions.cpp
Compiling RandomNumberGenerator.cpp
Compiling VolumeCreator.cpp
Compiling CoreService.cpp
Compiling CoreServiceRequest.cpp
Unix/CoreService.cpp: In static member function ‘static void TrueCrypt::CoreService::StartElevated(const TrueCrypt::CoreServiceRequest&)’:
Unix/CoreService.cpp:338: warning: deprecated conversion from string constant to ‘char*’
Unix/CoreService.cpp:338: warning: deprecated conversion from string constant to ‘char*’
Unix/CoreService.cpp:338: warning: deprecated conversion from string constant to ‘char*’
Unix/CoreService.cpp:338: warning: deprecated conversion from string constant to ‘char*’
Unix/CoreService.cpp:338: warning: deprecated conversion from string constant to ‘char*’
Compiling CoreServiceResponse.cpp
Compiling CoreUnix.cpp
Compiling CoreLinux.cpp
Updating library Core.a
Precompiling SystemPrecompiled.h
Converting License.txt
Converting Language.xml
Converting Textual_logo_96dpi.bmp
Converting TrueCrypt_Wizard.bmp
Converting Drive_icon_96dpi.bmp
Converting Drive_icon_mask_96dpi.bmp
Converting Logo_96dpi.bmp
Compiling Application.cpp
Compiling CommandLineInterface.cpp
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from Main.h:15,
                 from Application.cpp:12:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:164: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:165: error: ‘BOOL’ does not name a type
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:201,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from Main.h:15,
                 from Application.cpp:12:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/GfMul.h:75: error: ‘BOOL’ does not name a type
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from Main.h:15,
                 from Application.cpp:12:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:235: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:236: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:237: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:274: error: ‘BOOL’ has not been declared
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:285: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:288: error: ‘BOOL’ does not name a type
make[1]: *** [Application.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from CommandLineInterface.cpp:13:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:164: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:165: error: ‘BOOL’ does not name a type
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:201,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from CommandLineInterface.cpp:13:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/GfMul.h:75: error: ‘BOOL’ does not name a type
In file included from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/CoreBase.h:16,
                 from /var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Core/Core.h:13,
                 from CommandLineInterface.cpp:13:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:235: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:236: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:237: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:274: error: ‘BOOL’ has not been declared
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:285: error: ‘BOOL’ does not name a type
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Common/Crypto.h:288: error: ‘BOOL’ does not name a type
make[1]: *** [CommandLineInterface.o] Error 1
make: *** [all] Error 2
 *
 * ERROR: app-crypt/truecrypt-5.0 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2134:  Called die
 * The specific snippet of code:
 *       emake NOSTRIP=1 VERBOSE=1 CC="$(tc-getCC)" AR="$(tc-getAR)" CXX="$(tc-getCXX)" RANLIB="$(tc-getRANLIB)" EXTRA_CFLAGS="${CFLAGS}" 
EXTRA_CXXFLAGS="${CXXFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" WX_CONFIG="${WX_CONFIG}" WX_CONFIG_EXTRA="" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0/temp/environment'.
 *

 * Messages for package app-crypt/truecrypt-5.0:

 *
 * ERROR: app-crypt/truecrypt-5.0 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2134:  Called die
 * The specific snippet of code:
 *       emake NOSTRIP=1 VERBOSE=1 CC="$(tc-getCC)" AR="$(tc-getAR)" CXX="$(tc-getCXX)" RANLIB="$(tc-getRANLIB)" EXTRA_CFLAGS="${CFLAGS}" 
EXTRA_CXXFLAGS="${CXXFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" WX_CONFIG="${WX_CONFIG}" WX_CONFIG_EXTRA="" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0/temp/environment'.
 *



$ emerge --info
Portage 2.1.4.1 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-tuxonice i686)
=================================================================
System uname: 2.6.24-tuxonice i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Sat, 09 Feb 2008 10:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
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-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp://mirror.icis.pcz.pl/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-s -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2 -s"
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/sabayon /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs /usr/portage/local"
SYNC="rsync://smear/gentoo-portage"
USE="7Zip X a52 aac acl acpi ada aiglx alsa amarok apm arts artswrappersuid asf async audiofile autoipd automount avahi bash-completion berkdb bidi bitmap-fonts bonjour branding business_edition bzip2 cairo cdda cddb cdr chm clearcase cli commercial config_wizard cpudetection cracklib crypt css ctype cups curl daap dbus dell dga disk-partition divx djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi effects emacs emboss encode exif exscalibar ext-man ext-rtf ext-tex extents fam fame fat fax ffmpeg fftw flac flash foomaticdb fortran fuse galago gd gdbm gif gimp gimpprint glitz gmedia gnokii gnutls gphoto2 gpm gs gsm gstreamer gtk hal highlight iconv icq ieee1394 imap inkjar irc irda isdnlog jabber jack jbig jingle jpeg jpeg2k json kde kerberos kipi krb4 lame laptop lcd ldap libcaca libclamav libical libnotify live lm_sensors lzo mad mailwrapper matroska mgetty midi mikmod mjpeg mmx mng mp3 mp3rtp mpeg mplayer msn mudflap musepack musicbrainz mysqli nas ncurses network network-cron networkmanager nls nptl nptlonly nsplugin ntfs odbc offensive ogg openal openexr opengl openmp pam pcmcia pcre pdf pdo plugin pmu png povray ppds pppd prediction pwdb qt3support qt4 quicktime quotas rar rdesktop readline real realmedia reflection reiserfs resolvconf rss samba sdl session sftp skey skins slang slp sms sndfile snmp sound speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 ssl startup-notification stream streams subversion svg sysfs tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode upnp usb v4l v4l2 vcd visualization vorbis webdav webservices wideband wifi win32codecs winbind wma wmf wmp wxwindows x264 x86 xattr xcomposite xinerama xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc zeroconf 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 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="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="i915 i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-10 05:52:53 UTC
PLEASE remove -s from MAKE_OPTS when you submit bugs.
Comment 2 Kliakhandler Kosta 2008-02-10 11:07:22 UTC
Created attachment 143105 [details]
build log with the same error

(In reply to comment #1)
> PLEASE remove -s from MAKE_OPTS when you submit bugs.
> 

I don't see the relevance (and would love to see a link, since I couldn't find anything on Google), but for good measure, here it is again:

* the emerge log will be added as attachment because it is too large - same error though *

$ emerge --info
Portage 2.1.4.1 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-tuxonice i686)
=================================================================
System uname: 2.6.24-tuxonice i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Sat, 09 Feb 2008 10:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
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-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp://mirror.icis.pcz.pl/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-s -Wl,--as-needed"
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=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs /usr/portage/local"
SYNC="rsync://smear/gentoo-portage"
USE="7Zip X a52 aac acl acpi ada aiglx alsa amarok apm arts artswrappersuid asf async audiofile autoipd automount avahi bash-completion berkdb bidi bitmap-fonts bonjour branding business_edition bzip2 cairo cdda cddb cdr chm clearcase cli commercial config_wizard cpudetection cracklib crypt css ctype cups curl daap dbus dell dga disk-partition divx djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi effects emacs emboss encode exif exscalibar ext-man ext-rtf ext-tex extents fam fame fat fax ffmpeg fftw flac flash foomaticdb fortran fuse galago gd gdbm gif gimp gimpprint glitz gmedia gnokii gnutls gphoto2 gpm gs gsm gstreamer gtk hal highlight iconv icq ieee1394 imap inkjar irc irda isdnlog jabber jack jbig jingle jpeg jpeg2k json kde kerberos kipi krb4 lame laptop lcd ldap libcaca libclamav libical libnotify live lm_sensors lzo mad mailwrapper matroska mgetty midi mikmod mjpeg mmx mng mp3 mp3rtp mpeg mplayer msn mudflap musepack musicbrainz mysqli nas ncurses network network-cron networkmanager nls nptl nptlonly nsplugin ntfs odbc offensive ogg openal openexr opengl openmp pam pcmcia pcre pdf pdo plugin pmu png povray ppds pppd prediction pwdb qt3support qt4 quicktime quotas rar rdesktop readline real realmedia reflection reiserfs resolvconf rss samba sdl session sftp skey skins slang slp sms sndfile snmp sound speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 ssl startup-notification stream streams subversion svg sysfs tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode upnp usb v4l v4l2 vcd visualization vorbis webdav webservices wideband wifi win32codecs winbind wma wmf wmp wxwindows x264 x86 xattr xcomposite xinerama xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc zeroconf 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 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="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="i915 i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Note the gone -s from MAKE_OPTS
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-10 11:27:17 UTC
> I don't see the relevance (and would love to see a link, since I couldn't 
> find anything on Google), but for good measure, here it is again:

You added this argument manually... Causing the build output to be less verbose, and expect someone to help? Don't touch MAKE_OPTS if you don't know what you are doing.

From /etc/make.conf.example:
# MAKEOPTS provides extra options that may be passed to 'make' when a
#     program is compiled. Presently the only use is for specifying
#     the number of parallel makes (-j) to perform. The suggested number
#     for parallel makes is CPUs+1.
#MAKEOPTS="-j2"


> * the emerge log will be added as attachment because it is too large - same
> error though *

Right... Always paste build output.

As you can see:
i586-pc-linux-gnu-g++ -MMD -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Crypto -DBOOL=int -DFALSE=0 -DTRUE=1 -D__int8=char -D__int16=short -D__int32=int '-D__int64=long long'   -O2 -fno-strict-aliasing   -DTC_UNIX -DTC_LINUX -fdata-sections -ffunction-sections  -Wall -Wno-sign-compare -Wno-unused-parameter -O2 -march=pentium-m -pipe -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -c CommandLineInterface.cpp -o CommandLineInterface.o

BOOL is declared as int to the pre-processor. So all BOOL references should be switched into int. So something mess with this one.

Please paste the output of:
$ equery uses wxGTK
Comment 4 Kliakhandler Kosta 2008-02-10 15:23:22 UTC
> > * the emerge log will be added as attachment because it is too large - same
> > error though *
> 
> Right... Always paste build output.

As I said, the output was too large to paste (this buzilla doesn't accept comments over 16kb in size) so I added it as an attachment.
 
> As you can see:
> i586-pc-linux-gnu-g++ -MMD
> -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source
> -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Crypto
> -DBOOL=int -DFALSE=0 -DTRUE=1 -D__int8=char -D__int16=short -D__int32=int
> '-D__int64=long long'   -O2 -fno-strict-aliasing   -DTC_UNIX -DTC_LINUX
> -fdata-sections -ffunction-sections  -Wall -Wno-sign-compare
> -Wno-unused-parameter -O2 -march=pentium-m -pipe
> -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main
> -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXGTK__ -pthread -c
> CommandLineInterface.cpp -o CommandLineInterface.o
> 
> BOOL is declared as int to the pre-processor. So all BOOL references should be
> switched into int. So something mess with this one.
> 
> Please paste the output of:
> $ equery uses wxGTK

$ equery uses wxGTK
[ Searching for packages matching wxGTK... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-libs/wxGTK-2.6.4.0-r3 ]
 U I
 + + X       : Adds support for X11
 - - debug   : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc     : Adds extra documentation (API, Javadoc, etc)
 - - gnome   : Adds GNOME support
 + + odbc    : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl  : Adds support for OpenGL (3D graphics)
 - - pch     : Enable precompiled header support for faster compilation at the expense of disk space and memory
 + + sdl     : Adds support for Simple Direct Layer (media library)
 + + unicode : Adds support for Unicode
[ Found these USE variables for x11-libs/wxGTK-2.8.7.1-r1 ]
 U I
 + + X         : Adds support for X11
 - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc       : Adds extra documentation (API, Javadoc, etc)
 - - gnome     : Adds GNOME support
 + + gstreamer : Adds support for media-libs/gstreamer (Streaming media)
 + + odbc      : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl    : Adds support for OpenGL (3D graphics)
 - - pch       : Enable precompiled header support for faster compilation at the expense of disk space and memory
 + + sdl       : Adds support for Simple Direct Layer (media library)

I pasted both (just in case?) but the 2.8 version is the relevant one, since truecrypt builds against that.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-10 20:52:14 UTC
wxGTK with odbc undefines BOOL.
Comment 6 Kliakhandler Kosta 2008-02-11 10:58:47 UTC
(In reply to comment #5)
> wxGTK with odbc undefines BOOL.
> 

Why did you mark this resolved? You can't deny that it is a bug!
At the very least (If you have no intention of making it work with wxGTK+odbc) the ebuild should be modified so that it will warn users to change the useflags...
If that's what you decide is the right fix, I can make a patch.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-11 11:02:11 UTC
It is fixed.
resync and retry.
Comment 8 Kliakhandler Kosta 2008-02-11 17:51:06 UTC
(In reply to comment #7)
> It is fixed.
> resync and retry.
> 

I did before reopening it, but I'll check again right now...
Thanks.
Comment 9 Kliakhandler Kosta 2008-02-12 10:22:54 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > It is fixed.
> > resync and retry.
> > 
> 
> I did before reopening it, but I'll check again right now...
> Thanks.
> 

Err, now it fails on another error... I'll check it out and start a new bug if need be.
Thanks for fixing this one!
Kosta.

Comment 10 Kliakhandler Kosta 2008-02-12 21:42:03 UTC
(In reply to comment #7)
> It is fixed.
> resync and retry.
> 

As a final follow up - it does compile well.

Thanks again,
Kosta.