Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730686

Summary: dev-util/ddd fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-07-04 10:12:47 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: dev-util/ddd fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-04 10:12:57 UTC
Created attachment 647544 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-04 10:13:01 UTC
Created attachment 647546 [details]
other.tar.bz2

other logs
Comment 3 Larry the Git Cow gentoo-dev 2020-09-27 01:17:33 UTC
The bug has been closed via the following commit(s):

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

commit 838a3e5d487ca2faeebfebf024abe3c387703251
Author:     Maciej Mrozowski <reavertm@gentoo.org>
AuthorDate: 2020-09-27 01:16:40 +0000
Commit:     Maciej Mrozowski <reavertm@gentoo.org>
CommitDate: 2020-09-27 01:16:40 +0000

    dev-util/ddd: fix clang compilation
    
    Closes: https://bugs.gentoo.org/730686
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>

 dev-util/ddd/ddd-3.3.12-r4.ebuild         |  1 +
 dev-util/ddd/files/ddd-3.3.12-clang.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+)
Comment 4 Maciej Mrozowski gentoo-dev 2020-09-27 01:31:38 UTC
Function definition change had to be additionally made clang-specific as gcc apparently does not allow attributes there:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46f3a54378c7ddc015dfbf484a95ee83f0beb32