Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729242 - app-emulation/x48 fails to compile with Clang
Summary: app-emulation/x48 fails to compile with Clang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-23 06:33 UTC by Agostino Sarubbo
Modified: 2020-06-23 19:45 UTC (History)
0 users

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


Attachments
build.log (build.log,14.18 KB, text/plain)
2020-06-23 06:33 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,248 bytes, application/x-bzip2)
2020-06-23 06:33 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 2020-06-23 06:33:38 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-emulation/x48 fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:33:43 UTC
Created attachment 645790 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-23 06:33:46 UTC
Created attachment 645792 [details]
other.tar.bz2

other logs
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-06-23 07:28:45 UTC
For non-void function with 'return;':
- GCC reports warning
- Clang reports error
Comment 4 Larry the Git Cow gentoo-dev 2020-06-23 19:45:12 UTC
The bug has been closed via the following commit(s):

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

commit d5c646aeadd922c759ca7b02ea7d1d2f8e65bef1
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-06-23 19:44:09 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-06-23 19:45:06 +0000

    app-emulation/x48: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/729242
    Package-Manager: Portage-2.3.102, Repoman-2.3.23
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 app-emulation/x48/files/x48-0.6.4-static.patch     | 12 +++++++++++
 .../x48/files/x48-0.6.4-void_return.patch          | 24 ++++++++++++++++++++++
 app-emulation/x48/x48-0.6.4-r2.ebuild              | 12 +++++------
 3 files changed, 42 insertions(+), 6 deletions(-)