Giter VIP home page Giter VIP logo

Comments (14)

actionless avatar actionless commented on May 28, 2024

i fixed that particular problem yesterday already, but build for pacaur-git still not succeeds.
so for me it now looks like that:
https://paste.ee/p/C4iib

from pikaur.

actionless avatar actionless commented on May 28, 2024

i did more changes, now pacaur-git is building successfully

thanks for reporting, feel free to reopen if it still errors

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

I'm afraid the issue is still present in version 0.3+17+gbb6f0d5-1:

$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...

New packages will be installed from AUR:
    pacaur-git

:: Proceed with installation? [Y/n] y
Do you want to edit PKGBUILD for pacaur-git package? [Y/n] n
:: Installing repository dependencies for pacaur-git:
error: target not found: cower
Can't build 'pacaur-git'.
Failed to build following packages:
pacaur-git
$ pacman -Qs cower
local/cower-git 17.5.g59ecf02-1
    A simple AUR agent with a pretentious name

from pikaur.

actionless avatar actionless commented on May 28, 2024

fixed that as well, please try again

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

Better, but still problematic (version: 0.3+18+g43b80c4-1):

$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...

New packages will be installed from AUR:
    pacaur-git

:: Proceed with installation? [Y/n] y
Do you want to edit PKGBUILD for pacaur-git package? [Y/n] n
==> Making package: pacaur-git 4.7.10-1 (Thu  8 Feb 15:45:55 CET 2018)
...
==> Finished making: pacaur-git 4.7.10.47.ga0f232d-1 (Thu  8 Feb 15:45:58 CET 2018)
Traceback (most recent call last):
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur.py", line 18, in <module>
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 503, in main
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 225, in cli_install_packages
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/build.py", line 303, in build
IndexError: list index out of range

from pikaur.

actionless avatar actionless commented on May 28, 2024

what is the full filename of the built package?

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

Not on my linux machine right now, but if that helps:

  • I've defined PKGDEST in makepkg.conf
  • I'm using pacman-git, which doesn't create symlinks in the build directory anymore when PKGDEST is defined.

from pikaur.

actionless avatar actionless commented on May 28, 2024

thanks, i'll try to address that tonight, shouldn't be too tricky

from pikaur.

actionless avatar actionless commented on May 28, 2024

i've implemented the planned, hope now it should work finally

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

No, another error (0.3+24+g7e8575e-1):

$ pikaur -S pacaur-git
resolving dependencies...
Reading repository package databases...
Reading local package database...

New packages will be installed from AUR:
    pacaur-git

:: Proceed with installation? [Y/n] y
Traceback (most recent call last):
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur.py", line 18, in <module>
    main()
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 503, in main
    cli_install_packages(args)
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/main.py", line 149, in cli_install_packages
    conflict_result = check_conflicts(repo_packages_names, aur_packages_names)
  File "/tmp/makepkg/pikaur-git/src/pikaur-git/pikaur/meta_package.py", line 214, in check_conflicts
    for installed_pkg_name, provides in local_provided.items():
AttributeError: 'list' object has no attribute 'items'

from pikaur.

actionless avatar actionless commented on May 28, 2024

i did few more fixes :-)

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

Yep, this time it is fixed!

A quick note since you're relaying on makepkg --packagelist: You can't really rely on simply adding PKGEXT since this can be and is sometimes overriden. There is however a patch in queue for pacman 5.1 (not in master branch yet) that should provide a robuster way to handle file path for pacman -U.

from pikaur.

actionless avatar actionless commented on May 28, 2024

i've also added more code to handle such cases, what do you think about it?
https://github.com/actionless/pikaur/blob/master/pikaur/build.py#L327-L336

from pikaur.

rmarquis avatar rmarquis commented on May 28, 2024

You mean to handle the architecture? I don't really have an opinion on this, since only 64bit is officially supported on Arch now.

from pikaur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.