First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 210485
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabrizio Lanza <fabrizio.lanza@monfalcone.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
truecrypt-5.0a.ebuild new proposed ebuild text/plain Fabrizio Lanza 2008-02-20 19:15 0000 1.76 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210485 depends on: Show dependency tree
Show dependency graph
Bug 210485 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-17 15:55 0000
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 From Alon Bar-Lev (RETIRED) 2008-02-17 16:00:27 0000 -------
Please paste:
equery uses wxGTK

------- Comment #2 From Fabrizio Lanza 2008-02-17 16:50:33 0000 -------
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 From Fabrizio Lanza 2008-02-17 16:54:27 0000 -------
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 From Fabrizio Lanza 2008-02-20 19:15:19 0000 -------
Created an attachment (id=144148) [edit]
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 From Alon Bar-Lev (RETIRED) 2008-02-22 22:30:31 0000 -------
I sorry for the delay, I did not have time to check it out.
Fixed without hacks.
Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug