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

Bug 919250

Summary: net-wireless/mdk-3.6-r1 - mdk3.c: error: passing argument 2 of getline from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-wireless:mdk-3.6-r1:20231205-020815.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-05 08:08:59 UTC
x86_64-pc-linux-gnu-ranlib libosdep.a 
touch .os.Linux
make[2]: Leaving directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep'
make[1]: Leaving directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep'
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep -lpthread
mdk3.c: In function read_line_from_file:
mdk3.c:755:40: error: passing argument 2 of getline from incompatible pointer type [-Wincompatible-pointer-types]
  755 |     bytes_read = getline(&ssid_string, &size, ssid_file_fp);
      |                                        ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231127-140030

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

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.6
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 cad9471a12d22854e9bf4919830c72a93d107361
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 01:17:09 2023 +0000

    2023-12-05 01:17:08 UTC

emerge -qpvO net-wireless/mdk
[ebuild  N    ] net-wireless/mdk-3.6-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-05 08:09:00 UTC
Created attachment 877267 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 08:09:01 UTC
Created attachment 877268 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 08:09:02 UTC
Created attachment 877269 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 08:09:03 UTC
Created attachment 877270 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 08:09:04 UTC
Created attachment 877271 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 08:09:05 UTC
Created attachment 877272 [details]
net-wireless:mdk-3.6-r1:20231205-020815.log
Comment 7 Toralf Förster gentoo-dev 2023-12-05 08:09:06 UTC
Created attachment 877273 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-05 08:09:07 UTC
Created attachment 877274 [details]
temp.tar.xz