Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887335 - x11-libs/cairo-1.17.8 fails to compile (CLANG-STRICTER-SYSTEM): meson.build:133:6: ERROR: Program gtkdoc-scan not found or not executable
Summary: x11-libs/cairo-1.17.8 fails to compile (CLANG-STRICTER-SYSTEM): meson.build:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2022-12-20 08:16 UTC by Agostino Sarubbo
Modified: 2023-08-02 14:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,55.42 KB, text/plain)
2022-12-20 08:17 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,126.99 KB, text/plain)
2022-12-20 08:17 UTC, Agostino Sarubbo
Details

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

Issue: x11-libs/cairo-1.17.6 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_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-20 08:17:01 UTC
Created attachment 843961 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-20 08:17:03 UTC
Created attachment 843963 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-12-20 08:17:03 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


../cairo-1.17.6/doc/public/meson.build:133:6: ERROR: Program 'gtkdoc-scan' not found or not executable
Program gtkdoc-scan found: NO
Comment 4 Agostino Sarubbo gentoo-dev 2023-02-01 07:46:29 UTC
ci has reproduced this issue with version 1.17.6-r1 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2023-03-02 07:45:34 UTC
ci has reproduced this issue with version 1.17.8 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2023-08-02 14:51:45 UTC
The bug has been closed via the following commit(s):

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

commit fdc85b19c8d3c14d701b6a6ce79b2d9ed26df357
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-08-01 21:42:31 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-08-02 14:51:42 +0000

    x11-libs/cairo: add missing gtk-doc to BDEPEND
    
    https://gitlab.freedesktop.org/cairo/cairo/-/blob/1.17.8/doc/public/meson.build#L133
    
    Closes: https://bugs.gentoo.org/887335
    Closes: https://github.com/gentoo/gentoo/pull/32135
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/cairo/cairo-1.17.8.ebuild | 4 +++-
 x11-libs/cairo/cairo-9999.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)