Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881143 - net-analyzer/p0f-3.09_beta-r1 - .build-34.c: error: call to undeclared library function printf with type int (const char , ); ISO
Summary: net-analyzer/p0f-3.09_beta-r1 - .build-34.c: error: call to undeclared librar...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: dead upstream
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-12 19:12 UTC by Toralf Förster
Modified: 2024-10-21 11:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2022-11-12 19:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.33 KB, text/plain)
2022-11-12 19:12 UTC, Toralf Förster
Details
environment (environment,63.49 KB, text/plain)
2022-11-12 19:12 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-11-12 19:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.47 KB, application/x-bzip)
2022-11-12 19:12 UTC, Toralf Förster
Details
net-analyzer:p0f-3.09_beta-r1:20221112-190301.log (net-analyzer:p0f-3.09_beta-r1:20221112-190301.log,2.73 KB, text/plain)
2022-11-12 19:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.35 KB, application/x-bzip)
2022-11-12 19:12 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 2022-11-12 19:12:12 UTC
[*] Checking if memory alignment is required... FAIL

Well, something went horribly wrong, sorry. Here's the output from GCC:

.build-34.c:2:34: error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; }
                                 ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221111-181859

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
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:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit f6917650a106a7a39a7f707f31fcc9d385e0f620
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 17:16:53 2022 +0000

    2022-11-12 17:16:53 UTC

emerge -qpvO net-analyzer/p0f
[ebuild  N    ] net-analyzer/p0f-3.09_beta-r1  USE="ipv6 -debug"
Comment 1 Toralf Förster gentoo-dev 2022-11-12 19:12:13 UTC
Created attachment 832119 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-12 19:12:15 UTC
Created attachment 832121 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-12 19:12:16 UTC
Created attachment 832123 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-12 19:12:17 UTC
Created attachment 832125 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-12 19:12:18 UTC
Created attachment 832127 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-12 19:12:19 UTC
Created attachment 832129 [details]
net-analyzer:p0f-3.09_beta-r1:20221112-190301.log
Comment 7 Toralf Förster gentoo-dev 2022-11-12 19:12:20 UTC
Created attachment 832131 [details]
temp.tar.bz2