When I try to install =app-crypt/nistp224-0.75-r1 and amd64 it fails at this point: cmp rts rts.exp >> sysdeps make: *** [sysdeps] Error 1 This fail is not present on my x86 box. How to check it? 1. go to /usr/portage/app-crypt/nistp224/ 2. edit nistp224-0.75-r1.ebuild and add ~amd64 to KEYWORDS 3. run "repoman manifest" 4. add '=app-crypt/nistp224-0.75-r1' to your package.keywords 5. add 'keepwork' to your FEATURES in your make.conf 6. emerge =app-crypt/nistp224-0.75-r1 and see how it fails Now, go to /var/tmp/portage/app-crypt/nistp224-0.75-r1/work/math/nistp224-0.75/src/ You can run the same command that causes the failure: fujitsu src # cmp rts rts.exp rts rts.exp differ: char 1881, line 79 fujitsu src # If you do exactly the same on a x86 machine, there are no differences between rts and rts.exp files: p4 src # cmp rts rts.exp p4 src # This is the line #79 of the rts file on x86: (correct) e=2^224+2^112*bigendian(48,-3,-134,-30,-90,96,-101,-57,-39,-50,-20,-135,-100,-93)+bigendian(-136,-73,33,53,-68,-45,-16,-24,-59,-58,-80,-12,101,73) And this is the line #79 of the rts file on amd64: (uncorrect) e=2^224+2^112*bigendian(83,-53,95,21,88,-39,-100,-56,-44,-26,-81,-95,119,-116)+bigendian(-15,46,-107,44,6,-93,63,-130,-100,95,-12,-40,-57,6) The rts file is created using this command from the Makefile: env - /bin/sh rts.tests 2>&1 | cat -v > rts but, at the end, is created by "accuracy" (accuracy is a binary file which is created in the same directory as rts files), and the source file of accuracy is accuracy.c I have taken a look to it and I have seen things like this: unsigned char badpoints28[][28] = { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } , { 0x11,0x1d,0x5c,0x11,0xd6,0x80,0x32,0x34,0x22,0x11,0xc2,0x56,0xd3,0xc1, 0x03,0x4a,0xb9,0x90,0x13,0x32,0x7f,0xbf,0xb4,0x6b,0xbd,0x0c,0x0e,0xb7 } } ; I don't know what that means, but..., do you think that could be a x86 assembler code or something like that?
removed from the tree