Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793080 - x11-libs/vte-0.64.1 - meson.build:349:2: ERROR: Assert failed: -fvisibility-inlines-hidden is required but not supported
Summary: x11-libs/vte-0.64.1 - meson.build:349:2: ERROR: Assert failed: -fvisibility-i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-30 16:55 UTC by ernsteiswuerfel
Modified: 2021-05-30 21:23 UTC (History)
1 user (show)

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


Attachments
build.log (vte-0.64.1:20210530-160018.log,14.67 KB, text/plain)
2021-05-30 16:55 UTC, ernsteiswuerfel
Details
meson-log.txt (meson-log.txt,111.01 KB, text/plain)
2021-05-30 16:56 UTC, ernsteiswuerfel
Details
emerge --info (file_793080.txt,6.14 KB, text/plain)
2021-05-30 16:56 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-05-30 16:55:28 UTC
Created attachment 712611 [details]
build.log

[...]
Compiler for C++ supports arguments -fvisibility-inlines-hidden: NO 
Compiler for C++ supports arguments -fvisibility=hidden: NO 
Compiler for C++ supports arguments -fvisibility-inlines-hidden: NO (cached)

meson.build:349:2: ERROR: Assert failed: -fvisibility-inlines-hidden is required but not supported

A full log can be found at /var/tmp/portage/x11-libs/vte-0.64.1/work/vte-0.64.1-build/meson-logs/meson-log.txt
 * ERROR: x11-libs/vte-0.64.1::gentoo failed (configure phase):
 *   (no error message)
Comment 1 ernsteiswuerfel archtester 2021-05-30 16:56:09 UTC
Created attachment 712614 [details]
meson-log.txt
Comment 2 ernsteiswuerfel archtester 2021-05-30 16:56:37 UTC
Created attachment 712617 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2021-05-30 20:47:50 UTC
I can reproduce on ~amd64 if I add -Wno-implicit-function-declaration to CXXFLAGS like you did.

   cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++

In other words, you shouldn't have this in CXXFLAGS but rather only CFLAGS if you want it. Not sure if this can be considered a bug (other than the meson checks being oversensitive).
Comment 4 ernsteiswuerfel archtester 2021-05-30 21:23:08 UTC
(In reply to Ionen Wolkens from comment #3)
> I can reproduce on ~amd64 if I add -Wno-implicit-function-declaration to
> CXXFLAGS like you did.
Mkay... I wonder how this even landed in my COMMON_FLAGS in the first place...

It builds fine when I stick to sane COMMON_FLAGS.