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

Bug 730802

Summary: dev-util/yacc-1.9.1-r6 fails to compile: error.c:47:23: error: non-void function 'print_pos' should return a value [-Wreturn-type]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: arthurzam, marduk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 1.9.1-r8
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-07-05 08:19:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/yacc 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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-05 08:19:51 UTC
Created attachment 647664 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-30 06:53:39 UTC
tinderbox has reproduced this issue with version 1.9.1-r6 - Updating summary.
Comment 3 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2024-10-20 15:08:20 UTC
I'll try to handle it
Comment 4 Larry the Git Cow gentoo-dev 2024-10-20 17:30:03 UTC
The bug has been closed via the following commit(s):

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

commit 9e9f43129927504a22efd67e1ff1320d55d84a56
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-10-20 17:29:14 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-10-20 17:29:48 +0000

    dev-util/yacc: fix modern C
    
    Closes: https://bugs.gentoo.org/875506
    Closes: https://bugs.gentoo.org/730802
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-util/yacc/Manifest                                       |  1 +
 dev-util/yacc/{yacc-1.9.1-r7.ebuild => yacc-1.9.1-r8.ebuild} | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)