Skip to content

Instantly share code, notes, and snippets.

@markjreed
Last active December 17, 2015 03:29
Show Gist options
  • Save markjreed/5543724 to your computer and use it in GitHub Desktop.
Save markjreed/5543724 to your computer and use it in GitHub Desktop.
Output from attempted omnibus build
$ bundle exec omnibus build project MYPROJECT
...
[builder:ncurses] building ncurses
[builder:ncurses] Executing: `./configure --prefix=/opt/MYPROJECT/embedded --with-shared --with-termlib --without-debug --enable-overwrite --enable-widec` with cwd=/var/cache/omnibus/src/ncurses-5.9,timeout=5400,env="LD_RUN_PATH=/opt/MYPROJECT/embedded/lib CFLAGS=-L/opt/MYPROJECT/embedded/lib -I/opt/MYPROJECT/embedded/include LDFLAGS=-R/opt/MYPROJECT/embedded/lib -L/opt/MYPROJECT/embedded/lib"
[builder:ncurses] ./configure command failed, 0.10139385s
[builder:ncurses] Failed to execute cmd ["./configure --prefix=/opt/MYPROJECT/embedded --with-shared --with-termlib --without-debug --enable-overwrite --enable-widec", {:cwd=>"/var/cache/omnibus/src/ncurses-5.9", :timeout=>5400, :env=>{"LD_RUN_PATH"=>"/opt/MYPROJECT/embedded/lib", "CFLAGS"=>"-L/opt/MYPROJECT/embedded/lib -I/opt/MYPROJECT/embedded/include", "LDFLAGS"=>"-R/opt/MYPROJECT/embedded/lib -L/opt/MYPROJECT/embedded/lib"}}] 1 time(s). Retrying in 5s
^C
$ cd /var/cache/omnibus/src/ncurses-5.9
$ export LD_RUN_PATH=/opt/MYPROJECT/embedded/lib CFLAGS='-L/opt/MYPROJECT/embedded/lib -I/opt/MYPROJECT/embedded/include' LDFLAGS='-R/opt/MYPROJECT/embedded/lib -L/opt/MYPROJECT/embedded/lib'
$ sh ./configure --prefix=/opt/MYPROJECT/embedded --with-shared --with-termlib --without-debug --enable-overwrite --enable-widec
checking for egrep... grep -E
Configuring NCURSES 5.9 ABI 5 (Wed May 8 17:11:19 EDT 2013)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring for linux-gnu
checking for prefix... /opt/MYPROJECT/embedded
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
$ sed -n 78,79p config.log
gcc: error: unrecognized option '-R'
configure:1743: $? = 1
$ LDFLAGS="-Wl,$LDFLAGS" !sh
sh ./configure --prefix=/opt/MYPROJECT/embedded --with-shared --with-termlib --without-debug --enable-overwrite --enable-widec
[...]
** Configuration summary for NCURSES 5.9 20110404:
extended funcs: yes
xterm terminfo: xterm-new
bin directory: /opt/MYPROJECT/embedded/bin
lib directory: /opt/MYPROJECT/embedded/lib
include directory: /opt/MYPROJECT/embedded/include
man directory: /opt/MYPROJECT/embedded/man
terminfo directory: /opt/MYPROJECT/embedded/share/terminfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment