Skip to content

Instantly share code, notes, and snippets.

@iori-yja
Created May 26, 2015 17:28
Show Gist options
  • Save iori-yja/594ebb9c3b7cbae45015 to your computer and use it in GitHub Desktop.
Save iori-yja/594ebb9c3b7cbae45015 to your computer and use it in GitHub Desktop.
➜ ./scripts/build
Building into build/release.x64
GEN gen/include/osv/version.h
Using image config: /home/iorivur/src/OS/osv/images/default.py
Importing /home/iorivur/src/OS/osv/modules/cli/module.py
Importing /home/iorivur/src/OS/osv/modules/lua/module.py
Importing /home/iorivur/src/OS/osv/modules/ncurses/module.py
Importing /home/iorivur/src/OS/osv/modules/libedit/module.py
Importing /home/iorivur/src/OS/osv/modules/httpserver/module.py
Importing /home/iorivur/src/OS/osv/modules/openssl/module.py
No module.py in /home/iorivur/src/OS/osv/modules/libz
No module.py in /home/iorivur/src/OS/osv/modules/libtools
No module.py in /home/iorivur/src/OS/osv/modules/libyaml
Modules:
lua
ncurses
libedit
libz
openssl
libtools
libyaml
httpserver.*
cli
make: Nothing to be done for 'module'.
cd build/ncurses-5.9 && make
make[1]: Entering directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9'
cd man && make DESTDIR="" all
make[2]: Entering directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/man'
cd include && make DESTDIR="" all
make[2]: Entering directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/include'
cd ncurses && make DESTDIR="" all
make[2]: Entering directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/ncurses'
linking ../lib/libtinfo.so.5.9
gcc -fPIC -O2 --param max-inline-insns-single=1200 -shared -Wl,-soname,`basename ../lib/libtinfo.so.5.9 .5.9`.5,-stats,-lc -o ../lib/libtinfo.so.5.9 ../obj_s/access.o ../obj_s/add_tries.o ../obj_s/alloc_ttype.o ../obj_s/codes.o ../obj_s/comp_captab.o ../obj_s/comp_error.o ../obj_s/comp_hash.o ../obj_s/db_iterator.o ../obj_s/doalloc.o ../obj_s/entries.o ../obj_s/fallback.o ../obj_s/free_ttype.o ../obj_s/getenv_num.o ../obj_s/home_terminfo.o ../obj_s/init_keytry.o ../obj_s/lib_acs.o ../obj_s/lib_baudrate.o ../obj_s/lib_cur_term.o ../obj_s/lib_data.o ../obj_s/lib_has_cap.o ../obj_s/lib_kernel.o ../obj_s/lib_keyname.o ../obj_s/lib_longname.o ../obj_s/lib_napms.o ../obj_s/lib_options.o ../obj_s/lib_raw.o ../obj_s/lib_setup.o ../obj_s/lib_termcap.o ../obj_s/lib_termname.o ../obj_s/lib_tgoto.o ../obj_s/lib_ti.o ../obj_s/lib_tparm.o ../obj_s/lib_tputs.o ../obj_s/lib_trace.o ../obj_s/lib_ttyflags.o ../obj_s/lib_twait.o ../obj_s/name_match.o ../obj_s/names.o ../obj_s/read_entry.o ../obj_s/read_termcap.o ../obj_s/setbuf.o ../obj_s/strings.o ../obj_s/tries.o ../obj_s/trim_sgr0.o ../obj_s/unctrl.o ../obj_s/visbuf.o ../obj_s/alloc_entry.o ../obj_s/captoinfo.o ../obj_s/comp_expand.o ../obj_s/comp_parse.o ../obj_s/comp_scan.o ../obj_s/parse_entry.o ../obj_s/write_entry.o ../obj_s/define_key.o ../obj_s/hashed_db.o ../obj_s/key_defined.o ../obj_s/keybound.o ../obj_s/keyok.o ../obj_s/version.o -L../lib
/usr/bin/ld: total time in link: 0.029999
/usr/bin/ld: data size 4775936
cd ../lib && (ln -s -f libtinfo.so.5.9 libtinfo.so.5; ln -s -f libtinfo.so.5 libtinfo.so; )
gcc -DHAVE_CONFIG_H -I../ncurses -I. -D_GNU_SOURCE -DNDEBUG -I. -I../include -fPIC -O2 --param max-inline-insns-single=1200 -fPIC -c ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
In file included from ../ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_31560.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
Makefile:1550: recipe for target '../obj_s/lib_gen.o' failed
make[2]: *** [../obj_s/lib_gen.o] Error 1
make[2]: Leaving directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9/ncurses'
Makefile:109: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/iorivur/src/OS/osv/modules/ncurses/build/ncurses-5.9'
Makefile:24: recipe for target 'build/ncurses-5.9/lib/libncurses.so' failed
make: *** [build/ncurses-5.9/lib/libncurses.so] Error 2
Traceback (most recent call last):
File "scripts/module.py", line 241, in <module>
args.func(args)
File "scripts/module.py", line 198, in build
make_modules(modules, args)
File "scripts/module.py", line 102, in make_modules
raise Exception('make failed for ' + module.name)
Exception: make failed for ncurses
./scripts/build failed: jdkbase=$jdkbase ARCH=$arch OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c $modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment