From nobody Tue Jul 5 19:00:41 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8858D1CFDAE9 for ; Tue, 5 Jul 2022 19:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LcsSn2gBBz3Jl2 for ; Tue, 5 Jul 2022 19:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1745D2CE5 for ; Tue, 5 Jul 2022 19:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 265J0fCX064989 for ; Tue, 5 Jul 2022 19:00:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 265J0fPr064987 for x11@FreeBSD.org; Tue, 5 Jul 2022 19:00:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 265022] x11/xcb-proto: Fails to package: python3.7/site-packages/xcbgen/__pycache__/*.pyc: No such file or directory Date: Tue, 05 Jul 2022 19:00:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657047641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6DZg3yWI+HTIhlrA/CXCRdFCluMCmSYoV/ZT88uMGlk=; b=HtmV7Jm2ceiBbkYqzrVnmIgeDH+9za4VGjnNtqacEb0y+M9bo5IA3DwQP/HaxzzC4rGsZ3 68CEzfTGXt0A5/c3uSmF0F//UOv26H0/Ju+4eovfsbQWZ6tPSJWgssrc2R/1gjhoR7QIP3 1u73DBYc5VAmQVKmwBmABSiZXomB8GHCZWDKBxbDE9hwEgu7Q6BxhhsEhgdYpsE9ZcDEyY ef5feGCvJdnXZWLvQG0I1q/lSP149naiulZ6lSJ3V+PYqHOkk8STFi62J6Np1bqNoEHh3F 7FoTBh83jTm5o/3ZZaHPZh+alTxm9BLQ2Cn2sY2QctZnOVbKKp681PAKXvOOjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657047641; a=rsa-sha256; cv=none; b=DIGlo6HcZSe1yX/QjerNDdwfU+37NBkkA7MYwz6yA31nBqx1PMxjAXeOywShAFA+hrJzJq 5mSmnpd51OpFy3gYH/IT1GQzGMb69WSnoL2VsgpNT80c4LD4Z/U0iFvMspNTj2bP49KSDa xZmSNGp2KattlOJzgCn5boXshl/VuHBp1dDw/28dBPDwZJRT5HrpFLY1cFCKys4QOYliWV r/bHHArn2+rxX1ZEE0Yty0M0R9R9zwYBUTjtKziW7rDH2YXR/7zPhAzuUrPWe6MGylrAPG XByVvYkNflacrjRDlL6nMKVB7tNrNvE4iiH7NljgZuOjuDIs1MiSeXcn/9GHFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265022 --- Comment #9 from Michael Osipov --- Some more investigation: The used PYTHON_EXT_SUFFIX is empty before Python 3.8.7. Other ports use .cpython-%%PYTHON_SUFFIX%% for this reason. I have t= ried in the pkg-plist: %%PYTHON_SITELIBDIR%%/xcbgen/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%= .opt-2.pyc Haven't tested with 3.8+, but logically this should work.=20 Now, either this port is broken or these lines are: https://github.com/freebsd/freebsd-ports/blob/dee560336f0d0bc6e38bdecbe92ed= f370f4e2905/Mk/Uses/python.mk#L505-L509 Here it is: https://github.com/freebsd/freebsd-ports/commit/fd8c799f257f75622e7f1a9f74b= 4e1130002ef74 I have the feeling that it has been backported to 3.7.x at some point in ti= me. root@123-release-amd64-default-ldadw-base:/usr/ports/x11/xcb-proto # grep -= r -l PYTHON_SUFFIX /usr/ports | cut -f 4-5 -d / | sort -u accessibility/accerciser accessibility/py-speech-dispatcher accessibility/redshift archivers/py-lz4 archivers/py-rjsmin astro/py-jplephem astro/py-sgp4 astro/py-skyfield astro/py-skyfield-data astro/py-spktype01 astro/py-spktype21 astro/weather biology/hmmer biology/infernal biology/py-PySCeS cad/astk-serveur cad/freecad cad/libredwg chinese/ibus-cangjie chinese/pycangjie databases/arrow databases/grass7 databases/ldb15 databases/ldb20 databases/ldb21 databases/ldb22 databases/py-apache-arrow databases/py-duckdb databases/py-gdbm databases/py-sqlite3 databases/py-xapian databases/redisdesktopmanager databases/tdb deskutils/py-autokey deskutils/py-term-background deskutils/recoll deskutils/treeline devel/boost-python-libs devel/cmake devel/distcc devel/gitg devel/gobject-introspection devel/icestorm devel/ikos devel/libsearpc devel/mercurial devel/py-cysignals devel/py-gobject3 devel/py-guppy3 devel/py-jaraco devel/py-odfpy devel/py-pysimdjson devel/pyside2 devel/pyside2-tools devel/shiboken2 devel/talloc devel/tevent devel/tortoisehg devel/youcompleteme emulators/virtualbox-ose emulators/virtualbox-ose-legacy finance/gnucash french/aster french/homard games/anki games/monsterz games/openage games/whichwayisup graphics/eog-plugins graphics/lensfun graphics/py-cairocffi graphics/py-mcomix graphics/py-python-poppler-qt5 japanese/ibus-anthy lang/python-tools lang/python310 lang/python311 lang/python37 lang/python38 lang/python39 mail/mailutils math/cadabra2 math/convertall math/e-antic math/mathicsscript math/py-brial math/py-cypari2 math/py-fpylll math/py-mathics math/py-mathics-scanner math/py-matplotlib math/py-pandas math/py-piranha math/py-pplpy math/py-rpy2 math/py-spot math/rpcalc math/sage misc/hashdb misc/veles multimedia/gpodder multimedia/gstreamer1-validate multimedia/mythtv multimedia/photofilmstrip multimedia/pitivi multimedia/py-mlt6 net-mgmt/net-snmp net-mgmt/seafile-client net-mgmt/seafile-server net-p2p/py-libtorrent-rasterbar net/ceph14 net/glusterfs net/pacemaker1 net/samba412 net/samba413 print/lilypond-devel print/lyx print/system-config-printer science/cantera science/code_saturne science/elmerfem science/openbabel science/py-asap3 science/py-dipy science/py-dlib science/py-jupyter_jsmol science/py-pymol science/py-pyprecice science/tfel-edf science/v_sim security/apkid security/py-pass-audit security/sssd security/zeronet sysutils/calamares sysutils/catfish sysutils/datadog-integrations sysutils/py-salt sysutils/scanmem sysutils/syslog-ng sysutils/xen-tools textproc/gtk-doc textproc/ibus-typing-booster textproc/meld textproc/py-enchant textproc/py-langid textproc/py-mathics-pygments textproc/py-wordcloud www/npm www/py-seafdav www/py-seafobj www/unit-python x11-toolkits/py-tkinter x11-wm/chamfer x11/guake x11/mate-dock-applet x11/menulibre x11/py-xcffib x11/xcb-proto x11/xpra vs=20 root@123-release-amd64-default-ldadw-base:/usr/ports/x11/xcb-proto # grep -= r -l PYTHON_EXT_SUFFIX /usr/ports | cut -f 4-5 -d / | sort -u accessibility/orca archivers/py-lz4 astro/astrometry astro/kosmorro astro/py-ephem astro/py-kosmorrolib astro/py-sgp4 audio/picard-plugins biology/py-python-libsbml cad/klayout cad/netgen comms/hamlib converters/py-bsdconv databases/grass8 databases/ldb15 databases/ldb20 databases/ldb21 databases/ldb22 databases/py-apache-arrow databases/py-xapian databases/pymongo databases/rrdtool databases/tdb deskutils/gnome-tweaks deskutils/mozo deskutils/py-paperless deskutils/recoll devel/cbang devel/cpplint devel/git-cola devel/gobject-introspection devel/kf5-kapidox devel/llvm-devel devel/llvm14 devel/omniORB devel/py-cld devel/py-cysignals devel/py-gobject3 devel/py-grpcio devel/py-guppy3 devel/py-ice37 devel/py-jep devel/py-jsonnet devel/py-memory-allocator devel/py-omniorb devel/py-pysimdjson devel/py-qt5-pyqt devel/talloc devel/tevent devel/youcompleteme editors/pluma editors/pluma-plugins finance/odoo games/openage graphics/mypaint graphics/opencv graphics/openimageio graphics/py-cairo graphics/py-python-poppler-qt5 math/cadabra2 math/openturns math/py-cypari2 math/py-dionysus math/py-fpylll math/py-heyoka math/py-kahip math/py-mathics math/py-matplotlib math/py-nlopt math/py-pandas math/py-pplpy math/py-primecountpy math/py-primme math/py-spot math/py-topologic math/sage misc/adios2 misc/py-ezc3d misc/py-xgboost multimedia/onevpl multimedia/openshot multimedia/py-gstreamer1 multimedia/py-opentimelineio net-mgmt/crmsh net-mgmt/net-snmp net/ceph14 net/kea net/ns3 net/pacemaker2 net/py-libdnet net/samba412 net/samba413 print/lilypond print/pdfarranger science/agrum science/cantera science/code_saturne science/py-PyNE science/py-avogadrolibs science/py-fresnel science/py-hoomd-blue science/py-libgetar science/py-pygmo2 science/py-pymol science/tfel science/yoda security/libpreludedb security/libpwquality security/py-gpgme security/py-ospd-openvas security/py-yara-python-dex security/silktools security/suricata sysutils/android-file-transfer sysutils/bareos-server sysutils/bareos20-server sysutils/openzfs sysutils/webmin sysutils/xen-tools textproc/meld textproc/py-hunspell textproc/py-wordcloud textproc/redland-bindings x11-toolkits/nanogui x11-wm/qtile x11/xpra This now needs someone who knows Python internals better than me. --=20 You are receiving this mail because: You are the assignee for the bug.=