Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878649 - dev-util/meson-0.63.3
Summary: dev-util/meson-0.63.3
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-29 12:16 UTC by Helmut Jarausch
Modified: 2022-10-30 12:29 UTC (History)
2 users (show)

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


Attachments
emerge --info (evince.info,21.27 KB, text/plain)
2022-10-29 12:16 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2022-10-29 12:16:22 UTC
Created attachment 826045 [details]
emerge --info

When emerging  app-text/evince-43.1  I get

meson setup --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 /var/tmp/portage/app-text/evince-43.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Ddevelopment=false -Dplatform=gnome -Dviewer=true -Dpreviewer=true -Dthumbnailer=true -Dnautilus=false -Dcomics=enabled -Ddjvu=disabled -Ddvi=disabled -Dpdf=enabled -Dps=enabled -Dtiff=enabled -Dxps=disabled -Dgtk_doc=false -Duser_doc=true -Dintrospection=true -Ddbus=true -Dkeyring=disabled -Dgtk_unix_print=enabled -Dthumbnail_cache=disabled -Dmultimedia=disabled -Dgspell=enabled -Dinternal_synctex=true -Dsystemduserunitdir=/usr/lib/systemd/user /var/tmp/portage/app-text/evince-43.1/work/evince-43.1 /var/tmp/portage/app-text/evince-43.1/work/evince-43.1-build
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py", line 153, in run
    return options.run_func(options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 303, in run
    app.generate()
  File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 181, in generate
    env = environment.Environment(self.source_dir, self.build_dir, self.options)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/environment.py", line 522, in __init__
    config = coredata.parse_machine_files(self.coredata.config_files)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 984, in parse_machine_files
    parser = MachineFileParser(filenames)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 939, in __init__
    self.sections[s] = self._parse_section(s)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 951, in _parse_section
    res = self._evaluate_statement(ast.lines[0])
                                   ~~~~~~~~~^^^
IndexError: list index out of range

ERROR: Unhandled python exception

    This is a Meson bug and should be reported!
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-29 14:31:33 UTC
Please attach the full build.log and meson-log.txt.
Comment 2 Eli Schwartz 2022-10-29 23:56:15 UTC
This traceback seems to occurring somewhere inside Meson's attempt to parse the file defined by this command-line option:
```
--native-file /var/tmp/portage/app-text/evince-43.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini
```

What are the contents of this file (seems to be autogenerated by emerge's meson_src_configure handling)?
Comment 3 Helmut Jarausch 2022-10-30 12:29:31 UTC
Re-emerging dev-util/meson-format-array fixed the problem