Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924163 - dev-util/colm-0.14.7-r3 fails to compile: stream.c:85:17: error: initialization of int ()(void , __off64_t , int) {aka int ()(void , long long int , int)} from incompatible pointer type int ()(void , off_t , int) {aka int ()(void , long int , int)} [-Win
Summary: dev-util/colm-0.14.7-r3 fails to compile: stream.c:85:17: error: initializati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-02-09 14:43 UTC by Agostino Sarubbo
Modified: 2024-11-21 15:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,86.69 KB, text/plain)
2024-02-09 14:43 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-02-09 14:43:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/colm-0.14.7-r3 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-09 14:43:44 UTC
Created attachment 884610 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-29 07:34:12 UTC
The bug has been referenced in the following commit(s):

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

commit 1a1e08ac5ed37555aafc8f09748fb942d9b7255c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 07:30:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 07:33:54 +0000

    dev-util/colm: filter LTO, no-SA
    
    ragel and colm are *very* fragile.
    
    Bug: https://bugs.gentoo.org/858341
    Bug: https://bugs.gentoo.org/883993
    Bug: https://bugs.gentoo.org/924163
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/colm/colm-0.14.7-r3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

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

commit 5d333828408e6230ce3a7aef9ce6fba2fb5ec945
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 07:29:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 07:33:54 +0000

    dev-util/ragel: filter LTO, no-SA
    
    ragel and colm are *very* fragile.
    
    Bug: https://bugs.gentoo.org/858341
    Bug: https://bugs.gentoo.org/883993
    Bug: https://bugs.gentoo.org/924163
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/ragel/ragel-7.0.4-r3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-29 07:34:45 UTC
Still need to fix the modern C issue.
Comment 4 matoro archtester 2024-06-04 17:38:22 UTC
This is fixed by append-lfs-flags.
Comment 5 Larry the Git Cow gentoo-dev 2024-11-21 15:56:52 UTC
The bug has been closed via the following commit(s):

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

commit 368e79f706e7a8eeb93a8f39335dcb2822397c68
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-21 15:55:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-21 15:55:45 +0000

    dev-util/colm: enable LFS, build (test) w/ gnu89
    
    * Enable LFS (thanks to matoro for spotting that, bug #924163)
    * Build tests with -std=gnu89 (unfortunate, but colm is colm, bug #944324)
    
    Closes: https://bugs.gentoo.org/924163
    Closes: https://bugs.gentoo.org/944324
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/colm/{colm-0.14.7-r3.ebuild => colm-0.14.7-r4.ebuild} | 6 ++++++
 1 file changed, 6 insertions(+)