Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919409 - sys-fs/arm-fdisk-3.0.6-r1 - fdisk.c: error: passing argument 2 of getopt_long from incompatible pointer type [-Wincompatible-pointer-types]
Summary: sys-fs/arm-fdisk-3.0.6-r1 - fdisk.c: error: passing argument 2 of getopt_long...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-07 16:22 UTC by Toralf Förster
Modified: 2024-10-23 10:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.63 KB, text/plain)
2023-12-07 16:22 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,114.05 KB, application/x-xz)
2023-12-07 16:22 UTC, Toralf Förster
Details
environment (environment,63.13 KB, text/plain)
2023-12-07 16:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-07 16:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.86 KB, application/x-xz)
2023-12-07 16:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,116.29 KB, application/x-xz)
2023-12-07 16:23 UTC, Toralf Förster
Details
sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log (sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log,12.29 KB, text/plain)
2023-12-07 16:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.88 KB, application/x-xz)
2023-12-07 16:23 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 2023-12-07 16:22:56 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\"  -Ilib -pipe -DUNIX  -I.. -g -o allocate.o -c allocate.c
make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/scheme'
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\"  -Ilib -pipe -DUNIX  -I.. -g -o add.o -c add.c
make[1]: Entering directory '/var/tmp/portage/sys-fs/arm-fdisk-3.0.6-r1/work/arm-fdisk-3.0.6/lib/blkio'
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUNIX -DVERSION=\"3.0.6\"  -Ilib -pipe -DUNIX  -I.. -g -D_FILE_OFFSET_BITS=64 -o close.o -c close.c
fdisk.c: In function parse_args:
fdisk.c:67:41: error: passing argument 2 of getopt_long from incompatible pointer type [-Wincompatible-pointer-types]
   67 |                 opt = getopt_long(argc, argv, "s:l", options, NULL);
      |                                         ^~~~

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

  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 8d92c369900393400d2167485c88a8064fb12a42
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 13:46:57 2023 +0000

    2023-12-07 13:46:56 UTC

emerge -qpvO sys-fs/arm-fdisk
[ebuild  N    ] sys-fs/arm-fdisk-3.0.6-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-07 16:22:57 UTC
Created attachment 878139 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 16:22:58 UTC
Created attachment 878140 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-07 16:22:59 UTC
Created attachment 878141 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-07 16:23:00 UTC
Created attachment 878142 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-07 16:23:01 UTC
Created attachment 878143 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 16:23:02 UTC
Created attachment 878144 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 16:23:03 UTC
Created attachment 878145 [details]
sys-fs:arm-fdisk-3.0.6-r1:20231207-142521.log
Comment 8 Toralf Förster gentoo-dev 2023-12-07 16:23:04 UTC
Created attachment 878146 [details]
temp.tar.xz