Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626308 - app-portage/gentoolkit - "enalyze rebuild use" output missing newline
Summary: app-portage/gentoolkit - "enalyze rebuild use" output missing newline
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-26 21:25 UTC by Tony
Modified: 2022-07-10 23:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2017-07-26 21:25:42 UTC
Minor annoyance ;)

File produced by running
    enalyze rebuild use
is missing a newline at the end of the file.

If you're not paying close attention, further additions to the file may end up malformed, with two entries on the same line.

End of file, as output from command
00002960: 695f 7838 365f 3332 0a78 3131 2d70 726f  i_x86_32.x11-pro
00002970: 746f 2f78 7072 6f74 6f20 6162 695f 7838  to/xproto abi_x8
00002980: 365f 3332                                6_32

Opened in vim and saved. File now ends with newline
00002960: 695f 7838 365f 3332 0a78 3131 2d70 726f  i_x86_32.x11-pro
00002970: 746f 2f78 7072 6f74 6f20 6162 695f 7838  to/xproto abi_x8
00002980: 365f 3332 0a                             6_32.
Comment 1 Larry the Git Cow gentoo-dev 2022-07-09 23:55:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=0db35305e9ff05ef792ae18b9721772f4bdd3efb

commit 0db35305e9ff05ef792ae18b9721772f4bdd3efb
Author:     Brian Dolbec <dolsen@gentoo.org>
AuthorDate: 2022-07-09 23:44:44 +0000
Commit:     Brian Dolbec <dolsen@gentoo.org>
CommitDate: 2022-07-09 23:44:44 +0000

    enalyze: Fix missing newline at end of saved rebuild files
    
    Bug: https://bugs.gentoo.org/626308
    
    Signed-off-by: Brian Dolbec <dolsen@gentoo.org>

 pym/gentoolkit/enalyze/rebuild.py | 1 +
 1 file changed, 1 insertion(+)