Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708398 - app-admin/packagekit-base: needs py3 support
Summary: app-admin/packagekit-base: needs py3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-03-25
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-02-05 19:27 UTC by Michał Górny
Modified: 2022-04-17 07:10 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
deja-dup-40.6.ebuild (deja-dup-40.6.ebuild,1.16 KB, text/plain)
2020-02-24 19:05 UTC, Petronio Coelho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-05 19:27:48 UTC
This is blocking removal of py2 from layman and its deps.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-10 11:01:06 UTC
There's apparently a new release too.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-21 14:41:48 UTC
This will take at least:

app-admin/packagekit-gtk
app-admin/packagekit-qt
app-backup/deja-dup  (why unconditional dep?)
gnome-extra/gnome-packagekit

Another option is to try --disable-portage but I'm not sure if the package's going to install (not to mention working) without any useful backends.
Comment 3 Larry the Git Cow gentoo-dev 2020-02-24 08:43:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3bedf2ed5daa2b054a66c4380a4aaf1e3418d6

commit ff3bedf2ed5daa2b054a66c4380a4aaf1e3418d6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-02-24 08:36:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-02-24 08:43:14 +0000

    package.mask: Last rite app-admin/packagekit-base & revdeps
    
    Bug: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.mask |  4 ++++
 profiles/package.mask          | 16 ++++++++++++++++
 2 files changed, 20 insertions(+)
Comment 4 Petronio Coelho 2020-02-24 19:05:23 UTC
Created attachment 615472 [details]
deja-dup-40.6.ebuild

Update deja-dup ebuild to 40.6

Changes imported from Sabayon overlay:
- Build changed from cmake to meson
- Bump version requirements for duplicity
- Add dependencies on appstream-glib and gnome-online-accounts

Changelog:
- Update copyright header
- Update source URLs to Gnome project's Gitlab instead of Ubuntu's Launchpad
- Remove packagekit-base dependency
- Bump version requirements for glib and libsecret
- Add dependencies on itstool, json-glib, and libsoup
- Added xdg_icon_cache_update to postinst and postrm
Comment 5 Sławomir Nizio 2020-02-24 20:24:22 UTC
(In reply to Petronio Coelho from comment #4)
> Created attachment 615472 [details]
> deja-dup-40.6.ebuild

Wrong bug. Fix it so your contribution isn't lost. :)
Comment 6 Petronio Coelho 2020-02-24 20:28:40 UTC
(In reply to Sławomir Nizio from comment #5)
> (In reply to Petronio Coelho from comment #4)
> > Created attachment 615472 [details]
> > deja-dup-40.6.ebuild
> 
> Wrong bug. Fix it so your contribution isn't lost. :)

Added it here since deja-dup was masked by this bug. Should I create another bug and link it to this one instead?
Comment 7 Sławomir Nizio 2020-02-24 20:31:25 UTC
Not sure, I'm not a dev here, but if you do that, there is a lower chance that it will get unnoticed.

For example, search for "deja-dup" does not return this bug.
Comment 8 Petronio Coelho 2020-02-27 00:30:38 UTC
Created https://bugs.gentoo.org/708398 for deja-dup bump and mask removal.
Comment 9 Petronio Coelho 2020-02-27 00:31:22 UTC
(In reply to Petronio Coelho from comment #8)
> Created https://bugs.gentoo.org/708398 for deja-dup bump and mask removal.

Apologies, the above should be https://bugs.gentoo.org/710928 :)
Comment 10 Rob MacKinnon 2020-03-09 05:18:52 UTC
Just saw this mask after a sync. I understand that this is an issue with the upstream app, but just wanted to note there are a few more apps being affected that have packagekit-base as a dep. Here's what I have currently installed that require it:

app-arch/file-roller-3.32.2-r1 (app-admin/packagekit-base)
app-cdr/brasero-3.12.2-r1 (packagekit ? app-admin/packagekit-base)
gnome-base/nautilus-3.32.3 (packagekit ? app-admin/packagekit-base)
gnome-extra/gnome-color-manager-3.32.0 (packagekit ? app-admin/packagekit-base)
sys-auth/realmd-0.16.2 (app-admin/packagekit-base)

While I can just negate the flag for `packagekit` and step out on `basero`, `nautilus`, and `gnome-color-manager` it will be hard to live life without `realmd`. Can someone take a moment and explain the full issue here? Is it the API has changed and packagekit's backend module needs updating? Or is it as simple as the packagekit backend module needs to be bumped to a py3 sha-bang? I'm willing to put cycles for deving and testing something to put a PR together for this, but I'd need a little direction.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-19 06:47:53 UTC
My concern is that it doesn't declare support for Python 3, and is outdated.  Maybe version bump is sufficient.  Maybe the backend doesn't work with Python 3 at all.  If you can get it working, we'll be happy to readd it.

That said, the backend probably sucks anyway, so would be nice to improve it too.  Requiring layman is not a good idea when Portage has all the bits nowadays.
Comment 12 Larry the Git Cow gentoo-dev 2020-04-19 06:51:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686422cba11ac8f27501591b036c9c26cf0c8c8e

commit 686422cba11ac8f27501591b036c9c26cf0c8c8e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:50:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:41 +0000

    app-admin/packagekit-base: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/packagekit-base/Manifest                 |   1 -
 .../files/1.1.12-add-missing-config.h.patch        |  25 ---
 .../packagekit-base/files/1.1.12-cache-qafix.patch |  38 ----
 .../files/1.1.12-elogind-support.patch             | 196 ---------------------
 .../files/1.1.12-use-autotool-python.patch         |  28 ---
 app-admin/packagekit-base/metadata.xml             |  19 --
 .../packagekit-base-1.1.12-r1.ebuild               | 141 ---------------
 profiles/arch/arm/package.use.mask                 |   4 -
 profiles/arch/arm64/package.use.mask               |   4 -
 profiles/base/package.use.mask                     |   4 -
 profiles/base/package.use.stable.mask              |   4 -
 profiles/features/selinux/package.mask             |   1 -
 profiles/package.mask                              |   7 -
 13 files changed, 472 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e773cec5d96a4ac93209b01ede47a1c33b61e7a5

commit e773cec5d96a4ac93209b01ede47a1c33b61e7a5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:50:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:40 +0000

    app-admin/packagekit: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/packagekit/metadata.xml             | 12 ------------
 app-admin/packagekit/packagekit-1.1.12.ebuild | 18 ------------------
 profiles/features/selinux/package.mask        |  1 -
 profiles/package.mask                         |  1 -
 4 files changed, 32 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b1b7642268c550f29c075df0abb6453a00b8e54

commit 1b1b7642268c550f29c075df0abb6453a00b8e54
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:49:33 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:38 +0000

    app-admin/packagekit-gtk: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/packagekit-gtk/Manifest                  |  1 -
 app-admin/packagekit-gtk/metadata.xml              | 12 -----
 .../packagekit-gtk/packagekit-gtk-1.1.12.ebuild    | 59 ----------------------
 profiles/features/selinux/package.mask             |  1 -
 profiles/package.mask                              |  1 -
 5 files changed, 74 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf33fc7f0a2e3015f03a9a5ee1c01f12ab3d5cf

commit dcf33fc7f0a2e3015f03a9a5ee1c01f12ab3d5cf
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:48:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:37 +0000

    app-admin/packagekit-qt: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/packagekit-qt/Manifest                   |  1 -
 app-admin/packagekit-qt/metadata.xml               | 15 -----------
 .../packagekit-qt/packagekit-qt-1.0.1-r1.ebuild    | 30 ----------------------
 profiles/features/selinux/package.mask             |  1 -
 profiles/package.mask                              |  1 -
 profiles/updates/2Q-2016                           |  1 -
 6 files changed, 49 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8033684d8e1daccf4443863a423800ca52928be

commit e8033684d8e1daccf4443863a423800ca52928be
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:44:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:35 +0000

    gnome-extra/gnome-packagekit: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 gnome-extra/gnome-packagekit/Manifest              |  2 -
 .../gnome-packagekit-3.24.0.ebuild                 | 85 ----------------------
 .../gnome-packagekit-3.30.0.ebuild                 | 61 ----------------
 gnome-extra/gnome-packagekit/metadata.xml          |  8 --
 profiles/features/selinux/package.mask             |  1 -
 profiles/package.mask                              |  1 -
 6 files changed, 158 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874908215f8b1020d6b2cba9924393a4c024de19

commit 874908215f8b1020d6b2cba9924393a4c024de19
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-19 06:43:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 06:51:34 +0000

    app-backup/deja-dup: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/708398
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-backup/deja-dup/Manifest             |  1 -
 app-backup/deja-dup/deja-dup-34.3.ebuild | 75 --------------------------------
 app-backup/deja-dup/metadata.xml         | 14 ------
 profiles/features/selinux/package.mask   |  1 -
 profiles/package.mask                    |  5 ---
 5 files changed, 96 deletions(-)
Comment 13 Sebastian Pipping gentoo-dev 2021-07-17 18:44:46 UTC
(In reply to Larry the Git Cow from comment #12)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=686422cba11ac8f27501591b036c9c26cf0c8c8e
> 
> commit 686422cba11ac8f27501591b036c9c26cf0c8c8e
> Author:     Michał Górny <mgorny@gentoo.org>
> AuthorDate: 2020-04-19 06:50:36 +0000
> Commit:     Michał Górny <mgorny@gentoo.org>
> CommitDate: 2020-04-19 06:51:41 +0000
> 
>     app-admin/packagekit-base: Remove last-rited pkg
>     
>     Closes: https://bugs.gentoo.org/708398
>     Signed-off-by: Michał Górny <mgorny@gentoo.org>
> 
>  app-admin/packagekit-base/Manifest                 |   1 -
>  .../files/1.1.12-add-missing-config.h.patch        |  25 ---
>  .../packagekit-base/files/1.1.12-cache-qafix.patch |  38 ----
>  .../files/1.1.12-elogind-support.patch             | 196
> ---------------------
>  .../files/1.1.12-use-autotool-python.patch         |  28 ---
>  app-admin/packagekit-base/metadata.xml             |  19 --
>  .../packagekit-base-1.1.12-r1.ebuild               | 141 ---------------
>  profiles/arch/arm/package.use.mask                 |   4 -
>  profiles/arch/arm64/package.use.mask               |   4 -
>  profiles/base/package.use.mask                     |   4 -
>  profiles/base/package.use.stable.mask              |   4 -
>  profiles/features/selinux/package.mask             |   1 -
>  profiles/package.mask                              |   7 -
>  13 files changed, 472 deletions(-)

Removal seems incomplete, re-opening:

gnome-extra/gnome-software
  NonexistentDeps: version 40.2-r1: DEPEND: nonexistent package: >=app-admin/packagekit-base-1.1.0
  NonexistentDeps: version 40.2-r1: RDEPEND: nonexistent package: >=app-admin/packagekit-base-1.1.0
  NonexistentDeps: version 40.3: DEPEND: nonexistent package: >=app-admin/packagekit-base-1.1.0
  NonexistentDeps: version 40.3: RDEPEND: nonexistent package: >=app-admin/packagekit-base-1.1.0

mate-base/caja
  NonexistentDeps: version 1.24.0-r2: DEPEND: nonexistent package: app-admin/packagekit-base
  NonexistentDeps: version 1.24.0-r2: RDEPEND: nonexistent package: app-admin/packagekit-base
  NonexistentDeps: version 1.24.1: DEPEND: nonexistent package: app-admin/packagekit-base
  NonexistentDeps: version 1.24.1: RDEPEND: nonexistent package: app-admin/packagekit-base
Comment 14 Matt Turner gentoo-dev 2021-07-17 21:22:49 UTC
Those are behind a use.mask'd packagekit flag. Feel free to clean them up if you care.