Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926821 - media-gfx/sane-airscan-0.99.27 fails to compile: airscan-xml.c:406:9: error: type of strtoul does not match original declaration [-Werror=lto-type-mismatch]
Summary: media-gfx/sane-airscan-0.99.27 fails to compile: airscan-xml.c:406:9: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-12 08:20 UTC by Agostino Sarubbo
Modified: 2024-04-04 03:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,69.49 KB, text/plain)
2024-03-12 08:20 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 2024-03-12 08:20:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/sane-airscan-0.99.27 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-12 08:20:24 UTC
Created attachment 887450 [details]
build.log

build log and emerge --info
Comment 2 Eli Schwartz 2024-04-04 03:10:17 UTC
The bug was supposed to have been closed via the following commit(s):

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

commit e3cba57a199b8e36d204062564b798e1ee8ab83e
Author:     Kostadin Shishmanov <kocelfc@tutanota.com>
AuthorDate: Mon Feb 19 16:46:50 2024
Commit:     Sam James <sam@gentoo.org>
CommitDate: Wed Mar 20 22:57:24 2024

    media-gfx/sane-airscan: Modern C fixes
    
    Fixes building with Modern C compilers. Patches are taken from fedora
    
    https://src.fedoraproject.org/rpms/sane-airscan/c/913879a64e0624df2f09fbdbb058ea0aa9ecb21d
    
    Closes: https://bugs.gentoo.org/924887
    Cloes: https://bugs.gentoo.org/926821
    Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
    Closes: https://github.com/gentoo/gentoo/pull/35431
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/sane-airscan/files/sane-airscan-0.99.27-c99-fixes.patch | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild             | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)
 create mode 100644 media-gfx/sane-airscan/files/sane-airscan-0.99.27-c99-fixes.patch
 create mode 100644 media-gfx/sane-airscan/sane-airscan-0.99.27-r1.ebuild



....

But the typo "Cloes" resulted in it not propagating. ;)