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

Bug 881007

Summary: net-wireless/wepattack-0.1.3-r5 - log.c: error: call to undeclared function print_hex_array; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
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
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
net-wireless:wepattack-0.1.3-r5:20221111-145756.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-11 18:11:05 UTC
clang -pipe -march=native -fno-diagnostics-color -O2  -c -D__LINUX_WLAN__ -D__I386__ -o rc4.o rc4.c
clang -pipe -march=native -fno-diagnostics-color -O2  -c -D__LINUX_WLAN__ -D__I386__ -o verify.o verify.c
clang -pipe -march=native -fno-diagnostics-color -O2  -c -D__LINUX_WLAN__ -D__I386__ -o log.o log.c
clang -pipe -march=native -fno-diagnostics-color -O2  -c -D__LINUX_WLAN__ -D__I386__ -o wepattack.o wepattack.c
log.c:90:2: error: call to undeclared function 'print_hex_array'; ISO C99 and
      later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 2315a5f69c9ef581c3f62609f472b57a409d8f94
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 14:46:53 2022 +0000

    2022-11-11 14:46:53 UTC

emerge -qpvO net-wireless/wepattack
[ebuild  N    ] net-wireless/wepattack-0.1.3-r5  USE="-john"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 18:11:06 UTC
Created attachment 831525 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 18:11:07 UTC
Created attachment 831527 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 18:11:08 UTC
Created attachment 831529 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 18:11:09 UTC
Created attachment 831531 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 18:11:10 UTC
Created attachment 831533 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 18:11:11 UTC
Created attachment 831535 [details]
net-wireless:wepattack-0.1.3-r5:20221111-145756.log
Comment 7 Toralf Förster gentoo-dev 2022-11-11 18:11:12 UTC
Created attachment 831537 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:42:12 UTC
*** Bug 882135 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-05-11 03:29:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba0f1a99d4e74a5ca8a84da5c013bae719c8ccdc

commit ba0f1a99d4e74a5ca8a84da5c013bae719c8ccdc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-11 03:23:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-11 03:23:41 +0000

    net-wireless/wepattack: fix modern C issues
    
    Closes: https://bugs.gentoo.org/881007
    Signed-off-by: Sam James <sam@gentoo.org>

 .../wepattack/files/wepattack-0.1.3-modern-c.patch | 33 ++++++++++++++++++++++
 ...k-0.1.3-r5.ebuild => wepattack-0.1.3-r6.ebuild} | 22 +++++++++------
 2 files changed, 46 insertions(+), 9 deletions(-)