Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209449 - app-crypt/truecrypt-5.0 fails to build
Summary: app-crypt/truecrypt-5.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 19:09 UTC by Aron
Modified: 2008-02-09 20:42 UTC (History)
0 users

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


Attachments
truecrypt-5.0-64bit.patch (truecrypt-5.0-64bit.patch,1.65 KB, patch)
2008-02-09 19:39 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
truecrypt-5.0-64bit.patch (truecrypt-5.0-64bit.patch,2.41 KB, patch)
2008-02-09 19:54 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
truecrypt-5.0-64bit.patch (truecrypt-5.0-64bit.patch,3.70 KB, patch)
2008-02-09 20:17 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
truecrypt-5.0-64bit.patch (truecrypt-5.0-64bit.patch,4.40 KB, patch)
2008-02-09 20:28 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aron 2008-02-09 19:09:05 UTC
app-crypt/truecrypt-5.0 fails to build on amd64.  It complains of overloading the 'TrueCrypt::StringConverter::FromNumber' method.

Reproducible: Always

Steps to Reproduce:
1. emerge -u truecrypt
2.
3.

Actual Results:  
Compiling Event.cpp
x86_64-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 -march=native -O2 -msse3 -pipe -c Event.cpp -o Event.o
In file included from SerializerFactory.h:14,
                 from Serializable.h:16,
                 from Exception.h:14,
                 from Buffer.cpp:10:
StringConverter.h:23: error: ‘static std::wstring TrueCrypt::StringConverter::FromNumber(long int)’ cannot be overloaded
StringConverter.h:22: error: with ‘static std::wstring TrueCrypt::StringConverter::FromNumber(TrueCrypt::int64)’
StringConverter.h:26: error: ‘static std::wstring TrueCrypt::StringConverter::FromNumber(TrueCrypt::uint64)’ cannot be overloaded
StringConverter.h:25: error: with ‘static std::wstring TrueCrypt::StringConverter::FromNumber(long unsigned int)’
make[1]: *** [Buffer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from SerializerFactory.h:14,
                 from Serializable.h:16,
                 from Exception.h:14,
                 from Exception.cpp:1:
StringConverter.h:23: error: ‘static std::wstring TrueCrypt::StringConverter::FromNumber(long int)’ cannot be overloaded
StringConverter.h:22: error: with ‘static std::wstring TrueCrypt::StringConverter::FromNumber(TrueCrypt::int64)’
StringConverter.h:26: error: ‘static std::wstring TrueCrypt::StringConverter::FromNumber(TrueCrypt::uint64)’ cannot be overloaded
StringConverter.h:25: error: with ‘static std::wstring TrueCrypt::StringConverter::FromNumber(long unsigned int)’
make[1]: *** [Exception.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Platform'
make: *** [all] Error 2


Expected Results:  
It should have been successfully emerged.

Portage 2.1.4.1 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Timestamp of tree: Sat, 09 Feb 2008 17:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
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
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ALSA_CARDS="hda-intel"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=native -O2 -msse3 -pipe"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM=""
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -msse3 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-8ffSkuvFKF,guid=8ec7be4a7860de3773f0e16b47aca91d"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="kde-3.5"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/ "
GS_LIB="/home/aron/.fonts"
GTK2_RC_FILES="/home/aron/.gtkrc-2.0-kde:/home/aron/.kde3.5/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/aron/.gtkrc:/home/aron/.kde3.5/share/config/gtkrc"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.2/info:/usr/share/info/emacs-22"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIR="/usr/kde/3.5"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KDEWM="/usr/bin/fusion-icon"
KDE_FULL_SESSION="true"
KDE_IS_PRELINKED="1"
KDE_MULTIHEAD="false"
KDE_SESSION_UID="1000"
KERNEL="linux"
KONSOLE_DCOP="DCOPRef(konsole-21010,konsole)"
KONSOLE_DCOP_SESSION="DCOPRef(konsole-21010,session-1)"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LDPATH="/usr/kde/3.5/lib:/usr/kde/3.5/lib64:/usr/kde/3.5/lib32:"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OOO_FORCE_DESKTOP="gnome"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(3dfx|adabas|alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_cs5535audio|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|asm|birdstep|bmp|bmpx|bootstrap|build|capslib|clvm|cman|cmucl|coreaudio|crosscompile_opts_.*|dbmaker|doomsday|drac|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|emf|empress|empress-bcs|esoob|fdftk|filepro|firebird|frontbase|gamess|gcc64|gulm|hppa|ia64|ibm|icc|icc-pgo|ifc|infopipe|informix|ingres|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|lcd_devices_svga|m68k|macbook|mips|multilib|mzscheme|n32|n64|osp|pam_console|pbbuttonsd|pfpro|plugin|ppc|ppc-macos|ppc64|ppcsha1|psyco|pvm|real|s390|selinux|sh|solid|sparc|sparc-fbsd|svga|sybase|sybase-ct|tcc|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_amd|video_cards_i740|video_cards_impact|video_cards_imstt|video_cards_newport|video_cards_nsc|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|video_cards_vermilion|video_cards_xgi|vidix|vis|win32codecs|x86|x86-fbsd|xmms|yellownet)$"
PORTAGE_NICENESS="10"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="amd64 elibc_glibc kernel_linux userland_GNU"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/font-overlay /usr/portage/local/aron"
PRELINK_PATH_MASK="/usr/lib64/klibc"
PWD="/home/aron"
PYTHONPATH="/usr/lib64/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/games/bin:/home/aron/scripts:/sbin:/usr/sbin"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SESSION_MANAGER="local/suzuka:/tmp/.ICE-unix/7126"
SHELL="/bin/bash"
SHLVL="2"
STAGE1_USE="nptl nptlonly unicode"
SUDO_COMMAND="/usr/bin/emerge --info"
SUDO_GID="100"
SUDO_UID="1000"
SUDO_USER="aron"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion berkdb bitmap-fonts cairo cddb cdparanoia cdr cli cracklib css cups curl custom-cflags dbus dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac gdbm gif gphoto2 gpm gtk hal iconv ipod isdnlog jpeg kde lame mad matroska midi mikmod mmx mp3 mp4 mpeg mplayer mudflap musicbrainz ncurses newspr nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl srt sse sse2 ssl svg symlink taglib theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos vim-syntax vorbis x264 xcb xml xorg xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nvidia"
VMHANDLE="blackdown-jdk-1.4.2"
WINDOWID="50331655"
XCURSOR_THEME="gentoo-silver"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic,auto"
_="/usr/bin/sudo"
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-09 19:39:36 UTC
Created attachment 143051 [details, diff]
truecrypt-5.0-64bit.patch

Please try the following patch.
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-09 19:54:11 UTC
Created attachment 143053 [details, diff]
truecrypt-5.0-64bit.patch

I am not sure upstream had tested this on 64bit. Maybe keyword should be removed.
Comment 3 Aron 2008-02-09 20:01:27 UTC
(In reply to comment #2)
> Created an attachment (id=143053) [edit]
> truecrypt-5.0-64bit.patch
> 
> I am not sure upstream had tested this on 64bit. Maybe keyword should be
> removed.
> 

It gets further along, but another error of the same type is generated while compiling CommandLineInterface.cpp.

Compiling CommandLineInterface.cpp
x86_64-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 -march=native -O2 -msse3 -pipe -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c CommandLineInterface.cpp -o CommandLineInterface.o
In file included from Main.h:15,
                 from Application.cpp:11:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:31: error: ‘TrueCrypt::StringFormatterArg::StringFormatterArg(long int)’ cannot be overloaded
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:30: error: with ‘TrueCrypt::StringFormatterArg::StringFormatterArg(TrueCrypt::int64)’
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:34: error: ‘TrueCrypt::StringFormatterArg::StringFormatterArg(TrueCrypt::uint64)’ cannot be overloaded
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:33: error: with ‘TrueCrypt::StringFormatterArg::StringFormatterArg(long unsigned int)’
In file included from Main.h:15,
                 from CommandLineInterface.h:13,
                 from CommandLineInterface.cpp:13:
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:31: error: ‘TrueCrypt::StringFormatterArg::StringFormatterArg(long int)’ cannot be overloaded
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:30: error: with ‘TrueCrypt::StringFormatterArg::StringFormatterArg(TrueCrypt::int64)’
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:34: error: ‘TrueCrypt::StringFormatterArg::StringFormatterArg(TrueCrypt::uint64)’ cannot be overloaded
/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main/StringFormatter.h:33: error: with ‘TrueCrypt::StringFormatterArg::StringFormatterArg(long unsigned int)’
make[1]: *** [Application.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CommandLineInterface.o] Error 1
make[1]: *** wait: No child processes.  Stop.
make: *** [all] Error 2


Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-09 20:17:47 UTC
Created attachment 143057 [details, diff]
truecrypt-5.0-64bit.patch

And this...
Comment 5 Aron 2008-02-09 20:22:15 UTC
(In reply to comment #4)
> Created an attachment (id=143057) [edit]
> truecrypt-5.0-64bit.patch
> 
> And this...
> 

Getting there...

Compiling VolumeSizeWizardPage.cpp
x86_64-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 -march=native -O2 -msse3 -pipe -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c Forms/VolumeSizeWizardPage.cpp -o Forms/VolumeSizeWizardPage.o
Forms/VolumeSizeWizardPage.cpp: In member function ‘TrueCrypt::uint64 TrueCrypt::VolumeSizeWizardPage::GetVolumeSize() const’:
Forms/VolumeSizeWizardPage.cpp:58: error: cast from ‘void*’ to ‘int’ loses precision
Compiling WizardFrame.cpp
x86_64-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 -march=native -O2 -msse3 -pipe -I/var/tmp/portage/app-crypt/truecrypt-5.0/work/truecrypt-5.0-source/Main -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -c Forms/WizardFrame.cpp -o Forms/WizardFrame.o
make[1]: *** [Forms/VolumeSizeWizardPage.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** [all] Error 2
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-09 20:28:59 UTC
Created attachment 143058 [details, diff]
truecrypt-5.0-64bit.patch

If I were you, I wouldn't have run this on my machine :)
Comment 7 Aron 2008-02-09 20:33:54 UTC
(In reply to comment #6)
> Created an attachment (id=143058) [edit]
> truecrypt-5.0-64bit.patch
> 
> If I were you, I wouldn't have run this on my machine :)
> 

Good thing I don't have anything important encrypted with this! ;-)

This successfully builds.  I'll put it through some testing later today and see how it works out.  I may just need to mask this and stick with v4.3 for now (unless the ~amd64 keyword is removed, then I won't worry about it for a while).  Thanks!