Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916958 - sys-apps/portage: ^c can lead to Portage attempting to create a binpkg prematurely (and fortunately failing)
Summary: sys-apps/portage: ^c can lead to Portage attempting to create a binpkg premat...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 10:56 UTC by Michał Górny
Modified: 2024-01-19 19:37 UTC (History)
1 user (show)

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


Attachments
dev-python:Faker-19.13.0:20231106-105326.log (dev-python:Faker-19.13.0:20231106-105326.log,2.37 KB, text/plain)
2023-11-06 10:56 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.94 KB, text/plain)
2023-11-06 10:57 UTC, Michał Górny
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 2023-11-06 10:56:46 UTC
Created attachment 874148 [details]
dev-python:Faker-19.13.0:20231106-105326.log

I've ^c-ed Portage, and got a suspicious error:

>>> Source prepared.
^c
/usr/lib/portage/python3.12/misc-functions.sh: line 517: /tmp/portage/dev-python/Faker-19.13.0/build-info/BUILD_ID: No such file or directory
usage: compose <package_cpv> <binpkg_path> <metadata_dir> <image_dir>
Argument 3 is not a directory: '/tmp/portage/dev-python/Faker-19.13.0/build-info'
 * ERROR: dev-python/Faker-19.13.0::gentoo failed (package phase):
 *   Failed to create binpkg file
 * 
 * Call stack:
 *   misc-functions.sh, line 671:  Called __dyn_package
 *   misc-functions.sh, line 558:  Called die
 * The specific snippet of code:
 *                      die "Failed to create binpkg file"

It looks as if it jumped prematurely into binpkg creation rather than gracefully terminating.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-06 10:57:34 UTC
Created attachment 874149 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-06 11:02:27 UTC
From the summary, I was expecting this to be a dupe of bug 900226, but it's not...