[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNOME in Guix
From: |
Danny Milosavljevic |
Subject: |
Re: GNOME in Guix |
Date: |
Wed, 4 Nov 2020 09:08:15 +0100 |
Hi,
I've checked guile-gi test/insanity.scm again to find "hard" evidence.
For that, I've just checked out guile-gi anew, then ran test/insanity.scm.
Steps:
(1) git clone https://github.com/spk121/guile-gi.git guile-gi
(2) cd guile-gi
(3) git checkout b454a99b65f927e947faab17d25bd3499829c1b4 # the current one
(4) guix environment --pure -l guix.scm --ad-hoc gtk+ guile
(5) ./bootstrap && ./configure && make
(6) tools/run-guile test/insanity.scm
%%%% Starting test insanity.scm (Writing full log to "insanity.scm.log")
/home/dannym/src/guile-gi/guile-gi/test/insanity.scm:19: FAIL GObject.Value
/home/dannym/src/guile-gi/guile-gi/test/insanity.scm:23: FAIL GObject.Closure
# of expected passes 1
# of unexpected failures 2
WARNING: (guile-user): imported module (gi) overrides core binding `quit'
(7) cat insanity.scm.log
%%%% Starting test insanity.scm
Group begin: insanity.scm
Test begin:
test-name: "GObject.Object"
source-file: "/home/dannym/src/guile-gi/guile-gi/test/insanity.scm"
source-line: 15
source-form: (test-equal "GObject.Object" <GObject> (module-ref m (quote
<GObject>)))
Test end:
result-kind: pass
actual-value: #<<class> <GObject> 7f2d4e2ca180>
expected-value: #<<class> <GObject> 7f2d4e2ca180>
Test begin:
test-name: "GObject.Value"
source-file: "/home/dannym/src/guile-gi/guile-gi/test/insanity.scm"
source-line: 19
source-form: (test-equal "GObject.Value" <GValue> (module-ref m (quote
<GValue>)))
Test end:
result-kind: fail
actual-value: #<<class> <GValue> 7f2d4e2ea680>
expected-value: #<<applicable-struct-with-setter-class> <GValue> 7f2d4e2e0200>
Test begin:
test-name: "GObject.Closure"
source-file: "/home/dannym/src/guile-gi/guile-gi/test/insanity.scm"
source-line: 23
source-form: (test-equal "GObject.Closure" <GClosure> (module-ref m (quote
<GClosure>)))
Test end:
result-kind: fail
actual-value: #<<class> <GClosure> 7f2d4e2ea900>
expected-value: #<<applicable-struct-class> <GClosure> 7f2d4e2eae80>
Group end: insanity.scm
# of expected passes 1
# of unexpected failures 2
That's it. It fails.
(8) Using attached dlopen logger (gcc -fPIC -shared -o block-open.so
block-open.c, then edit tools/uninstalled-env bottom before the exec to export
LD_PRELOAD=$PWD/block-open.so), I get:
dlopen libguile-gi
dlopen /home/dannym/src/guile-gi/guile-gi/./.libs/libguile-gi.so.5
dlopen libguile-gi
dlopen libguile-gi
dlopen libguile-gi
dlopen libguile-gi
dlopen libguile-gi
dlopen libguile-gi
dlopen
/gnu/store/xa1vfhfc42x655hi7vxqmbyvwldnz7r0-glib-2.62.6/lib/libgobject-2.0.so.0
There it is again.
(9) ldd /home/dannym/src/guile-gi/guile-gi/./.libs/libguile-gi.so.5 |grep
gobject
[...]
libgobject-2.0.so.0 =>
/gnu/store/4jl613j0d5y6icbxxmwij75fd0i7qpwn-profile/lib/libgobject-2.0.so.0
(0x00007fe2a0677000)
And there is the other one.
Now how do I get more info, using Guix tools?
block-open.c
Description: Text Data
pgpQYmBbTpxY3.pgp
Description: OpenPGP digital signature
- GNOME in Guix, Leo Prikler, 2020/11/02
- Re: GNOME in Guix, Danny Milosavljevic, 2020/11/03
- Re: GNOME in Guix, Leo Prikler, 2020/11/03
- Re: GNOME in Guix, Danny Milosavljevic, 2020/11/03
- Re: GNOME in Guix, Leo Prikler, 2020/11/03
- Re: GNOME in Guix,
Danny Milosavljevic <=
- Re: GNOME in Guix, Leo Prikler, 2020/11/04
- Re: GNOME in Guix, Danny Milosavljevic, 2020/11/04
- Re: GNOME in Guix, Leo Prikler, 2020/11/04
Re: GNOME in Guix, Pierre Neidhardt, 2020/11/06