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

Bug 881323

Summary: sys-cluster/ampi-0_pre20140616 - support.c: error: implicitly declaring library function printf with type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36097
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sys-cluster:ampi-0_pre20140616:20221114-203735.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-14 20:56:31 UTC
too long lines were shrinked:

Making all in ADtoolStubs/OO
make[1]: Entering directory '/var/tmp/portage/sys-cluster/ampi-0_pre20140616/work/ampi-0_pre20140616/ADtoolStubs/OO'
/bin/sh ../../libtool  --tag=CC   --mode=compile mpicc -DPACKAGE_NAME=\"AMPI\" -DPACKAGE_TARNAME=\"ampi\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"AMPI\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -D
libtool: compile:  mpicc -DPACKAGE_NAME=\"AMPI\" -DPACKAGE_TARNAME=\"ampi\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"AMPI 0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_S
support.c:405:3: error: implicitly declaring library function 'printf' with type
      'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  printf("Please provide implementation of ADTOOL_AMPI_pushBuffer()\n") ;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221112-220005

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

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:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit e0484b385a43ace0b96fb91a643fd17f22a34497
Merge: f2401ce11ca3 0c77aadb9830
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 17:46:45 2022 +0000

    Merge updates from master

emerge -qpvO sys-cluster/ampi
[ebuild  N    ] sys-cluster/ampi-0_pre20140616
Comment 1 Toralf Förster gentoo-dev 2022-11-14 20:56:32 UTC
Created attachment 832595 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 20:56:33 UTC
Created attachment 832597 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-14 20:56:35 UTC
Created attachment 832599 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 20:56:36 UTC
Created attachment 832601 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 20:56:37 UTC
Created attachment 832603 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 20:56:38 UTC
Created attachment 832605 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 20:56:39 UTC
Created attachment 832607 [details]
sys-cluster:ampi-0_pre20140616:20221114-203735.log
Comment 8 Toralf Förster gentoo-dev 2022-11-14 20:56:40 UTC
Created attachment 832609 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-14 20:56:41 UTC
Created attachment 832611 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2024-04-04 14:27:36 UTC
The bug has been closed via the following commit(s):

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

commit 05b289c9289d3099436883a6d936544390fb1fb8
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-04 13:19:02 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-04-04 14:26:17 +0000

    sys-cluster/ampi: Fix missing include
    
    Closes: https://bugs.gentoo.org/881323
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36097
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sys-cluster/ampi/ampi-0_pre20140616.ebuild                     |  4 +++-
 .../ampi/files/ampi-0_pre20140616-missing-include.patch        | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)