Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280786 - gnome-base/libglade-2.6.3 fails test
Summary: gnome-base/libglade-2.6.3 fails test
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-08 18:04 UTC by Jerome Potts
Modified: 2009-12-19 14:14 UTC (History)
2 users (show)

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


Attachments
complete log of install (1249680073-install-gnome-base_libglade-2.6.3:2.0::gentoo.out,101.22 KB, text/plain)
2009-08-08 18:10 UTC, Jerome Potts
Details
complete log of successful emerge (emerge.out,100.84 KB, text/plain)
2009-08-09 02:03 UTC, Jerome Potts
Details
paludis --info gone-base/libglade (paludis-info.out,11.51 KB, text/plain)
2009-08-10 05:50 UTC, Jerome Potts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Potts 2009-08-08 18:04:56 UTC
installation of gnome-base/libglade-2.6.3 aborts

Reproducible: Always

Steps to Reproduce:
1. paludis --install gnome-base/libglade (emerge libglade ?)
2.
3.

Actual Results:  
make[2]: Entering directory `/var/tmp/paludis/gnome-base-libglade-2.6.3/work/lib
glade-2.6.3/tests'
Testing conversion... 
widget convertwidget9 of class GtkList is broken.
widget packer1 of class GtkPacker is removed.

Pango-WARNING **: error opening config file '/dev/null/.pangorc': Not a director
y

aborting...
failed to load file with libglade
./test-convert: line 13: 24863 Aborted                 ./test-libglade-gtk test-
libglade-gtk.glade2
FAIL: test-convert
Testing string to enum... passed
Testing nickname string to enum... passed
Testing string to enum (single component)... passed
Testing nicknamestring to enum (single component)... passed
Testing string to flag component ordering... passed
All tests passed
PASS: test-value-parse
=========================================================================
1 of 2 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=libglade
=========================================================================
make[2]: Leaving directory `/var/tmp/paludis/gnome-base-libglade-2.6.3/work/libg
lade-2.6.3/tests'
make[1]: Leaving directory `/var/tmp/paludis/gnome-base-libglade-2.6.3/work/libg
lade-2.6.3/tests'
make[2]: *** [check-TESTS] Error 1
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in gnome-base/libglade-2.6.3:
!!! In src_test at line 29
!!! make check failed

!!! Call stack:
!!!    * src_test (/usr/libexec/paludis/0/src_test.bash:29)
!!!    * ebuild_f_test (/usr/libexec/paludis/0/src_test.bash:69)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:573)
!!!    * main (/usr/libexec/paludis/ebuild.bash:589)


!!! 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 23904 exit with error
die trap: exiting with error.

Install error:
  * In program paludis --install --dl-upgrade as-needed --dl-new-slots as-needed
 --dl-reinstall if-use-changed media-sound/paman:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'gnome-base/libglade-2.6.3:2.0::gentoo' replacing { 'gnome-b
ase/libglade-2.6.0:2.0::installed' }:
  * When running an ebuild command on 'gnome-base/libglade-2.6.3:2.0::gentoo':
  * Install error: Install failed for 'gnome-base/libglade-2.6.3:2.0::gentoo'

Expected Results:  
To pass src_tests and complete installation.

* disactivating the tests (by specifying -optional_tests in /etc/paludis/use.conf, equivalent to removing "test" from $FEATURES), i suppose the pkg will install.

* Been Googling for the error msgs, to no avail yet.

* $ eix -A x11-libs/pango
  [I] x11-libs/pango
       Available versions:  1.24.2 ~1.24.3 ~1.24.4 {X debug doc}
       Installed versions:  1.24.2(06:30:27 AM 07/21/2009)(X -debug -doc)
Comment 1 Jerome Potts 2009-08-08 18:10:14 UTC
Created attachment 200609 [details]
complete log of install

/usr/bin/less warns: file may be a binary file.  See it anyway?
(i answer "y")

/usr/bin/file returns: "ASCII English text, with very long lines, with CRLF, LF line terminators, with escape sequences"
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-08 21:04:00 UTC
does not look like a problem in 2.6.4. Closing.
Comment 3 Jerome Potts 2009-08-09 00:34:20 UTC
Not so fast: gnome-base/libglade 2.6.4 is masked, therefore not really available. Furthermore, you might have used something such as "won't fix" rather than "resolved fixed".

$ sudo paludis --install  =gnome-base/libglade-2.6.4 --dl-upgrade as-needed
* gnome-base/libglade :2.0 [! masked]
    Masked by: keyword (~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd)
* gnome-base/libglade :2.0 [U 2.6.0 -> 2.6.4] <target>
    -debug -doc build_options: optional_tests -split strip
    347.77 kBytes to download
Total: 1 package (1 upgrade), 347.77 kBytes to download, 1 error
* Cannot continue with install due to the errors indicated above


...confirmed at http://packages.gentoo.org/package/gnome-base/libglade?full_cat

$ sudo emerge =gnome-base/libglade-2.6.4
!!! All ebuilds that could satisfy "=gnome-base/libglade-2.6.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-base/libglade-2.6.4 (masked by: ~x86 keyword)
Comment 4 Jerome Potts 2009-08-09 01:13:19 UTC
Very same problem with 2.6.4
Same output, same errors, same warnings.
Comment 5 Jerome Potts 2009-08-09 02:03:13 UTC
Created attachment 200652 [details]
complete log of successful emerge

Interesting: emerge completes the installation (by skipping the bad test). I wouldn't have thought that there'd be a difference at this specific point between Emerge and Paludis.
Comment 6 Łukasz Michalik 2009-08-09 08:07:58 UTC
Can't reproduce, provide paludis --info libglade.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-09 10:32:33 UTC
I can't reproduce as well...

Testing conversion... 
widget convertwidget9 of class GtkList is broken.
widget packer1 of class GtkPacker is removed.
Testing conversion (no upgrade)... 
widget list2 of class GtkList is broken.
widget tree2 of class GtkTree is broken.
widget convertwidget9 of class GtkList is broken.
widget text1 of class GtkText is broken.
widget clist1 of class GtkCList is deprecated.
widget ctree1 of class GtkCTree is deprecated.
widget pixmap1 of class GtkPixmap is deprecated.
widget packer1 of class GtkPacker is removed.
PASS: test-convert
Testing string to enum... passed
Testing nickname string to enum... passed
Testing string to enum (single component)... passed
Testing nicknamestring to enum (single component)... passed
Testing string to flag component ordering... passed
All tests passed
PASS: test-value-parse
==================
All 2 tests passed
==================

It sounds like your setup is missing something or maybe it's due to a pango bug in <1.24.5

We'd need to know what fails in ./test-libglade-gtk, you can run it in gdb from libglade's test dir with:
$ gdb .libs/lt-test-libglade-gtk ./test-libglade-gtk.glade2
Comment 8 Jerome Potts 2009-08-10 05:50:44 UTC
Created attachment 200780 [details]
paludis --info gone-base/libglade

Ah, i have "reduced_uid->dir: /dev/null", whereas i have located someone else's with "/var/tmp/portage". I'm getting in touch with the Paludis guys about that.
Comment 9 Jerome Potts 2009-08-10 07:24:35 UTC
/var/tmp/paludis/gnome-base-libglade-2.6.3/work/libglade-2.6.3/tests $ sudo gdb .libs/lt-test-libglade-gtk ./test-libglade-gtk.glade2     
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
<snip license blurb>
This GDB was configured as "i686-pc-linux-gnu"...
"/var/tmp/paludis/gnome-base-libglade-2.6.3/work/libglade-2.6.3/tests/./test-libglade-gtk.glade2" is not a core dump: File format not recognized
(gdb) quit
Comment 10 Jerome Potts 2009-08-10 17:53:41 UTC
~ $ grep paludisbuild /etc/passwd
paludisbuild:x:104:443:added by portage for paludis:/dev/null:/sbin/nologin
~ $ sudo usermod -d /var/tmp/portage paludisbuild
~ $ grep paludisbuild /etc/passwd
paludisbuild:x:104:443:added by portage for paludis:/var/tmp/portage:/sbin/nologin
~ $ sudo paludis --install -1 --dl-upgrade as-needed gnome-base/libglade
[...]
>>> Starting src_test
[...]
Testing conversion... 
widget convertwidget9 of class GtkList is broken.
widget packer1 of class GtkPacker is removed.
Testing conversion (no upgrade)... 
widget list2 of class GtkList is broken.
widget tree2 of class GtkTree is broken.
widget convertwidget9 of class GtkList is broken.
widget text1 of class GtkText is broken.
widget clist1 of class GtkCList is deprecated.
widget ctree1 of class GtkCTree is deprecated.
widget pixmap1 of class GtkPixmap is deprecated.
widget packer1 of class GtkPacker is removed.
PASS: test-convert
Testing string to enum... passed
Testing nickname string to enum... passed
Testing string to enum (single component)... passed
Testing nicknamestring to enum (single component)... passed
Testing string to flag component ordering... passed
All tests passed
PASS: test-value-parse
==================
All 2 tests passed
==================
[...]
>>> Done src_test

...Closing bug. Thanks to all.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-11 08:52:37 UTC
so the problem was paludis not having access to /var/tmp/portage ?
Comment 12 Łukasz Michalik 2009-08-11 09:17:01 UTC
(In reply to comment #11)
> so the problem was paludis not having access to /var/tmp/portage ?
> 

No, the problem was paludisbuild user having /dev/null as home in passwd.  That's how that user was installed ca 38 years ago.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-11 10:08:48 UTC
ok, thanks for the heads up.
Comment 14 meme 2009-12-19 14:14:48 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > so the problem was paludis not having access to /var/tmp/portage ?
> > 
> 
> No, the problem was paludisbuild user having /dev/null as home in passwd. 
> That's how that user was installed ca 38 years ago.

For the record, my paludis is using /var/tmp/paludis.
Is that not the usual case?