Hi Angus,

Update on that --

I wish I had a good explanation, but this fixed it:

sudo rm /dev/shm/qb-test*
sudo make

I had initially run make as a non-root user, but this seemed to work.

Also, will do, just been using 0.10.1 since it's packaged in with Proxmox at the moment.

Cheers,
Andrew


On Mon, Mar 12, 2012 at 8:03 PM, Angus Salkeld <asalkeld@redhat.com> wrote:
On 12/03/12 17:49 -0300, Andrew Eross wrote:
Hi,

Just thought I'd share, as requested by the build program.

Building from a nearly clean Debian Squeeze 32-bit while building proxmox:

Thanks for reporting this. I have Squeeze 64 VM, I'll have to install a 32 bit
one to test. You might want to give v0.11.1 a go as it has a number of portability
fixes.

Regards
Angus Salkeld



gcc -DHAVE_CONFIG_H -I. -I../include -I../include/qb  -I../include
-I../include  -I../include -fPIC       -Wall -Wshadow -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement
-Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast
-Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wno-format-nonliteral -Wno-long-long -Wno-strict-aliasing  -c -o
util_test-check_util.o `test -f 'check_util.c' || echo './'`check_util.c
 CCLD   util.test
make[5]: Nothing to be done for `resources.test'.
make[5]: Leaving directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
make  check-TESTS
make[5]: Entering directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
make[6]: Entering directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
PASS: array.test
PASS: map.test
PASS: util.test
PASS: rb.test
PASS: log.test
PASS: loop.test
FAIL: ipc.test
FAIL: resources.test
===================================================
2 of 8 tests failed
See tests/test-suite.log
Please report to quarterback-devel@fedorahosted.org
===================================================
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/superfrog/proxmox32/libqb/libqb-0.10.1/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/superfrog/proxmox32/libqb/libqb-0.10.1'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/superfrog/proxmox32/libqb/libqb-0.10.1'
dh_auto_test: make -j1 check returned exit code 2
make[1]: *** [build] Error 29
make[1]: Leaving directory `/home/superfrog/proxmox32/libqb/libqb-0.10.1'
dpkg-buildpackage: error: debian/rules build gave error exit status 2
make: *** [libqb_0.10.1-2_i386.deb] Error 2

superfrog@cs03:~/proxmox32/libqb/libqb-0.10.1/tests$ cat test-suite.log
================================================
 libqb 0.10.1.4-b298e: tests/test-suite.log
================================================

2 of 8 tests failed.

.. contents:: :depth: 2


FAIL: ipc.test (exit: 1)
========================

Running suite(s): ipc
[info] server name: test_ipc_server_fail_shm
[info] IPC credentials authenticated
[info] server name: test_ipc_server_fail_soc
[info] IPC credentials authenticated
[info] server name: test_ipc_txrx_shm_block
[info] IPC credentials authenticated
[info] server name: test_ipc_txrx_shm_tmo
[info] IPC credentials authenticated
[info] server name: test_ipc_txrx_us_block
[info] IPC credentials authenticated
[info] server name: test_ipc_txrx_us_tmo
[info] IPC credentials authenticated
[info] server name: test_ipc_fc_shm
[info] IPC credentials authenticated
[info] qb_ipcc_send: Resource temporarily unavailable (11)
[info] server name: test_ipc_fc_us
[info] IPC credentials authenticated
[info] server name: test_ipc_disp_shm
[info] IPC credentials authenticated
[info] server name: test_ipc_disp_us
[info] IPC credentials authenticated
[info] qb_ipcs_event_send: Socket operation on non-socket (88)
[info] server name: test_ipc_exit_shm
[info] IPC credentials authenticated
90%: Checks: 11, Failures: 0, Errors: 1
check_ipc.c:563:P:ipc_server_fail_shm:test_ipc_server_fail_shm:0: Passed
check_ipc.c:563:P:ipc_server_fail_soc:test_ipc_server_fail_soc:0: Passed
check_ipc.c:282:P:ipc_txrx_shm_block:test_ipc_txrx_shm_block:0: Passed
check_ipc.c:282:P:ipc_txrx_shm_tmo:test_ipc_txrx_shm_tmo:0: Passed
check_ipc.c:282:P:ipc_txrx_us_block:test_ipc_txrx_us_block:0: Passed
check_ipc.c:282:P:ipc_txrx_us_tmo:test_ipc_txrx_us_tmo:0: Passed
check_ipc.c:282:P:ipc_fc_shm:test_ipc_fc_shm:0: Passed
check_ipc.c:282:P:ipc_fc_us:test_ipc_fc_us:0: Passed
check_ipc.c:457:P:ipc_dispatch_shm:test_ipc_disp_shm:0: Passed
check_ipc.c:469:E:ipc_dispatch_us:test_ipc_disp_us:0: (after this point)
Test timeout expired
check_ipc.c:337:P:ipc_exit_shm:test_ipc_exit_shm:0: Passed

FAIL: resources.test (exit: 1)
==============================

/dev/shm/qb-test_ipc_disp_us-control-5594-8

Error: shared memory segments not closed/unlinked

Cheers,
Andrew

Andrew Eross
CTO
Locatrix Communications
Office: +61 7 3123 1469
Mobile: +55 11 8654 7834
eross@locatrix.com

_______________________________________________
quarterback-devel mailing list
quarterback-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/quarterback-devel