Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241732 - stabilize app-misc/vlock-2.2.2-r2
Summary: stabilize app-misc/vlock-2.2.2-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-10-13 09:38 UTC by Peter Volkov (RETIRED)
Modified: 2009-01-10 16:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2008-10-13 09:38:46 UTC
Arch teams, please, stabilize app-misc/vlock-2.2.2-r1. Thank you in advance.
Comment 1 Richard Freeman gentoo-dev 2008-10-13 23:35:41 UTC
amd64 stable
Comment 2 Brent Baude (RETIRED) gentoo-dev 2008-10-14 20:41:49 UTC
ppc stable
Comment 3 Brent Baude (RETIRED) gentoo-dev 2008-10-14 20:43:51 UTC
A couple of things.  I think this package requires cunit when tests are run.  Might want to add as a dep?

Second, ppc64 fails tests as follows:

>>> Unpacking source...
>>> Unpacking vlock-2.2.2.tar.gz to /var/tmp/portage/app-misc/vlock-2.2.2-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2 ...
vlock configuration
 
directories:
  prefix:     /usr
  bindir:     $(PREFIX)/bin
  sbindir:    $(PREFIX)/sbin
  libdir:     /usr/lib64
  mandir:     /usr/share/man
  scriptdir:  $(LIBDIR)/vlock/scripts
  moduledir:  $(LIBDIR)/vlock/modules
 
features:
  enable plugins: yes
  root-password:  yes
  auth-method:    pam
  modules:        all.so new.so nosysrq.so
  scripts:        
 
build configuration:
 
  operating system: Linux
  gnu make:         make
  c compiler:       powerpc64-unknown-linux-gnu-gcc
  compiler flags:   -O2 -pipe -pedantic -std=gnu99
  linker flags      
  pam libs:         -ldl -lpam
  dl libs:          -ldl
  crypt lib:        -lcrypt
 
installation configuration:
  root group:       root
  vlock group:      vlock
/bin/sh -n src/vlock.sh
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc -DUSE_PLUGINS   -c -o vlock-main.o src/vlock-main.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o prompt.o src/prompt.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o auth-pam.o src/auth-pam.c
sed \
		-e 's,%BOURNE_SHELL%,/bin/sh,' \
		-e 's,%PREFIX%,/usr,' \
		-e 's,%VLOCK_VERSION%,2.2.2,' \
		-e 's,%VLOCK_ENABLE_PLUGINS%,yes,' \
		src/vlock.sh > vlock.tmp
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o console_switch.o src/console_switch.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o util.o src/util.c
mv -f vlock.tmp vlock
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o plugins.o src/plugins.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o plugin.o src/plugin.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc -DVLOCK_MODULE_DIR="\"/usr/lib64/vlock/modules\""   -c -o module.o src/module.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o process.o src/process.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc -DVLOCK_SCRIPT_DIR="\"/usr/lib64/vlock/scripts\""   -c -o script.o src/script.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o tsort.o src/tsort.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -Isrc   -c -o list.o src/list.c
make[1]: Entering directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/modules'
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src -fPIC   -c -o all.o all.c
make[1]: Entering directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/scripts'
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src -fPIC   -c -o new.o new.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src -fPIC   -c -o nosysrq.o nosysrq.c
powerpc64-unknown-linux-gnu-gcc -shared  -shared all.o   -o all.so
powerpc64-unknown-linux-gnu-gcc -shared  -shared nosysrq.o   -o nosysrq.so
powerpc64-unknown-linux-gnu-gcc -rdynamic  vlock-main.o prompt.o auth-pam.o console_switch.o util.o plugins.o plugin.o module.o process.o script.o tsort.o list.o  -ldl -lpam -ldl -o vlock-main
powerpc64-unknown-linux-gnu-gcc -shared  -shared new.o   -o new.so
rm nosysrq.o new.o
make[1]: Leaving directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/modules'
>>> Source compiled.
>>> Test phase [check]: app-misc/vlock-2.2.2-r1
make[1]: Entering directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/tests'
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o vlock-test.o vlock-test.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o test_list.o test_list.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o test_tsort.o test_tsort.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o test_util.o test_util.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o test_process.o test_process.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o list.o ../src/list.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o tsort.o ../src/tsort.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o util.o ../src/util.c
powerpc64-unknown-linux-gnu-gcc -O2 -pipe -pedantic -std=gnu99 -I../src   -c -o process.o ../src/process.c
powerpc64-unknown-linux-gnu-gcc -lcunit  vlock-test.o test_list.o test_tsort.o test_util.o test_process.o list.o tsort.o util.o process.o   -o vlock-test
 
 
     CUnit - A Unit testing framework for C - Version 2.1-0
     http://cunit.sourceforge.net/
 
 
Suite: test_list
  Test: test_list_new ... passed
  Test: test_list_copy ... passed
  Test: test_list_free ... passed
  Test: test_list_length ... passed
  Test: test_list_append ... passed
  Test: test_list_delete_item ... passed
  Test: test_list_delete ... passed
  Test: test_list_find ... passed
Suite: test_tsort
  Test: test_tsort ... passed
Suite: test_util
  Test: test_parse_timespec ... passed
Suite: test_process
  Test: test_wait_for_death ... FAILED
    1. test_process.c:26  - wait_for_death(pid, 0, 20000)
  Test: test_ensure_death ... passed
  Test: test_create_child_function ... passed
  Test: test_create_child_process ... passed
 
--Run Summary: Type      Total     Ran  Passed  Failed
               suites        4       4     n/a       0
               tests        14      14      13       1
               asserts      91      91      90       1
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/vlock-2.2.2-r1/work/vlock-2.2.2/tests'
make: *** [check] Error 2
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-10-15 05:02:01 UTC
(In reply to comment #3)
> A couple of things.  I think this package requires cunit when tests are run. 
> Might want to add as a dep?

yup, this is bug #241878 which was reported some time ago. I'll hold further stabilization then, until that bug will be resolved.
Comment 5 Dustin Polke 2009-01-08 13:06:17 UTC
cunit is keyworded now since quite a while. Despite two open QA bugs (#241348 and #247234), no open bugs concerning functionality.

Maybe get this rolling again.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-01-08 14:39:42 UTC
Thank you Dustin for notification. Both QA issues were fixed.

Arch teams, please, stabilize app-misc/vlock-2.2.2-r2 and dev-util/cunit-2.1-r1. Thank you in advance.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2009-01-09 21:37:35 UTC
Tests pass just fine on ppc/ppc64, marked ppc stable.
Comment 8 Markus Meier gentoo-dev 2009-01-10 10:07:43 UTC
amd64/x86 stable
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2009-01-10 16:14:50 UTC
alpha/ia64/sparc stable, closing