Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932736 - media-libs/libv4l-1.26.1 - [ncurses-6.5] ../.../retrace.cpp: error: mmap64 was not declared in this scope
Summary: media-libs/libv4l-1.26.1 - [ncurses-6.5] ../.../retrace.cpp: error: mmap64 wa...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-25 15:34 UTC by Toralf Förster
Modified: 2024-05-25 15:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.37 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,82.41 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
environment (environment,168.60 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.68 KB, application/x-xz)
2024-05-25 15:34 UTC, Toralf Förster
Details
media-libs:libv4l-1.26.1:20240525-145708.log (media-libs:libv4l-1.26.1:20240525-145708.log,101.40 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,159.93 KB, text/plain)
2024-05-25 15:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,42.15 KB, application/x-xz)
2024-05-25 15:34 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-05-25 15:34:33 UTC
too long lines were shrinked:

[120/211] x86_64-pc-linux-musl-g++ -Iutils/v4l2-tracer/libv4l2tracer.so.p -Iutils/v4l2-tracer -I../v4l-utils-1.26.1/utils/v4l2-tracer -I../v4l-utils-1.26.1/utils/common -I../v4l-utils-1.26.1/lib/include -I../v4l-utils-1.26.1/include -I/usr/include/json-c -fdiagnostics-color=always -D_GLIBCXX_ASSERTI
[121/211] x86_64-pc-linux-musl-g++ -Iutils/v4l2-tracer/v4l2-tracer.p -Iutils/v4l2-tracer -I../v4l-utils-1.26.1/utils/v4l2-tracer -I../v4l-utils-1.26.1/utils/common -I../v4l-utils-1.26.1/lib/include -I../v4l-utils-1.26.1/include -I/usr/include/json-c -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1
[122/211] x86_64-pc-linux-musl-g++ -Iutils/v4l2-tracer/v4l2-tracer.p -Iutils/v4l2-tracer -I../v4l-utils-1.26.1/utils/v4l2-tracer -I../v4l-utils-1.26.1/utils/common -I../v4l-utils-1.26.1/lib/include -I../v4l-utils-1.26.1/include -I/usr/include/json-c -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1
FAILED: utils/v4l2-tracer/v4l2-tracer.p/retrace.cpp.o 
x86_64-pc-linux-musl-g++ -Iutils/v4l2-tracer/v4l2-tracer.p -Iutils/v4l2-tracer -I../v4l-utils-1.26.1/utils/v4l2-tracer -I../v4l-utils-1.26.1/utils/common -I../v4l-utils-1.26.1/lib/include -I../v4l-utils-1.26.1/include -I/usr/include/json-c -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_O
../v4l-utils-1.26.1/utils/v4l2-tracer/retrace.cpp: In function 'void retrace_mmap(json_object*, bool)':
../v4l-utils-1.26.1/utils/v4l2-tracer/retrace.cpp:50:47: error: 'mmap64' was not declared in this scope; did you mean 'mmap'?
   50 |                 buf_address_retrace_pointer = mmap64(0, len, prot, flags, fd_retrace, off);
      |                                               ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240524-014518

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 8cb5c9c40013fd7d2121e8deab66ad442c4ca63e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 25 14:18:49 2024 +0000

    2024-05-25 14:18:49 UTC

emerge -qpvO media-libs/libv4l
[ebuild  N    ] media-libs/libv4l-1.26.1  USE="bpf tracer utils -doc -dvb -jpeg -qt5"
Comment 1 Toralf Förster gentoo-dev 2024-05-25 15:34:34 UTC
Created attachment 894368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-25 15:34:35 UTC
Created attachment 894369 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-25 15:34:36 UTC
Created attachment 894370 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-25 15:34:37 UTC
Created attachment 894371 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-25 15:34:38 UTC
Created attachment 894372 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-25 15:34:39 UTC
Created attachment 894373 [details]
media-libs:libv4l-1.26.1:20240525-145708.log
Comment 7 Toralf Förster gentoo-dev 2024-05-25 15:34:41 UTC
Created attachment 894374 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-25 15:34:42 UTC
Created attachment 894375 [details]
temp.tar.xz