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

Bug 874696

Summary: sci-libs/inchi-1.06 - ../.../ixa_status.c: error: implicit declaration of function vsnprintf
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
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.portage.tar.bz2
sci-libs:inchi-1.06:20221003-163946.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 16:41:31 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -ansi -DCOMPILE_ANSI_ONLY -fPIC -c -DTARGET_API_LIB  -D_LIB  ../../libinchi/src/ixa/ixa_inchikey_builder.c
x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -ansi -DCOMPILE_ANSI_ONLY -fPIC -c -DTARGET_API_LIB  -D_LIB  ../../libinchi/src/ixa/ixa_read_mol.c
x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -ansi -DCOMPILE_ANSI_ONLY -fPIC -c -DTARGET_API_LIB  -D_LIB  ../../libinchi/src/ixa/ixa_status.c
../../libinchi/src/ixa/ixa_status.c: In function STATUS_PushMessage:
../../libinchi/src/ixa/ixa_status.c:177:12: error: implicit declaration of function vsnprintf; did you mean vsprintf? [-Werror=implicit-function-declaration]
  177 |     size = vsnprintf( buffer, sizeof( buffer ), pFormat, arguments ) + 1;
      |            ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 3b7bb35b069b2de1ff25b76f395f864c2b4c9e7a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 16:17:06 2022 +0000

    2022-10-03 16:17:05 UTC

emerge -qpvO sci-libs/inchi
[ebuild  N    ] sci-libs/inchi-1.06  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 16:41:33 UTC
Created attachment 817981 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 16:41:34 UTC
Created attachment 817984 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 16:41:36 UTC
Created attachment 817987 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 16:41:37 UTC
Created attachment 817990 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 16:41:38 UTC
Created attachment 817993 [details]
sci-libs:inchi-1.06:20221003-163946.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 16:41:39 UTC
Created attachment 817996 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-11-09 03:54:36 UTC
The bug has been closed via the following commit(s):

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

commit aab7960f5ed621d66db18b1c8e5f31d2d72af551
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-09 03:44:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-09 03:52:35 +0000

    sci-libs/inchi: fix build w/ clang16, install ixa.h
    
    Also add the lacking quotes around tc-getCC/CXX.
    Just quickfixes, ebuild feels rather fragile.
    
    Closes: https://bugs.gentoo.org/834488
    Closes: https://bugs.gentoo.org/874696
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 sci-libs/inchi/{inchi-1.06.ebuild => inchi-1.06-r1.ebuild} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)