Summary: | app-crypt/truecrypt-5.0 fails to build if wxGTK has odbc USE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kliakhandler Kosta <public> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | public |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log with the same error |
Description
Kliakhandler Kosta
2008-02-09 21:39:55 UTC
PLEASE remove -s from MAKE_OPTS when you submit bugs. 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 > 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 > > * 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. wxGTK with odbc undefines BOOL. (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. It is fixed. resync and retry. (In reply to comment #7) > It is fixed. > resync and retry. > I did before reopening it, but I'll check again right now... Thanks. (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. (In reply to comment #7) > It is fixed. > resync and retry. > As a final follow up - it does compile well. Thanks again, Kosta. |