Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929077

Summary: dev-util/umockdev-0.17.18 - ../.../test-umockdev.c: error: implicit declaration of function openat64
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: gnome
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36355
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:umockdev-0.17.18:20240410-015815.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-10 18:03:14 UTC
too long lines were shrinked:

[46/55] /usr/bin/valac-0.56 -C --abi-stability /var/tmp/portage/dev-util/umockdev-0.17.18/work/umockdev-0.17.18/src/config.vapi /var/tmp/portage/dev-util/umockdev-0.17.18/work/umockdev-0.17.18/tests/assertions.vapi --pkg posix --pkg gio-2.0 --pkg gobject-2.0 --target-glib ' 2.32.0' --pkg glib-2.0 --
[47/55] /usr/bin/valac-0.56 -C --abi-stability /var/tmp/portage/dev-util/umockdev-0.17.18/work/umockdev-0.17.18/src/config.vapi /var/tmp/portage/dev-util/umockdev-0.17.18/work/umockdev-0.17.18/tests/assertions.vapi --pkg linux --pkg posix --pkg gio-unix-2.0 --pkg gio-2.0 --pkg gobject-2.0 --target-g
[48/55] x86_64-pc-linux-musl-gcc -Itest-umockdev.p -I. -I../umockdev-0.17.18 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gudev-1.0 -I/usr/lib/libffi/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missin
FAILED: test-umockdev.p/tests_test-umockdev.c.o 
x86_64-pc-linux-musl-gcc -Itest-umockdev.p -I. -I../umockdev-0.17.18 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gudev-1.0 -I/usr/lib/libffi/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -Werror=missing-protot
../umockdev-0.17.18/tests/test-umockdev.c: In function 't_testbed_libc':
../umockdev-0.17.18/tests/test-umockdev.c:1134:10: error: implicit declaration of function 'openat64'; did you mean 'openat'? [-Werror=implicit-function-declaration]
 1134 |     fd = openat64(dirfd, "sys/devices/dev1/simple_attr", O_RDONLY);
      |          ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240406-125502

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
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.3
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 51c90fbd2bda64c1dd844e3198995cfda8c16bad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 10 01:04:22 2024 +0000

    2024-04-10 01:04:21 UTC

emerge -qpvO dev-util/umockdev
[ebuild  N    ] dev-util/umockdev-0.17.18  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-04-10 18:03:15 UTC
Created attachment 890227 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-10 18:03:16 UTC
Created attachment 890228 [details]
dev-util:umockdev-0.17.18:20240410-015815.log
Comment 3 Toralf Förster gentoo-dev 2024-04-10 18:03:17 UTC
Created attachment 890229 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-10 18:03:19 UTC
Created attachment 890230 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-10 18:03:19 UTC
Created attachment 890231 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-10 18:03:20 UTC
Created attachment 890232 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-10 18:03:21 UTC
Created attachment 890233 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-10 18:03:22 UTC
Created attachment 890234 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-04 18:11:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13484650d4ddeba6a24231f743ab1ec715b16775

commit 13484650d4ddeba6a24231f743ab1ec715b16775
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-04-22 13:25:33 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-05-04 18:11:43 +0000

    dev-util/umockdev: add 0.18.1
    
    Closes: https://bugs.gentoo.org/929077
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36355
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 dev-util/umockdev/Manifest               |  1 +
 dev-util/umockdev/umockdev-0.18.1.ebuild | 59 ++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)