From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Baines Newsgroups: gmane.lisp.guile.user Subject: readlink system calls Date: Tue, 22 Aug 2023 17:22:21 +0100 Message-ID: <87edjvvyem.fsf@cbaines.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27060"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.5; emacs 28.2 To: Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Aug 22 18:24:15 2023 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qYUAx-0006uU-1H for guile-user@m.gmane-mx.org; Tue, 22 Aug 2023 18:24:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYUAc-0007ie-QH; Tue, 22 Aug 2023 12:23:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYUAb-0007iI-G0 for guile-user@gnu.org; Tue, 22 Aug 2023 12:23:53 -0400 Original-Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYUAY-0001rN-7o for guile-user@gnu.org; Tue, 22 Aug 2023 12:23:53 -0400 Original-Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 4061527BBE2 for ; Tue, 22 Aug 2023 17:23:48 +0100 (BST) Original-Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 369d925c for ; Tue, 22 Aug 2023 16:23:47 +0000 (UTC) Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19177 Archived-At: --=-=-= Content-Type: text/plain When looking at strace for various Guile things, I'm seeing a lot of readlink system calls for directories in the load path, e.g. readlink("/gnu", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/lkx2k8hy40a6s3vz94287g8fr2sxs7h0-profile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/lkx2k8hy40a6s3vz94287g8fr2sxs7h0-profile/share", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/lkx2k8hy40a6s3vz94287g8fr2sxs7h0-profile/share/guile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/lkx2k8hy40a6s3vz94287g8fr2sxs7h0-profile/share/guile/site", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/lkx2k8hy40a6s3vz94287g8fr2sxs7h0-profile/share/guile/site/3.0", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile/3.0", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile/site", 0x7fff8738f430, 1023) = -1 ENOENT (No such file or directory) readlink("/gnu", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile/site", 0x7fff8738f430, 1023) = -1 ENOENT (No such file or directory) readlink("/gnu", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) readlink("/gnu/store/2429gbw7plqmyb78h2yg67gaqwapv7gm-guile-next-3.0.9-0.aa2cfe7/share/guile", 0x7fff8738f430, 1023) = -1 EINVAL (Invalid argument) Any idea what leads to this behaviour? Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmTk4RFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeLjBAAjVhMnGoDvfccdEY+h0iR0XESzoWNqdfG ve7RO15Y0VIzI5xPcSajjN40/RYeWpFe2qSjsaFAWia7SFdLsth/Glr7VvgLPRHN LGmxCrh1riaJFvI6oj9Qewk7wRxq4p5QFlkwWaSmttRaZztO4fbgahNca/DUboxd hvTl2RxS8oA2V2Es0xLlsuAuBYirzwnV2tA6xEnU03pvVdT9WIvC7FU0xElZpi6i 7XgFIRbBa7Mff6q8kdmiIWDrO661HJbgagMZ0oj78JKeubn5fGVkA0g9lZaMBJXc KhC2mITewbThY/FeV3q+4o2ZeTlvP1Rzn7/gK53Uq0dWaIvO3nRH2/psnWej0j8O C6Z8NWbw2vxT2IW0ek9ySdaMjBR8npjYLeJNTQ3HZCtJnzOeK2uREeUQWaNN4Hql T7EOJtsEzQNSN/a6VtPPB/dVsOA7nX6zgp70p1Oc6+fpL+77oJVTttvnqLkCudgg vFdBxu2/MYyoqsJyLdjsK08x7iwM/RXT95mc9dcOD9m9qFMTrqtWB7xSUJwEZknr 1RapiWOY0kse8IN5YGb3Lw2xDI2WVZSsdiFZN4PagRr3lAq05sZdDvpkpFYfD4ea S3KRSqq5jJoOshGrwDaRGwqOuEXsGbblMN+NjP9eVTYb8/jrcaUJockhLnlk+yCS TOPKO5LfHzQ= =X+80 -----END PGP SIGNATURE----- --=-=-=--