Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859226 - games-simulation/simutrans-123.0.1-r1 calls commands that do not exist: svn
Summary: games-simulation/simutrans-123.0.1-r1 calls commands that do not exist: svn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tea
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-19 07:29 UTC by Agostino Sarubbo
Modified: 2022-08-28 08:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,97.12 KB, text/plain)
2022-07-19 07:29 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 2022-07-19 07:29:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-simulation/simutrans-123.0.1-r1 calls commands that do not exist.
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Please look for 'command not found' and/or 'no such file or directory'.
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-19 07:29:49 UTC
Created attachment 792242 [details]
build.log

build log and emerge --info
Comment 2 tea 2022-07-19 11:36:23 UTC
The result of the svn command is not used and the error is not fatal. This is a duplicate of <https://bugs.gentoo.org/859229>.

Ideally the svn command should be prevented to get rid of the error, so i'm keeping this open.
Comment 3 Agostino Sarubbo gentoo-dev 2022-07-19 11:45:50 UTC
(In reply to tastytea from comment #2)
> This is a duplicate of <https://bugs.gentoo.org/859229>.

This is not a duplicate of 859229.

859229 Reports about -Werror=strict-aliasing
This bug reports a command that does not exists (svn)

Have the same build log does not mean that is a duplicate.
Comment 4 tea 2022-07-19 11:53:03 UTC
Fine, it's not a duplicate, it's just not a bug. 🙄
Comment 5 Larry the Git Cow gentoo-dev 2022-08-28 08:22:19 UTC
The bug has been closed via the following commit(s):

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

commit c4949b8926f053ad70e7f02b609e8c02d37fec4c
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2022-08-07 16:40:23 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-08-28 08:22:10 +0000

    games-simulation/simutrans: silence svn and git warnings
    
    This commit sets svn to 0 and removes the check. The check could never
    have been 1, because we are not in an svn. For the same reason it also
    sets GIT_HASH to nothing instead of trying to run git.
    
    The svn revision is supplied in the ebuild, because it is needed for
    network games.
    
    Closes: https://bugs.gentoo.org/859226
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...utrans-123.0.1-silence-svn-and-git-errors.patch | 46 ++++++++++++++++++++++
 .../simutrans/simutrans-123.0.1-r1.ebuild          |  2 +
 2 files changed, 48 insertions(+)