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

Bug 742764

Summary: x11-misc/gtkdialog-0.8.3_p20200202 - variables.c:1116:3: error: non-void function 'do_variables_count_widgets' should return a value [-Wreturn-type]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
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

Description Agostino Sarubbo gentoo-dev 2020-09-16 06:43:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/gtkdialog-0.8.3_p20200202 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-16 06:43:15 UTC
Created attachment 660504 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-16 06:43:16 UTC
Possible context of error(s):

variables.c:1116:3: error: non-void function 'do_variables_count_widgets' should
Comment 3 Larry the Git Cow gentoo-dev 2020-09-16 09:33:28 UTC
The bug has been closed via the following commit(s):

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

commit a4e572995f1367fe4c0e850ec59316066e2f1f1d
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-09-16 09:33:05 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-09-16 09:33:26 +0000

    x11-misc/gtkdialog: Fix building with CC=clang
    
    Package-Manager: Portage-3.0.7, Repoman-3.0.1
    Closes: https://bugs.gentoo.org/742764
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/gtkdialog-0.8.3-do_variables_count_widgets.patch    | 11 +++++++++++
 x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild           |  1 +
 x11-misc/gtkdialog/gtkdialog-99999.ebuild                     |  1 +
 3 files changed, 13 insertions(+)