Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884835 - [guru] media-gfx/azpainter-3.0.4 fails to compile (CLANG-STRICTER-SYSTEM): ld: libmlk.a(mlk_zlib.o): undefined reference to symbol deflateInit_
Summary: [guru] media-gfx/azpainter-3.0.4 fails to compile (CLANG-STRICTER-SYSTEM): ld...
Status: RESOLVED OBSOLETE
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-08 09:22 UTC by Agostino Sarubbo
Modified: 2025-01-22 14:53 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,179.21 KB, text/plain)
2022-12-08 09:22 UTC, Agostino Sarubbo
Details
Adds -lz to LIBS (az-zlib.diff,340 bytes, patch)
2023-02-22 23:24 UTC, Watcom
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-08 09:22:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/azpainter-3.0.4 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-08 09:22:20 UTC
Created attachment 840979 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-08 09:22:21 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: mlk/libmlk.a(mlk_zlib.o): undefined reference to symbol 'deflateInit_'
collect2: error: ld returned 1 exit status
Comment 3 Watcom 2023-02-22 23:24:17 UTC
Created attachment 854026 [details, diff]
Adds -lz to LIBS

I'm getting the same problem, but with gcc 11. This patch solved it for me.
Comment 4 Larry the Git Cow gentoo-dev 2025-01-22 14:53:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f74596ffef9818741d72485ec754cf543279470

commit 1f74596ffef9818741d72485ec754cf543279470
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2025-01-22 14:32:19 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2025-01-22 14:36:18 +0000

    media-gfx/azpainter: drop 3.0.9a
    
    Closes: https://bugs.gentoo.org/884835 (obsolete)
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 media-gfx/azpainter/Manifest                |  1 -
 media-gfx/azpainter/azpainter-3.0.9a.ebuild | 63 -----------------------------
 2 files changed, 64 deletions(-)