Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mousai: 0.4.2 -> 0.5.2 #134155

Closed
wants to merge 1 commit into from
Closed

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for mousai is: "Identify any songs in seconds"

meta.homepage for mousai is: "https://github.com/SeaDve/Mousai"

meta.changelog for mousai is: ""

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact
Checks done (click to expand)
  • built on NixOS

  • The tests defined in passthru.tests, if any, passed

  • /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2/bin/mousai passed the binary check.

  • /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2/bin/.mousai-wrapped passed the binary check.

  • /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2/bin/..mousai-wrapped-wrapped passed the binary check.

  • 0 of 3 passed binary check by having a zero exit code.

  • 3 of 3 passed binary check by having the new version present in output.

  • found 0.5.2 with grep in /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2

  • found 0.5.2 in filename of file in /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2

  • directory tree listing: https://gist.github.com/09405791836ebca150ed02f310147df7

  • du listing: https://gist.github.com/14d124a074b82644a842a047f1777d9b


Rebuild report (if merged into master) (click to expand)
829 total rebuild path(s)

272 package rebuild(s)

271 x86_64-linux rebuild(s)
204 i686-linux rebuild(s)
152 x86_64-darwin rebuild(s)
202 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
agenda
ansible-lint
audiowaveform
aws-c-cal
aws-c-common
aws-c-event-stream
aws-c-io
aws-checksums
aws-sdk-cpp
bcompare
bundix
cabal2nix
cachix
calibre
catgirl
catt
cinnamon.warpinator
common-updater-scripts
crate2nix
crystal2nix
cura
curaLulzbot
dep2nix
devpi-client
devpi-server
dpt-rp1-py
dropbox-cli
dydisnix
eclipses.eclipse-committers
eclipses.eclipse-cpp
eclipses.eclipse-java
eclipses.eclipse-jee
eclipses.eclipse-modeling
eclipses.eclipse-platform
eclipses.eclipse-rcp
eclipses.eclipse-scala-sdk
eclipses.eclipse-sdk
empathy
esphome
expliot
fcft
fdroidserver
fnott
foot
fusionInventory
fuzzel
gnome-photos
gnome.cheese
gnome.empathy
gnome.file-roller
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A mousai https://github.com/r-ryantm/nixpkgs/archive/d2755a5cf708763aa726bfd3266cd498baa0e74c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2
ls -la /nix/store/f1nz02vvwjsvlf8zzd4zqfvdn77sli48-mousai-0.5.2/bin


Pre-merge build results

NixPkgs review skipped


Maintainer pings

cc @dotlambda for testing.

@siraben
Copy link
Member

siraben commented Aug 18, 2021

Result of nixpkgs-review pr 134155 run on x86_64-linux 1

1 package failed to build:
  • mousai

@bobby285271 bobby285271 changed the base branch from staging to master September 15, 2021 14:01
@bobby285271
Copy link
Member

@ofborg build mousai

@bobby285271
Copy link
Member

Result of nixpkgs-review pr 134155 run on x86_64-linux 1

1 package built:
  • mousai

@bobby285271 bobby285271 added the 9.needs: human intervention There were changes that bots cannot deal with. label Sep 15, 2021
Copy link
Member

@bobby285271 bobby285271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer runs on x86_64-linux:

Traceback (most recent call last):
  File "/nix/store/izbxf8pfi4rfs378p3v9dfv9yvwzdfi3-mousai-0.5.2/bin/..mousai-wrapped-wrapped", line 31, in <module>
    from mousai import main
  File "/nix/store/izbxf8pfi4rfs378p3v9dfv9yvwzdfi3-mousai-0.5.2/share/mousai/mousai/main.py", line 18, in <module>
    class Application(Adw.Application):
  File "/nix/store/43d7ipmasy6dl4m757n4kwcmhxyyc541-python3.9-pygobject-3.40.1/lib/python3.9/site-packages/gi/module.py", line 123, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Adw' object has no attribute 'Application'

@bobby285271 bobby285271 marked this pull request as draft September 15, 2021 14:15
@dotlambda
Copy link
Member

See SeaDve/Mousai#25 (comment).

@bobby285271
Copy link
Member

After the GNOME 41 PR merges, I think we can try upgrade libadwaita to 1.0.0.alpha.3 (as it needs GTK 4.4) and try this again. The checkPhase of libadwaita probably needs some update, I guess a dbus session and maybe xdg-desktop-portal? I am not sure.

with --print-errorlogs:

# Adwaita-DEBUG: Settings portal not found: Cannot spawn a message bus without a machine-id: Unable to load /nix/store/1pj0qrswyq0iyfa4xzqwppnfxszvh868-glib-2.70.0/var/lib/dbus/machine-id or /etc/machine-id: Failed to open file ?/nix/store/1pj0qrswyq0iyfa4xzqwppnfxszvh868-glib-2.70.0/var/lib/dbus/machine-id?: No such file or directory

... and dbus-run-session:

# Adwaita-DEBUG: Portal not found: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files

@dotlambda
Copy link
Member

dotlambda commented Oct 10, 2021

After the GNOME 41 PR merges, I think we can try upgrade libadwaita to 1.0.0.alpha.3 (as it needs GTK 4.4) and try this again.

I already have a branch locally that updates libadwaita and is based on said PR. However, I haven't figured out the checkPhase either.

@dotlambda
Copy link
Member

Currently I use

HOME=$TEMPDIR xvfb-run \
  dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
  meson test

as the checkPhase. The problem I'm stuck with is

Bail out! Adwaita-FATAL-CRITICAL: Couldn't read the color-scheme setting: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface ?org.freedesktop.portal.Settings? on object at path /org/freedesktop/portal/desktop

If you have any idea how to solve it (Maybe we need to set some GSettings or dconf key?) please let me know.

@jtojnar
Copy link
Member

jtojnar commented Oct 10, 2021

I guess we could do something using makeDBusConf but probably not if it requires systemd service. Though thinking about it, the service files might be just for D-Bus activation and it might be possible to run the portal service manually under dbus-run-session. Or maybe we should add an option to skip integration tests at check time upstream and rely on installed tests.

@dotlambda
Copy link
Member

superseded by #141299

@dotlambda dotlambda closed this Oct 11, 2021
@r-ryantm r-ryantm deleted the auto-update/mousai branch October 12, 2021 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants