Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727342 - gui-libs/wf-config-0.4.0 fails to configure - ?meson problem
Summary: gui-libs/wf-config-0.4.0 fails to configure - ?meson problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-06-06 17:51 UTC by Adrian Bassett
Modified: 2020-06-07 09:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Bassett 2020-06-06 17:51:20 UTC
Installing gui-libs/wf-config-0.4.0 as a dependency of gui-wm/wayfire fails at the configure stage with a meson error:

>>> Configuring source in /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0 ...
meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /tmp_portage/portage/gui-libs/wf-config-0.4.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini  /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0 /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-build
usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,help,rewrite,compile} ...
meson: error: unrecognized arguments: /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-build
 * ERROR: gui-libs/wf-config-0.4.0::gentoo failed (configure phase):
 *   (no error message)

The directory which is described as an unrecognized argument(tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-build) doesn't exist when the emerge fails.

Also, 'meson setup -h' suggests that [builddir] should precede [sourcedir]?

# emerge -av wayfire

These are the packages that would be merged, in order:

Calculating dependencies  ...... ...... done!
[ebuild  N     ] gui-libs/wf-config-0.4.0::gentoo  USE="-debug" 63 KiB
[ebuild  N     ] gui-wm/wayfire-0.4.0::gentoo  USE="gles2 system-wfconfig system-wlroots systemd -debug -elogind" 576 KiB

(Other dependencies are already (re-)built.

Thanks


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-06 17:55:33 UTC
Thanks for your report. Could you attach the full build.log and emerge --info too?
Comment 2 Aisha Tammy 2020-06-06 22:29:02 UTC
(In reply to Adrian Bassett from comment #0)
> Installing gui-libs/wf-config-0.4.0 as a dependency of gui-wm/wayfire fails
> at the configure stage with a meson error:
> 
> >>> Configuring source in /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0 ...
> meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib
> --prefix /usr --sysconfdir /etc --wrap-mode nodownload
> --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path
> /usr/share/pkgconfig --native-file
> /tmp_portage/portage/gui-libs/wf-config-0.4.0/temp/meson.x86_64-pc-linux-gnu.
> amd64.ini 
> /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0
> /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-build
> usage: meson [-h]
> {setup,configure,dist,install,introspect,init,test,wrap,subprojects,help,
> rewrite,compile} ...
> meson: error: unrecognized arguments:
> /tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-build
>  * ERROR: gui-libs/wf-config-0.4.0::gentoo failed (configure phase):
>  *   (no error message)
> 
> The directory which is described as an unrecognized
> argument(tmp_portage/portage/gui-libs/wf-config-0.4.0/work/wf-config-0.4.0-
> build) doesn't exist when the emerge fails.
> 
> Also, 'meson setup -h' suggests that [builddir] should precede [sourcedir]?
> 
> # emerge -av wayfire
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies  ...... ...... done!
> [ebuild  N     ] gui-libs/wf-config-0.4.0::gentoo  USE="-debug" 63 KiB
> [ebuild  N     ] gui-wm/wayfire-0.4.0::gentoo  USE="gles2 system-wfconfig
> system-wlroots systemd -debug -elogind" 576 KiB
> 
> (Other dependencies are already (re-)built.
> 
> Thanks
> 
> 
> Reproducible: Always

The PR should be fixing it, you can try to use it locally to see if it is working.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-07 00:12:29 UTC
The bug has been closed via the following commit(s):

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

commit 7646a493e2cc3c12c6154539bb18aa2784291209
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-06-06 20:01:34 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-06-07 00:12:14 +0000

    gui-libs/wf-config: remove debug symbols
    
    Closes: https://bugs.gentoo.org/727342
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 ...wf-config-0.4.0.ebuild => wf-config-0.4.0-r1.ebuild} | 17 +++--------------
 gui-libs/wf-config/wf-config-9999.ebuild                | 15 ++-------------
 2 files changed, 5 insertions(+), 27 deletions(-)
Comment 4 Adrian Bassett 2020-06-07 09:52:29 UTC
(In reply to Aisha Tammy from comment #2)

> The PR should be fixing it, you can try to use it locally to see if it is
> working.

Yes, all OK now, thanks.