Summary: | app-text/docbook-xml-simple-dtd-4.1.2.4-r2 - portage.exception.ParseError: "/usr/src/linux/.config", line 1838: Invalid token 'y' (not '=') | ||
---|---|---|---|
Product: | Portage Development | Reporter: | jplx <jlambrec> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 671498 | ||
Attachments: |
emerge --info
Macbook Air emerge --info Console history Console output after typing CTRL-D, following the error config file emerge.log last ~300 lines |
Description
jplx
2018-12-16 04:39:42 UTC
Created attachment 557884 [details]
emerge --info
Comment on attachment 557884 [details]
emerge --info
This a wrong emerge--info. Please discard
Created attachment 557886 [details]
Macbook Air emerge --info
This is the correct emerge --info output on the Macbook Air failing the gnome emerge.
Comment on attachment 557884 [details] emerge --info >Portage 2.3.0 (python 3.4.4-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r2, 4.5.2-aufs-r1 x86_64) >======================================================== Comment on attachment 557884 [details]
emerge --info
Wrong file. PLease discard.
Created attachment 557888 [details]
Console history
Created attachment 557890 [details]
Console output after typing CTRL-D, following the error
Created attachment 557892 [details]
config file
Created attachment 557894 [details]
emerge.log last ~300 lines
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=d2e1c414c4cec97b1a2d3343d60016c100fe9062 commit d2e1c414c4cec97b1a2d3343d60016c100fe9062 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-12-17 06:35:28 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-12-17 06:44:24 +0000 ExtractKernelVersion: use KeyValuePairFileLoader (bug 673224) Use KeyValuePairFileLoader to parse the kernel config and report errors without raising an exception. Silently handle empty settings like the CONFIG_UEVENT_HELPER_PATH= setting that triggered the ParseError reported in bug 673224. Bug: https://bugs.gentoo.org/673224 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/util/ExtractKernelVersion.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) Thanks! I am getting exactly the same error with eselect-cblas (dependency of gnome-wayland) as illustrated by the test here below: (1) jplx-airgn2 ~ # emerge --ask --verbose =app-eselect/eselect-cblas-0.1::gentoo * IMPORTANT: 5 news items need reading for repository 'sakaki-tools'. * IMPORTANT: 13 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-eselect/eselect-cblas-0.1::gentoo 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-eselect/eselect-cblas-0.1::gentoo >>> Jobs: 0 of 1 complete, 1 running Load avg: 0.18, 0.07, 0.02Exception in callback AsynchronousTask.wait() handle: <Handle AsynchronousTask.wait()> Traceback (most recent call last): File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run self._callback(*self._args) File "/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line 84, in wait self._wait_hook() File "/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line 195, in _wait_hook self._exit_listener_stack.pop()(self) File "/usr/lib64/python3.6/site-packages/_emerge/EbuildBuild.py", line 79, in _start_with_metadata settings=self.settings, db=portdb) File "/usr/lib64/python3.6/site-packages/portage/package/ebuild/doebuild.py", line 529, in doebuild_environment os.path.join(mysettings['EROOT'], "usr/src/linux")) File "/usr/lib64/python3.6/site-packages/portage/proxy/objectproxy.py", line 31, in __call__ return result(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/portage/util/ExtractKernelVersion.py", line 74, in ExtractKernelVersion kernelconfig = getconfig(base_dir+"/.config") File "/usr/lib64/python3.6/site-packages/portage/util/__init__.py", line 749, in getconfig raise ParseError(msg) portage.exception.ParseError: "/usr/src/linux/.config", line 1838: Invalid token 'y' (not '=') --Return-- > /usr/lib64/python3.6/site-packages/portage/util/_eventloop/asyncio_event_loop.py(76)_internal_caller_exception_handler()->None -> pdb.set_trace() (Pdb) --> Line 1838 of .config is: 1838 CONFIG_DEVTMPFS_MOUNT=y Looks fine. I think this line is the trigger: CONFIG_UEVENT_HELPER_PATH= It will be fixed by https://gitweb.gentoo.org/proj/portage.git/commit/?id=d2e1c414c4cec97b1a2d3343d60016c100fe9062, but you can change the line to this as a workaround: CONFIG_UEVENT_HELPER_PATH="" I made the change and ran: emerge --ask --verbose --keep-going gnome-base/gnome && echo "GNOME emerged OK" || echo "GNOME emerge not yet completed" again. Both docbook-xml-simple-dtd and eselect-cblas emerged and installed fine. Still running with more than 300 packages to emerge and install for gnome-wayland. Looks fine so far. THANK YOU! I can confirm that the work-around did solve the problem. The emerge completed successfully. THANK YOU AGAIN! Fixed in portage-2.3.62. |