From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 08 09:42:36 2021 Received: (at submit) by debbugs.gnu.org; 8 Apr 2021 13:42:36 +0000 Received: from localhost ([127.0.0.1]:46193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUUvb-0007RQ-Da for submit@debbugs.gnu.org; Thu, 08 Apr 2021 09:42:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:34492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUUva-0007RJ-B1 for submit@debbugs.gnu.org; Thu, 08 Apr 2021 09:42:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUUvZ-0007DD-O3 for bug-guix@gnu.org; Thu, 08 Apr 2021 09:42:34 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:35387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUUvU-0005IE-JL for bug-guix@gnu.org; Thu, 08 Apr 2021 09:42:33 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id x27so867473qvd.2 for ; Thu, 08 Apr 2021 06:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=TP+T7syveaVQN7L6W1tFWEmROAedhzRWoKJCWtHp3Ok=; b=X0S2x7IKXk2+ywqznJq1eLIiZw8tjAfSYvG8tZuXfEsZG8kJUpNZJeJO/P5uVzdjSI PFxnXk+u33WRiJAsYY+dbLNfpM1zyegj8GiGUN9LX35nciKIv/tbfEvuMqgaX5o8n5MR qa+7QNXdNPN73QGDbEuvJ2dwdrqW6NEXCf6CxnngCGcdUMxg0nQ8BuOupQNmZRdhFGeZ 204x7M9bvqiUFXIoKfI1eNmfCd+u4n/CK0JtuAZBcxV7D9ELLw7BvpwD7SsA7Wmsu0fK Iv2LtjQSPyAOoVhsBomZZ9uNBxHeElcAKky9BDNlwz/az4Iy5RvwoTQW09xmiKQhifcX ApRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=TP+T7syveaVQN7L6W1tFWEmROAedhzRWoKJCWtHp3Ok=; b=r+0L9I/tyygNwvbKxhexOWiTuANnZjMaAijczDxDTv9IYY+4IrttNUKR3eNHupZg3E y1fAuEWMgG4ONXiHioNVM6iJzLkEE8YUFBOTm7RI5YVlRbgMAU464LBQyaxjYnfJY12d 4RcamTuDaSFCGS3HgAP35DsJhxN9S4LGiai0nR4WHt2nRnwveWbUCdCkBnR/LpjJEds6 KuCzdrAPtVanymh1ZyjyNqzrmw2phzrpWFK9oiJILR+t6aj95u4YxBgTGAbPlzfrc9zJ ZdGt2DoO75hNuvkjvkE9PdrUlaIe2ygP5bL3VIWeGngHhS9kmWz93UTQKz6OFCb2ChVL Ujpw== X-Gm-Message-State: AOAM531qDIbb70TA8hvhQ+FWRqUZTchhs7QBKwHwZufC2RhctI7LP79p W8pbf0mTxOAUQwCpj81no9mrBV8sO9s= X-Google-Smtp-Source: ABdhPJw2o+5VtOayVR9gxvvIUgzFkyVprRC5gWP/E/I5a0jqMjeg1UTkFpxdjOgsF8q5NHhZQkz7QQ== X-Received: by 2002:a05:6214:a6c:: with SMTP id ef12mr9069545qvb.12.1617889346546; Thu, 08 Apr 2021 06:42:26 -0700 (PDT) Received: from hurd (mtl.savoirfairelinux.net. [208.88.110.46]) by smtp.gmail.com with ESMTPSA id 18sm21117551qkr.77.2021.04.08.06.42.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 06:42:26 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: QML2_IMPORT_PATH does not work in a profile Date: Thu, 08 Apr 2021 09:42:24 -0400 Message-ID: <877dlcnb9b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (--) Hello Guix, When setting up a profile (via 'guix environment', for example) to develop a Qt application, the search paths set by qtbase point to the environment profile, which is a forest of symbolic links. Apparently this doesn't play well with at least QML2_IMPORT_PATH: the Qt application built in the profile will not run, and Qt crashes in an inscrutable way. The following details a reproducer, which attempts to build jami-qt in its 'guix environment' profile. Reproduction steps: 1. Prepare the sources $ cp -r $(guix build -S jami-qt) /tmp/jami-qt-checkout $ cd /tmp/jami-qt-checkout $ chmod +rw -R . 2. Enter the development environment $ guix environment jami-qt 3. Create the build directory and bootstrap the build system $ mkdir build && cd build $ cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install 4. Build/install it locally. $ make -j8 install 5. Try to run it (if on a foreign distro rather than Guix System, you'll want to start the daemon, 'dring' from the libring package manually -- but that's another issue) --8<---------------cut here---------------start------------->8--- $ install/bin/jami-qt --debug No migration required Can't open file: "/home/maxim/.local/share/jami/d1c0b261a081d4ce/profile.vcf" Terminated --8<---------------cut here---------------end--------------->8--- The "Can't open file" warning is harmless and not at cause. >From a preliminary investigation, it appears to be caused by the fact that the QML2_IMPORT_PATH environment variable points to a profile entry, which is a forest of symbolic links: --8<---------------cut here---------------start------------->8--- $ echo $QML2_IMPORT_PATH /gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml --8<---------------cut here---------------end--------------->8--- Compared to what's in the wrapper of the jami-qt packaged binary (which does run!): --8<---------------cut here---------------start------------->8--- $ cat $(guix build jami-qt)/bin/jami-qt | grep QML2 export QML2_IMPORT_PATH="/gnu/store/7lh6gpnv3aszlaa24az247xnnh2j8yaj-qtwebengine-5.15.2/lib/qt5/qml:/gnu/store/z9z83c3b3y655sjv3iv42pq70dwifv99-qtwebchannel-5.15.2/lib/qt5/qml:/gnu/store/xzyjqlycxwys0fq6pgs5v5n24n7zgddl-qtmultimedia-5.15.2/lib/qt5/qml:/gnu/store/ry4k8i6j3y9h4ws48jc8wsc5gky7phaj-qtdeclarative-5.15.2/lib/qt5/qml:/gnu/store/9p2xxq0cwmycf9k6rcljk8bn0d3sl2n7-qtgraphicaleffects-5.15.2/lib/qt5/qml:/gnu/store/32c7xbjmx6ijb6fl5kkbvpq2p2pxs54c-qtquickcontrols-5.15.2/lib/qt5/qml:/gnu/store/52x80xcnh912v76i09f1gaqpll5v2n73-qtquickcontrols2-5.15.2/lib/qt5/qml" --8<---------------cut here---------------end--------------->8--- Due to having been captured at build time, where there was no profile involved, the individual components have been added and no symbolic links is involved. If we try to run our custom built jami-qt with this variable set, it proceeds a bit further: --8<---------------cut here---------------start------------->8--- $ export QML2_IMPORT_PATH="/gnu/store/7lh6gpnv3aszlaa24az247xnnh2j8yaj-qtwebengine-5.15.2/lib/qt5/qml:/gnu/store/z9z83c3b3y655sjv3iv42pq70dwifv99-qtwebchannel-5.15.2/lib/qt5/qml:/gnu/store/xzyjqlycxwys0fq6pgs5v5n24n7zgddl-qtmultimedia-5.15.2/lib/qt5/qml:/gnu/store/ry4k8i6j3y9h4ws48jc8wsc5gky7phaj-qtdeclarative-5.15.2/lib/qt5/qml:/gnu/store/9p2xxq0cwmycf9k6rcljk8bn0d3sl2n7-qtgraphicaleffects-5.15.2/lib/qt5/qml:/gnu/store/32c7xbjmx6ijb6fl5kkbvpq2p2pxs54c-qtquickcontrols-5.15.2/lib/qt5/qml:/gnu/store/52x80xcnh912v76i09f1gaqpll5v2n73-qtquickcontrols2-5.15.2/lib/qt5/qml" $ install/bin/jami-qt --debug No migration required Can't open file: "/home/maxim/.local/share/jami/d1c0b261a081d4ce/profile.vcf" QQmlApplicationEngine failed to load component qrc:/src/MainApplicationWindow.qml:39:1: Type ApplicationWindow unavailable file:///gnu/store/66w3pq3zq6dqc6khg3i0fly31i8drws7-qtquickcontrols2-5.15.2/lib/qt5/qml/QtQuick/Controls.2/qmldir: plugin cannot be loaded for module ".gnu.store.66w3pq3zq6dqc6khg3i0fly31i8drws7-qtquickcontrols2-5.15.2.lib.qt5.qml.QtQuick.Controls": Module namespace 'QtQuick.Controls' does not match import URI '.gnu.store.66w3pq3zq6dqc6khg3i0fly31i8drws7-qtquickcontrols2-5.15.2.lib.qt5.qml.QtQuick.Controls' lookup name NOT FOUND: "" "5534e909984953c9" lookup name NOT FOUND: "" "5534e909984953c9" lookup name NOT FOUND: "" "5534e909984953c9" lookup name NOT FOUND: "" "5534e909984953c9" lookup name NOT FOUND: "" "5534e909984953c9" lookup name NOT FOUND: "" "dc553d8268bba4bd" lookup name NOT FOUND: "" "dc553d8268bba4bd" NetworkManager client initialized, version: 1.24.0 , daemon running: yes , networking enabled: yes primary network connection: faee05bd-57e1-46d1-824a-4f90a067d472 default: yes --8<---------------cut here---------------end--------------->8--- It still fails to draw the window, probably due to the load error above, which appears to be caused by a file name mismatch between what was registered in the application at compile time and what is being loaded (my guess). The QML_IMPORT_TRACE variable can also be set to get a more verbose output from the QML import machinery: --8<---------------cut here---------------start------------->8--- $ unset QML2_IMPORT_PATH $ source $GUIX_ENVIRONMENT/etc/profile $ export QML_IMPORT_TRACE=1 $ install/bin/jami-qt --debug QQmlImportDatabase::addImportPath: "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml" QQmlImportDatabase::addImportPath: "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml" QQmlImportDatabase::addImportPath: "qrc:/qt-project.org/imports" QQmlImportDatabase::addImportPath: "/tmp/jami-qt-checkout/build/install/bin" No migration required Can't open file: "/home/maxim/.local/share/jami/d1c0b261a081d4ce/profile.vcf" QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick" 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick.2" QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick.Window" 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick/Window.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Window" from "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick/Window.2" QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick.Controls" 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick/Controls.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Controls" from "/gnu/store/6i6d2zyxbkgmw20dk1ccsnwsdlnc8431-profile/lib/qt5/qml/QtQuick/Controls.2" Terminated --8<---------------cut here---------------end--------------->8--- An idea of something to investigate would be to review the code dealing with importing the QML modules in the qtdeclarative sources, and ensuring that it applies QDir::canonicalPath everytime it's handling an import file name (to deal with the actual file rather than a symlink pointing to it). Thoughts? Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 08 11:49:27 2021 Received: (at 47655) by debbugs.gnu.org; 8 Apr 2021 15:49:27 +0000 Received: from localhost ([127.0.0.1]:48024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUWuM-0000UL-5d for submit@debbugs.gnu.org; Thu, 08 Apr 2021 11:49:27 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:38446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUWuK-0000U4-2Q for 47655@debbugs.gnu.org; Thu, 08 Apr 2021 11:49:25 -0400 Received: by mail-qv1-f43.google.com with SMTP id fn8so1115223qvb.5 for <47655@debbugs.gnu.org>; Thu, 08 Apr 2021 08:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=jMrC6yb54Uo/4x9+187Zm24Va9mYNDL6KIv4NA+2TIk=; b=S1axXERL4KZ1kKXamaQA/1DtbCH5Ry5mj1MJxNPpC05h0Fzytllx5snqJAIeGJWQnw dJzzyRURzu7HxTGp5jKK1lBa9CSQ8QpXGODIKu7HKugXKeODMnr6DuxoMqQryYUkn2M5 CE5JgsUkitZTnmR84fzoDyyBaVYNvzza9DAUgaU/hU4yotgLV83dlha+buAChLmcCk4P TaU7uNoXbpVGcJXG4QwiNLlPD+aOWsAM8LRwsmI0G5ItCfOiZxbDbVLNxg74AjfUA9NW R/lznPAU26bjAQagTxS1Lvj2Rvnur7JB+QpBdMMqOFBOs56tNI/cH9IOUf+OYo1iF9Fp LDRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=jMrC6yb54Uo/4x9+187Zm24Va9mYNDL6KIv4NA+2TIk=; b=VRZ5APtrlvokxMEG3w2H3RkXf2/KeZoDbKQ2E7hYgFHy8kC4/CoxGBM1LiONKaCBP1 m1z/DcvFkF/Xox1xYcCOwf0VESwU91hA/GrV0692O8MYXfXBVGVFckFBn0dy5SnEs9OW pEpi8tMKFDTWF03eJ5tsuXW0anbh0/M/WuPO+R8KWIPVMwg50EkpA78+VKtphzWmXsHa frh3hK8VSx22a7AkjuRGMnlWtaYWhP9x8zxVUEz2Oa2ba9QbWdT40UEp6DmLDT2TJy+t HBspQDa9BdWbFzAReT0oPLPH3VWCXX9P80vohBv/onxH72CaS6j6BXnGL4GIDeqeKb99 bjCA== X-Gm-Message-State: AOAM533+OtDRUus/4RciFkwGsimRfXXBD8Tw/qqU8zwD0F7GdyOOmnbN 0k9EdxYGqxXrtkeyWyRUZf2fjja/fPA= X-Google-Smtp-Source: ABdhPJxm+X2Ts9wFgLHn7fw9BGyNsXNuXUT3RMCj1odVvgoSa7K3WoGnjtNE65smxOJo5igRD/w04g== X-Received: by 2002:a0c:a956:: with SMTP id z22mr4032379qva.22.1617896957712; Thu, 08 Apr 2021 08:49:17 -0700 (PDT) Received: from hurd (mtl.savoirfairelinux.net. [208.88.110.46]) by smtp.gmail.com with ESMTPSA id y9sm20483776qkm.19.2021.04.08.08.49.17 for <47655@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 08:49:17 -0700 (PDT) From: Maxim Cournoyer To: 47655@debbugs.gnu.org Subject: Re: bug#47655: QML2_IMPORT_PATH does not work in a profile References: <877dlcnb9b.fsf@gmail.com> Date: Thu, 08 Apr 2021 11:49:16 -0400 In-Reply-To: <877dlcnb9b.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 08 Apr 2021 09:42:24 -0400") Message-ID: <8735w0n5dv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47655 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 (-) Here's a backtrace which shows where the problem occurs exactly: --8<---------------cut here---------------start------------->8--- $ gdb --args install/client-qt/bin/jami-qt --debug GNU gdb (GDB) 10.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from install/client-qt/bin/jami-qt... (gdb) run=20 Starting program: /home/mcournoyer/src/ring-project/install/client-qt/bin/j= ami-qt --debug [Thread debugging using libthread_db enabled] Using host libthread_db library "/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0c= r-glibc-2.31/lib/libthread_db.so.1". [New Thread 0x7fffe7ba7700 (LWP 19172)] [New Thread 0x7fffdd987700 (LWP 19173)] [New Thread 0x7fffd5186700 (LWP 19174)] [New Thread 0x7fffdd186700 (LWP 19175)] [New Thread 0x7fffdc985700 (LWP 19176)] QQmlImportDatabase::addImportPath: "/gnu/store/rczz1sz7vffvrmwn7i5n2a9909xn= y3rl-profile/lib/qt5/qml" QQmlImportDatabase::addImportPath: "/gnu/store/rczz1sz7vffvrmwn7i5n2a9909xn= y3rl-profile/lib/qt5/qml" QQmlImportDatabase::addImportPath: "qrc:/qt-project.org/imports" QQmlImportDatabase::addImportPath: "/home/mcournoyer/src/ring-project/insta= ll/client-qt/bin" [New Thread 0x7fffd7dff700 (LWP 19178)] [New Thread 0x7fffd6bbe700 (LWP 19179)] [New Thread 0x7fffd63bd700 (LWP 19180)] [New Thread 0x7fffd5bbc700 (LWP 19181)] [New Thread 0x7fffd4985700 (LWP 19182)] [New Thread 0x7fffb7fff700 (LWP 19183)] [New Thread 0x7fffb77fe700 (LWP 19184)] [Detaching after fork from child process 19185] No accounts to migrate [New Thread 0x7fffb6ffd700 (LWP 19186)] QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick= " 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/= gnu/store/rczz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick.2/qm= ldir" QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/gnu/store/rczz1sz= 7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick.2" QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick= .Window" 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/= gnu/store/rczz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick/Wind= ow.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Window" from "/gnu/store/= rczz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick/Window.2" QQmlImports(qrc:/src/MainApplicationWindow.qml)::addLibraryImport: "QtQuick= .Controls" 2.14 as "" QQmlImports(qrc:/src/MainApplicationWindow.qml)::importExtension: loaded "/= gnu/store/rczz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick/Cont= rols.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Controls" from "/gnu/stor= e/rczz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/qt5/qml/QtQuick/Controls.2" Thread 7 "QQmlThread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffd7dff700 (LWP 19178)] 0x00007ffff7f4c829 in QListData::size (this=3D0x7fffc0090438) at /gnu/store/g14mn8v8gh48m7fp2i12yalc7bgj8jgf-qtbase-5.15.2/include/qt= 5/QtCore/qlist.h:115 115 inline int size() const noexcept { return int(d->end - d->begin= ); } // q6sizetype (gdb) bt -full #0 0x00007ffff7f4c829 in QListData::size (this=3D0x7fffc0090438) at /gnu/store/g14mn8v8gh48m7fp2i12yalc7bgj8jgf-qtbase-5.15.2/include/qt= 5/QtCore/qlist.h:115 No locals. #1 QList::count (this=3D0x7fffc0090438) at /gnu/store/g14mn8v8gh48m7fp2i12yalc7bgj8jgf-qtbase-5.15.2/include/qt= 5/QtCore/qlist.h:359 No locals. #2 QQuickStyleSelector::select (this=3D, fileName=3D...) at= qquickstyleselector.cpp:138 d =3D to =3D #3 0x00007ffff7f4bddf in QQuickStylePlugin::resolvedUrl (this=3Dthis@entry= =3D0x7fffc008d310, fileName=3D...) at qquickstyleplugin.cpp:88 d =3D #4 0x00007fffd52c2210 in QtQuickControls2Plugin::registerTypes (this=3D0x7= fffc008d310,=20 uri=3D0x7fffc008d178 "QtQuick.Controls") at qtquickcontrols2plugin.cpp:= 132 style =3D {static null =3D {}, d =3D 0x7fffef1c48e0= } theme =3D 0x7fffc008d1c0 stylePlugins =3D {> =3D {}, {p =3D { static shared_null =3D {ref =3D {atomic =3D {_q_value =3D {> =3D { static _S_alignment =3D 4, _M_i =3D -1}, static is_= always_lock_free =3D true}}},=20 alloc =3D 0, begin =3D 0, end =3D 0, array =3D {0x0}}, d = =3D 0x7fffc008f4c0}, d =3D 0x7fffc008f4c0}} import =3D {d =3D } #5 0x00007fffef7f0dea in QQmlMetaType::registerPluginTypes (instance=3Dins= tance@entry=3D0x7fffc008d310,=20 basePath=3D..., uri=3D..., typeNamespace=3D..., vmaj=3Dvmaj@entry=3D2, = errors=3Derrors@entry=3D0x7fffd7dfe460) at qml/qqmlmetatype.cpp:732 iface =3D bytes =3D {d =3D 0x7fffc008d160} moduleId =3D failureRecorder =3D { data =3D 0x7fffef9d76c0 <(anonymous namespace)::Q_QGS_metaTypeDat= a::innerFunction()::holder>} failures =3D {> =3D {> = =3D {}, {p =3D { static shared_null =3D {ref =3D {atomic =3D {_q_value =3D {= > =3D { static _S_alignment =3D 4, _M_i =3D -1}, static i= s_always_lock_free =3D true}}},=20 alloc =3D 0, begin =3D 0, end =3D 0, array =3D {0x0}},=20 d =3D 0x7fffef1c5410 },=20 d =3D 0x7fffef1c5410 }}, } data =3D {locker =3D {val =3D 140737213462185},=20 data =3D 0x7fffef9d76c0 <(anonymous namespace)::Q_QGS_metaTypeDat= a::innerFunction()::holder>} #6 0x00007fffef8331c0 in registerPluginTypes (instance=3Dinstance@entry=3D= 0x7fffc008d310, basePath=3D...,=20 uri=3D..., typeNamespace=3D..., vmaj=3Dvmaj@entry=3D2, errors=3Derrors@= entry=3D0x7fffd7dfe460) at qml/qqmlimport.cpp:2165 No locals. #7 0x00007fffef83621e in QQmlImportDatabase::importDynamicPlugin (this=3Dt= his@entry=3D0x6e1e88,=20 filePath=3D..., uri=3D..., typeNamespace=3D..., vmaj=3Dvmaj@entry=3D2, = errors=3Derrors@entry=3D0x7fffd7dfe460) at qml/qqmlimport.cpp:2282 plugin =3D {uri =3D {static null =3D {}, d =3D 0x7f= ffc0008a70}, loader =3D 0x7fffc008c9a0} loader =3D 0x7fffc008c9a0 plugins =3D lock =3D {val =3D 140737213470985} typesRegistered =3D fileInfo =3D {d_ptr =3D {d =3D 0x8a0bb0}} absoluteFilePath =3D {static null =3D {}, d =3D 0x7= fffc008caf0} instance =3D engineInitialized =3D #8 0x00007fffef839c12 in QQmlImportsPrivate::importExtension (this=3Dthis@= entry=3D0x8a0b50,=20 qmldirFilePath=3D..., uri=3D..., vmaj=3Dvmaj@entry=3D2, vmin=3Dvmin@ent= ry=3D14,=20 database=3Ddatabase@entry=3D0x6e1e88, qmldir=3D..., errors=3D0x7fffd7df= e460) at qml/qqmlimport.cpp:1221 resolvedFilePath =3D {static null =3D {}, d =3D 0x7= fffc008caf0} plugin =3D --Type for more, q to quit, c to continue without paging--c __for_range =3D @0x7fffd7dfdfa0: {> =3D {}, {p =3D {static shared_null =3D {ref =3D= {atomic =3D {_q_value =3D {> =3D {static _S_alignm= ent =3D 4, _M_i =3D -1}, static is_always_lock_free =3D true}}}, alloc =3D = 0, begin =3D 0, end =3D 0, array =3D {0x0}}, d =3D 0x7fffc0090c30}, d =3D 0= x7fffc0090c30}} __for_begin =3D {i =3D } __for_end =3D {i =3D } typeNamespace =3D {static null =3D {}, d =3D 0x7fff= c008c7b0} qmldirPath =3D {static null =3D {}, d =3D 0x7fffc00= 85750} slash =3D dynamicPluginsFound =3D staticPluginsFound =3D 0 qmldirPlugins =3D {> =3D= {}, {p =3D {static shared_null =3D {ref =3D {atomic =3D {_= q_value =3D {> =3D {static _S_alignment =3D 4, _M_i= =3D -1}, static is_always_lock_free =3D true}}}, alloc =3D 0, begin =3D 0,= end =3D 0, array =3D {0x0}}, d =3D 0x7fffc0090c30}, d =3D 0x7fffc0090c30}} qmldirPluginCount =3D #9 0x00007fffef83a930 in QQmlImportsPrivate::addLibraryImport (this=3D0x8a= 0b50, uri=3D..., prefix=3D..., vmaj=3Dvmaj@entry=3D2, vmin=3Dvmin@entry=3D1= 4, qmldirIdentifier=3D..., qmldirUrl=3D..., incomplete=3Dfalse, database=3D= 0x6e1e88, errors=3D0x7fffd7dfe460) at qml/qqmlimport.cpp:1571 qmldir =3D {m_parser =3D {_errors =3D {> =3D {}, {p =3D {static shared_null =3D= {ref =3D {atomic =3D {_q_value =3D {> =3D {static = _S_alignment =3D 4, _M_i =3D -1}, static is_always_lock_free =3D true}}}, a= lloc =3D 0, begin =3D 0, end =3D 0, array =3D {0x0}}, d =3D 0x7fffef1c5410 = }, d =3D 0x7fffef1c5410 }},= _typeNamespace =3D {static null =3D {}, d =3D 0x7fffc008c7= b0}, _components =3D {> =3D {{d = =3D 0x7fffef1c5380 , e =3D 0x7fffef1c5380 }}, }, _dependencies =3D {{d =3D 0x7fffc0090= c80, e =3D 0x7fffc0090c80}}, _imports =3D {> =3D {> =3D {}, {p =3D {static shared_null =3D= {ref =3D {atomic =3D {_q_value =3D {> =3D {static = _S_alignment =3D 4, _M_i =3D -1}, static is_always_lock_free =3D true}}}, a= lloc =3D 0, begin =3D 0, end =3D 0, array =3D {0x0}}, d =3D 0x7fffef1c5410 = }, d =3D 0x7fffef1c5410 }},= }, _scripts =3D {> =3D {}, {p =3D {static shared_null =3D {ref =3D {atomic= =3D {_q_value =3D {> =3D {static _S_alignment =3D = 4, _M_i =3D -1}, static is_always_lock_free =3D true}}}, alloc =3D 0, begin= =3D 0, end =3D 0, array =3D {0x0}}, d =3D 0x7fffef1c5410 }, d =3D 0x7fffef1c5410 }}, _plugins =3D {> =3D {}, {p =3D {= static shared_null =3D {ref =3D {atomic =3D {_q_value =3D {> =3D {static _S_alignment =3D 4, _M_i =3D -1}, static is_always_lo= ck_free =3D true}}}, alloc =3D 0, begin =3D 0, end =3D 0, array =3D {0x0}},= d =3D 0x7fffc0090c30}, d =3D 0x7fffc0090c30}}, _designerSupported =3D true= , _typeInfos =3D {> =3D {}, {p =3D {static shared_null =3D {ref =3D {atomic =3D {_q_value= =3D {> =3D {static _S_alignment =3D 4, _M_i =3D -1= }, static is_always_lock_free =3D true}}}, alloc =3D 0, begin =3D 0, end = =3D 0, array =3D {0x0}}, d =3D 0x7fffef1c5410 }, d = =3D 0x7fffef1c5410 }}, _className =3D {static null = =3D {}, d =3D 0x7fffc0090cc0}}, m_location =3D {static null= =3D {}, d =3D 0x7fffc0084940}, m_hasContent =3D true} nameSpace =3D 0x8a0b68 inserted =3D #10 0x00007fffef83aa76 in QQmlImports::addLibraryImport (this=3Dthis@entry= =3D0x8a1268, importDb=3DimportDb@entry=3D0x6e1e88, uri=3D..., prefix=3D...,= vmaj=3D2, vmin=3D14, qmldirIdentifier=3D..., qmldirUrl=3D..., incomplete= =3Dfalse, errors=3D0x7fffd7dfe460) at qml/qqmlimport.cpp:1830 No locals. #11 0x00007fffef80c3bc in QQmlTypeLoader::Blob::addImport (this=3Dthis@entr= y=3D0x8a1200, import=3Dstd::shared_ptr= (use count 1, weak count 0) =3D {...}, errors=3Derrors@entry=3D0x7fffd7dfe= 460) at qml/qqmltypeloader.cpp:586 qmldirFilePath =3D {static null =3D {}, d =3D 0x7ff= fc0084940} qmldirUrl =3D {static null =3D {}, d =3D 0x7fffc008= c590} qmldirResult =3D QQmlImports::QmldirFound importDatabase =3D 0x6e1e88 #12 0x00007fffef80c9b7 in QQmlTypeLoader::Blob::addImport (this=3Dthis@entr= y=3D0x8a1200, import=3Dimport@entry=3D0x7fffc0015220, errors=3Derrors@entry= =3D0x7fffd7dfe460) at qml/qqmltypeloader.cpp:562 No locals. #13 0x00007fffef7b620e in QQmlTypeData::continueLoadFromIR (this=3Dthis@ent= ry=3D0x8a1200) at qml/qqmltypedata.cpp:703 import =3D 0x7fffc0015220 __for_range =3D __for_begin =3D {i =3D } __for_end =3D {i =3D } containingType =3D {d =3D {o =3D 0x0}} containingTypeName =3D {static null =3D {}, d =3D 0= x7fffc000bde0} major =3D -1 minor =3D -1 ns =3D 0x0 errors =3D {> =3D {}= , {p =3D {static shared_null =3D {ref =3D {atomic =3D {_q_value =3D {> =3D {static _S_alignment =3D 4, _M_i =3D -1}, static is= _always_lock_free =3D true}}}, alloc =3D 0, begin =3D 0, end =3D 0, array = =3D {0x0}}, d =3D 0x7fffef1c5410 }, d =3D 0x7fffef1= c5410 }} #14 0x00007fffef7bb354 in QQmlTypeData::dataReceived (this=3D0x8a1200, data= =3D...) at qml/qqmltypedata.cpp:601 No locals. #15 0x00007fffef80718c in QQmlTypeLoader::setData (this=3Dthis@entry=3D0x6e= 1ed8, blob=3Dblob@entry=3D0x8a1200, d=3D...) at qml/qqmltypeloader.cpp:447 prof =3D { =3D { =3D {= }, profiler =3D 0x0}, } #16 0x00007fffef8074c4 in QQmlTypeLoader::setData (this=3Dthis@entry=3D0x6e= 1ed8, blob=3Dblob@entry=3D0x8a1200, fileName=3D...) at qml/qqmltypeloader.c= pp:437 d =3D {inlineSourceCode =3D {static null =3D {}, d = =3D 0x7fffef1c4940 }, fileInfo =3D {d_ptr =3D {d = =3D 0x7fffc0004f50}}, hasInlineSourceCode =3D false} #17 0x00007fffef8079d5 in QQmlTypeLoader::loadThread (this=3D0x6e1ed8, blob= =3Dblob@entry=3D0x8a1200) at qml/qqmltypeloader.cpp:299 fileName =3D {static null =3D {}, d =3D 0x7fffc0003= 400} #18 0x00007fffef7c4d7d in QQmlTypeLoaderThread::loadThread (this=3D, b=3D0x8a1200) at qml/qqmltypeloaderthread.cpp:162 No locals. #19 0x00007fffef885796 in QQmlThreadPrivate::threadEvent (this=3D0x6bc840) = at qml/ftw/qqmlthread.cpp:198 message =3D #20 0x00007fffef885eea in QQmlThreadPrivate::event (this=3D0x6bc840, e=3D0x= 8a0210) at qml/ftw/qqmlthread.cpp:142 No locals. #21 0x00007ffff715ac3c in QApplicationPrivate::notify_helper (this=3Dthis@e= ntry=3D0x666140, receiver=3Dreceiver@entry=3D0x6bc840, e=3De@entry=3D0x8a02= 10) at kernel/qapplication.cpp:3632 consumed =3D false filtered =3D false #22 0x00007ffff716157f in QApplication::notify (this=3D0x7fffffffd070, rece= iver=3D0x6bc840, e=3D0x8a0210) at kernel/qapplication.cpp:3156 w =3D wheel =3D spontaneous =3D phase =3D d =3D res =3D false #23 0x00007fffef0d1373 in QCoreApplication::notifyInternal2 (receiver=3D0x6= bc840, event=3D0x8a0210) at kernel/qcoreapplication.cpp:1063 selfRequired =3D true result =3D false cbdata =3D {0x6bc840, 0x8a0210, 0x7fffd7dfe7ff} d =3D threadData =3D scopeLevelCounter =3D {threadData =3D 0x6d8560} #24 0x00007fffef0d152e in QCoreApplication::sendEvent (receiver=3Dreceiver@= entry=3D0x6bc840, event=3Devent@entry=3D0x8a0210) at kernel/qcoreapplicatio= n.cpp:1458 No locals. #25 0x00007fffef0d4521 in QCoreApplicationPrivate::sendPostedEvents (receiv= er=3Dreceiver@entry=3D0x0, event_type=3Devent_type@entry=3D0, data=3D0x6d85= 60) at kernel/qcoreapplication.cpp:1817 e =3D 0x8a0210 pe =3D r =3D 0x6bc840 relocker =3D {m_func =3D {__locker =3D @0x7fffd7dfe880}, m_invoke = =3D true} event_deleter =3D {d =3D 0x8a0210} locker =3D {_M_device =3D 0x6d8590, _M_owns =3D false} startOffset =3D 0 i =3D @0x6d8584: 1 cleanup =3D {receiver =3D 0x0, event_type =3D 0, data =3D 0x6d8560,= exceptionCaught =3D true} #26 0x00007fffef0d4b18 in QCoreApplication::sendPostedEvents (receiver=3Dre= ceiver@entry=3D0x0, event_type=3Devent_type@entry=3D0) at kernel/qcoreappli= cation.cpp:1676 data =3D #27 0x00007fffef130d53 in postEventSourceDispatch (s=3D0x7fffc0004bb0) at k= ernel/qeventdispatcher_glib.cpp:277 source =3D 0x7fffc0004bb0 #28 0x00007ffff769deda in g_main_context_dispatch () from /gnu/store/rczz1s= z7vffvrmwn7i5n2a9909xny3rl-profile/lib/libglib-2.0.so.0 No symbol table info available. #29 0x00007ffff769e0d8 in g_main_context_iterate.isra () from /gnu/store/rc= zz1sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/libglib-2.0.so.0 No symbol table info available. #30 0x00007ffff769e15c in g_main_context_iteration () from /gnu/store/rczz1= sz7vffvrmwn7i5n2a9909xny3rl-profile/lib/libglib-2.0.so.0 No symbol table info available. #31 0x00007fffef13044c in QEventDispatcherGlib::processEvents (this=3D0x7ff= fc0000b60, flags=3D...) at kernel/qeventdispatcher_glib.cpp:423 d =3D 0x7fffc0000b80 canWait =3D true savedFlags =3D {i =3D 0} result =3D #32 0x00007fffef0cfd2a in QEventLoop::exec (this=3Dthis@entry=3D0x7fffd7dfe= ab0, flags=3D..., flags@entry=3D...) at kernel/qeventloop.cpp:232 d =3D 0x7fffc0003690 threadData =3D locker =3D {val =3D 7082872} ref =3D {d =3D 0x7fffc0003690, locker =3D @0x7fffd7dfea48, exceptio= nCaught =3D true} app =3D #33 0x00007fffeeee9bd7 in QThread::exec (this=3Dthis@entry=3D0x6bc840) at t= hread/qthread.cpp:547 d =3D 0x6c1320 locker =3D {val =3D 7082872} eventLoop =3D { =3D {_vptr.QObject =3D 0x7fffef3b0268 , static staticMetaObject =3D {d =3D {superdata =3D {= direct =3D 0x0}, stringdata =3D 0x7fffef2a6580 = , data =3D 0x7fffef2a6460 , static_metacall =3D 0x7ff= fef10ac80 , relatedMetaObjects =3D 0x0, extradata =3D 0x0}}, d_ptr =3D {d =3D 0= x7fffc0003690}, static staticQtMetaObject =3D {d =3D {superdata =3D {direct= =3D 0x0}, stringdata =3D 0x7fffef2a9520 , data =3D = 0x7fffef2a66a0 , static_metacall =3D 0x0, relatedMetaObjec= ts =3D 0x0, extradata =3D 0x0}}}, static staticMetaObject =3D {d =3D {super= data =3D {direct =3D 0x7fffef3a7ae0 }, stringdat= a =3D 0x7fffef2a0d00 , data =3D 0x7fffef2a0c= a0 , static_metacall =3D 0x7fffef0cfa30 , relatedMe= taObjects =3D 0x0, extradata =3D 0x0}}} returnCode =3D #34 0x00007fffef885465 in QQmlThreadPrivate::run (this=3D0x6bc840) at qml/f= tw/qqmlthread.cpp:155 No locals. #35 0x00007fffeeeeaff9 in QThreadPrivate::start (arg=3D0x6bc840) at thread/= qthread_unix.cpp:329 thr =3D 0x6bc840 data =3D __clframe =3D {__cancel_routine =3D 0x7fffeeeea470 , __cancel_arg =3D 0x6bc840, __do_it =3D 1, __cancel_type = =3D } #36 0x00007fffee921f64 in start_thread () from /gnu/store/fa6wj5bxkj5ll1d72= 92a70knmyl7a0cr-glibc-2.31/lib/libpthread.so.0 No symbol table info available. #37 0x00007fffeea319af in clone () from /gnu/store/fa6wj5bxkj5ll1d7292a70kn= myl7a0cr-glibc-2.31/lib/libc.so.6 No symbol table info available. --8<---------------cut here---------------end--------------->8--- It crashes in the QtQuickControls2 plugin registration code. Perhaps the fix could be local to that, else applied globally to QQmlMetaType::registerPluginTypes (which is in qtdeclarative). Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 00:44:47 2022 Received: (at 47655-done) by debbugs.gnu.org; 2 Aug 2022 04:44:47 +0000 Received: from localhost ([127.0.0.1]:41994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIjlv-0003RA-If for submit@debbugs.gnu.org; Tue, 02 Aug 2022 00:44:47 -0400 Received: from mail-qv1-f46.google.com ([209.85.219.46]:34400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIjlt-0003Qp-Ty for 47655-done@debbugs.gnu.org; Tue, 02 Aug 2022 00:44:46 -0400 Received: by mail-qv1-f46.google.com with SMTP id u8so7886174qvv.1 for <47655-done@debbugs.gnu.org>; Mon, 01 Aug 2022 21:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=Cq7IPMwsEO8LjA05D0qkNf9oo6Y8q+EkXI3/bN0Tav8=; b=GkdHSfxUip0PMzfKPKIQccoHYPP9jEUu7VtWYBw89ZPkiLUh97g/knK/ON9wzFRxYt m6538E/4PpP3ng6XcL4BdB1Z+jz34909GrjZTWox+TdLJjAuhvIfBtapyrtMLoZyDeQe Cs6TY1yAawV9AJ2RrLTWDtYkKwer2PHSoOmH9CV/waH9ueG+x8YtDWGLQX2CAPaRXHRX 39QOV0k/R9eDknj9FjPwQ0nutgje8VC/K3guxJMubEZ/zsKZbPYP6w9+/fSDMkDfGdAm fTTAuXi4ldh7KhBO5lHVXYiOpv6a5FioBg+BOWfISonNBTwy97pVWDL/5VJD9lER5F+C jOmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Cq7IPMwsEO8LjA05D0qkNf9oo6Y8q+EkXI3/bN0Tav8=; b=p35OpcCjnaNS2faRqNqpX5M8de8v2lM8rvXY87SCGmpnCl+t5PEFxn2Dtp6LDEYkmg 6FnaMkuL6l3VsHTbod3QC7gNZERT0gIDPfsngtg6pzW7hbbXeqyzBHdj46m/M3No1w1e vWKos5e/1pYIKw5TasYYQtAEtd4NoSkZgsQcdHvpqnGP3bWl5CWmqs/Qx5dUtR5LHW1C f+K7B7xnkmTOW/bhr4zM6LA6SGoHov4t3aEnsclUDs22n5DZleX+JH1ZdsXW2UwnwJdU TZUNCyx2daypU/4Y1nc5hHy3SlWJwc/1jTal92Hzazcjy1yrgdQS2CHBDyNmCmcLmkFv NdRg== X-Gm-Message-State: ACgBeo1UlSGV+b9OP/A4Ye8eBTWjUTdvSZefsmEiqkq/5Wi3nAxHSiGR n8TAIoGqaaYg2EGY3LkguGQR4QUBSruKkg== X-Google-Smtp-Source: AA6agR4UwOZr5GF+4GFG/EiveqJhBdtcwOAKeWW3gyPIZncAGErVY4Icfacs32vFYGYcdj2EwAHzAw== X-Received: by 2002:a05:6214:d03:b0:473:7877:302c with SMTP id 3-20020a0562140d0300b004737877302cmr16750343qvh.8.1659415480104; Mon, 01 Aug 2022 21:44:40 -0700 (PDT) Received: from hurd (dsl-158-240.b2b2c.ca. [66.158.158.240]) by smtp.gmail.com with ESMTPSA id m26-20020ac866da000000b00339163a06fcsm771304qtp.6.2022.08.01.21.44.38 for <47655-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Aug 2022 21:44:39 -0700 (PDT) From: Maxim Cournoyer To: 47655-done@debbugs.gnu.org Subject: Re: bug#47655: QML2_IMPORT_PATH does not work in a profile References: <877dlcnb9b.fsf@gmail.com> Date: Tue, 02 Aug 2022 00:44:37 -0400 In-Reply-To: <877dlcnb9b.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 08 Apr 2021 09:42:24 -0400") Message-ID: <874jyv2r0q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47655-done 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, Maxim Cournoyer writes: > Hello Guix, > > When setting up a profile (via 'guix environment', for example) to > develop a Qt application, the search paths set by qtbase point to the > environment profile, which is a forest of symbolic links. Apparently > this doesn't play well with at least QML2_IMPORT_PATH: the Qt > application built in the profile will not run, and Qt crashes in an > inscrutable way. This seems to have been resolved using Qt 6. Closing. Maxim From unknown Sat Jun 21 10:46:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Aug 2022 11:24:07 +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