Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811564 - net-misc/networkmanager-1.32.10: fails to compile ( ../NetworkManager-1.32.10/src/libnmc-setting/meson.build:4:2: ERROR: Unknown variable "nm_settings_docs_xml_gir".)
Summary: net-misc/networkmanager-1.32.10: fails to compile ( ../NetworkManager-1.32.10...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 825034
Blocks:
  Show dependency tree
 
Reported: 2021-09-04 08:32 UTC by fioretti.marco83
Modified: 2022-02-08 04:57 UTC (History)
10 users (show)

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


Attachments
build.log (build-log,13.71 KB, text/plain)
2021-09-04 19:43 UTC, fioretti.marco83
Details
emerge --info (emerge.info,18.57 KB, text/plain)
2021-09-04 19:44 UTC, fioretti.marco83
Details
meson-log (meson-log,101.44 KB, text/plain)
2021-09-05 08:48 UTC, fioretti.marco83
Details
adds USE doc, which depends on USE introspection (networkmanager-1.32.10-r1.ebuild.patch,1.71 KB, patch)
2021-10-09 08:18 UTC, Mattias Merilai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fioretti.marco83 2021-09-04 08:32:09 UTC
Hi all, if I try to compile a new version of networkmanager, I have a fail on compiling.
This is build log http://dpaste.com/7JKXRKF8X

This is my emerge --info http://dpaste.com/FS5X3VPJ2
Comment 1 fioretti.marco83 2021-09-04 12:36:16 UTC
Hi all, if I try to compile a new version of networkmanager, I have a fail on compiling.
This is build log https://pastebin.com/nZk11D0e

This is my emerge --info https://pastebin.com/yPEVDRKQ
Comment 2 Andreas Sturmlechner gentoo-dev 2021-09-04 14:13:59 UTC
Don't use pastebin on bugzilla. Attach the logs here.
Comment 3 fioretti.marco83 2021-09-04 19:43:33 UTC
Created attachment 737530 [details]
build.log
Comment 4 fioretti.marco83 2021-09-04 19:44:53 UTC
Created attachment 737533 [details]
emerge --info
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-04 20:42:38 UTC
Could you include /var/tmp/portage/net-misc/networkmanager-1.32.10/work/NetworkManager-1.32.10-abi_x86_64.amd64/meson-logs/meson-log.txt too?
Comment 6 fioretti.marco83 2021-09-05 08:48:37 UTC
Created attachment 737599 [details]
meson-log
Comment 7 Matt Turner gentoo-dev 2021-09-09 20:59:41 UTC
USE=-introspection is sufficient to trigger this for me. I suspect the problem is that docs (which are always enabled for the native ABI) are reliant on introspection.
Comment 8 fioretti.marco83 2021-09-10 08:34:28 UTC
I have -introspection in make.conf 
I tried USE="introspection" emerge networkmanager
and I compiled network manager
Comment 9 Jakov Smolić archtester gentoo-dev 2021-09-22 12:34:01 UTC
I'm hitting this as well when trying to cross-compile networkmanager with USE=-introspection (error is the same), I worked around it by manually disabling docs in the ebuild. Would the gnome team be willing to add USE=doc to networkmanager so we can disable docs if we don't need them?
Comment 10 Nikita S. Kipriyanov 2021-10-04 07:57:31 UTC
This problem applies also to net-misc/networkmanager-1.32.10-r1
Comment 11 Mattias Merilai 2021-10-09 08:18:50 UTC
Created attachment 743940 [details, diff]
adds USE doc, which depends on USE introspection

Compiles and installs both ways. Seems to work.
Comment 12 Larry the Git Cow gentoo-dev 2021-10-20 01:54:20 UTC
The bug has been closed via the following commit(s):

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

commit be97ee5738137df06466efe7a3a4c02471853c40
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-09-24 06:47:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-20 01:53:29 +0000

    net-misc/networkmanager: Version bump to 1.32.12
    
    - Add USE=gtk-doc (enabled by default) and require it if USE=introspection,
      since building docs requires introspection support. This should also
      allow us to fix the build issue when building without introspection by
      turning off doc generation as well.
    - Do not allow building with clang if USE=lto since clang does not
      support -flto-partition
    - Couple of minor syntax changes (adding a missing `|| die`, changing
      `rm -rf` to `rm -r`, sort inherits alphabetically etc.)
    
    Closes: https://bugs.gentoo.org/811564
    Closes: https://bugs.gentoo.org/809695
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/22386
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/networkmanager/Manifest                   |   1 +
 .../networkmanager/networkmanager-1.32.12.ebuild   | 392 +++++++++++++++++++++
 2 files changed, 393 insertions(+)
Comment 13 Agostino Sarubbo gentoo-dev 2021-11-04 07:45:41 UTC
I can reproduce this bug in stable 1.32.10-r1 so I suggest to stabilize the newer version or drop the stable keyword from 1.32.10-r1
Comment 14 dE 2021-11-19 16:51:30 UTC
I can confirm this.