gentoo icon indicating copy to clipboard operation
gentoo copied to clipboard

gnome-extra/loupe: New package 46.2

Open flint2 opened this issue 2 years ago • 5 comments

New Gnome package for Loupe https://apps.gnome.org/Loupe/ Gnome Core app and default image viewer since Gnome 46

flint2 avatar Aug 24 '23 23:08 flint2

Pull Request assignment

Submitter: @flint2 Areas affected: ebuilds Packages affected: gnome-extra/loupe

gnome-extra/loupe: @gentoo/proxy-maint (new package)

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

New packages

This Pull Request appears to be introducing new packages only. Due to limited manpower, adding new packages is considered low priority. This does not mean that your Pull Request will not receive any attention, however, it might take quite some time for it to be reviewed. In the meantime, your new ebuild might find a home in the GURU project repository: the ebuild repository maintained collaboratively by Gentoo users. GURU offers your ebuild a place to be reviewed and improved by other Gentoo users, while making it easy for Gentoo users to install it and enjoy the software it adds.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

gentoo-bot avatar Aug 24 '23 23:08 gentoo-bot

@mgorny: could you have a look and tell us what we're doing wrong with pycargoebuild?

Running it in the root of a git checkout of the project (https://gitlab.gnome.org/sophie-h/glycin.git) gives:

mattst88@framework ~/projects/GNOME/glycin (main) $ pycargoebuild 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/pycargoebuild", line 8, in <module>
    sys.exit(entry_point())
             ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pycargoebuild/__main__.py", line 277, in entry_point
    sys.exit(main(*sys.argv))
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pycargoebuild/__main__.py", line 181, in main
    get_package_metadata(f, workspace.workspace_metadata))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pycargoebuild/cargo.py", line 183, in get_package_metadata
    raise WorkspaceCargoTomlError(
pycargoebuild.cargo.WorkspaceCargoTomlError: Specified directory seems to be a workspace root, please run pycargoebuild on one of its members instead: glycin glycin-utils loaders/* tests

And running it on any of glycin glycin-utils loaders/* tests yields the same list of CRATES, but the resulting ebuild fails because it apparently doesn't have the appropriate crates available?

>>> Compiling source in /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1 ...
meson compile -C /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build --jobs 8 --load-average 8 --verbose
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build -j 8 -l 8.0 -v
ninja: Entering directory `/var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build'
[0/12] env CARGO_HOME=/var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build/cargo LOCALEDIR=/usr/share/locale GIT_DESCRIBE= /usr/bin/cargo build --target-dir /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build/cargo_target/loaders --profile release --manifest-path /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1/Cargo.toml --package glycin-heif
    Updating crates.io index
warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
error: failed to get `glycin-utils` as a dependency of package `glycin-heif v0.1.0 (/var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1/loaders/glycin-heif)`

Caused by:
  failed to query replaced source registry `crates-io`

Caused by:
  download of config.json failed

Caused by:
  failed to download from `https://index.crates.io/config.json`

Caused by:
  [6] Couldn't resolve host name (Could not resolve host: index.crates.io)

I don't understand -- [email protected] is listed in CRATES, and during the build I see

 * glycin-utils-0.1.0.crate BLAKE2B SHA512 size ;-) ...                                                                             [ ok ]
[...]
 * Loading glycin-utils-0.1.0.crate into Cargo registry ...                                                                         [ ok ]

If I use FEATURES=-network-sandbox it appears that the build indeed downloads crates (that I think it already should have locally):

>>> Compiling source in /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1 ...
meson compile -C /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build --jobs 8 --load-average 8 --verbose
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build -j 8 -l 8.0 -v
ninja: Entering directory `/var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build'
[0/12] env CARGO_HOME=/var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build/cargo LOCALEDIR=/usr/share/locale GIT_DESCRIBE= /usr/bin/cargo build --target-dir /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1-build/cargo_target/loaders --profile release --manifest-path /var/tmp/portage/media-libs/glycin-loaders-0.1.1/work/glycin-loaders-0.1.1/Cargo.toml --package glycin-heif
    Updating crates.io index
 Downloading crates ...
  Downloaded rand_chacha v0.3.1
  Downloaded crypto-common v0.1.6
  Downloaded parking v2.1.0
  Downloaded serde_derive v1.0.188
  Downloaded addr2line v0.21.0
  Downloaded futures-sink v0.3.28
  Downloaded enumflags2_derive v0.7.7
  Downloaded equivalent v1.0.1
  Downloaded quote v1.0.33
  Downloaded adler v1.0.2
[...]

mattst88 avatar Sep 19 '23 02:09 mattst88

media-libs/glycin-loaders merged in https://github.com/gentoo/gentoo/commit/44941174a700a011ab1331504fade7c0fa2d9d30

flint2 avatar Aug 18 '24 18:08 flint2

Pull request CI report

Report generated at: 2024-08-18 20:18 UTC Newest commit scanned: 9628fbd944769a2963a17304cb6eac69ddd77694 Status: :white_check_mark: good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/4da4ae152f/output.html

gentoo-repo-qa-bot avatar Aug 18 '24 20:08 gentoo-repo-qa-bot

Pull request CI report

Report generated at: 2024-08-18 20:48 UTC Newest commit scanned: 7515399cce24e2684aca7a11f4dacccfa1f6777f Status: :white_check_mark: good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/5803f3a7a5/output.html

gentoo-repo-qa-bot avatar Aug 18 '24 20:08 gentoo-repo-qa-bot

Pull request CI report

Report generated at: 2024-09-26 10:56 UTC Newest commit scanned: d658b0b6f9073cfcda24fbd7bf7d8995e011bda0 Status: :white_check_mark: good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/9ed7531a64/output.html

gentoo-repo-qa-bot avatar Sep 26 '24 10:09 gentoo-repo-qa-bot

https://github.com/gentoo/gentoo/pull/41095#issuecomment-2870251377

thesamesam avatar May 11 '25 22:05 thesamesam