From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oM9iFIZhol8BbAAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 08:08:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qHdDEIZhol+6MQAA1q6Kng (envelope-from ) for ; Wed, 04 Nov 2020 08:08:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 19ACF940111 for ; Wed, 4 Nov 2020 08:08:38 +0000 (UTC) Received: from localhost ([::1]:34762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaDqP-0005J1-0R for larch@yhetil.org; Wed, 04 Nov 2020 03:08:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaDqE-0005Hi-OZ for guix-devel@gnu.org; Wed, 04 Nov 2020 03:08:26 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:54986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaDqC-0000wh-1e; Wed, 04 Nov 2020 03:08:26 -0500 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 51D2E336079F; Wed, 4 Nov 2020 09:08:20 +0100 (CET) Date: Wed, 4 Nov 2020 09:08:15 +0100 From: Danny Milosavljevic To: Leo Prikler , ludo@gnu.org Subject: Re: GNOME in Guix Message-ID: <20201104090815.05654315@scratchpost.org> In-Reply-To: References: <9324ae97b8c1c2452386154d56922558b8274812.camel@student.tugraz.at> <20201103101430.711ce21a@scratchpost.org> <898d3e29025888a0d218ddf8b468a676ece2490f.camel@student.tugraz.at> <20201103202416.628375fb@scratchpost.org> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/T5gZ=PPEEHuxvJ4W62+sXAx"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 03:08:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: 1jc5qP9KZiof --Sig_/T5gZ=PPEEHuxvJ4W62+sXAx Content-Type: multipart/mixed; boundary="MP_/iBVKCQyvKA5H_tI6izgc27e" --MP_/iBVKCQyvKA5H_tI6izgc27e Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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.Closu= re # 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" (module-ref m (quote = ))) Test end: result-kind: pass actual-value: #< 7f2d4e2ca180> expected-value: #< 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" (module-ref m (quote ))) Test end: result-kind: fail actual-value: #< 7f2d4e2ea680> expected-value: #< 7f2d4e2e= 0200> 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" (module-ref m (quot= e ))) Test end: result-kind: fail actual-value: #< 7f2d4e2ea900> expected-value: #< 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=3D$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/libgobje= ct-2.0.so.0 There it is again. (9) ldd /home/dannym/src/guile-gi/guile-gi/./.libs/libguile-gi.so.5 |grep g= object [...] libgobject-2.0.so.0 =3D> /gnu/store/4jl613j0d5y6icbxxmwij75fd0i7qpw= n-profile/lib/libgobject-2.0.so.0 (0x00007fe2a0677000) And there is the other one. Now how do I get more info, using Guix tools? --MP_/iBVKCQyvKA5H_tI6izgc27e Content-Type: text/x-c++src Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=block-open.c #define _GNU_SOURCE #include #include #include #include typedef void *(*dlopen_t)(const char *filename, int flags); void *dlopen(const char *filename, int flags) { void* result; dlopen_t dlopen =3D dlsym(RTLD_NEXT, "dlopen"); fprintf(stderr, "dlopen %s\n", filename); if (filename && strstr(filename, "/") =3D=3D NULL && strstr(filename, "lib= cairo-gobject.so")) { fprintf(stderr, "dlopen blocked %s\n", filename); result =3D dlopen(filename, flags); if (result) { fprintf(stderr, "and would have been found! Aborting!\n"); /*int* x =3D 0; *x =3D 5; abort();*/ } //return NULL; } result =3D dlopen(filename, flags); return result; } --MP_/iBVKCQyvKA5H_tI6izgc27e-- --Sig_/T5gZ=PPEEHuxvJ4W62+sXAx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl+iYXAACgkQ5xo1VCww uqVw4Af+Icvj7Hpy6K/9SvH2x9AwQW5X2rO3FHPg9eOWdq0VxbnLErkv+/jXuPwH e71sJOlWlIStltN4qDZAFE/FaI54VdFEUesi5hWvH4OM9OYP4zeJ3tux5oI8PLSp Bp5wTXcc70gB2QEXsWi+jM+BwpiTgFlrrIBp4AlXSdMybsPcVc/OPcpLDmQ7MJ7+ 1nUbE3WKIFQWLVbcmQGY6xhxLgQdlbqp9axqsljO6PqJiyN6yIQXt5f2vuf8ne6A lZMmRQbYeqClGPKP3k4PRG1DND/MsaVpkQv1rHnoOqSrHYQPlE6Y8aUyorP5UuzR 7/E4xrLHj/jOtSFnNKXURSeMKbFzvg== =IrqQ -----END PGP SIGNATURE----- --Sig_/T5gZ=PPEEHuxvJ4W62+sXAx--