Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830556 - games-roguelike/nethack-3.6.6 fails to compile: cdefs.h:345:28: error: too few arguments provided to function-like macro invocation
Summary: games-roguelike/nethack-3.6.6 fails to compile: cdefs.h:345:28: error: too fe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-03 20:42 UTC by Agostino Sarubbo
Modified: 2022-04-14 16:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,46.70 KB, text/plain)
2022-01-03 20:42 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-01-03 20:42:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-roguelike/nethack-3.6.6 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-03 20:42:15 UTC
Created attachment 761225 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-03 20:42:16 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/bin/sh: line 1: ../util/makedefs: No such file or directory
/usr/include/sys/cdefs.h:345:28: error: too few arguments provided to function-like macro invocation
Comment 3 Hanspeter Spalinger 2022-04-13 06:02:27 UTC
this very much sounds like https://github.com/NetHack/NetHack/commit/1cb5dc04605daa45f1c6a647c17442ed7ff2fe4e
Comment 4 Larry the Git Cow gentoo-dev 2022-04-14 16:54:53 UTC
The bug has been closed via the following commit(s):

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

commit ae4313336418605be6ab3cea43c49297008284fd
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2022-04-14 16:45:51 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-04-14 16:45:51 +0000

    games-roguelike/nethack: don't redefine warn_unused_result
    
    Apply patch that should land in NetHack 3.6.7. No revbump as fixes build
    failure.
    
    Closes: https://bugs.gentoo.org/830556
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../files/nethack-3.6.6-wunused-result.patch       | 37 ++++++++++++++++++++++
 games-roguelike/nethack/nethack-3.6.6.ebuild       |  3 +-
 2 files changed, 39 insertions(+), 1 deletion(-)