Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925613 - sys-apps/portage: emerge produces logs that do not belong to a package
Summary: sys-apps/portage: emerge produces logs that do not belong to a package
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 377365
  Show dependency tree
 
Reported: 2024-02-27 12:48 UTC by Agostino Sarubbo
Modified: 2024-03-04 17:19 UTC (History)
1 user (show)

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


Attachments
tkimg-1.4.16:20240227-123830.log (tkimg-1.4.16:20240227-123830.log,1.68 KB, text/plain)
2024-02-27 12:48 UTC, Agostino Sarubbo
Details
openpgp-keys-russallbery-20230000:20240227-124353.log (openpgp-keys-russallbery-20230000:20240227-124353.log,2.39 KB, text/plain)
2024-02-27 12:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-27 12:48:26 UTC
While a package cannot be merged because of a fetch failure or because 'Filesize does not match recorded size', emerge produces a log that is not traceable to any package, thus making tinderbox become a war.

Is possible to write those logs in a way like:

 * Package:    ...
 * Repository: ...
 * Maintainer: ...
 * USE:        ...
 * FEATURES:   ...

?

I'm attaching both examples.
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-27 12:48:51 UTC
Created attachment 886116 [details]
tkimg-1.4.16:20240227-123830.log

tkimg-1.4.16:20240227-123830.log
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-27 12:49:09 UTC
Created attachment 886117 [details]
openpgp-keys-russallbery-20230000:20240227-124353.log

openpgp-keys-russallbery-20230000:20240227-124353.log
Comment 3 Mike Gilbert gentoo-dev 2024-03-04 17:13:25 UTC
To point out the obvious: the package is in the log file name.
Comment 4 Mike Gilbert gentoo-dev 2024-03-04 17:19:56 UTC
Anyway, I imagine it should be possible to prefix the logs with the standard info.