This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build failed in step 'Dumping user-supplied crosstool-NG configuration'


Hi,
I got the same problem when trying to build on a Mac Pro with Osx.
Are you building on a Mac.?

The reason being that the bsd-grep on Mac does not work with this
expression.

So I installed grep from macports. That fixed it for me.

$ grep --version
grep (BSD grep) 2.5.1-FreeBSD

$ /opt/local/bin/grep --version
/opt/local/bin/grep (GNU grep) 2.12


Regards
Per A.

On 26. sep. 2012 05:46, Blair Burtan wrote:
> Trying to build a arm-unknown-linux-gnueabi toolchain and I get the
> following output:
> 
> [INFO ]  Performing some trivial sanity checks
> [INFO ]  Build started 20120925.195532
> [00:00] / touch: /backtrace: Permission denied
> [ERROR]  
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Dumping user-supplied crosstool-NG
> configuration'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@103]
> [00:00] / touch: /backtrace: Permission denied
> [ERROR]  
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Dumping user-supplied crosstool-NG
> configuration'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@103]
> [ERROR]  >>
> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
> [ERROR]  >>      
> '/Volumes/CrosstoolCompile/foo/share/doc/crosstool-ng/ct-ng.1.16.0/B - Known
> issues.txt'
> [ERROR]   
> [ERROR]  (elapsed: 0:00.00)
> [00:00] / make: *** [build] Error 1
> 
> 
> 
> The build.log looks like this:
> 
> [DEBUG]  Testing '! ( -n  )'
> [DEBUG]  Testing '! ( -n  )'
> [DEBUG]  Testing '! ( -n  )'
> [DEBUG]  ==> Executing: 'mkdir' '-p'
> '/Volumes/CrosstoolCompile/x-tool/.build'
> [DEBUG]  ==> Executing: 'touch'
> '/Volumes/CrosstoolCompile/x-tool/.build/foo'
> [DEBUG]  Testing '! ( -f /Volumes/CrosstoolCompile/x-tool/.build/FOO )'
> [DEBUG]  ==> Executing: 'rm' '-f'
> '/Volumes/CrosstoolCompile/x-tool/.build/foo'
> [DEBUG]  Testing '-f /bin/bash -a -x /bin/bash'
> [DEBUG]  Creating bin-override for tools in
> '/Volumes/CrosstoolCompile/x-tool/.build/tools'
> [DEBUG]  ==> Executing: 'mkdir' '-p'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin'
> [DEBUG]  Creating script-override for 'install' ->
> '"/opt/local/bin/ginstall"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/install'
> [DEBUG]  Creating script-override for 'bash' -> '"/bin/bash"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/bash'
> [DEBUG]  Creating script-override for 'awk' -> '"/sw/bin/awk"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/awk'
> [DEBUG]  Creating script-override for 'grep' -> '"/usr/bin/grep"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/grep'
> [DEBUG]  Creating script-override for 'make' -> '"/usr/bin/make"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/make'
> [DEBUG]  Creating script-override for 'sed' -> '"/opt/local/bin/gsed"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/sed'
> [DEBUG]  Creating script-override for 'libtool' ->
> '"/opt/local/bin/glibtool"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/libtool'
> [DEBUG]  Creating script-override for 'libtoolize' ->
> '"/opt/local/bin/glibtoolize"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/libtoolize'
> [DEBUG]  Creating script-override for 'objcopy' ->
> '"/opt/local/bin/gobjcopy"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/objcopy'
> [DEBUG]  Creating script-override for 'objdump' ->
> '"/opt/local/bin/gobjdump"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/objdump'
> [DEBUG]  Creating script-override for 'readelf' ->
> '"/opt/local/bin/greadelf"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/readelf'
> [DEBUG]  Creating script-override for 'patch' -> '"/usr/bin/patch"'
> [DEBUG]  ==> Executing: 'chmod' '700'
> '/Volumes/CrosstoolCompile/x-tool/.build/tools/bin/patch'
> [INFO ]  Build started 20120925.195532
> [DEBUG]  =================================================================
> [DEBUG]  Dumping user-supplied crosstool-NG configuration
> [DEBUG]    ==> Executing: 'grep' '-E' '^(# |)CT_' '.config'
> [DEBUG]    grep: empty (sub)expression
> [ERROR]  
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Dumping user-supplied crosstool-NG
> configuration'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@103]
> [ERROR]  
> [ERROR]  >>
> [ERROR]  >>  Build failed in step 'Dumping user-supplied crosstool-NG
> configuration'
> [ERROR]  >>        called in step '(top-level)'
> [ERROR]  >>
> [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
> [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@103]
> [ERROR]  >>
> [ERROR]  >>  For more info on this error, look at the file: 'build.log'
> [ERROR]  >>  There is a list of known issues, some with workarounds, in:
> [ERROR]  >>      
> '/Volumes/CrosstoolCompile/foo/share/doc/crosstool-ng/ct-ng.1.16.0/B - Known
> issues.txt'
> [ERROR]  
> [ERROR]  (elapsed: 0:00.00)
> 
> 
> 
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 
> 
> 


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]