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

Bug 713662

Summary: dev-util/ostree-2019.5 : ./.../glnx-dirfd.h: error: implicit declaration of function TEMP_FAILURE_RETRY [-Werror=implicit-function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/ostreedev/ostree/issues/731
https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/9
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:ostree-2019.5:20200320-154448.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-20 17:07:28 UTC
                 from src/ostree/main.c:33:
./libglnx/glnx-dirfd.h: In function glnx_ensure_dir:
./libglnx/glnx-dirfd.h:108:7: error: implicit declaration of function TEMP_FAILURE_RETRY [-Werror=implicit-function-declaration]
  108 |   if (TEMP_FAILURE_RETRY (mkdirat (dfd, path, mode)) != 0)
      |       ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-util/ostree
[ebuild  N    ] dev-util/ostree-2019.5  USE="ssl -archive -curl -doc -dracut -gnutls -grub -http2 -httpd -introspection -libmount (-selinux) -soup (-systemd) -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 17:07:30 UTC
Created attachment 623338 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 17:07:33 UTC
Created attachment 623340 [details]
dev-util:ostree-2019.5:20200320-154448.log
Comment 3 Toralf Förster gentoo-dev 2020-03-20 17:07:35 UTC
Created attachment 623342 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-20 17:07:38 UTC
Created attachment 623344 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-20 17:07:41 UTC
Created attachment 623346 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 17:07:44 UTC
Created attachment 623348 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-20 17:07:46 UTC
Created attachment 623350 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-12 19:06:15 UTC
See https://gitlab.gnome.org/GNOME/libglnx/-/commit/15c06468804014fc49f6f340132930703f919b19 which is included in ostree's submodule.