Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210485 - app-crypt/truecrypt-5.0a does not build - cannot find -lwx_baseu_core-2.8
Summary: app-crypt/truecrypt-5.0a does not build - cannot find -lwx_baseu_core-2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-17 15:55 UTC by Fabrizio Lanza
Modified: 2008-02-22 22:30 UTC (History)
0 users

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


Attachments
new proposed ebuild (truecrypt-5.0a.ebuild,1.76 KB, text/plain)
2008-02-20 19:15 UTC, Fabrizio Lanza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabrizio Lanza 2008-02-17 15:55:15 UTC
After the manual installation of the .tar.gz, as for the new procedure, it works fine until it starts compiling. Then, it will die with the message "cannot find -lwx_baseu_core-2.8". It seems to me that it needs WX sources and cannot find them.

i486-pc-linux-gnu-g++ -o truecrypt  -Wl,--gc-sections -Wl,--hash-style=sysv   Application.o CommandLineInterface.o FavoriteVolume.o FatalErrorHandler.o GraphicUserInterface.o LanguageStrings.o Hotkey.o StringFormatter.o TextUserInterface.o UserInterface.o UserPreferences.o VolumeHistory.o Xml.o Unix/Main.o Resources.o /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Core/Core.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Driver/Fuse/Driver.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Volume/Volume.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Platform/Platform.a  -pthread -lfuse -lrt -ldl   -pthread   -lwx_baseu_core-2.8 -lwx_baseu-2.8
/usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lwx_baseu_core-2.8
collect2: ld returned 1 exit status
make[1]: *** [truecrypt] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Main'
make: *** [all] Error 2
 *
 * ERROR: app-crypt/truecrypt-5.0a failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2135:  Called die
 * The specific snippet of code:
 *       emake ${EXTRA} 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.0a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0a/temp/environment'.
 *

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

 *
 * ERROR: app-crypt/truecrypt-5.0a failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2135:  Called die
 * The specific snippet of code:
 *       emake ${EXTRA} 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.0a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0a/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. Download the .tar.gz from http://www.truecrypt.org/downloads2.php.
2. Rename it to truecrypt-5.0a.tar.gz and put it in /use/portage/distfiles.
3. emerge truecrypt
Actual Results:  
Compilation dies with the message "cannot find -lwx_baseu_core-2.8". It seems to look for WX libraries.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-17 16:00:27 UTC
Please paste:
equery uses wxGTK
Comment 2 Fabrizio Lanza 2008-02-17 16:50:33 UTC
I checked wxwidget:
eselect wxwidgets list
Available wxWidgets profiles:
  [1]   base-unicode-release-2.8

wxGTK is installed. Reading the Readme.txt of truecrypt, it says that it needs the WX_ROOT for make:
make WX_ROOT=/usr/src/wxWidgets wxbuild

This seems missing.
Comment 3 Fabrizio Lanza 2008-02-17 16:54:27 UTC
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.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)

(In reply to comment #1)
> Please paste:
> equery uses wxGTK

Comment 4 Fabrizio Lanza 2008-02-20 19:15:19 UTC
Created attachment 144148 [details]
new proposed ebuild

I could install truecrypt-5.0a with the attached ebuild. I'll check on another computer if it installs succesfully. I basically modified it as follows:

RDEPEND="sys-fs/fuse
	>=x11-libs/wxGTK-2.8.0" 

WX_CONFIG="${WX_CONFIG/2.*/2.8}" \ # workaround to incomplete eclass, force wxGTK 2.8
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-22 22:30:31 UTC
I sorry for the delay, I did not have time to check it out.
Fixed without hacks.
Thanks!