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

Bug 869080

Summary: app-text/xmlto: error: type specifier missing, defaults to 'int'
Product: Gentoo Linux Reporter: Andy <gebauer.andy>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://pagure.io/xmlto/c/1375e2df75530cd198bd16ac3de38e2b0d126276?branch=master
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log
emerge --info

Description Andy 2022-09-07 11:01:29 UTC
While compiling, clang encounters an error in xmlif.l
"error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int"
Error has been solved already upstream, but no release has been issued.
Release r9 should be created

Reproducible: Always

Steps to Reproduce:
1. Emerge xmlto with clang
2.
3.
Actual Results:  
Fails in first compile step

Expected Results:  
Compiles fine
Comment 1 Stephan Hartmann (RETIRED) gentoo-dev 2022-09-07 11:20:58 UTC
Please attach full build.log and paste emerge --info. Afterwards please reopen.
Comment 2 Andy 2022-09-07 12:33:37 UTC
Created attachment 803818 [details]
build.log
Comment 3 Andy 2022-09-07 12:33:52 UTC
Created attachment 803821 [details]
emerge --info
Comment 4 Andy 2022-09-07 12:57:53 UTC
Issue was settled in last commits, exact same issue is described under
https://pagure.io/xmlto/c/1375e2df75530cd198bd16ac3de38e2b0d126276?branch=master

But 0.0.28 is nearly 7 years old, the corrections were done 9 months ago
Comment 5 Larry the Git Cow gentoo-dev 2022-09-07 23:31:37 UTC
The bug has been closed via the following commit(s):

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

commit f2c2beb6007ad270dff9aacedbcf2ef0946eaa74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-07 23:31:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-07 23:31:30 +0000

    app-text/xmlto: fix build w/ clang 15 (backport warning fixes)
    
    Throw in some other upstream warning fixes too.
    
    Closes: https://bugs.gentoo.org/869080
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xmlto/files/xmlto-0.0.28-fix-warnings.patch    | 116 +++++++++++++++++++++
 app-text/xmlto/xmlto-0.0.28-r9.ebuild              |  54 ++++++++++
 2 files changed, 170 insertions(+)