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

Bug 919361

Summary: app-admin/sud-1.3-r2 - interactive.c: error: passing argument 1 of time from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-admin:sud-1.3-r2:20231206-070312.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-06 18:06:29 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/app-admin/sud-1.3-r2/work/sud-1.3/sud'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -Wall -DYY_NO_UNPUT -O2 -pipe -march=native -fno-diagnostics-color -c -o sud-conf.o `test -f 'conf.c' || echo './'`conf.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -Wall -DYY_NO_UNPUT -O2 -pipe -march=native -fno-diagnostics-color -c -o sud-conf_parser.o `test -f 'conf_parser.c' || echo './'`conf_parser.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -Wall -DYY_NO_UNPUT -O2 -pipe -march=native -fno-diagnostics-color -c -o sud-conf_lexer.o `test -f 'conf_lexer.c' || echo './'`conf_lexer.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -Wall -DYY_NO_UNPUT -O2 -pipe -march=native -fno-diagnostics-color -c -o sud-interactive.o `test -f 'interactive.c' || echo './'`interactive.c
interactive.c: In function exec_shell:
interactive.c:321:28: error: passing argument 1 of time from incompatible pointer type [-Wincompatible-pointer-types]
  321 |                 (void)time(&ut.ut_time);
      |                            ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

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:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
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):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 5825c4722639e553d11450fac4668a25ba5eba8d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 05:48:28 2023 +0000

    2023-12-06 05:48:28 UTC

emerge -qpvO app-admin/sud
[ebuild  N    ] app-admin/sud-1.3-r2
Comment 1 Toralf Förster gentoo-dev 2023-12-06 18:06:30 UTC
Created attachment 877824 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 18:06:31 UTC
Created attachment 877825 [details]
app-admin:sud-1.3-r2:20231206-070312.log
Comment 3 Toralf Förster gentoo-dev 2023-12-06 18:06:32 UTC
Created attachment 877826 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-06 18:06:33 UTC
Created attachment 877827 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-06 18:06:34 UTC
Created attachment 877828 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 18:06:35 UTC
Created attachment 877829 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-06 18:06:36 UTC
Created attachment 877830 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-06 18:06:38 UTC
Created attachment 877831 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-06 18:06:39 UTC
Created attachment 877832 [details]
temp.tar.xz