Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874441 - x11-libs/wxGTK-3.0.4-r5 - configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version
Summary: x11-libs/wxGTK-3.0.4-r5 - configure: error: zlib library not found or too old...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL: https://github.com/wxWidgets/wxWidget...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 07:59 UTC by Toralf Förster
Modified: 2023-06-26 14:11 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2022-10-03 07:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,43.00 KB, text/plain)
2022-10-03 07:59 UTC, Toralf Förster
Details
environment (environment,81.24 KB, text/plain)
2022-10-03 07:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.95 KB, application/x-bzip)
2022-10-03 07:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,19.24 KB, application/x-bzip)
2022-10-03 07:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.43 KB, application/x-bzip)
2022-10-03 07:59 UTC, Toralf Förster
Details
x11-libs:wxGTK-3.0.4-r3:20221002-234918.log (x11-libs:wxGTK-3.0.4-r3:20221002-234918.log,24.56 KB, text/plain)
2022-10-03 07:59 UTC, Toralf Förster
Details
configure,configure.in: Include stdlib.h on all conftest using exit() (fix-configure-implicit-function.patch,1.56 KB, patch)
2022-12-13 06:55 UTC, Haelwenn (lanodan) Monnier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 07:59:05 UTC
checking pkg-config is at least version 0.9.0... yes
configure: WARNING: Defaulting to the builtin regex library for Unicode build.
checking for zlib.h >= 1.1.4... no
checking for zlib.h... (cached) no
configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version

!!! Please attach the following file when seeking support:

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

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

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

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]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO x11-libs/wxGTK
[ebuild  N    ] x11-libs/wxGTK-3.0.5.1  USE="X libnotify opengl sdl tiff -debug -doc -gstreamer (-pch) -webkit" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 07:59:06 UTC
Created attachment 816607 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 07:59:07 UTC
Created attachment 816610 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 07:59:09 UTC
Created attachment 816613 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 07:59:10 UTC
Created attachment 816616 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 07:59:11 UTC
Created attachment 816619 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 07:59:12 UTC
Created attachment 816622 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 07:59:13 UTC
Created attachment 816625 [details]
x11-libs:wxGTK-3.0.4-r3:20221002-234918.log
Comment 8 Haelwenn (lanodan) Monnier 2022-12-13 06:55:00 UTC
Created attachment 842347 [details, diff]
configure,configure.in: Include stdlib.h on all conftest using exit()

It's because of exit() relying on an implicit function declaration in the configure.in code.
Comment 9 Agostino Sarubbo gentoo-dev 2022-12-20 12:45:37 UTC
clang-stricter_tinderbox has reproduced this issue with version 3.0.4-r5 - Updating summary.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-23 04:11:47 UTC
Fixed in 3.2.1 but we should backport/fix for older anyway. Just need to apply the above fix.
Comment 11 Larry the Git Cow gentoo-dev 2023-06-26 14:11:25 UTC
The bug has been closed via the following commit(s):

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

commit ad105d9d002da5a860de683cf6bf4b229091afbd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-26 14:02:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-26 14:03:11 +0000

    x11-libs/wxGTK: fix modern C issue in configure
    
    Closes: https://bugs.gentoo.org/874441
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/wxGTK-3.0.5.1-configure-modern-c.patch   | 54 ++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild             |  5 +-
 2 files changed, 57 insertions(+), 2 deletions(-)