Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903926 - jupyter-core-5.1.5-1.gpkg.tar binpkg format mismatch, actual format: xpak!!!
Summary: jupyter-core-5.1.5-1.gpkg.tar binpkg format mismatch, actual format: xpak!!!
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 902189
Blocks:
  Show dependency tree
 
Reported: 2023-04-06 19:34 UTC by Rick Farina (Zero_Chaos)
Modified: 2023-04-07 10:06 UTC (History)
1 user (show)

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


Attachments
the binpkg in question (jupyter-core-5.1.5-1.gpkg.tar,123.24 KB, application/x-tar)
2023-04-06 19:37 UTC, Rick Farina (Zero_Chaos)
Details
emerge --info (info,23.57 KB, text/plain)
2023-04-06 19:38 UTC, Rick Farina (Zero_Chaos)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2023-04-06 19:34:26 UTC
zero@Nu ~ % emerge -vp portage                                                                    
File /usr/portage/packages/dev-python/jupyter-core/jupyter-core-5.1.5-1.gpkg.tar binpkg format mismatch, actual format: xpak!!! Invalid binary package: '/usr/portage/packages/dev-python/jupyter-core/jupyter-core-5.1.5-1.gpkg.tar', Cannot identify tar format: /usr/portage/packages/dev-python/jupyter-core/jupyter-core-5.1.5-1.gpkg.tar

This is an excellent and helpful check and error message.  That said, I'm pretty sure I don't do anything this dumb, I certainly didn't try to, so this seems like a bug in portage if it's making xpak files named gpkg.tar
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2023-04-06 19:37:39 UTC
Created attachment 859638 [details]
the binpkg in question
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2023-04-06 19:38:59 UTC
Created attachment 859639 [details]
emerge --info
Comment 3 Sheng Yu 2023-04-07 03:44:20 UTC
I guess this is related to the move bug.
Comment 4 Larry the Git Cow gentoo-dev 2023-04-07 09:52:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=2569a1a1d889a76af80ce24a005d54269df7d2e2

commit 2569a1a1d889a76af80ce24a005d54269df7d2e2
Author:     Sheng Yu <syu.os@protonmail.com>
AuthorDate: 2023-04-07 04:50:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-07 09:49:11 +0000

    dbapi: Catch invalid binpkg error during pkgmove
    
    Bug: https://bugs.gentoo.org/877271
    Bug: https://bugs.gentoo.org/903917
    Bug: https://bugs.gentoo.org/903926
    Signed-off-by: Sheng Yu <syu.os@protonmail.com>
    Closes: https://github.com/gentoo/portage/pull/1022
    Signed-off-by: Sam James <sam@gentoo.org>

 NEWS                          | 3 +++
 lib/portage/dbapi/__init__.py | 8 ++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-04-07 10:06:57 UTC
The bug has been closed via the following commit(s):

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

commit 05f0b3b184011060c86787f93e16a29002bdc54a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-07 09:59:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-07 09:59:55 +0000

    sys-apps/portage: add 3.0.46
    
    Closes: https://bugs.gentoo.org/861659
    Closes: https://bugs.gentoo.org/877271
    Closes: https://bugs.gentoo.org/898224
    Closes: https://bugs.gentoo.org/899898
    Closes: https://bugs.gentoo.org/902189
    Closes: https://bugs.gentoo.org/903917
    Closes: https://bugs.gentoo.org/903926
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.46.ebuild | 285 +++++++++++++++++++++++++++++++++
 2 files changed, 286 insertions(+)