View previous topic :: View next topic |
Author |
Message |
Bob Leny Apprentice
Joined: 18 Aug 2006 Posts: 189
|
Posted: Tue Sep 14, 2010 2:54 am Post subject: Failed to emerge - Please download .tar.gz source from... |
|
|
OK, I'm trying to install truecrypt.
Code: | ACCEPT_KEYWORDS="~amd64" emerge truecrypt |
Then, after a few minutes, I get this:
Quote: | !!! app-crypt/truecrypt-6.3a has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.
* Please download .tar.gz source from:
* http://www.truecrypt.org/downloads2
* Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz
* Fetch failed for 'app-crypt/truecrypt-6.3a', Log file:
* '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'
>>> Failed to emerge app-crypt/truecrypt-6.3a, Log file:
>>> '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log' |
I download truecrypt 6.3a even though truecrypt doesn't recommend it. I rename the file to match what portage wants it named as. Then I cp it over to /usr/portage/distfiles/.
Now what?
When I type:
Code: | ACCEPT_KEYWORDS="~amd64" emerge truecrypt |
I get the same message.
What should I do?
Would it be better to download the latest stable version, 7.0a, and compile it from source?
Thanks! |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Tue Sep 14, 2010 3:00 am Post subject: Re: Failed to emerge - Please download .tar.gz source from.. |
|
|
Bob Leny wrote: | OK, I'm trying to install truecrypt.
Code: | ACCEPT_KEYWORDS="~amd64" emerge truecrypt |
|
Never use ACCEPT_KEYWORDS from command-line. Never. It is very easy to break your system by mixing stable an unstable this way.
Bob Leny wrote: | Then, after a few minutes, I get this:
Quote: | !!! app-crypt/truecrypt-6.3a has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information. |
|
Bob Leny wrote: | I download truecrypt 6.3a even though truecrypt doesn't recommend it. |
What exact phrase do they use?
Bob Leny wrote: | I rename the file to match what portage wants it named as. |
I this that may be the reason it doesn't work. Isn't it possible to download a .tar.gz from truecrypt? _________________ http://phajdan-jr.blogspot.com/ |
|
Back to top |
|
|
Bob Leny Apprentice
Joined: 18 Aug 2006 Posts: 189
|
Posted: Tue Sep 14, 2010 3:25 am Post subject: |
|
|
Quote: | Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz |
So I named the file as:
Quote: | truecrypt-6.3a.tar.gz |
If I'm not supposed to use the accept keywords from the command line, how am I supposed to install it then? |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
|
Back to top |
|
|
Bob Leny Apprentice
Joined: 18 Aug 2006 Posts: 189
|
Posted: Tue Sep 14, 2010 3:37 am Post subject: |
|
|
I see. That still doesn't help me install truecrypt though.
What should I do? |
|
Back to top |
|
|
xpace n00b
Joined: 20 Feb 2010 Posts: 5
|
Posted: Tue Sep 14, 2010 12:42 pm Post subject: |
|
|
the files for 6.3a offered in the truecrypt's web are binary packages and i'm unable to find the src packages so i think we must compile the last version until it is added to portage |
|
Back to top |
|
|
Mousee Apprentice
Joined: 29 Mar 2004 Posts: 291 Location: Illinois, USA
|
Posted: Tue Sep 14, 2010 4:01 pm Post subject: |
|
|
xpace wrote: | the files for 6.3a offered in the truecrypt's web are binary packages and i'm unable to find the src packages so i think we must compile the last version until it is added to portage |
http://www.truecrypt.org/downloads2
Quote: |
Source Code
The complete source code (in C, C++ and assembly) of the latest stable version of TrueCrypt.
|
So no, that's not the issue.
If I have a chance this evening I'll check it out on my test box and see if I can discover why it's not detecting the distfile package correctly (assuming this isn't a PEBKAC issue ).
EDIT:
Okay no reason to even check. Bugzilla already has a report on the issue: bug 335854.
What you can do in the meantime, if you really require installing truecrypt right now, is the following:
- wget a copy of the source tarball into your /usr/portage/distfiles directory.
- Rename the tarball to truecrypt-6.3a.tar.gz
- Go into your /usr/portage/app-crypt/truecrypt directory.
- Run: ebuild --force truecrypt-6.3a.ebuild manifest
Now try to emerge truecrypt and it should work just fine. |
|
Back to top |
|
|
Bob Leny Apprentice
Joined: 18 Aug 2006 Posts: 189
|
Posted: Tue Sep 14, 2010 5:23 pm Post subject: |
|
|
Thanks for the help!
Quote: | wget a copy of the source tarball into your /usr/portage/distfiles directory. |
Is that the same as downloading the .tar.bz source code from http://www.truecrypt.org/downloads2, and coping it to the distfiles directory?
If it is, that unfortunately didn't work. I get the same old error... |
|
Back to top |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Tue Sep 14, 2010 5:27 pm Post subject: |
|
|
It is the problem. The problem is you're renaming the 7.0 tarball to 6.3a. The checksums simply will not match, so Portage will reject the tarball as being invalid. You need to find the correct tarball for 6.3a - Most likely you should not have to rename the tarball at all from the original filename offered on truecrypt's site if it's the correct tarball. |
|
Back to top |
|
|
Mousee Apprentice
Joined: 29 Mar 2004 Posts: 291 Location: Illinois, USA
|
Posted: Tue Sep 14, 2010 5:37 pm Post subject: |
|
|
Bob Leny wrote: |
Is that the same as downloading the .tar.bz source code from http://www.truecrypt.org/downloads2, and coping it to the distfiles directory?
If it is, that unfortunately didn't work. I get the same old error... |
That versions specifically states that it's 7.0 - so as AllenJB pointed out, it won't work.
Grab the 6.3a version from here instead http://www.truecrypt.org/pastversions.
And you do indeed have to rename the file, as both the x86 and x64 packages are named differently (ie. truecrypt-6.3a-linux-x64.tar.gz and truecrypt-6.3a-linux.tar.gz.
The fetch restriction warning doesn't explicitly state this I believe, but it does suggest that...
Quote: |
* Then put the file in /usr/portage/distfiles/truecrypt-6.3a.tar.gz
|
Thus it's assumed that you have to rename it exactly as is. A bit funky, but it works. |
|
Back to top |
|
|
Bob Leny Apprentice
Joined: 18 Aug 2006 Posts: 189
|
Posted: Tue Sep 14, 2010 5:55 pm Post subject: |
|
|
Unfortunately, as mentioned above by xspace, the source code is not available for the 6.3a version. Just the ".tar.gz containing an executable setup file." So I'm guessing it wont work because it is not the source code.
However, I tired it anyways...
This is the result:
Quote: | Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/truecrypt-6.3a
* truecrypt-6.3a.tar.gz RMD160 SHA1 SHA256 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
* CPV: app-crypt/truecrypt-6.3a
* REPO: gentoo
* USE: X amd64 elibc_glibc kernel_linux userland_GNU
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.34-gentoo-r6/build
* Found sources for kernel version:
* 2.6.34-gentoo-r6
* Checking for suitable kernel configuration options...
* CONFIG_DM_CRYPT: is not set when it should be.
* CONFIG_FUSE_FS: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Checking wxGTK-2.8 for X support ... [ ok ]
* Requested wxWidgets: unicode 2.8
* Using wxWidgets: gtk2-unicode-release-2.8
>>> Unpacking source...
>>> Unpacking truecrypt-6.3a.tar.gz to /var/tmp/portage/app-crypt/truecrypt-6.3a/work
>>> Source unpacked in /var/tmp/portage/app-crypt/truecrypt-6.3a/work
>>> Preparing source in /var/tmp/portage/app-crypt/truecrypt-6.3a/work ...
sed: can't read Main/Main.make: No such file or directory
* ERROR: app-crypt/truecrypt-6.3a failed:
* sed Main/Main.make failed
*
* Call stack:
* ebuild.sh, line 54: Called src_prepare
* environment, line 3617: Called die
* The specific snippet of code:
* sed -e "s/WX_CONFIG_LIBS := base/&,core/" -i Main/Main.make || die "sed Main/Main.make failed";
*
* If you need support, post the output of 'emerge --info =app-crypt/truecrypt-6.3a',
* the complete build log and the output of 'emerge -pqv =app-crypt/truecrypt-6.3a'.
* The complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/environment'.
* S: '/var/tmp/portage/app-crypt/truecrypt-6.3a/work/truecrypt-6.3a-source'
>>> Failed to emerge app-crypt/truecrypt-6.3a, Log file:
>>> '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'
* Messages for package app-crypt/truecrypt-6.3a:
* CONFIG_DM_CRYPT: is not set when it should be.
* CONFIG_FUSE_FS: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* ERROR: app-crypt/truecrypt-6.3a failed:
* sed Main/Main.make failed
*
* Call stack:
* ebuild.sh, line 54: Called src_prepare
* environment, line 3617: Called die
* The specific snippet of code:
* sed -e "s/WX_CONFIG_LIBS := base/&,core/" -i Main/Main.make || die "sed Main/Main.make failed";
*
* If you need support, post the output of 'emerge --info =app-crypt/truecrypt-6.3a',
* the complete build log and the output of 'emerge -pqv =app-crypt/truecrypt-6.3a'.
* The complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-6.3a/temp/environment'.
* S: '/var/tmp/portage/app-crypt/truecrypt-6.3a/work/truecrypt-6.3a-source' |
Is there anything else I can try, or is it now just a waiting game? |
|
Back to top |
|
|
Yarik n00b
Joined: 01 Oct 2007 Posts: 22 Location: Russia
|
Posted: Sun Sep 26, 2010 8:23 pm Post subject: |
|
|
Ebuilds for truecrypt 6.3a and 7.0a are available in yarik-overlay |
|
Back to top |
|
|
|