Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331427 - dev-libs/libtomcrypt-1.06: Failed Patch: libtomcrypt-1.06-makefile.diff
Summary: dev-libs/libtomcrypt-1.06: Failed Patch: libtomcrypt-1.06-makefile.diff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 12:00 UTC by Lieven
Modified: 2010-08-09 10:09 UTC (History)
3 users (show)

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


Attachments
makefile.diff.out (libtomcrypt-1.06-makefile.diff.out,2.74 KB, text/plain)
2010-08-06 12:03 UTC, Lieven
Details
output from the emerge command (bug-libtomcrypt-out.txt,4.42 KB, text/plain)
2010-08-06 12:04 UTC, Lieven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lieven 2010-08-06 12:00:33 UTC
After trying to install a manual ebuild for BEID runtime (can be found here: http://bugs.gentoo.org/show_bug.cgi?id=187422) I cannot install the libtomcrypt package using emerge, it failes because the patch file doesn't seem to work.

I try to install the libtomcrypt package because the beid-runtime-3.5.4 fails with some error referring to the libtomcrypt.

Reproducible: Didn't try

Steps to Reproduce:
1. I try installing a manual ebuild: beid-runtime-3.5.4 which can be found here:
http://bugs.gentoo.org/attachment.cgi?id=235239
after extracting the file, I run: "ebuild app-misc/beid-runtime/beid-runtime-3.5.4.ebuild merge" as root (not sudo)

2. installed the package "pcsc-lite" because it was requested by the ebuild: "sudo emerge -av pcsc-lite" This went ok

3. reran "ebuild app-misc/beid-runtime/beid-runtime-3.5.4.ebuild merge" as root
failed with:

libtomcrypt/tomcrypt_macros.h:229: warning: asm operand 2 probably doesn't match constraints
libtomcrypt/tomcrypt_macros.h:229: error: impossible constraint in 'asm'

4. then I did an ebuild clean and tried to install the libtomcrypt package using emerge: "sudo emerge -av libtomcrypt" which failes with following info:

 * Failed Patch: libtomcrypt-1.06-makefile.diff !
 *  ( /usr/portage/dev-libs/libtomcrypt/files/libtomcrypt-1.06-makefile.diff )

retried emerge libtomcrypt but same problem.
Actual Results:  
cannot emerge libtomcrypt
cannot install the beid-runtime-3.5.4 manual ebuild

Expected Results:  
I suppose it should have just installed the libtomcrypt package after applying the patch to it without giving me any error.

I will add info as attachment as requested by emerge.
/var/tmp/portage/dev-libs/libtomcrypt-1.06/temp/libtomcrypt-1.06-makefile.diff.out
Comment 1 Lieven 2010-08-06 12:03:15 UTC
Created attachment 241621 [details]
makefile.diff.out

this file has been requested by emerge to be included in bugreport.
Comment 2 Lieven 2010-08-06 12:04:43 UTC
Created attachment 241623 [details]
output from the emerge command

text output from emerge
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-08-06 22:26:34 UTC
Hello,

I could reproduce your error.
Can you please try to emerge version 1.17-r2 on your system as a work-around?

Michael
Comment 4 Michael Weber (RETIRED) gentoo-dev 2010-08-06 22:58:34 UTC
Hello Thilo,

you're mentioned in the ChangeLog as committer of this patch, can you please take a look?!

Thanks, Michael
Comment 5 Lieven 2010-08-07 11:31:29 UTC
(In reply to comment #3)
> Hello,
> 
> I could reproduce your error.
> Can you please try to emerge version 1.17-r2 on your system as a work-around?
> 
> Michael
> 

Thanks for the advice Michael, I did the following:
$> ACCEPT_KEYWORDS="~amd64" emerge -av libtomcrypt

This installed 1.17-r3 on my system, I got no errors here.

kind regards,
Lieven
Comment 6 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-08-09 10:09:10 UTC
this is really really weird, but its fixed now (again).

thanks for the report.