Skip to content

Instantly share code, notes, and snippets.

@nvsofts
Created May 7, 2015 05:35
Show Gist options
  • Save nvsofts/20ddec1af3142c834f8b to your computer and use it in GitHub Desktop.
Save nvsofts/20ddec1af3142c834f8b to your computer and use it in GitHub Desktop.
[nvsofts@aya ~/osv]$ scripts/build image=java-example
Building into build/release.x64
GEN gen/include/osv/version.h
No such image configuration: java-example. Assuming list of modules.
Importing /home/nvsofts/osv/apps/java-example/module.py
Importing /home/nvsofts/osv/modules/java/module.py
Importing /home/nvsofts/osv/apps/fonts/module.py
No module.py in /home/nvsofts/osv/modules/ca-certificates
No module.py in /home/nvsofts/osv/modules/libz
No module.py in /home/nvsofts/osv/modules/josvsym
Importing /home/nvsofts/osv/modules/httpserver-jolokia-plugin/module.py
Importing /home/nvsofts/osv/modules/httpserver-jvm-plugin/module.py
Modules:
fonts
ca-certificates
libz
josvsym
httpserver-jolokia-plugin
httpserver-jvm-plugin
java
java-example.*
mkdir -p build/etc/pki/ca-trust/extracted/openssl
mkdir -p build/etc/pki/ca-trust/extracted/pem
mkdir -p build/etc/pki/ca-trust/extracted/java
p11-kit extract --format=openssl-bundle --filter=certificates --overwrite build/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose server-auth build/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose email build/etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem
p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --purpose code-signing build/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem
p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth build/etc/pki/ca-trust/extracted/java/cacerts
make: 'module' に対して行うべき事はありません.
cd /home/nvsofts/osv/java && mvn package -q -DskipTests=true
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
[debug] execute contextualize
make: 'module' に対して行うべき事はありません.
Preparing usr.manifest
Appending /home/nvsofts/osv/apps/fonts/usr.manifest to usr.manifest
Appending /home/nvsofts/osv/modules/ca-certificates/usr.manifest to usr.manifest
Appending /home/nvsofts/osv/modules/libz/usr.manifest to usr.manifest
Appending /home/nvsofts/osv/modules/josvsym/usr.manifest to usr.manifest
Appending /home/nvsofts/osv/modules/java/usr.manifest to usr.manifest
Appending /home/nvsofts/osv/apps/java-example/usr.manifest to usr.manifest
Preparing bootfs.manifest
Saving command line to /home/nvsofts/osv/build/release.x64/cmdline
OSv v0.20-4-g212f20b
OSv v0.20-4-g212f20b
OSv v0.20-4-g212f20b
OSv v0.20-4-g212f20b
OSv v0.20-4-g212f20b
OSv v0.20-4-g212f20b
qemu: terminating on signal 2
Traceback (most recent call last):
File "/home/nvsofts/osv/scripts/mkzfs.py", line 44, in <module>
upload_manifest.upload(osv, manifest, depends)
File "/home/nvsofts/osv/scripts/upload_manifest.py", line 70, in upload
line = osv.stdout.readline()
KeyboardInterrupt
Traceback (most recent call last):
File "scripts/run.py", line 483, in <module>
main(cmdargs)
File "scripts/run.py", line 398, in main
start_osv(options)
File "scripts/run.py", line 382, in start_osv
launchers[options.hypervisor](options)
File "scripts/run.py", line 200, in start_osv_qemu
subprocess.call(cmdline, env=qemu_env)
File "/usr/lib64/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 1384, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib64/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
scripts/build failed: $SRC/scripts/mkzfs.py -o usr.img -d usr.img.d -m bootfs.manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment