Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869080 - app-text/xmlto: error: type specifier missing, defaults to 'int'
Summary: app-text/xmlto: error: type specifier missing, defaults to 'int'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL: https://pagure.io/xmlto/c/1375e2df755...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2022-09-07 11:01 UTC by Andy
Modified: 2022-09-07 23:31 UTC (History)
0 users

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


Attachments
build.log (build.log,5.88 KB, text/plain)
2022-09-07 12:33 UTC, Andy
Details
emerge --info (emerge.info,5.81 KB, text/plain)
2022-09-07 12:33 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)