On Sun, 10 Apr 2011 16:05:46 +0100
Ciaran McCreesh <ciaran.mccre...@googlemail.com> wrote:
> Could you give git master a try please?
> 
> Or if that's not possible, the attached patch includes what I think
> might be the fix, but doesn't include test cases for it (since master's
> using Google's test framework rather than our own, so it's not clean).

paludis-0.60.3 with the patch works. But look at user/group names:

$ bzcat 
binary--app-misc--countrycodes-1.0.5-r1--C.20527.1302472766.929870.C.pax.bz2 | 
tar -tvf- 2>/dev/null
lrwxrwxrwx 0/0               0 2011-04-11 01:59 usr/bin/countrycodes -> iso3166
-rwxr-xr-x root/root     21824 2011-04-11 01:59 usr/bin/iso3166
-rw-r--r-- root/root      1056 2011-04-11 01:59 usr/share/man/man1/iso3166.1
lrwxrwxrwx 0/0               0 2011-04-11 01:59 usr/share/man/man1/countrycodes 
-> iso3166.1
-rw-r--r-- root/root       331 2011-04-11 01:59 
usr/share/doc/countrycodes-1.0.5-r1/Changelog
-rw-r--r-- root/root      3381 2011-04-11 01:59 
usr/share/doc/countrycodes-1.0.5-r1/README
-rw-r--r-- root/root    161938 2011-04-11 01:59 PBIN/environment

And I didn’t mention after my previous letter (5 Apr 2011) — tar_extras.diff 
from there also works for me. And I prefer archive_read_disk_entry_from_file 
because it automatically gets and saves all necessary data including user/group 
names.


paludis-scm install failed at src_test phase:


libtool: link: i686-pc-linux-gnu-g++ -I../.. -I../.. -pthread -Wall -Wextra 
-Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn 
-Woverloaded-virtual -Winit-self -Wunused -Wunused-function -Wshadow 
-Wwrite-strings -Wfloat-equal -Wno-ignored-qualifiers -std=gnu++0x 
-fno-deduce-init-list -pedantic -DPALUDIS_HAVE_STD_NEXT=1 
-DPALUDIS_RANDOM_IS_TR1=1 -DPALUDIS_HAVE_ENUM_CLASS=1 -Wno-old-style-cast 
-fvisibility-inlines-hidden -fvisibility=hidden -DPALUDIS_ENABLE_VISIBILITY=1 
-g0 -pthread -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pedantic -pthread 
-Wl,-O1 -Wl,--as-needed -o .libs/byte_swap_TEST byte_swap_TEST-byte_swap_TEST.o 
gtest_runner.o  -L/usr/lib -lgtest ./.libs/libpaludisutil_0.61_f83a683e.so 
-lpthread -lrt -pthread
make[7]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/util'
make[6]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/util'
make[5]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/util'
make[4]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/util'
make[3]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis'
make[2]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis'
make[1]: Leaving directory 
`/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm'
/usr/lib/libgtest.so: undefined reference to `pthread_key_create'
/usr/lib/libgtest.so: undefined reference to `pthread_getspecific'
/usr/lib/libgtest.so: undefined reference to `pthread_key_delete'
/usr/lib/libgtest.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[7]: *** [byte_swap_TEST] Error 1
make[6]: *** [check-am] Error 2
make[5]: *** [check-recursive] Error 1
make[4]: *** [check] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2
 * Tests failed. Looking for files for you to add to your bug report...
 *     
/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/fetchers/test-suite.log
 *     
/var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/paludis/syncers/test-suite.log
 *     /var/tmp/paludis/sys-apps-paludis-scm/work/paludis-scm/config.log

!!! ERROR in sys-apps/paludis-scm::paludis-overlay:
!!! In src_test at line 4237
!!! Make check failed

!!! Call stack:
!!!    * src_test (/var/tmp/paludis/sys-apps-paludis-scm/temp/loadsaveenv:4237)
!!!    * ebuild_f_test (/usr/libexec/paludis/0/src_test.bash:69)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:646)
!!!    * main (/usr/libexec/paludis/ebuild.bash:672)


!!! This package failed inside the test phase. You should read
!!!    http://paludis.pioto.org/faq/stricter.html#testfailures
!!! for more information on packages with test phase failures.


diefunc: making ebuild PID 15448 exit with error
die trap: exiting with error.

Error:
  * In program cave perform install --hooks --managed-output 
--output-exclusivity with-others =sys-apps/paludis-scm:0::paludis-overlay 
--destination installed --replacing =sys-apps/paludis-0.60.3:0::installed 
--x-of-y 2 of 2:
  * When installing 'sys-apps/paludis-scm:0::paludis-overlay' replacing { 
'sys-apps/paludis-0.60.3:0::installed' }:
  * When running an ebuild command on 'sys-apps/paludis-scm:0::paludis-overlay':
  * Install failed for 'sys-apps/paludis-scm:0::paludis-overlay' 
(paludis::ActionFailedError)


Failed install to / for sys-apps/paludis-scm:0::paludis-overlay replacing 
0.60.3:0::installed

===============================================

config.log: http://pastebin.com/8NtrKrie
paludis/fetchers/test-suite.log: http://pastebin.com/4UewWmpv
paludis/syncers/test-suite.log: http://pastebin.com/2CHDETv3

From cave show paludis:

    Use flags                 bash-completion -doc -gemcutter+ pbins -pink 
portage -python-bindings -ruby-bindings -search-index vim-syntax visibility xml 
-zsh-completion build_options: recommended_tests symbols=strip -trace 
-preserve_work 


Should I try with build_options:recommended_tests turned off? (I didn’t quite 
understand your phrase about test frameworks, actually, I know little about the 
real testing practice for big products.)
_______________________________________________
paludis-user mailing list
paludis-user@lists.pioto.org
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to