Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947167 - sys-fs/bcachefs-tools-1.13.0-r2: fails to build with dev-libs/userspace-rcu-0.15.0 (includeatomic.h: error: expected expression before do)
Summary: sys-fs/bcachefs-tools-1.13.0-r2: fails to build with dev-libs/userspace-rcu-0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 949360 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-12-29 12:11 UTC by Toralf Förster
Modified: 2025-02-08 00:55 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.64 KB, text/plain)
2024-12-29 12:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,79.32 KB, text/plain)
2024-12-29 12:12 UTC, Toralf Förster
Details
environment (environment,183.16 KB, text/plain)
2024-12-29 12:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-29 12:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.57 KB, application/x-xz)
2024-12-29 12:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.79 KB, application/x-xz)
2024-12-29 12:12 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,190.84 KB, text/plain)
2024-12-29 12:12 UTC, Toralf Förster
Details
sys-fs:bcachefs-tools-1.13.0-r2:20241229-074207.log (sys-fs:bcachefs-tools-1.13.0-r2:20241229-074207.log,41.14 KB, text/plain)
2024-12-29 12:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.38 KB, application/x-xz)
2024-12-29 12:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-12-29 12:11:58 UTC
                 from ./libbcachefs/util.h:5,
                 from ./libbcachefs/vstructs.h:5,
                 from ./libbcachefs/bcachefs_format.h:80,
                 from ./libbcachefs/bcachefs_ioctl.h:7,
                 from c_src/cmd_attr.c:9:
include/linux/atomic.h: In function atomic_set:
include/linux/atomic.h:28:41: error: expected expression before do
   28 | #define __ATOMIC_SET(p, v)              uatomic_set(p, v)
      |                                         ^~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241228-020502

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 1539b053d53dcc138fb2b6b16ad6f51d1caa48b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 29 06:03:38 2024 +0000

    2024-12-29 06:03:37 UTC

emerge -qpvO =sys-fs/bcachefs-tools-1.13.0-r2
[ebuild  N    ] sys-fs/bcachefs-tools-1.13.0-r2  USE="-debug -fuse -verify-sig" LLVM_SLOT="19 -17 -18"
Comment 1 Toralf Förster gentoo-dev 2024-12-29 12:11:59 UTC
Created attachment 915462 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-29 12:12:01 UTC
Created attachment 915463 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-29 12:12:02 UTC
Created attachment 915464 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-29 12:12:03 UTC
Created attachment 915465 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-29 12:12:04 UTC
Created attachment 915466 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-29 12:12:04 UTC
Created attachment 915467 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-29 12:12:06 UTC
Created attachment 915468 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-12-29 12:12:07 UTC
Created attachment 915469 [details]
sys-fs:bcachefs-tools-1.13.0-r2:20241229-074207.log
Comment 9 Toralf Förster gentoo-dev 2024-12-29 12:12:08 UTC
Created attachment 915470 [details]
temp.tar.xz
Comment 10 Jasmin Buchert 2025-01-01 13:19:08 UTC
This patch fixes building for me:
https://github.com/koverstreet/bcachefs-tools/commit/634c812a1ed05de8e3d1dc146eed95b942e1e38d
Comment 11 Chris Smith 2025-01-12 20:34:22 UTC
(In reply to Jasmin Buchert from comment #10)
> This patch fixes building for me:
> https://github.com/koverstreet/bcachefs-tools/commit/
> 634c812a1ed05de8e3d1dc146eed95b942e1e38d

Concur that the patch resolves the build issue.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-08 00:20:51 UTC
*** Bug 949360 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2025-02-08 00:55:31 UTC
The bug has been closed via the following commit(s):

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

commit 51e6f456ff8eeee1c157158319415daa4bf02147
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2025-02-07 21:53:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-08 00:54:53 +0000

    sys-fs/bcachefs-tools: add 1.20.0
    
    - Fix verify-sig previously not working
    
    Closes: https://bugs.gentoo.org/947167
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/40439
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/bcachefs-tools/Manifest                     |   2 +
 sys-fs/bcachefs-tools/bcachefs-tools-1.20.0.ebuild | 230 +++++++++++++++++++++
 2 files changed, 232 insertions(+)