Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864088 - dev-util/rr-5.5.0 - /.../syscallbuf.c: error: F_SETLK64 undeclared (first use in this function)
Summary: dev-util/rr-5.5.0 - /.../syscallbuf.c: error: F_SETLK64 undeclared (first use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: glibc-2.36
  Show dependency tree
 
Reported: 2022-08-06 17:21 UTC by Toralf Förster
Modified: 2022-11-02 21:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.82 KB, text/plain)
2022-08-06 17:21 UTC, Toralf Förster
Details
dev-util:rr-5.5.0:20220806-171810.log (dev-util:rr-5.5.0:20220806-171810.log,33.27 KB, text/plain)
2022-08-06 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.06 KB, text/plain)
2022-08-06 17:21 UTC, Toralf Förster
Details
environment (environment,150.32 KB, text/plain)
2022-08-06 17:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.20 KB, application/x-bzip)
2022-08-06 17:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.95 KB, application/x-bzip)
2022-08-06 17:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.02 KB, application/x-bzip)
2022-08-06 17:21 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 2022-08-06 17:21:27 UTC
too long lines were shrinked:

[27/142] /usr/bin/x86_64-pc-linux-gnu-gcc -DRR_VERSION=\"5.5.0\" -Drrpreload_EXPORTS -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/include -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/third-party/proc-service -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/third-party/brotli/include -I
FAILED: CMakeFiles/rrpreload.dir/src/preload/syscallbuf.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DRR_VERSION=\"5.5.0\" -Drrpreload_EXPORTS -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/include -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/third-party/proc-service -I/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/third-party/brotli/include -I/var/tmp/
/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/syscallbuf.c: In function sys_fcntl:
/var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/syscallbuf.c:1545:10: error: F_SETLK64 undeclared (first use in this function); did you mean F_SETLK?
 1545 |     case F_SETLK64:
      |          ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220804-180005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit edcd53ef9e26e4d20d7e36c40af6e489822d5eb7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 6 16:02:02 2022 +0000

    2022-08-06 16:02:02 UTC

emerge -qpvO dev-util/rr
[ebuild  N    ] dev-util/rr-5.5.0  USE="multilib -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-08-06 17:21:28 UTC
Created attachment 798361 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-06 17:21:29 UTC
Created attachment 798364 [details]
dev-util:rr-5.5.0:20220806-171810.log
Comment 3 Toralf Förster gentoo-dev 2022-08-06 17:21:31 UTC
Created attachment 798367 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-08-06 17:21:32 UTC
Created attachment 798370 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-06 17:21:33 UTC
Created attachment 798373 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-06 17:21:34 UTC
Created attachment 798376 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-08-06 17:21:35 UTC
Created attachment 798379 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-07 01:50:07 UTC
FWIW, not 100% sure this is glibc-2.36 related, but it's an educated guess.

https://github.com/rr-debugger/rr/commit/20e0c1531ea99eed85e0041ccfb6386fe81a80d0

Makes me wonder if it's a missing transitive include.

Note there's a bunch of other upstream commits for "fix build with older libc" at least.
Comment 9 Larry the Git Cow gentoo-dev 2022-10-17 21:45:02 UTC
The bug has been closed via the following commit(s):

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

commit 0dfe871a05e0158c687615d34782490b8116db44
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-17 21:44:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 21:44:46 +0000

    profiles/features/musl: mask dev-util/rr on musl
    
    Closes: https://bugs.gentoo.org/835713
    Closes: https://bugs.gentoo.org/864088
    Closes: https://bugs.gentoo.org/832864
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 5 +++++
 1 file changed, 5 insertions(+)