You are not logged in.

#26 2024-11-24 18:49:38

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Hello,

i had to remove the Solved thing from the post because somehow its not solved. When i run:

aur sync -c <packagename>

it runs into following error:

error: config file /etc/pacman.d/aur could not be read: No such file or directory

I checked the code which should be correct. Also the permissions are right and i dont have SElinux enabled. What could be the issue?
Here the code of /etc/pacman.d/aur

SigLevel = Optional TrustAll
Server = file:///var/cache/pacman/aur

[options]
CacheDir = /var/cache/pacman/pkg
CacheDir = /var/cache/pacman/aur
CleanMethod = KeepCurrent

Offline

#27 2024-11-24 19:24:23

loqs
Member
Registered: 2014-03-06
Posts: 18,091

Re: [Solved] Problem with switching to aurutils from yay

What is the output of `stat /etc/pacman.d/aur`?

Offline

#28 2024-11-24 19:54:24

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

❯ stat /etc/pacman.d/aur
  File: /etc/pacman.d/aur
  Size: 171       	Blocks: 8          IO Block: 4096   regular file
Device: 259,3	Inode: 28049572    Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-11-24 18:42:10.372883909 +0100
Modify: 2024-11-21 15:45:39.459968006 +0100
Change: 2024-11-24 18:41:52.024118100 +0100
 Birth: 2024-11-21 15:45:39.459968006 +0100

Offline

#29 2024-11-24 19:56:41

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

"stat /etc/pacman.d/" ?

Online

#30 2024-11-24 20:00:38

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

❯ stat /etc/pacman.d/
  File: /etc/pacman.d/
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 259,3	Inode: 28049410    Links: 3
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-11-24 13:26:11.755947386 +0100
Modify: 2024-11-21 15:45:39.460967977 +0100
Change: 2024-11-21 15:45:39.460967977 +0100
 Birth: 2024-06-11 21:58:38.419305073 +0200

Offline

#31 2024-11-24 20:49:28

loqs
Member
Registered: 2014-03-06
Posts: 18,091

Re: [Solved] Problem with switching to aurutils from yay

What does tracing with strace reveal?

strace -f -e %file,write aur sync -c <packagename>

Last edited by loqs (2024-11-24 21:02:54)

Offline

#32 2024-11-24 21:07:53

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

strace -f -e %file aur sync -c <packagename>

reveals

[pid 84437] openat(AT_FDCWD, "/etc/pacman.d/aur", O_RDONLY) = 4

which indicates that is is opened correctly, so i dont understand why it still fails. I would say its a code error in my aur file but i dont see it

Offline

#33 2024-11-25 08:56:34

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

Please post the complete output from "aur sync -c <packagename>" and the complete strace.

aur sync -c <packagename> 2>&1 | tee /tmp/aur_sync.log
strace -f -tt -o /tmp/aur_sync.strace aur sync -c <packagename>
cat /tmp/aur_sync.log | curl -F 'file=@-' 0x0.st
cat /tmp/aur_sync.strace | curl -F 'file=@-' 0x0.st

Online

#34 2024-11-25 16:32:03

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

aur sync -c java-20-jdk:

http://0x0.st/X5lG.txt

strace -f -tt -o /tmp/aur_sync.strace aur sync -c java-20-jdk

http://0x0.st/X5lD.txt

Last edited by Nima0908 (2024-11-25 16:35:40)

Offline

#35 2024-11-25 20:05:14

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

4199  17:35:03.390466 openat(AT_FDCWD, "/etc/pacman.d/mirrorlist", O_RDONLY) = 4
4199  17:35:03.390584 openat(AT_FDCWD, "/etc/pacman.d/mirrorlist", O_RDONLY) = 4
4199  17:35:03.390662 openat(AT_FDCWD, "/etc/pacman.d/mirrorlist", O_RDONLY) = 4
4199  17:35:03.390740 openat(AT_FDCWD, "/etc/pacman.d/aur", O_RDONLY) = 4
4244  17:35:03.990210 openat(AT_FDCWD, "/etc/pacman.d/aur", O_RDONLY <unfinished ...>
4249  17:35:03.990885 openat(AT_FDCWD, "/etc/pacman.d/aur", O_RDONLY <unfinished ...>

Missing newline? Stray CRLFs?

file /etc/pacman.d/aur
findmnt -T $(realpath /etc/pacman.d/aur) # edit, fixed bogus file path
cat /etc/pacman.d/aur | curl -F 'file=@-' 0x0.st

Last edited by seth (2024-11-26 08:41:46)

Online

#36 2024-11-25 20:13:22

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

This is the output:

http://0x0.st/X50n.txt

Offline

#37 2024-11-26 08:41:44

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

The file looks unsuspicious - what about the  other two commands?
Notably

findmnt -T $(realpath /etc/pacman.d/aur)

Online

#38 2024-11-26 14:16:53

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

❯ findmnt -T $(realpath /etc/pacman.d/aur)
TARGET SOURCE         FSTYPE OPTIONS
/      /dev/nvme0n1p3 ext4   rw,relatime

Offline

#39 2024-11-26 18:22:40

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

Unsuspicious.

Either the error is a red herring (can you sync packages that are not "already up to date"?) or  do you get any IO errors during this?  (check the system journal)

Edit: and as a sanity check, does "pacman-conf" yield the same error?

Last edited by seth (2024-11-26 18:24:09)

Online

#40 2024-11-26 19:07:37

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

I tried tried to sync a random package from the aur, same output:

❯ aur sync -c zls-nightly-bin 
==> Using [aur] repository
  -> zls-nightly-bin (none) -> 0.13.0_dev.64_bcd7784-2
==> Retrieving package files
Cloning into 'zls-nightly-bin'...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 0), reused 10 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (10/10), done.
f745b60 (Fixed build to now get latest nightly correctly, 2024-06-19)
[sudo] password for marius: 
error: config file /etc/pacman.d/aur could not be read: No such file or directory

pacman-conf shows that everything should be correct:

[aur]
Usage = All
SigLevel = PackageOptional
SigLevel = PackageTrustAll
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustAll
Server = file:///var/cache/pacman/aur

running

journal -xe

directly after doing

aur sync -c java-20-jdk

did show that arch-nspawn-32223.scope was succesfully started and stopped

Last edited by Nima0908 (2024-11-26 19:08:03)

Offline

#41 2024-11-26 19:54:08

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

So this error is after sudo?
Smells like

4328  17:35:06.963254 execve("/usr/sbin/sudo", ["sudo", "arch-nspawn", "-C", "/etc/aurutils/pacman-x86_64.conf", "-M", "/usr/share/devtools/makepkg.conf"..., "/var/lib/aurbuild/x86_64/root", "--bind=/var/cache/pacman/aur", "pacman", "-Syu", "--noconfirm"], 0x595732e6f3e0 /* 54 vars */) = 0

Skip the "-c", still an issue?

Online

#42 2024-11-26 20:51:42

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Not really. The download starts but somehow gets stuck.

Last edited by Nima0908 (2024-11-26 20:52:34)

Offline

#43 2024-11-26 20:57:13

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

You can't: https://man.archlinux.org/man/extra/dev … spawn.1.en

cat /etc/aurutils/pacman-x86_64.conf

Edit: gets stuck "how"? Apparently the nature of the problem has changed?

Last edited by seth (2024-11-26 20:57:54)

Online

#44 2024-11-26 21:02:22

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Sometimes it works, sometimes the install speed just dropps to 0 and stays there for no apparent reason. I checked my internet connection and it is very stable.
Results of

cat /etc/aurutils/pacman-x86_64.conf

:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
[aur]
Include = /etc/pacman.d/aur

Offline

#45 2024-11-26 21:22:11

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

sometimes the install speed just dropps to 0

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What "install speed"?

Assuming arch-nspawn cannot deal w/ random includes (since the mirrorlist works) the bug is either there (if this is in scope) or aurutils would have to flatten the config into /etc/aurutils/pacman-x86_64.conf (ie run "pacman-conf" into it)

Online

#46 2024-12-01 20:55:08

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Sorry for the late answer, i had quite a lot of things to do.

The problem with the install speed dropping to zero fixed itself after rebooting.
Sometimes i have problem with aur utils not finding dependencies on my pc even though they are installed (like make and pkgbuild) but i think i can fix them myself, so i will mark the post as solved for now.

Offline

#47 2024-12-01 21:05:59

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

Ok, quick update. I changed it back to not resolved because i still have issues. Using

aur sync anki

should normally build the package as far as ive read. But when using it it says it installs it, but

sudo pacman -Q anki

doesnt show its installed and also using the command

anki

it doesnt start. Do you have any idea why this could be or what i did wrong again?

Offline

#48 2024-12-01 21:35:33

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

What was/is the actual output of "aur sync anki"?

Online

#49 2024-12-01 21:52:10

Nima0908
Member
Registered: 2024-06-06
Posts: 33

Re: [Solved] Problem with switching to aurutils from yay

This is the output of aur sync --rebuild anki:

❯ aur sync --rebuild anki
==> Using [aur] repository
==> Retrieving package files
fetch: anki: already up to date
==> Making package: anki 24.11-1 (Sun 01 Dec 2024 09:58:09 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-24.11.tar.gz
  -> Found anki-core-i18n-e1545f7f0ddeb617eeb1ca86e82862e552843578.tar.gz
  -> Found anki-desktop-ftl-e0f9724f75f6248f4e74558b25c3182d4f348bce.tar.gz
  -> Found no-update.patch
  -> Found strip-formatter-deps.patch
  -> Found strip-type-checking-deps.patch
  -> Found strip-python-pip-system-certs.patch
==> Validating source files with sha256sums...
    anki-24.11.tar.gz ... Passed
    anki-core-i18n-e1545f7f0ddeb617eeb1ca86e82862e552843578.tar.gz ... Passed
    anki-desktop-ftl-e0f9724f75f6248f4e74558b25c3182d4f348bce.tar.gz ... Passed
    no-update.patch ... Passed
    strip-formatter-deps.patch ... Passed
    strip-type-checking-deps.patch ... Passed
    strip-python-pip-system-certs.patch ... Passed
==> Extracting sources...
  -> Extracting anki-24.11.tar.gz with bsdtar
  -> Extracting anki-core-i18n-e1545f7f0ddeb617eeb1ca86e82862e552843578.tar.gz with bsdtar
  -> Extracting anki-desktop-ftl-e0f9724f75f6248f4e74558b25c3182d4f348bce.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file pylib/tools/hookslib.py
Hunk #1 succeeded at 209 (offset 1 line).
patching file build/configure/src/python.rs
Hunk #1 succeeded at 90 (offset 3 lines).
Hunk #2 succeeded at 108 with fuzz 1 (offset 3 lines).
patching file qt/aqt/__init__.py
Hunk #1 succeeded at 8 with fuzz 2 (offset 2 lines).
yarn install v1.22.22
[1/4] Resolving packages...
warning Resolution field "cookie@0.7.0" is incompatible with requested version "cookie@^0.6.0"
success Already up-to-date.
Done in 0.27s.
==> Removing existing $pkgdir/ directory...
==> Starting build()...
    Finished `release` profile [optimized] target(s) in 0.15s
[1/2; 1 active; 0.349s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run cargo build   --locked -p configure
   Compiling configure v0.0.0 (/home/marius/.cache/aurutils/sync/anki/src/anki-24.11/build/configure)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[2/2; 1 active; 0.391s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/debug/configure
[1/36; 4 active; 0.397s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run echo 'OFFLINE_BUILD is set. Using the existing PythonEnvironment.'
OFFLINE_BUILD is set. Using the existing PythonEnvironment.
[2/22; 6 active; 0.415s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pyenv/bin/python pylib/tools/genbuildinfo.py .version /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/buildhash /home/marius/.cache/aurut
ils/sync/anki/src/anki-24.11/out/pylib/anki/buildinfo.py
[3/22; 5 active; 0.435s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /usr/bin/protoc --python_out=/home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pylib -Iproto proto/anki/ankidroid.proto proto/anki/ankihub.proto proto/anki/ankiweb.proto proto/anki/backend.proto proto/anki/card_rendering.proto proto/anki/cards.proto proto/anki/collection.proto proto/anki/config.proto proto/anki/deck_config.proto proto/anki/decks.proto proto/anki/frontend.proto proto/anki/generic.proto proto/anki/i18n.proto proto/anki/image_occlusion.proto proto/anki/import_export.proto proto/anki/links.proto proto/anki/media.proto proto/anki/notes.proto proto/anki/notetypes.proto proto/anki/scheduler.proto proto/anki/search.proto proto/anki/stats.proto proto/anki/sync.proto proto/anki/tags.proto
anki/cards.proto:10:1: warning: Import anki/generic.proto is unused.
[4/22; 4 active; 0.438s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pyenv/bin/python pylib/tools/genhooks.py /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pylib/anki/hooks_gen.py
[5/22; 3 active; 0.451s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pyenv/bin/python qt/tools/genhooks_gui.py /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/qt/_aqt/hooks.py
[6/22; 2 active; 0.601s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run cargo build --profile release-lto  --locked -p anki_proto
    Blocking waiting for file lock on package cache
    Finished `release-lto` profile [optimized] target(s) in 0.19s
[7/22; 1 active; 0.646s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run cargo build --profile release-lto  --locked -p anki_i18n
    Blocking waiting for file lock on package cache
    Finished `release-lto` profile [optimized] target(s) in 0.23s
[8/13; 2 active; 1.316s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pyenv/bin/python python/write_wheel.py qt/aqt /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/qt/_aqt /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/wheels/aqt-24.11-py3-none-any.whl
[9/13; 1 active; 227.375s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run cargo build --profile release-lto  --locked -p rsbridge --features rustls
   Compiling anki v0.0.0 (/home/marius/.cache/aurutils/sync/anki/src/anki-24.11/rslib)
warning: elided lifetime has a name
  --> rslib/src/card_rendering/parser.rs:88:33
   |
86 | fn trailing_whitespace0<'parser, 's, P, O>(parser: P) -> impl FnMut(&'s str) -> IResult<O>
   |                                  -- lifetime `'s` declared here
87 | where
88 |     P: FnMut(&'s str) -> IResult<O> + 'parser,
   |                                 ^ this elided lifetime gets resolved as `'s`
   |
   = note: `#[warn(elided_named_lifetimes)]` on by default

warning: elided lifetime has a name
  --> rslib/src/card_rendering/parser.rs:86:88
   |
86 | fn trailing_whitespace0<'parser, 's, P, O>(parser: P) -> impl FnMut(&'s str) -> IResult<O>
   |                                  -- lifetime `'s` declared here                        ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
  --> rslib/src/card_rendering/parser.rs:96:36
   |
94 | fn is_not0<'parser, 'arr: 'parser, 's: 'parser>(
   |                                    -- lifetime `'s` declared here
95 |     arr: &'arr str,
96 | ) -> impl FnMut(&'s str) -> IResult<&'s str> + 'parser {
   |                                    ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:123:40
    |
121 |     fn opening_parser<'name, 's: 'name>(
    |                              -- lifetime `'s` declared here
122 |         name: &'name str,
123 |     ) -> impl FnMut(&'s str) -> IResult<Vec<(&str, &str)>> + 'name {
    |                                        ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:123:46
    |
121 |     fn opening_parser<'name, 's: 'name>(
    |                              -- lifetime `'s` declared here
122 |         name: &'name str,
123 |     ) -> impl FnMut(&'s str) -> IResult<Vec<(&str, &str)>> + 'name {
    |                                              ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:123:52
    |
121 |     fn opening_parser<'name, 's: 'name>(
    |                              -- lifetime `'s` declared here
122 |         name: &'name str,
123 |     ) -> impl FnMut(&'s str) -> IResult<Vec<(&str, &str)>> + 'name {
    |                                                    ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:151:40
    |
149 |     fn closing_parser<'parser, 'name: 'parser, 's: 'parser>(
    |                                                -- lifetime `'s` declared here
150 |         name: &'name str,
151 |     ) -> impl FnMut(&'s str) -> IResult<()> + 'parser {
    |                                        ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:159:40
    |
157 |     fn content_parser<'parser, 'name: 'parser, 's: 'parser>(
    |                                                -- lifetime `'s` declared here
158 |         name: &'name str,
159 |     ) -> impl FnMut(&'s str) -> IResult<&str> + 'parser {
    |                                        ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
   --> rslib/src/card_rendering/parser.rs:159:41
    |
157 |     fn content_parser<'parser, 'name: 'parser, 's: 'parser>(
    |                                                -- lifetime `'s` declared here
158 |         name: &'name str,
159 |     ) -> impl FnMut(&'s str) -> IResult<&str> + 'parser {
    |                                         ^ this elided lifetime gets resolved as `'s`

warning: elided lifetime has a name
  --> rslib/src/template.rs:69:76
   |
69 | fn tokens<'a>(template: &'a str) -> Box<dyn Iterator<Item = TemplateResult<Token>> + 'a> {
   |           -- lifetime `'a` declared here                                   ^^^^^ this elided lifetime gets resolved as `'a`

warning: `anki` (lib) generated 10 warnings
   Compiling rsbridge v0.0.0 (/home/marius/.cache/aurutils/sync/anki/src/anki-24.11/pylib/rsbridge)
    Finished `release-lto` profile [optimized] target(s) in 3m 46s
[10/13; 1 active; 227.378s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run ln -sf /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release-lto/librsbridge.so /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pylib/anki/_rsbridge.so
[11/13; 1 active; 228.811s] /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/rust/release/runner run /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pyenv/bin/python python/write_wheel.py pylib/anki /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/pylib/anki /home/marius/.cache/aurutils/sync/anki/src/anki-24.11/out/wheels/anki-24.11-cp39-abi3-manylinux_2_28_x86_64.whl

Build succeeded in 228.81s.
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
objcopy: ./usr/lib/python3.12/site-packages/anki/_rsbridge.so: debuglink section already exists
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "anki"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding changelog file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "anki-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: anki 24.11-1 (Sun 01 Dec 2024 10:02:08 PM CET)
==> Extracting aur.db.tar to a temporary location...
==> Extracting aur.files.tar to a temporary location...
==> Adding package 'anki-24.11-1-x86_64.pkg.tar.zst'
==> WARNING: An entry for 'anki-24.11-1' already existed
  -> Computing checksums...
  -> Removing existing entry 'anki-24.11-1'...
  -> Creating 'desc' db entry...
  -> Creating 'files' db entry...
==> Adding package 'anki-debug-24.11-1-x86_64.pkg.tar.zst'
==> WARNING: An entry for 'anki-debug-24.11-1' already existed
  -> Computing checksums...
  -> Removing existing entry 'anki-debug-24.11-1'...
  -> Creating 'desc' db entry...
  -> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/aur/aur.db.tar'
aur.db (71680/71680) 100%
aur.files (665600/665600) 100%
(1/1) aur.files.sig (0)

This isnt what you asked for but i hope it still helps as i cant find the original install anymore and if i do aur sync anki now i just get the output:

❯ aur sync anki
==> Using [aur] repository
sync--filter: targets removed: anki
sync: there is nothing to do

Offline

#50 2024-12-01 21:57:09

seth
Member
Registered: 2012-09-03
Posts: 59,183

Re: [Solved] Problem with switching to aurutils from yay

So you've built the package.

pacman -Syu anki

doesn't work?

Online

Board footer

Powered by FluxBB