Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944838 - =sys-apps/pkgcore-0.12.28: failed to `pquery --size gentoo-kernel`
Summary: =sys-apps/pkgcore-0.12.28: failed to `pquery --size gentoo-kernel`
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-25 06:32 UTC by Leo Douglas
Modified: 2024-11-27 00:27 UTC (History)
1 user (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 Leo Douglas 2024-11-25 06:32:02 UTC
$ pquery --size gentoo-kernel
sys-kernel/gentoo-kernel-6.11.10

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/pquery", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/pkgcore/scripts/__init__.py", line 43, in main
    run(os.path.basename(sys.argv[0]))
  File "/usr/lib/python3.12/site-packages/pkgcore/scripts/__init__.py", line 35, in run
    sys.exit(tool())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 81, in __call__
    ret = self.main()
          ^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 191, in main
    self.handle_exec_exception(e)
  File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 176, in main
    exitstatus = func(self.options, self.out, self.err)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pkgcore/scripts/pquery.py", line 1197, in main
    print_package(options, out, err, pkg)
  File "/usr/lib/python3.12/site-packages/pkgcore/scripts/pquery.py", line 436, in print_package
    size += os.lstat(location).st_size
            ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/linux-6.11.10-gentoo-dist/arch/x86/boot/initrd'
Comment 1 Leo Douglas 2024-11-25 06:32:34 UTC
qsize:

$ qsize gentoo-kernel
sys-kernel/gentoo-kernel: 14566 files (14564 unique), 3554 non-files, 115.4M