Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1854949

Summary: gnome-abrt fails to build with meson 0.55: Installs files to both %{python_sitearch} and %{python_sitelib}
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: gnome-abrtAssignee: Jakub Filak <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: rawhideCC: carl, digitalfreak, ekulik, igor.raits, jakub, mhabrnal, mkutlak, mmarusak, msuchy, pviktori, torsava, wtaymans
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-23 05:52:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    

Description Miro Hrončok 2020-07-08 13:10:07 UTC
Description of problem:
gnome-abrt suddenly tries to install files into both %{python_sitearch} and %{python_sitelib} ending with the following error on 64bit architectures:


error: Installed (but unpackaged) file(s) found:
   /usr/lib/python3.9/site-packages/gnome_abrt/__init__.py
   /usr/lib/python3.9/site-packages/gnome_abrt/__pycache__/__init__.cpython-39.opt-1.pyc
   /usr/lib/python3.9/site-packages/gnome_abrt/__pycache__/__init__.cpython-39.pyc
   ...
   /usr/lib/python3.9/site-packages/gnome_abrt/__pycache__/views.cpython-39.pyc
   /usr/lib/python3.9/site-packages/gnome_abrt/application.py
   /usr/lib/python3.9/site-packages/gnome_abrt/config.py
   /usr/lib/python3.9/site-packages/gnome_abrt/controller.py
   /usr/lib/python3.9/site-packages/gnome_abrt/dbus_problems.py
   /usr/lib/python3.9/site-packages/gnome_abrt/desktop.py
   /usr/lib/python3.9/site-packages/gnome_abrt/directory_problems.py
   /usr/lib/python3.9/site-packages/gnome_abrt/errors.py
   /usr/lib/python3.9/site-packages/gnome_abrt/l10n.py
   /usr/lib/python3.9/site-packages/gnome_abrt/problems.py
   /usr/lib/python3.9/site-packages/gnome_abrt/signals.py
   /usr/lib/python3.9/site-packages/gnome_abrt/tools.py
   /usr/lib/python3.9/site-packages/gnome_abrt/views.py
   /usr/lib/python3.9/site-packages/gnome_abrt/wrappers/__init__.py
   /usr/lib/python3.9/site-packages/gnome_abrt/wrappers/__pycache__/__init__.cpython-39.opt-1.pyc
   /usr/lib/python3.9/site-packages/gnome_abrt/wrappers/__pycache__/__init__.cpython-39.pyc

While the compiled files is installed into:

  /usr/lib64/python3.9/site-packages/gnome_abrt/wrappers/_wrappers.cpython-39-x86_64-linux-gnu.so


From Python perspective, this doesn't work.



Version-Release number of selected component: gnome-abrt-1.3.5-2.fc33


How reproducible: fedpkg mockbuild




The spec file of gnome-abrt hasn't changed since the successful build on 2020-06-03. Something in the buildroot has changed.

Unfortunately, Koschei doesn't schedule builds, so I can only tell that the following is new since:

Dependency changes since last build
 python3-devel
3.9.0~b1-4.fc33
3.9.0~b3-1.fc33
1
 glibc
2.31.9000-13.fc33
2.31.9000-14.fc33
2
 python3-libs
3.9.0~b1-4.fc33
3.9.0~b3-1.fc33
2
 openssl-libs
1:1.1.1g-7.fc33
1:1.1.1g-9.fc33
2
 python3
3.9.0~b1-4.fc33
3.9.0~b3-1.fc33
2
 vim-filesystem
2:8.2.869-1.fc33
2:8.2.905-1.fc33
2
 python3-setuptools
46.4.0-4.fc33
47.1.1-1.fc33
2
 pango
1.44.7-3.fc33
1.45.2-1.fc33
2
 openssh-clients
8.3p1-2.fc33
8.3p1-3.fc33
2
 pango-devel
1.44.7-3.fc33
1.45.2-1.fc33
2
 harfbuzz
2.6.6-2.fc33
2.6.7-1.fc33
2
 harfbuzz-devel
2.6.6-2.fc33
2.6.7-1.fc33
3
 xz-libs
5.2.5-1.fc33
5.2.5-2.fc33
3
 python-setuptools-wheel
46.4.0-4.fc33
47.1.1-1.fc33
3
 ca-certificates
2020.2.40-3.fc32
2020.2.41-2.fc33
3
 xz
5.2.5-1.fc33
5.2.5-2.fc33
3
 elfutils-libelf
0.179-2.fc33
0.180-2.fc33
3
 rpm
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
3
 cups-libs
1:2.3.3-2.fc33
1:2.3.3-6.fc33
3
 elfutils-libs
0.179-2.fc33
0.180-2.fc33
3
 sqlite-libs
3.32.1-1.fc33
3.32.2-1.fc33
3
 glibc-minimal-langpack
2.31.9000-13.fc33
2.31.9000-14.fc33
3
 boost-regex
1.73.0-3.fc33
1.73.0-5.fc33
3
 glibc-common
2.31.9000-13.fc33
2.31.9000-14.fc33
3
 python3-lazy-object-proxy
1.4.3-4.fc33
1.5.0-1.fc33
3
 rpm-libs
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
3
 glibc-devel
2.31.9000-13.fc33
2.31.9000-14.fc33
3
 crypto-policies
20200527-4.gitb234a47....
20200610-1.git7f9d474....
3
 krb5-libs
1.18.2-3.fc33
1.18.2-7.fc33
3
 adwaita-icon-theme
3.36.1-1.fc33
3.37.2-1.fc33
3
 librsvg2
2.48.6-1.fc33
2.48.7-1.fc33
3
 python3-rpm
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
3
 libacl
2.2.53-5.fc32
2.2.53-6.fc33
3
 openssh
8.3p1-2.fc33
8.3p1-3.fc33
3
 adwaita-cursor-theme
3.36.1-1.fc33
3.37.2-1.fc33
4
 libsolv
0.7.14-1.fc33
0.7.14-2.fc33
4
 glibc-headers-x86
2.31.9000-13.fc33
2.31.9000-14.fc33
4
 elfutils-default-yama-scope
0.179-2.fc33
0.180-2.fc33
4
 tzdata
2020a-1.fc33
2020a-2.fc33
4
 rpm-build-libs
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
4
 gnutls
3.6.13-6.fc33
3.6.14-2.fc33
4
 popt
1.16-19.fc32
1.18~rc1-1.fc33
4
 harfbuzz-icu
2.6.6-2.fc33
2.6.7-1.fc33
4
 redhat-rpm-config
156-1.fc33
160-1.fc33
4
 rpm-sign-libs
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
4
 lcms2
2.9-7.fc32
2.10-1.fc33
4
 xz-devel
5.2.5-1.fc33
5.2.5-2.fc33
4
 openssl
1:1.1.1g-7.fc33
1:1.1.1g-9.fc33
B
 fedora-gpg-keys
33-0.5
33-0.6
B
 mesa-libEGL
20.1.0-1.fc33
20.1.1-1.fc33
B
 fedora-repos
33-0.5
33-0.6
B
 fedora-release-identity-basic
33-0.8
33-0.9
B
 mesa-libgbm
20.1.0-1.fc33
20.1.1-1.fc33
B
 mesa-libglapi
20.1.0-1.fc33
20.1.1-1.fc33
B
 tss2
1331-4.fc32
1331-5.fc33
B
 gdb-minimal
9.1-7.fc33
9.1-8.fc33
B
 rpm-build
4.16.0-0.beta1.1.fc33.1
4.16.0-0.beta1.4.fc33
B
 fedora-release
33-0.8
33-0.9
B
 mesa-libGL
20.1.0-1.fc33
20.1.1-1.fc33
B
 fedora-repos-rawhide
33-0.5
33-0.6
B
 fedora-release-common
33-0.8
33-0.9
B
 elfutils
0.179-2.fc33
0.180-2.fc33
B
 acl
2.2.53-5.fc32
2.2.53-6.fc33
B


I've already tried to downgrade Python to 3.9.0b1, it didn't fix the problem.
I've already tried to downgrade setuptools to 46.4.0, it didn't fix the problem.
I'Ve tired both of the above together, it didn't fix the problem.


Since the next "obvious" candidate is meson, but it is not reported as updated by koschei, I've checked and we have meson-0.55.0~rc2-1.fc33 in rawhide. I've hence tried downgrading meson to 0.54.3, and it fixes the problem.

Comment 1 Miro Hrončok 2020-07-08 13:10:57 UTC
I am reassigning this Bugzilla to meson, because I suspect meson is doing something weird here.

However, let me know if something needs to be fixed on Python side.

Comment 2 Miro Hrončok 2020-07-08 13:20:59 UTC
So apparently via https://github.com/mesonbuild/meson/commit/efb86088bcf89 the default behavior was buggy before 0.55 and gnome-abrt should add "pure: false" to the python_installation.install_sources in src/gnome_abrt/meson.build and src/gnome_abrt/wrappers/meson.build.

Reassigning back to gnome-abrt.

Comment 3 ekulik 2020-07-16 13:47:10 UTC
(In reply to Miro Hrončok from comment #2)
> So apparently via https://github.com/mesonbuild/meson/commit/efb86088bcf89
> the default behavior was buggy before 0.55 and gnome-abrt should add "pure:
> false" to the python_installation.install_sources in
> src/gnome_abrt/meson.build and src/gnome_abrt/wrappers/meson.build.
> 
> Reassigning back to gnome-abrt.

Maybe gnome-abrt shouldn’t. Only the wrapper module makes sense as an architecture-dependent module.