question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: dmenu-extended-git-r358.16bde81-2 won't build from the AUR

See original GitHub issue

Hello there 👋 😋

i’m not sure the PKGBUILD of the application on the AUR is maintained from here, but we’ll see 😉

The bug

i tried to update dmenu-extended from last version with paru -S dmenu-extended on ArchLinux and i get the following error:

==> Starting build()...
python: can't open file '/home/ants/.cache/paru/clone/dmenu-extended-git/src/dmenu-extended/setup.py': [Errno 2] No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dmenu-extended-git-r358.16bde81-2':
error: packages failed to build: dmenu-extended-git-r358.16bde81-2

A possible fix?

the previous PKGBUILD contains

build() {
  cd "$_pkgname"
  python setup.py build
}

package() {
  cd "$_pkgname"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

but the setup.py script does not exist anymore.

i’m not sure where it got replaced by setup.sh nor how to rewrite the PKGBUILD exactly but i think that might be the key 😏

anyways, cheers 👋 😋

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
MarkHedleyJonescommented, Aug 19, 2022

Fantastic, I’m glad that helped. I love your key takeaway reflection 😄

0reactions
amtoinecommented, Aug 18, 2022

Have you tried removing the /home/ants/.cache/paru/clone/dmenu-extended-git completely?

that was a great call 😮 fixed the issue 💪

the key takeaway is to not be affraid to clean the cache 🤩

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found