KnoooW / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

libtomcrypt ARM build fails #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Use Mac os X 10.9.5
1. get naclsdk pepper_35
2. get latest naclports
3. build libtomcrypt like so:
  ./make_all.sh libtomcrypt

What is the expected output? What do you see instead?
expected: build succeeded

actual: 
+ set -e
+ TARGETS=libtomcrypt
+ TARGETS=libtomcrypt
+ BUILD_FLAGS=--ignore-disabled
+ export TOOLCHAIN
+ export NACL_ARCH
+ export BUILD_FLAGS
+ NACL_ARCH=x86_64
+ TOOLCHAIN=glibc
+ make libtomcrypt
bin/naclports install libtomcrypt --ignore-disabled
Building 'gmp' [x86_64/glibc/release]
Build complete 'gmp' [x86_64/glibc/release] [took 1m]
Installing 'gmp' [x86_64/glibc/release]
Building 'libtomcrypt' [x86_64/glibc/release]
Build complete 'libtomcrypt' [x86_64/glibc/release] [took 1m]
Installing 'libtomcrypt' [x86_64/glibc/release]
+ TOOLCHAIN=newlib
+ make libtomcrypt
bin/naclports install libtomcrypt --ignore-disabled
Building 'gmp' [x86_64/newlib/release]
Build complete 'gmp' [x86_64/newlib/release] [took 1m-0s]
Installing 'gmp' [x86_64/newlib/release]
Building 'libtomcrypt' [x86_64/newlib/release]
Build complete 'libtomcrypt' [x86_64/newlib/release] [took 59s]
Installing 'libtomcrypt' [x86_64/newlib/release]
+ NACL_ARCH=i686
+ TOOLCHAIN=glibc
+ make libtomcrypt
bin/naclports install libtomcrypt --ignore-disabled
Building 'gmp' [i686/glibc/release]
Build complete 'gmp' [i686/glibc/release] [took 1m]
Installing 'gmp' [i686/glibc/release]
Building 'libtomcrypt' [i686/glibc/release]
Build complete 'libtomcrypt' [i686/glibc/release] [took 48s]
Installing 'libtomcrypt' [i686/glibc/release]
+ TOOLCHAIN=newlib
+ make libtomcrypt
bin/naclports install libtomcrypt --ignore-disabled
Building 'gmp' [i686/newlib/release]
Build complete 'gmp' [i686/newlib/release] [took 1m]
Installing 'gmp' [i686/newlib/release]
Building 'libtomcrypt' [i686/newlib/release]
Build complete 'libtomcrypt' [i686/newlib/release] [took 49s]
Installing 'libtomcrypt' [i686/newlib/release]
+ NACL_ARCH=arm
+ TOOLCHAIN=newlib
+ make libtomcrypt
bin/naclports install libtomcrypt --ignore-disabled
Building 'gmp' [arm/newlib/release]
/Users/bishop/dev/naclports/src/build_tools/common.sh: line 357: 
/Users/bishop/dev/nacl_sdk/pepper_35//toolchain/mac_arm_newlib/lib/gcc/arm-nacl/
4.8.3/specs: No such file or directory
sed: stdout: Broken pipe
naclports: Building 'gmp' failed.
make: *** [libtomcrypt] Error 1

What version of the product are you using? On what operating system?
latest version. mac os 10.9.5
latest XCode

Please provide any additional information below.

Original issue reported on code.google.com by eddie.bi...@gmail.com on 23 Sep 2014 at 5:17

GoogleCodeExporter commented 9 years ago
Should be fixed here: 
https://chromium.googlesource.com/external/naclports/+/fa6c2506ba3b90744c45c0cdf
6608a7bf268da1b

I also updated the MIN_SDK_VERSION to pepper_36 though, so you will need to 
update (or modify the script to reset the minimum to 35).

Original comment by sbc@google.com on 23 Sep 2014 at 6:04

GoogleCodeExporter commented 9 years ago
Is this correct?  pepper_35 is the latest stable sdk (according to nacldsk 
package manager). Is it right to force use of a beta nacl sdk? I prefer to not 
use the beta version. If appropriate, please update the server which the 
naclsdk info command talks to so that naclsdk command will mark pepper_36 as 
stable. 

Original comment by eddie.bi...@gmail.com on 23 Sep 2014 at 7:19

GoogleCodeExporter commented 9 years ago
Yes, I'm afraid the package manager data is out-of-date. We are working on a 
fix now.  pepper_37 is stable and matches the current chrome stable (37).

Original comment by sbc@google.com on 23 Sep 2014 at 7:50