Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944110 - dev-util/difftastic-0.61.0-r1 fails to compile: warning: libmimalloc-sys@0.1.24: os.c:993:35: error: implicit declaration of function ATOMIC_VAR_INIT [-Wimplicit-function-declaration]
Summary: dev-util/difftastic-0.61.0-r1 fails to compile: warning: libmimalloc-sys@0.1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 947006 947235 (view as bug list)
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 08:12 UTC by Agostino Sarubbo
Modified: 2025-02-16 14:34 UTC (History)
1 user (show)

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


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

Issue: dev-util/difftastic-0.61.0-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

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

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-27 08:54:16 UTC
*** Bug 947006 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-27 08:55:26 UTC
Quote from my c17 env file:
```
# needs mimalloc bump (https://bugs.gentoo.org/944110) but upstream for
# that crate are a bit weird: 
```
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-30 19:14:50 UTC
*** Bug 947235 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2025-01-15 20:27:58 UTC
The bug has been closed via the following commit(s):

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

commit 796f8e8da12a55b0f85238c384f77671e2f868aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-15 20:25:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-15 20:27:41 +0000

    dev-util/difftastic: build w/ -std=gnu17
    
    Workaround for old bundled mimalloc in mimalloc crate, see
    bug #944110, but updating it should be done with caution, see
    https://github.com/purpleprotocol/mimalloc_rust/issues/109.
    
    Closes: https://bugs.gentoo.org/944110
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/difftastic/difftastic-0.61.0-r1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Comment 6 NHO 2025-01-15 21:03:01 UTC
Reported upstream in https://github.com/Wilfred/difftastic/issues/805