Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921573 - x11-misc/viewglob-2.0.4-r1 - ../.../conf-to-args.c: error: passing argument 4 of hardened_read from incompatible pointer type [-Wincompatible-pointer-
Summary: x11-misc/viewglob-2.0.4-r1 - ../.../conf-to-args.c: error: passing argument 4...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-01-07 15:56 UTC by Toralf Förster
Modified: 2024-10-23 20:25 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.82 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,236.49 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
environment (environment,78.61 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.73 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.81 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,61.89 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.22 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
x11-misc:viewglob-2.0.4-r1:20240107-141540.log (x11-misc:viewglob-2.0.4-r1:20240107-141540.log,17.46 KB, text/plain)
2024-01-07 15:56 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-01-07 15:56:38 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-shell.o `test -f '../common/shell.c' || echo './'`../common/shell.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-socket-connect.o `test -f '../common/socket-connect.c' || echo './'`../common
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-logging.o `test -f '../common/logging.c' || echo './'`../common/logging.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-conf-to-args.o `test -f '../common/conf-to-args.c' || echo './'`../common/con
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DVG_LIB_DIR="\"/usr/lib64/viewglob\"" -I../common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o vgseer-fgetopt.o `test -f '../common/fgetopt.c' || echo './'`../common/fgetopt.c
../common/conf-to-args.c: In function conf_to_args:
../common/conf-to-args.c:56:76: error: passing argument 4 of hardened_read from incompatible pointer type [-Wincompatible-pointer-types]
   56 |   switch (hardened_read(conf_to_args.fd_in, buf, sizeof buf, &nread)) {
      |                                                              ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240104-075517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 5760b111ffb19f2c6ff36e5197f858d8d9623d33
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 7 13:32:55 2024 +0000

    2024-01-07 13:32:55 UTC

emerge -qpvO x11-misc/viewglob
[ebuild  N    ] x11-misc/viewglob-2.0.4-r1
Comment 1 Toralf Förster gentoo-dev 2024-01-07 15:56:39 UTC
Created attachment 881627 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-07 15:56:40 UTC
Created attachment 881628 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-07 15:56:41 UTC
Created attachment 881629 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-07 15:56:42 UTC
Created attachment 881630 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-07 15:56:43 UTC
Created attachment 881631 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-07 15:56:44 UTC
Created attachment 881632 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-07 15:56:45 UTC
Created attachment 881633 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-07 15:56:46 UTC
Created attachment 881634 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-07 15:56:47 UTC
Created attachment 881635 [details]
x11-misc:viewglob-2.0.4-r1:20240107-141540.log