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

Bug 806354

Summary: dev-util/numdiff-5.9.0 - configure: error: Cannot find ANSI C header files!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal CC: bug, sci, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=750179
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732648    
Attachments: emerge-info.txt
dev-util:numdiff-5.9.0:20210804-002141.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
Remove a deprecated macro

Description Toralf Förster gentoo-dev 2021-08-04 08:54:14 UTC
checking for egrep... /bin/grep -E
./configure: line 5003: test: =: unary operator expected
configure: error: Cannot find ANSI C header files!

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/numdiff-5.9.0/work/numdiff-5.9.0/config.log
 * ERROR: dev-util/numdiff-5.9.0::gentoo failed (configure phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j3_abi32+64_debug-20210729-185806

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 2b9fdc283e0997b00a17ed3a260f3d4a792d5d4b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 3 22:51:51 2021 +0000

    2021-08-03 22:51:50 UTC

emerge -qpvO dev-util/numdiff
[ebuild  N    ] dev-util/numdiff-5.9.0  USE="nls -gmp"
Comment 1 Toralf Förster gentoo-dev 2021-08-04 08:54:15 UTC
Created attachment 730002 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-04 08:54:16 UTC
Created attachment 730004 [details]
dev-util:numdiff-5.9.0:20210804-002141.log
Comment 3 Toralf Förster gentoo-dev 2021-08-04 08:54:18 UTC
Created attachment 730006 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-04 08:54:20 UTC
Created attachment 730008 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-04 08:54:21 UTC
Created attachment 730010 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-04 08:54:22 UTC
Created attachment 730012 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-04 08:54:23 UTC
Created attachment 730014 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-08-04 08:54:42 UTC
see bug 750179 too
Comment 9 eluancm 2022-01-28 04:51:38 UTC
This occurs due to the usage of the deprecated AC_HEADER_STDC macro in configure.ac (see https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Particular-Headers.html).
Comment 10 eluancm 2022-01-28 04:55:52 UTC
Created attachment 763774 [details, diff]
Remove a deprecated macro
Comment 11 Larry the Git Cow gentoo-dev 2022-01-28 07:27:47 UTC
The bug has been closed via the following commit(s):

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

commit 0dd2f02fea19204e496e99811fb083ec159d91f3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-28 07:27:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 07:27:22 +0000

    dev-util/numdiff: update EAPI 6 -> 7; fix build with autoconf 2.71
    
    Closes: https://bugs.gentoo.org/806354
    Thanks-to: eluancm@gmail.com
    Signed-off-by: Sam James <sam@gentoo.org>

 .../numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch | 17 +++++++++++++++++
 dev-util/numdiff/numdiff-5.9.0.ebuild                   |  5 +++--
 2 files changed, 20 insertions(+), 2 deletions(-)