Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907034 - app-emulation/fuse-1.6.0[png,-zlib] - screenshot.c: error: Z_BEST_COMPRESSION undeclared (first use in this function)
Summary: app-emulation/fuse-1.6.0[png,-zlib] - screenshot.c: error: Z_BEST_COMPRESSION...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-23 19:33 UTC by Toralf Förster
Modified: 2023-05-23 19:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.93 KB, text/plain)
2023-05-23 19:33 UTC, Toralf Förster
Details
app-emulation:fuse-1.6.0:20230522-224405.log (app-emulation:fuse-1.6.0:20230522-224405.log,30.69 KB, text/plain)
2023-05-23 19:33 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,82.83 KB, application/x-bzip)
2023-05-23 19:33 UTC, Toralf Förster
Details
environment (environment,102.65 KB, text/plain)
2023-05-23 19:33 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,713 bytes, application/x-bzip)
2023-05-23 19:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.02 KB, application/x-bzip)
2023-05-23 19:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.34 KB, application/x-bzip)
2023-05-23 19:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.29 KB, application/x-bzip)
2023-05-23 19:33 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 2023-05-23 19:33:33 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/incl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/incl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/incl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/incl
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/incl
screenshot.c: In function screenshot_write:
screenshot.c:178:39: error: Z_BEST_COMPRESSION undeclared (first use in this function)
  178 |   png_set_compression_level( png_ptr, Z_BEST_COMPRESSION );
      |                                       ^~~~~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.6_p10 [openjdk-17]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8  system-vm
  [3]   openjdk-bin-17 
  [4]   openjdk-jre-bin-17 

php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit e2d74713cb25bf2cf9f4e45dfdda51e1a62dceca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 22 21:47:01 2023 +0000

    2023-05-22 21:47:00 UTC

emerge -qpvO app-emulation/fuse
[ebuild  N    ] app-emulation/fuse-1.6.0  USE="alsa backend-gtk3 gpm png xml -ao -backend-X -backend-fbcon -backend-sdl (-backend-svga) -joystick -memlimit -pulseaudio -zlib"
Comment 1 Toralf Förster gentoo-dev 2023-05-23 19:33:34 UTC
Created attachment 862280 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-23 19:33:35 UTC
Created attachment 862281 [details]
app-emulation:fuse-1.6.0:20230522-224405.log
Comment 3 Toralf Förster gentoo-dev 2023-05-23 19:33:36 UTC
Created attachment 862282 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-05-23 19:33:38 UTC
Created attachment 862283 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-05-23 19:33:38 UTC
Created attachment 862284 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-23 19:33:39 UTC
Created attachment 862285 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-23 19:33:40 UTC
Created attachment 862286 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-05-23 19:33:41 UTC
Created attachment 862287 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-05-23 19:53:56 UTC
The bug has been closed via the following commit(s):

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

commit 2bfa05078a93e0dc559ce15c4af965a7ec0d6f4a
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-05-23 19:51:21 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-05-23 19:53:50 +0000

    app-emulation/fuse: USE=png requires USE=zlib
    
    screenshot.c unconditionally passes Z_BEST_COMPRESSION, a zlib.h macro,
    to png_set_compression_level(). Funnily enough, the same file first
    takes pains to only include zlib.h if it was found by configure.
    
    Closes: https://bugs.gentoo.org/907034
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-emulation/fuse/fuse-1.6.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)