New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core v1.7.4 build fails when building for fc15 #418

Closed
marmarek opened this Issue Mar 8, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 15 Jan 2012 12:20 UTC

rpmbuild --define "_rpmdir rpm/" -bb rpm_spec/core-vm.spec
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ItR4XI
+ umask 022
+ cd /home/user/qubes-src/core
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make -C misc
make[Entering directory `/home/user/qubes-src/core/misc'
gcc -Wall -g -O3   -c -o meminfo-writer.o meminfo-writer.c
gcc -g -o meminfo-writer meminfo-writer.o -lxenstore
gcc -Wall -g -O3   -c -o xenstore-watch.o xenstore-watch.c
xenstore-watch.c:5:1: warning: return type defaults to 'int' [-Wreturn-type](1]:)
xenstore-watch.c: In function 'main':
xenstore-watch.c:28:1: warning: control reaches end of non-void function [-o xenstore-watch xenstore-watch.o -lxenstore
make[1](-Wreturn-type]
gcc): Leaving directory `/home/user/qubes-src/core/misc'
+ make -C qubes_rpc
make[Entering directory `/home/user/qubes-src/core/qubes_rpc'
gcc -g -Wall -I. -fPIC -pie   -c -o vm-file-editor.o vm-file-editor.c
gcc -g -Wall -I. -fPIC -pie   -c -o ioall.o ioall.c
gcc -pie -g -o vm-file-editor vm-file-editor.o ioall.o
gcc -g -Wall -I. -fPIC -pie   -c -o qopen-in-vm.o qopen-in-vm.c
gcc -g -Wall -I. -fPIC -pie   -c -o gui-fatal.o gui-fatal.c
gcc -pie -g -o qopen-in-vm qopen-in-vm.o ioall.o gui-fatal.o
gcc -g -Wall -I. -fPIC -pie   -c -o qfile-agent.o qfile-agent.c
gcc -g -Wall -I. -fPIC -pie   -c -o copy_file.o copy_file.c
gcc -g -Wall -I. -fPIC -pie   -c -o crc32.o crc32.c
gcc -pie -g -o qfile-agent qfile-agent.o ioall.o gui-fatal.o copy_file.o crc32.o
gcc -g -Wall -I. -fPIC -pie   -c -o qfile-unpacker.o qfile-unpacker.c
gcc -g -Wall -I. -fPIC -pie   -c -o unpack.o unpack.c
gcc -pie -g -o qfile-unpacker qfile-unpacker.o ioall.o gui-fatal.o copy_file.o unpack.o crc32.o
make[1](1]:): Leaving directory `/home/user/qubes-src/core/qubes_rpc'
+ make -C qrexec
make[Entering directory `/home/user/qubes-src/core/qrexec'
gcc -g -Wall -I../vchan -I../qubes_rpc -pie -fPIC   -c -o qrexec_daemon.o qrexec_daemon.c
gcc -g -Wall -I../vchan -I../qubes_rpc -pie -fPIC   -c -o unix_server.o unix_server.c
gcc -g -Wall -I../vchan -I../qubes_rpc -pie -fPIC   -c -o txrx-vchan.o txrx-vchan.c
gcc -g -Wall -I../vchan -I../qubes_rpc -pie -fPIC   -c -o buffer.o buffer.c
gcc -g -Wall -I../vchan -I../qubes_rpc -pie -fPIC   -c -o write_stdin.o write_stdin.c
gcc -pie -L../vchan -L../u2mfn -g -o qrexec_daemon qrexec_daemon.o unix_server.o ../qubes_rpc/ioall.o txrx-vchan.o write_stdin.o buffer.o -lvchan -lu2mfn -lxenstore -lxenctrl 
/usr/bin/ld: cannot find -lvchan
/usr/bin/ld: cannot find -lu2mfn
collect2: ld returned 1 exit status
make[1](1]:): *** [Error 1
make[1](qrexec_daemon]): Leaving directory `/home/user/qubes-src/core/qrexec'
error: Bad exit status from /var/tmp/rpm-tmp.ItR4XI (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.ItR4XI (%build)
make: *** [Error 1
make: *** [core](rpms]) Error 1

Migrated-From: https://wiki.qubes-os.org/ticket/418

@marmarek

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment