From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 06:08:32 2019 Received: (at submit) by debbugs.gnu.org; 18 Jun 2019 10:08:32 +0000 Received: from localhost ([127.0.0.1]:43804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdB2W-00078k-FZ for submit@debbugs.gnu.org; Tue, 18 Jun 2019 06:08:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:46916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdB2T-00078b-GC for submit@debbugs.gnu.org; Tue, 18 Jun 2019 06:08:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58602) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdB2S-00037Z-Gm for bug-guix@gnu.org; Tue, 18 Jun 2019 06:08:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdB2R-00057k-FU for bug-guix@gnu.org; Tue, 18 Jun 2019 06:08:28 -0400 Received: from mta02.o2scoral.fr ([109.234.163.42]:53349) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdB2Q-0003v5-SL for bug-guix@gnu.org; Tue, 18 Jun 2019 06:08:27 -0400 X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.301, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 66C531008A9.AF320 X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=x0Pz9afDiFBZF5CZf5t7gM44BSNYBg4ZRnFaqCBfOGw=; b=lB1u4qLxV8Nns69sDtkxX7j4d2 iCTfK/2q8+HM83hKXVzcR5TyvV64tJGcjxvgWVjlA0BRALt+hxzzSDO+8P1s2IuL8hVX34m8pIRjG pSMIbRaODsyXIeBDZnVIjYQOa9UtpaNfesxYrTRIclFfrsjbCVAZvQZqT5pqyEW6t6FhftTRP6ia+ FqrwBJwbq2f5PASkoi2//KxX0O8Pz2MKkHpKbcUAW3l0l6Ey7pWYwJMkNMeAVFhGspsj/PwQWndzT DcPasf6teIYI95p8WPTK2yn3HU7vsBtS+UUl6q51A6CknoH0XZ8pV/TQ3QORPJFGqo1Ol1enHmsBz IClaZyLQ==; To: bug-guix@gnu.org From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Subject: Not found .so files in bundle made by guix pack Message-ID: Date: Tue, 18 Jun 2019 12:07:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 109.234.163.42 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, I try to bundle scribus with guix pack in order to install it on a=20 centos system on which admin sys doesn't want us to install guix. So I created a tarball with a symlink to '/usr/bin' (don't know it's=20 really the recommanded way), this way scribus binary will automatically=20 be in the $PATH. Here is how I created the bundle : guix pack -S /usr/bin=3Dbin scribus I tried it on my Xubuntu 18.04 system and it worked like a charm. But, when deployed on the centos machine, it did not found=20 "libQt5Core.so.5" depsite the file exists. ldd=20 /gnu/store/5xqmac50axcgc8vrrn30jvzndjvrqd6a-scribus-1.5.4/bin/.scribus-re= al=20 | grep Qt =C2=A0=C2=A0=C2=A0 libQt5Xml.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5Xml.s= o.5=20 (0x00007f60dd9f6000) =C2=A0=C2=A0=C2=A0 libQt5Network.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5Netwo= rk.so.5=20 (0x00007f60dd7a4000) =C2=A0=C2=A0=C2=A0 libQt5OpenGL.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5OpenG= L.so.5=20 (0x00007f60dd99a000) =C2=A0=C2=A0=C2=A0 libQt5PrintSupport.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5Print= Support.so.5=20 (0x00007f60dd72b000) =C2=A0=C2=A0=C2=A0 libQt5Widgets.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5Widge= ts.so.5=20 (0x00007f60da93b000) =C2=A0=C2=A0=C2=A0 libQt5Gui.so.5 =3D>=20 /gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib/libQt5Gui.s= o.5=20 (0x00007f60da3a6000) =C2=A0=C2=A0=C2=A0 libQt5Core.so.5 =3D> not found I don't understand why it founds libQt5Gui.so.5 and not libQt5Core.so.5=20 which is in the same directory ! I tried to copy the .so inside the bin directory, to add qbase lib path=20 to $LD_LIBRARY_PATH, doesn't seem to work. Can't find any further information on guix manual, so I'm asking here. Thanks in advance for your help, Andr=C3=A9as From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 09:51:35 2019 Received: (at 36276) by debbugs.gnu.org; 18 Jun 2019 13:51:36 +0000 Received: from localhost ([127.0.0.1]:43972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdEWN-0000Lg-KW for submit@debbugs.gnu.org; Tue, 18 Jun 2019 09:51:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdEWL-0000LO-BY for 36276@debbugs.gnu.org; Tue, 18 Jun 2019 09:51:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdEWF-0000Hh-Ok; Tue, 18 Jun 2019 09:51:27 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60960 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdEWF-0003tK-90; Tue, 18 Jun 2019 09:51:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Prairial an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 18 Jun 2019 15:51:25 +0200 In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9as?= Livet"'s message of "Tue, 18 Jun 2019 12:07:40 +0200") Message-ID: <875zp357du.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Andr=C3=A9as Livet skribis: > Here is how I created the bundle : > > guix pack -S /usr/bin=3Dbin scribus > > I tried it on my Xubuntu 18.04 system and it worked like a charm. You might want to pass -RR to get a relocatable binary. :-) > But, when deployed on the centos machine, it did not found > "libQt5Core.so.5" depsite the file exists. > > ldd > /gnu/store/5xqmac50axcgc8vrrn30jvzndjvrqd6a-scribus-1.5.4/bin/.scribus-re= al > | grep Qt [...] > =C2=A0=C2=A0=C2=A0 libQt5Core.so.5 =3D> not found > Could you make sure that LD_LIBRARY_PATH is unset? HTH, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 16:22:21 2019 Received: (at 36276) by debbugs.gnu.org; 18 Jun 2019 20:22:21 +0000 Received: from localhost ([127.0.0.1]:45657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdKcW-0007nB-UQ for submit@debbugs.gnu.org; Tue, 18 Jun 2019 16:22:21 -0400 Received: from split.o2switch.cloud ([109.234.163.63]:37421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdKcT-0007mu-VX for 36276@debbugs.gnu.org; Tue, 18 Jun 2019 16:22:19 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.301, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: E0D511008D6.AFA97 X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nLKuNxvkg1l410kB3nT0AQE/uEUOS2y1kYaNrIf7YrY=; b=c9/pDuno7skNj/MFzIEIqEYul5 jxaS1rn1HdJJKmqJq7q98iaJObdr2eB6Bswmf/zjfYIClZH1IZMFExvE4iW1M+FN5D3GqkkE3h6CM bQ9Rjl6PQBsBLtFYpPdZtFzr+JmnP556BFY6hEsDbI0zcJjnqXc6MpRgDEIb5bzHJTKDs0cmWZznj fxoWVXtL1lp0+zkIUZbulYaF09BwtKehjDmD4O09M781zAIICzGcF3YBCQilpsBctT8YEuh8qtaZ6 kyOuajWX39CSt5bKr7VNg9X490XsD0IqZiwyhKp1qCJCvGPLnc1nGGrXy+HyCzUensqie1459UidJ kKUXCQJw==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Message-ID: <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> Date: Tue, 18 Jun 2019 22:21:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <875zp357du.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, > You might want to pass -RR to get a relocatable binary. :-) Yes, I'm uploading the new tarball on the server, it's a bit slow... I didn't understand what did -RR option at first, but now it's seems to be a good (maybe the only?) option for installation outside the / directory (which is not a problem for me because I have root privilege on the server, just that admin sys doesn't want us to install tools like Docker, guix, etc. because he'll have to maintain the server after) . > Could you make sure that LD_LIBRARY_PATH is unset? Yes it is unset. This problem is driving me crazy, I can't understand why it can find libQt5Gui.so.5 and not libQt5Core.so.5 As far as I understand how dynamic linking is done under linux, the binary looks for .so files that it depends on inside folders define in the binary itself and on the operating system (/lib, /lib64). And when it founds an .so with the corresponding name it stops, then search for another .so (if there is one). Then how can it not found this .so file ? * I've check it with sha1sum, it's clean. * I check it with "nm -D" it contains all the symbols. * I've check the binary with "chrpath -l /gnu/store/5xqmac50axcgc8vrrn30jvzndjvrqd6a-scribus-1.5.4/bin/.scribus-real", it contains "/gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib" which contains libQt5Core.so.5 I really can't see what's the problem here... Hope it will work with the tarball generated with -RR, but it will leave the problem unsolved... Again, thanks for your help and what you're doing for guix, Andréas From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 07:05:46 2019 Received: (at 36276) by debbugs.gnu.org; 19 Jun 2019 11:05:46 +0000 Received: from localhost ([127.0.0.1]:46099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdYPS-0005zK-G9 for submit@debbugs.gnu.org; Wed, 19 Jun 2019 07:05:46 -0400 Received: from mta02.o2sgrey.fr ([109.234.163.28]:59820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdYPN-0005yo-Ds for 36276@debbugs.gnu.org; Wed, 19 Jun 2019 07:05:42 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.301, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 361A410084A.ADB35 X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:References:Cc:To:From:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1aJgwURcIRQyhvyAASnxTR2KruV3EgFs0Qx6G5iX15o=; b=UOeFq4kDUEVhwiJzlaDN5+xDDW Z0wXAXk7jnn9L23tIPoUtpT4S9kbrjmFhklavKF+CfrIkoM6sHkr1cKJid+QVkMyT9E7M7f6VNink Sb56aMptko0paOYwQYf4GqgUjJcHPLG6GlmXyb8qIabMcjqs2i/AJ8QPAsfsgiPFFMCw4oJUL9baE cGJmKKTfIysAyq2mUsqenbKcynefmtAhBJfURztAsRgGTa5/zIFZkdU8eobR5IScNxbDCYXjIYC4O /a5REQGp1415RB1x+1xrwiGcQEpijwZ6Wm2jxridMitSSJplyW8U7K75Vstm1r7Q79Fh6JfXHDhz8 agMi9qTQ==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack From: =?UTF-8?Q?Andr=c3=a9as_Livet?= To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> Message-ID: <2ce9bb69-56ac-b257-7d20-7f2cacc3f84d@livet.me> Date: Wed, 19 Jun 2019 13:05:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I still got the problem with a pack build with -RR, I started to think about a centos bug... If you have any ideas, let me know. Andréas From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 11:51:16 2019 Received: (at 36276) by debbugs.gnu.org; 19 Jun 2019 15:51:17 +0000 Received: from localhost ([127.0.0.1]:47314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdcrk-0000YT-HX for submit@debbugs.gnu.org; Wed, 19 Jun 2019 11:51:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdcrg-0000YF-Bp for 36276@debbugs.gnu.org; Wed, 19 Jun 2019 11:51:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdcra-0001RU-TB; Wed, 19 Jun 2019 11:51:06 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51172 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdcra-0002GW-3Z; Wed, 19 Jun 2019 11:51:06 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 19 Jun 2019 17:51:04 +0200 In-Reply-To: <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> (=?utf-8?Q?=22Andr=C3=A9as?= Livet"'s message of "Tue, 18 Jun 2019 22:21:42 +0200") Message-ID: <87zhmd1slz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Andr=C3=A9as Livet skribis: >> You might want to pass -RR to get a relocatable binary. :-) > > Yes, I'm uploading the new tarball on the server, it's a bit slow... > > I didn't understand what did -RR option at first, but now it's seems > to be a good (maybe the only?) option for installation outside the / > directory Yes. explains =E2=80=98-R=E2=80=99, and mentions =E2=80=98-RR=E2=80=99. >> Could you make sure that LD_LIBRARY_PATH is unset? > > Yes it is unset. This problem is driving me crazy, I can't understand > why it can find libQt5Gui.so.5 and not libQt5Core.so.5 Is there a /etc/ld.so.preload file? Did you try running the pack on another non-Guix machine? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 20 14:25:45 2019 Received: (at 36276) by debbugs.gnu.org; 20 Jun 2019 18:25:45 +0000 Received: from localhost ([127.0.0.1]:49265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1he1km-0001pM-PQ for submit@debbugs.gnu.org; Thu, 20 Jun 2019 14:25:45 -0400 Received: from initialization.o2switch.cloud ([109.234.163.74]:46983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1he1kk-0001p2-Aw for 36276@debbugs.gnu.org; Thu, 20 Jun 2019 14:25:43 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=0.699, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00, URIBL_BLOCKED 1.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 8850E1007AD.A030C X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Akmuy8CrN+IklUMnHaTKtDlVfLFpvE4mStomvxgSNvw=; b=XIxQdhlZGTnzSPDjDpM5KUdgfF 8vDXZO1dFyVCbnxlA5LmrXLieEmUB18HhrbvjeIjBEKTqbawGRzFQKvxaUTRU7HV5GAusCXVj/6Sf FeSvOccBTnpvAQzl71hKT+Ztd41H/gPtWZv8GWcPoxz626c+lN83ja6PWxEX03K/opAYiG+q0tJ3R e1IKJsCR29QJirHikfjZGrK/0HQhZFTGKm50o/zPuxzbVOXH2Djxnoo0oUzbhxe2VPzsHfMDgG0OF LfItBKcSDcejWHH3muP9LDglCLJOJ4gXaYY9QJ2pLlKtZ4HZqu60KMYwFsMExNaslqKjRhIETwev+ JAngQfSg==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Message-ID: <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> Date: Thu, 20 Jun 2019 20:25:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <87zhmd1slz.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, > > explains ‘-R’, and > > mentions ‘-RR’. Thanks for the documentation :) > Is there a /etc/ld.so.preload file? No. Only some very simples ld.so.config in /etc/ld.so.conf.d > Did you try running the pack on another non-Guix machine? I tried yesterday I works as expected on a Xubuntu 16.04 machine without guix installed on it. Don't have much time to investigate on it. For information, it's a CentOS 7.6.1810 server which I did not configure from the beginning, so I don't know precisely which changes has been made on it... I think, maybe there is a conflict of another libQt5Core (not 5) installed on the machine ? Anyway, thanks for your help, Andréas From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 21 10:47:35 2019 Received: (at 36276) by debbugs.gnu.org; 21 Jun 2019 14:47:35 +0000 Received: from localhost ([127.0.0.1]:50569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heKpD-0008L1-1L for submit@debbugs.gnu.org; Fri, 21 Jun 2019 10:47:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heKpB-0008Kq-It for 36276@debbugs.gnu.org; Fri, 21 Jun 2019 10:47:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1heKp6-00071V-0g; Fri, 21 Jun 2019 10:47:28 -0400 Received: from [2001:660:4701:6001:3d6c:d0e8:a2b5:ec10] (port=52394 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1heKp5-0000YQ-F4; Fri, 21 Jun 2019 10:47:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 21 Jun 2019 16:47:24 +0200 In-Reply-To: <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> (=?utf-8?Q?=22Andr=C3=A9as?= Livet"'s message of "Thu, 20 Jun 2019 20:25:34 +0200") Message-ID: <87imszhu6b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Andr=C3=A9as Livet skribis: >> Is there a /etc/ld.so.preload file? > No. Only some very simples ld.so.config in /etc/ld.so.conf.d Hmm, can you try temporarily moving them out of the way to see if it makes a difference? AFAICS only /etc/ld.so.preload is accessed, but who knows. > For information, it's a CentOS 7.6.1810 server which I did not > configure from the beginning, so I don't know precisely which changes > has been made on it... > > I think, maybe there is a conflict of another libQt5Core (not 5) > installed on the machine ? That could be the case, but only if there=E2=80=99s LD_LIBRARY_PATH, ld.so.preload, or something like that interfering. What if you run: env -i =E2=80=A6/bin/scribus where you replace =E2=80=9C=E2=80=A6=E2=80=9D with the full file name of yo= ur extracted pack? HTH, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 24 12:10:13 2019 Received: (at 36276) by debbugs.gnu.org; 24 Jun 2019 16:10:13 +0000 Received: from localhost ([127.0.0.1]:57726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfRXp-00042C-3A for submit@debbugs.gnu.org; Mon, 24 Jun 2019 12:10:13 -0400 Received: from correction.o2switch.cloud ([109.234.163.62]:37158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfRXm-00041t-Cl for 36276@debbugs.gnu.org; Mon, 24 Jun 2019 12:10:12 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.699, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00, URIBL_BLOCKED 1.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: 2E654100A91.AEEB9 X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ebN4FiHm72gqx/mo84wdL4navqW0r5NpyFfiACvv3NI=; b=HEFLo/6UcW75XLUowYC0MgBB5n Xeue9FcRpSY1HwGamSqANuF42uCOiaehbTfMqxVEZEOa3+vl5+KJotg2KfrsP1huDc63loQtFLNL7 ahSuJ4bOm6AIM/5g87zigrU19OX+WfMUHN4VZOinfgP8OYJz4hIJPeV3vgjx520mZIWJxDI/AJUcU 2eGJboDSXapZoncZD0CpA02nTWTvCMMlEDDFx8QWekSpj4KJDYppz4zpOg0mYUaYaF8KwnyAEqAgj rSZ3as6gSYohO++rK0EM4pOjF0xaVySjbKnaZgGt1duyJHPxNJ3hC/iwZ9lbcMhKUx0XkcQYWwgvU ZKWhcVNQ==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> <87imszhu6b.fsf@gnu.org> From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Message-ID: <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> Date: Mon, 24 Jun 2019 18:10:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <87imszhu6b.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi ! Found a solution ! https://superuser.com/a/1348051 Don't really understand why I got this problem which seems to be WSL only... Do you think it is related to guix pack in some way ? Thank you, Andréas From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 24 15:20:04 2019 Received: (at 36276) by debbugs.gnu.org; 24 Jun 2019 19:20:04 +0000 Received: from localhost ([127.0.0.1]:58001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfUVX-0003kc-DA for submit@debbugs.gnu.org; Mon, 24 Jun 2019 15:20:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfUVV-0003k0-AG for 36276@debbugs.gnu.org; Mon, 24 Jun 2019 15:20:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfUVP-0003DE-O9; Mon, 24 Jun 2019 15:19:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43556 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfUVO-00048t-O4; Mon, 24 Jun 2019 15:19:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> <87imszhu6b.fsf@gnu.org> <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 24 Jun 2019 21:19:52 +0200 In-Reply-To: <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> (=?utf-8?Q?=22Andr=C3=A9as?= Livet"'s message of "Mon, 24 Jun 2019 18:10:00 +0200") Message-ID: <87sgry7puv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Andr=C3=A9as Livet skribis: > Found a solution ! > > https://superuser.com/a/1348051 Good! So you ran: strip --remove-section=3D.note.ABI-tag \ ./gnu/store/=E2=80=A6/lib/libQt5Core.so.5 right? Indeed the .so file produced by Guix has this section: --8<---------------cut here---------------start------------->8--- $ file -L /gnu/store/y1nlilwa34wqvmvmraggwv12jfdp0kya-qtbase-5.11.3/lib/lib= Qt5Core.so /gnu/store/y1nlilwa34wqvmvmraggwv12jfdp0kya-qtbase-5.11.3/lib/libQt5Core.so= : ELF 64-bit LSB pie executable x86-64, version 1 (GNU/Linux), dynamically = linked, interpreter /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/= lib/ld-linux-x86-64.so.2, for GNU/Linux 3.16.0, stripped --8<---------------cut here---------------end--------------->8--- =E2=80=A6 which reflects in the =E2=80=9Cfor GNU/Linux 3.16.0=E2=80=9D that= we see above. What does =E2=80=9Cuname -r=E2=80=9D return on this CentOS machine? I=E2= =80=99m guessing it=E2=80=99s older than 3.16.0. The effect of the =E2=80=98strip=E2=80=99 command is that libQt5Base.so can= be loaded, but some functionality maybe missing (things that use the =E2=80=98renameat= 2=E2=80=99 system call specifically; see below.) > Do you think it is related to guix pack in some way ? I researched it a bit and in qtbase, in =E2=80=98src/corelib/global/minimum-linux_p.h=E2=80=99, we can see this: --8<---------------cut here---------------start------------->8--- #if QT_CONFIG(getentropy) # define MINLINUX_MAJOR 3 # define MINLINUX_MINOR 17 # define MINLINUX_PATCH 0 #elif QT_CONFIG(renameat2) # define MINLINUX_MAJOR 3 # define MINLINUX_MINOR 16 # define MINLINUX_PATCH 0 #else # define MINLINUX_MAJOR 2 # define MINLINUX_MINOR 6 # define MINLINUX_PATCH 28 #endif --8<---------------cut here---------------end--------------->8--- Since we build Qt with =E2=80=98renameat2=E2=80=99 support, Qt effectively = requires a Linux kernel >=3D 3.16.0. We could build it without that requirement; 3.16.0 is already rather old, so I=E2=80=99m not sure we should do it. Thoughts? (Note that the Guix package already has a patch to allow it to work with kernels < 4.11.) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 04:38:57 2019 Received: (at 36276) by debbugs.gnu.org; 25 Jun 2019 08:38:57 +0000 Received: from localhost ([127.0.0.1]:58622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfgye-0001Rr-SV for submit@debbugs.gnu.org; Tue, 25 Jun 2019 04:38:57 -0400 Received: from mta02.o2sblack.fr ([109.234.163.22]:48221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfgyb-0001Rc-Uf for 36276@debbugs.gnu.org; Tue, 25 Jun 2019 04:38:55 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=0.699, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00, URIBL_BLOCKED 1.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: D9DA610084B.A1BBD X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IYf8qYbGcu+Hwv1LLcX60WKaRaHO7/3VfHcSx1AHbnQ=; b=VoM7lYHwPj2CtDOmjxG5iFMXQk ZfT3xPi4xrzQWQNm+c72ROKtzsccovLsUgcQEMIqym7+f+a6Kgm+5jhRqdNS+fBB4rcm4rfFu0S4a 0ed7TrIrS1mj92oz3bV3SZbiCZCkyQlX9QQZd/q2KPhYGJbyRWB/DeOGU301iBY+gn+TMPAGGPPGG eUeRGny3L/EZAwqJYk2lXSot3m5nfnZNauzhyT1xzS5BmwUz4Hti/JFzo1EE2MablNcnxAcNFJif4 eyPwB4+1ynwekPltcIMJxEOEMUDYXFn71RJFQ6zMEvt4zm3q5v4Ct34TSkP4Wc9oVsFV1a8er9MjQ JBGw+Z8g==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> <87imszhu6b.fsf@gnu.org> <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> <87sgry7puv.fsf@gnu.org> From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Message-ID: <48bbff6b-bd6f-b056-26d9-8c82ec3aba7d@livet.me> Date: Tue, 25 Jun 2019 10:38:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <87sgry7puv.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, > Good! So you ran: > > strip --remove-section=.note.ABI-tag \ > ./gnu/store/…/lib/libQt5Core.so.5 > > right? Yes exactly :). > > Indeed the .so file produced by Guix has this section: > > --8<---------------cut here---------------start------------->8--- > $ file -L /gnu/store/y1nlilwa34wqvmvmraggwv12jfdp0kya-qtbase-5.11.3/lib/libQt5Core.so > /gnu/store/y1nlilwa34wqvmvmraggwv12jfdp0kya-qtbase-5.11.3/lib/libQt5Core.so: ELF 64-bit LSB pie executable x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.16.0, stripped > --8<---------------cut here---------------end--------------->8--- > > … which reflects in the “for GNU/Linux 3.16.0” that we see above. > > What does “uname -r” return on this CentOS machine? I’m guessing it’s > older than 3.16.0. > 3.10.0-957.12.2.el7.x86_64 What a shame, this kernel was release in 2013 ! I start to think that our VM was not installed properly because regular centos install seems to have a much more recent kernel... > The effect of the ‘strip’ command is that libQt5Base.so can be loaded, > but some functionality maybe missing (things that use the ‘renameat2’ > system call specifically; see below.) > >> Do you think it is related to guix pack in some way ? > I researched it a bit and in qtbase, in > ‘src/corelib/global/minimum-linux_p.h’, we can see this: > > --8<---------------cut here---------------start------------->8--- > #if QT_CONFIG(getentropy) > # define MINLINUX_MAJOR 3 > # define MINLINUX_MINOR 17 > # define MINLINUX_PATCH 0 > #elif QT_CONFIG(renameat2) > # define MINLINUX_MAJOR 3 > # define MINLINUX_MINOR 16 > # define MINLINUX_PATCH 0 > #else > # define MINLINUX_MAJOR 2 > # define MINLINUX_MINOR 6 > # define MINLINUX_PATCH 28 > #endif > --8<---------------cut here---------------end--------------->8--- Well done :D, I didn't have time to investigated as far as you did. > Since we build Qt with ‘renameat2’ support, Qt effectively requires a > Linux kernel >= 3.16.0. > > We could build it without that requirement; 3.16.0 is already rather > old, so I’m not sure we should do it. > > Thoughts? IMHO, don't bother, as you say 3.16.0 is already very old so it's OK to let it this way. Maybe it could be worth to mention in guix pack manual that bundle may not always works on too old kernel ? Difficult to be precise because it'll depends on projects, don't really know how to write it down in a way it'll help people to understand problems like this one. Thanks again for your hard work, Andréas From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 07:35:05 2019 Received: (at 36276) by debbugs.gnu.org; 25 Jun 2019 11:35:05 +0000 Received: from localhost ([127.0.0.1]:58776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfjj7-0005rk-0r for submit@debbugs.gnu.org; Tue, 25 Jun 2019 07:35:05 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfjj5-0005rZ-C6 for 36276@debbugs.gnu.org; Tue, 25 Jun 2019 07:35:04 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1561462498; cv=none; d=zoho.com; s=zohoarc; b=I95BQAO7obU1Dc+JhVgn0DWr1W0Lb0uSCAE2AF0lncd/AjDNCMUGQLgbpTkxF3ygVFsv5xF7DZyGq5saohKRc0SO3LEJTtmh8yjc5YCNWuRS+3EIKvVgNa4Yli4uX73nRu8z67dEEbtLJ4uHsMgaeNyDqemwCsqVTxMxsNZI4Y4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561462498; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=01SwwS2vKjqcX+h6pWMPlZx+xCy0+HsfmrAZLZNvXbc=; b=ZzebzMC03WpQOfEQ/N+kw6fT0EBmG5uYdA4bnYI8SQd1uP1N4f3wzfC3g1NcGvswuL9e7M1+zH77dMEvNJv9idfGuzW3jLi62xWtl5M7lbz04b4on3behmgb+AFpb75SgBfhFIRe1TALuooPqkMOV/1yTdFF0Ui2F5XB8uxcvmo= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1561462498; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1281; bh=01SwwS2vKjqcX+h6pWMPlZx+xCy0+HsfmrAZLZNvXbc=; b=RzajhVg+1F6vr2DLeQR6TkwSbwK3hEeC2BxMFGtKGloec3j0WpNDVh6gElpg4FJ8 M/Z7U5+nKfTzF3bmBxx79+MtPiX++XQJL4bcSgbRt8cBg63h+XE7ntVvamiMtLTKzSQ FOyhPDUgDnSEhXSJh0eICHTNcDbtAI/DKn68UkcI= Received: from localhost (141.80.247.250 [141.80.247.250]) by mx.zohomail.com with SMTPS id 1561462496862758.6946471324599; Tue, 25 Jun 2019 04:34:56 -0700 (PDT) References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> <87imszhu6b.fsf@gnu.org> <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> <87sgry7puv.fsf@gnu.org> <48bbff6b-bd6f-b056-26d9-8c82ec3aba7d@livet.me> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack In-reply-to: <48bbff6b-bd6f-b056-26d9-8c82ec3aba7d@livet.me> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 25 Jun 2019 13:34:53 +0200 Message-ID: <87tvcdsxsy.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Andr=C3=A9as, >> What does =E2=80=9Cuname -r=E2=80=9D return on this CentOS machine? I= =E2=80=99m guessing it=E2=80=99s >> older than 3.16.0. >> 3.10.0-957.12.2.el7.x86_64 > > What a shame, this kernel was release in 2013 ! > > I start to think that our VM was not installed properly because > regular centos install seems to have a much more recent kernel... I=E2=80=99m afraid not. This is the kernel version on an arbitrary node ru= nning CentOS 7.4.1708: 3.10.0-693.21.1.el7.x86_64 RHEL 7.x won=E2=80=99t ever include any kernel version higher than 3.10.0. Until it goes EOL they=E2=80=99ll merely backport fixes and sometimes APIs = to what they call 3.10.0, but which won=E2=80=99t be anywhere close to what a vanilla 3.10.0 kernel provides. The same happened on RHEL 6, which still provides what they call 2.6.32, which is nothing like vanilla 2.6.32. Sometimes that heavily patched kernel will include an interface that later versions introduced and thus the kernel version checks will be inaccurate. We had this problem with the RHEL 6 kernel and the GNU C library, which is why we patched the glibc to make an exception for Linux version 2.6.32 (which only in its RHEL 6 variant provides the required interfaces). -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 10:06:32 2019 Received: (at 36276) by debbugs.gnu.org; 25 Jun 2019 14:06:32 +0000 Received: from localhost ([127.0.0.1]:33094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm5f-0008Oj-PP for submit@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm5d-0008OV-Ky for 36276@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfm5X-0001r2-KF; Tue, 25 Jun 2019 10:06:24 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53096 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfm5R-00025C-Oy; Tue, 25 Jun 2019 10:06:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?Andr=C3=A9as?= Livet Subject: Re: bug#36276: Not found .so files in bundle made by guix pack References: <875zp357du.fsf@gnu.org> <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> <87zhmd1slz.fsf@gnu.org> <06e405a8-9157-f3bf-f983-26fc46679369@livet.me> <87imszhu6b.fsf@gnu.org> <70570cd6-1a97-8acc-6575-cf9a5329fc33@livet.me> <87sgry7puv.fsf@gnu.org> <48bbff6b-bd6f-b056-26d9-8c82ec3aba7d@livet.me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 25 Jun 2019 16:06:16 +0200 In-Reply-To: <48bbff6b-bd6f-b056-26d9-8c82ec3aba7d@livet.me> (=?utf-8?Q?=22Andr=C3=A9as?= Livet"'s message of "Tue, 25 Jun 2019 10:38:41 +0200") Message-ID: <87h88dn4iv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Andr=C3=A9as Livet skribis: >> What does =E2=80=9Cuname -r=E2=80=9D return on this CentOS machine? I= =E2=80=99m guessing it=E2=80=99s >> older than 3.16.0. >> 3.10.0-957.12.2.el7.x86_64 > > What a shame, this kernel was release in 2013 ! Yeah. >> =E2=80=98src/corelib/global/minimum-linux_p.h=E2=80=99, we can see this: >> >> --8<---------------cut here---------------start------------->8--- >> #if QT_CONFIG(getentropy) >> # define MINLINUX_MAJOR 3 >> # define MINLINUX_MINOR 17 >> # define MINLINUX_PATCH 0 >> #elif QT_CONFIG(renameat2) >> # define MINLINUX_MAJOR 3 >> # define MINLINUX_MINOR 16 >> # define MINLINUX_PATCH 0 >> #else >> # define MINLINUX_MAJOR 2 >> # define MINLINUX_MINOR 6 >> # define MINLINUX_PATCH 28 >> #endif >> --8<---------------cut here---------------end--------------->8--- > > Well done :D, I didn't have time to investigated as far as you did. I didn=E2=80=99t =E2=80=9Chave=E2=80=9D the time, I took it. :-) > IMHO, don't bother, as you say 3.16.0 is already very old so it's OK > to let it this way. Sounds good. > Maybe it could be worth to mention in guix pack manual that bundle may > not always works on too old kernel ? > > Difficult to be precise because it'll depends on projects, don't > really know how to write it down in a way it'll help people to > understand problems like this one. Yes, it=E2=80=99s a bit hard to document it because it=E2=80=99ll vary from= package to package, and the vast majority of packages don=E2=80=99t care about the ker= nel version. Anyway, thanks for your report, and I hope you can find a suitable workaround! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 10:07:02 2019 Received: (at control) by debbugs.gnu.org; 25 Jun 2019 14:07:02 +0000 Received: from localhost ([127.0.0.1]:33097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm68-0008PS-3N for submit@debbugs.gnu.org; Tue, 25 Jun 2019 10:07:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm66-0008PE-HT for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfm61-0002an-Ey for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:53 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53100 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfm60-0002cO-UQ for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:53 -0400 Date: Tue, 25 Jun 2019 16:06:51 +0200 Message-Id: <87ftnxn4hw.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36276 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 36276 qtbase@5 doesn't work with Linux < 3.16.0 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 10:07:08 2019 Received: (at control) by debbugs.gnu.org; 25 Jun 2019 14:07:08 +0000 Received: from localhost ([127.0.0.1]:33101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm6G-0008Q9-2L for submit@debbugs.gnu.org; Tue, 25 Jun 2019 10:07:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfm6C-0008PQ-Nc for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:07:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfm67-0002iz-L6 for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:59 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53102 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfm67-0002cS-AG for control@debbugs.gnu.org; Tue, 25 Jun 2019 10:06:59 -0400 Date: Tue, 25 Jun 2019 16:06:58 +0200 Message-Id: <87ef3hn4hp.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36276 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 36276 wontfix close 36276 quit From unknown Mon Jun 23 22:04:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Jul 2019 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator