* Package:    x11-libs/libpciaccess-0.18.1:0
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux zlib
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libpciaccess-0.18.1.tar.xz to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work
>>> Preparing source in /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/libpciaccess-0.18.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dpci-ids=/usr/share/hwdata -Dzlib=enabled /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1 /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1-abi_x86_64.amd64
The Meson build system
Version: 1.5.2
Source dir: /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1
Build dir: /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1-abi_x86_64.amd64
Build type: native build
Project name: libpciaccess
Project version: 0.18.1
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 14.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241116 p3) 14.2.1 20241116")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wbad-function-cast: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wdeclaration-after-statement: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wmissing-format-attribute: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=nonnull: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=main: YES 
Compiler for C supports arguments -Werror=missing-braces: YES 
Compiler for C supports arguments -Werror=sequence-point: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=trigraphs: YES 
Compiler for C supports arguments -Werror=array-bounds: YES 
Compiler for C supports arguments -Werror=write-strings: YES 
Compiler for C supports arguments -Werror=address: YES 
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.3.0
Run-time dependency zlib found: YES 1.3.1
Check usable header "asm/mtrr.h" : YES 
Check usable header "err.h" : YES 
Check usable header "stdint.h" : YES 
Check usable header "string.h" : YES 
Check usable header "strings.h" : YES 
Check usable header "inttypes.h" : YES 
Configuring config.h using configuration
Program sed found: YES (/bin/sed)
Build targets in project: 3

libpciaccess 0.18.1

  User defined options
    Native files         : /var/tmp/portage/x11-libs/libpciaccess-0.18.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_lto                : false
    b_pch                : false
    pci-ids              : /usr/share/hwdata
    zlib                 : enabled

Found ninja-1.12.1 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
ninja -v -j2 -l2
[1/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_bridge.c.o -MF src/libpciaccess.so.0.11.1.p/common_bridge.c.o.d -o src/libpciaccess.so.0.11.1.p/common_bridge.c.o -c ../libpciaccess-0.18.1/src/common_bridge.c
[2/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_iterator.c.o -MF src/libpciaccess.so.0.11.1.p/common_iterator.c.o.d -o src/libpciaccess.so.0.11.1.p/common_iterator.c.o -c ../libpciaccess-0.18.1/src/common_iterator.c
[3/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_init.c.o -MF src/libpciaccess.so.0.11.1.p/common_init.c.o.d -o src/libpciaccess.so.0.11.1.p/common_init.c.o -c ../libpciaccess-0.18.1/src/common_init.c
../libpciaccess-0.18.1/src/common_init.c: In function ‘pci_system_cleanup’:
../libpciaccess-0.18.1/src/common_init.c:108:17: warning: ‘pci_device_unmap_region’ is deprecated [-Wdeprecated-declarations]
  108 |                 (void) pci_device_unmap_region( & pci_sys->devices[i].base, j );
      |                 ^
In file included from ../libpciaccess-0.18.1/src/common_init.c:38:
../libpciaccess-0.18.1/include/pciaccess.h:88:18: note: declared here
   88 | int __deprecated pci_device_unmap_region(struct pci_device *dev,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
[4/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_interface.c.o -MF src/libpciaccess.so.0.11.1.p/common_interface.c.o.d -o src/libpciaccess.so.0.11.1.p/common_interface.c.o -c ../libpciaccess-0.18.1/src/common_interface.c
[5/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_io.c.o -MF src/libpciaccess.so.0.11.1.p/common_io.c.o.d -o src/libpciaccess.so.0.11.1.p/common_io.c.o -c ../libpciaccess-0.18.1/src/common_io.c
[6/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_capability.c.o -MF src/libpciaccess.so.0.11.1.p/common_capability.c.o.d -o src/libpciaccess.so.0.11.1.p/common_capability.c.o -c ../libpciaccess-0.18.1/src/common_capability.c
[7/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_device_name.c.o -MF src/libpciaccess.so.0.11.1.p/common_device_name.c.o.d -o src/libpciaccess.so.0.11.1.p/common_device_name.c.o -c ../libpciaccess-0.18.1/src/common_device_name.c
[8/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_map.c.o -MF src/libpciaccess.so.0.11.1.p/common_map.c.o.d -o src/libpciaccess.so.0.11.1.p/common_map.c.o -c ../libpciaccess-0.18.1/src/common_map.c
[9/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o -MF src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o.d -o src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o -c ../libpciaccess-0.18.1/src/linux_sysfs.c
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_write8’:
../libpciaccess-0.18.1/src/linux_sysfs.c:975:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  975 |             pwrite(handle->fd, &data, 1, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:977:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  977 |             pwrite(handle->fd, &data, 1, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_write16’:
../libpciaccess-0.18.1/src/linux_sysfs.c:961:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  961 |             pwrite(handle->fd, &data, 2, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:963:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  963 |             pwrite(handle->fd, &data, 2, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_write32’:
../libpciaccess-0.18.1/src/linux_sysfs.c:947:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  947 |             pwrite(handle->fd, &data, 4, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:949:13: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  949 |             pwrite(handle->fd, &data, 4, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_read8’:
../libpciaccess-0.18.1/src/linux_sysfs.c:931:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  931 |             pread(handle->fd, &ret, 1, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:933:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  933 |             pread(handle->fd, &ret, 1, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_read16’:
../libpciaccess-0.18.1/src/linux_sysfs.c:914:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  914 |             pread(handle->fd, &ret, 2, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:916:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  916 |             pread(handle->fd, &ret, 2, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_read32’:
../libpciaccess-0.18.1/src/linux_sysfs.c:897:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  897 |             pread(handle->fd, &ret, 4, port + handle->base);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:899:13: warning: ignoring return value of ‘pread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  899 |             pread(handle->fd, &ret, 4, port);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_set_enable’:
../libpciaccess-0.18.1/src/linux_sysfs.c:761:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  761 |     write( fd, enable ? "1" : "0" , 1 );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘pci_device_linux_sysfs_read_rom’:
../libpciaccess-0.18.1/src/linux_sysfs.c:405:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  405 |     write( fd, "1", 1 );
      |     ^~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c:424:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  424 |     write( fd, "0", 1 );
      |     ^~~~~~~~~~~~~~~~~~~
../libpciaccess-0.18.1/src/linux_sysfs.c: In function ‘parse_separate_sysfs_files’:
../libpciaccess-0.18.1/src/linux_sysfs.c:169:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  169 |         read(fd, resource, 512);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
[10/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/linux_devmem.c.o -MF src/libpciaccess.so.0.11.1.p/linux_devmem.c.o.d -o src/libpciaccess.so.0.11.1.p/linux_devmem.c.o -c ../libpciaccess-0.18.1/src/linux_devmem.c
[11/15] x86_64-pc-linux-gnu-gcc -Isrc/libpciaccess.so.0.11.1.p -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -fPIC -MD -MQ src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o -MF src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o.d -o src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o -c ../libpciaccess-0.18.1/src/common_vgaarb.c
[12/15] x86_64-pc-linux-gnu-gcc  -o src/libpciaccess.so.0.11.1 src/libpciaccess.so.0.11.1.p/common_bridge.c.o src/libpciaccess.so.0.11.1.p/common_iterator.c.o src/libpciaccess.so.0.11.1.p/common_init.c.o src/libpciaccess.so.0.11.1.p/common_interface.c.o src/libpciaccess.so.0.11.1.p/common_io.c.o src/libpciaccess.so.0.11.1.p/common_capability.c.o src/libpciaccess.so.0.11.1.p/common_device_name.c.o src/libpciaccess.so.0.11.1.p/common_map.c.o src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o src/libpciaccess.so.0.11.1.p/linux_devmem.c.o src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libpciaccess.so.0 -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs /usr/lib64/libz.so
[13/15] /usr/lib/python-exec/python3.12/meson --internal symbolextractor /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1-abi_x86_64.amd64 src/libpciaccess.so.0.11.1 src/libpciaccess.so.0.11.1 src/libpciaccess.so.0.11.1.p/libpciaccess.so.0.11.1.symbols 
[14/15] x86_64-pc-linux-gnu-gcc -Iscanpci/scanpci.p -Iscanpci -I../libpciaccess-0.18.1/scanpci -Isrc -I../libpciaccess-0.18.1/src -I. -I../libpciaccess-0.18.1 -I../libpciaccess-0.18.1/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -DHAVE_CONFIG_H -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -MD -MQ scanpci/scanpci.p/scanpci.c.o -MF scanpci/scanpci.p/scanpci.c.o.d -o scanpci/scanpci.p/scanpci.c.o -c ../libpciaccess-0.18.1/scanpci/scanpci.c
[15/15] x86_64-pc-linux-gnu-gcc  -o scanpci/scanpci scanpci/scanpci.p/scanpci.c.o -Wl,--as-needed -Wl,--no-undefined -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs '-Wl,-rpath,$ORIGIN/../src' -Wl,-rpath-link,/var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1-abi_x86_64.amd64/src src/libpciaccess.so.0.11.1
>>> Source compiled.
>>> Test phase [not enabled]: x11-libs/libpciaccess-0.18.1

>>> Install x11-libs/libpciaccess-0.18.1 into /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image
 * abi_x86_64.amd64: running multilib-minimal_abi_src_install
meson install --destdir /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image --no-rebuild
Installing src/libpciaccess.so.0.11.1 to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image/usr/lib64
Installing /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1/include/pciaccess.h to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image/usr/include
Installing /var/tmp/portage/x11-libs/libpciaccess-0.18.1/work/libpciaccess-0.18.1-abi_x86_64.amd64/meson-private/pciaccess.pc to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image/usr/lib64/pkgconfig
Installing symlink pointing to libpciaccess.so.0.11.1 to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image/usr/lib64/libpciaccess.so.0
Installing symlink pointing to libpciaccess.so.0 to /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image/usr/lib64/libpciaccess.so
>>> Completed installing x11-libs/libpciaccess-0.18.1 into /var/tmp/portage/x11-libs/libpciaccess-0.18.1/image

 * Final size of build directory: 980 KiB
 * Final size of installed tree:  116 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/libpciaccess.so.0.11.1