You are not logged in.

#601 2017-01-06 16:21:42

quite
Member
Registered: 2013-02-15
Posts: 24

Re: pacaur - an AUR helper that minimizes user interaction

Eschwartz: I cannot see why it would be silly to reinstall an AUR devel-package—i.e. a package that builds from a repository tip, without tags or other means of locking to a specific revision—if that upstream repository tip has indeed changed. But, as I said, I was not sure about how the `--devel` argument worked.

That said, I have not read the source code of pacaur, but Spyhawk, the author right, stated that yes, pacaur should care about commits to the *upstream* repository of the devel package. I guess that would mean running the pkgver() function of the PKGBUILD file, and so on.

Still, rereading #559, is it not possible that something might not be working as it should? Or am I perhaps unable to make myself clear?

To rephrase; what command do I need execute to make pacaur check if some devel package needs to be rebuilt, because upstream has new commits that would result in a new package version?

Last edited by quite (2017-01-06 16:22:36)

Offline

#602 2017-01-06 16:39:30

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: pacaur - an AUR helper that minimizes user interaction

I'm not really sure what you think it is that I said.
I am pretty sure what I actually said though, is that it would be silly for AUR helpers to automatically assume any package named *-git is out of date, simply because there might be new upstream commits. That is why there is a special --devel flag which allows you to declare "I want to assume all *-git packages are out of date, and try rebuilding them to see if there are new upstream commits".

I am not sure what is so complicated about that.

pacaur -Syua does not check *-git packages. Checking *-git packages would be silly. Instead it checks packages, treating *-git packages as just plain old packages. Plain old packages are considered to be updated if their AUR page says they are updated.
pacaur -Syua --devel does a pacaur -Syua, and additionally checks all --devel (*-git) packages, whether they are updated or not. Super-magical --devel (*-git) packages are considered updated when you retrieve their build files, clone their sources, run makepkg, and check if anything happened, which is quite often a tremendous waste of everyone's time, CPU, RAM, and shell output.

Perhaps your confusion is because you don't seem to understand the difference between an AUR package being updated (in the AUR) and upstream software sources being updated (via new commits)?

Last edited by eschwartz (2017-01-06 16:45:02)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#603 2017-01-06 17:03:32

quite
Member
Registered: 2013-02-15
Posts: 24

Re: pacaur - an AUR helper that minimizes user interaction

No, I understand the difference, and that there are two repositories, one being the upstream. Well, all this now boils down to
`pacaur --devel -a -Syu`. When run repeatedly, I rebuilds all my devel packages every time and installs them (pacman saying "is up to date -- reinstalling" clearly). I've understood it that it should not.

Offline

#604 2017-01-06 17:33:52

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: pacaur - an AUR helper that minimizes user interaction

That doesn't make sense, as if I read the code correctly, pacaur runs `makepkg -od --noprepare --skipinteg` on all packages and then filters out the --devel packages that don't have an updated version.

(Spyhawk: This is wrong, by the way. makepkg explicitly runs prepare() before pkgver() thereby allowing prepare() to update the pkgver, which, granted, may not happen often in practice if at all.)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#605 2017-01-06 20:43:41

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

@quite> From the above I guess you haven't read the man page. You should do that, ideally before asking questions.

@Eschwartz> Correct. But I guess the correct way nowadays is to use pkgver(), which however doesn't handle cvs and darcs packages... In practice, so rare enough that I haven't seen a single report about it yet.

Offline

#606 2017-01-06 21:56:12

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: pacaur - an AUR helper that minimizes user interaction

Well, you could use git cherry-pick $somethingonanotherbranch or git revert $badcommit -- although I would actually consider it a bad practice and instead opted (in qbittorrent-git) for git revert --no-commit ...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#607 2017-01-07 12:48:23

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

I see. I've adjusted the code now, thx for your feedback!

Offline

#608 2017-01-27 14:57:14

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: pacaur - an AUR helper that minimizes user interaction

I'm getting this lately when doing 'pacaur -Syu':

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
:: resolving dependencies...
:: no results found for perl<

How can i debug/analyze/remove that last 'perl<' message?

Last edited by Maniaxx (2017-01-27 14:57:57)


sys2064

Offline

#609 2017-01-27 16:04:34

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Several perl packages have erroneous AUR metadata (f.e. perl-goo-canvas, perl-gtk2-imageview, gnome-perl, ..) . It seems some depends auto generation went wrong for some reason, and as a result their .SRCINFO file have incorrect entries.

Edit: latest pacaur-git is not actually concerned by that .SRCINFO issue.

Last edited by Spyhawk (2017-01-27 18:13:41)

Offline

#610 2017-01-27 16:26:34

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: pacaur - an AUR helper that minimizes user interaction

You're right. Looks like it found the packages/repos and fixed itself. Thanks!

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (3)        Old Version  New Version

aur/goocanvas1           1.0.0-3      1.0.0-4                   
aur/perl-goo-canvas      0.06-7       0.06-8                    
aur/perl-gtk2-imageview  0.05-7       0.05-8                    

Repo Packages (2)        Old Version  New Version  Download Size

extra/perl-test-pod                   1.51-1            0.01 MiB
extra/xorg-server-xvfb                1.19.1-1          0.71 MiB

Repo Download Size:   0.72 MiB
Repo Installed Size:  1.89 MiB

:: Proceed with installation? [Y/n]
[...]
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
 there is nothing to do

sys2064

Offline

#611 2017-02-03 14:09:23

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

After a few months and more than a hundred of commits, pacaur 4.7.0 has been released today.

Major changes include:
* support for AURDEST directory cleaning with -Sca
* use of topological sorting for a faster dependency solver
* replacement of -Qur and -Qua by -Qun and -Qum for consistency
* more useful error message in case of dependency tree errors
* lot of minor bug fixes

See the complete changelog for a detailed overview.

Offline

#612 2017-02-06 21:27:06

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk wrote:

... -Qum ...

( ͡° ͜ʖ ͡°)

Question: Is there a place or plan to internationalization/translation... Is really inconsistent see "transated mesage by pacman" "english in pacaur" combinations sometimes.


Well, I suppose that this is somekind of signature, no?

Offline

#613 2017-02-06 23:31:10

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

See first post.

Offline

#614 2017-02-13 20:04:33

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: pacaur - an AUR helper that minimizes user interaction

When typing 'pacaur -Rh' no help appears. Is it intended? I constantly trap into that...


sys2064

Offline

#615 2017-02-14 17:05:05

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Maniaxx wrote:

When typing 'pacaur -Rh' no help appears. Is it intended? I constantly trap into that...

$ pacaur -Rh
:: no targets specified (use -h for help)

Was indeed a bug, fixed in master. Thx!

Offline

#616 2017-03-01 19:06:09

vishwin
Member
From: /dev/us/by-state/pa
Registered: 2013-07-12
Posts: 11

Re: pacaur - an AUR helper that minimizes user interaction

It seems that when I'm installing/updating the linux-ck package at least, pacaur almost completely skips prepare(). This is when patches are applied, make nconfig runs when the variable is set near the beginning of PKGBUILD, for example. What gives? (Using pacaur 4.7.4, for reference)

:: Retrieving package(s)...
Cloning into 'linux-ck'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 1), reused 1 (delta 0)
Unpacking objects: 100% (9/9), done.
:: View linux-ck PKGBUILD? [Y/n]

:: linux-ck PKGBUILD viewed
:: View linux.install script? [Y/n] n
:: Checking linux-ck-headers,linux-ck integrity...
==> Making package: linux-ck 4.10.1-1 (Wed  1 Mar 13:56:02 EST 2017)
==> Retrieving sources...
  -> Found linux-4.10.tar.xz
  -> Found linux-4.10.tar.sign
  -> Found patch-4.10.1.xz
  -> Found patch-4.10.1.sign
  -> Found patch-4.10-ck1.xz
  -> Found enable_additional_cpu_optimizations_for_gcc_v4.9+_kernel_v3.15+.patch.gz
  -> Found config.i686
  -> Found config.x86_64
  -> Found 99-linux.hook
  -> Found linux.preset
==> Validating source files with sha256sums...
    linux-4.10.tar.xz ... Passed
    linux-4.10.tar.sign ... Skipped
    patch-4.10.1.xz ... Passed
    patch-4.10.1.sign ... Skipped
    patch-4.10-ck1.xz ... Passed
    enable_additional_cpu_optimizations_for_gcc_v4.9+_kernel_v3.15+.patch.gz ... Passed
    config.i686 ... Passed
    config.x86_64 ... Passed
    99-linux.hook ... Passed
    linux.preset ... Passed
==> Verifying source file signatures with gpg...
    linux-4.10.tar ... Passed
    patch-4.10.1 ... Passed
:: Building linux-ck-headers,linux-ck package(s)...
==> Making package: linux-ck 4.10.1-1 (Wed  1 Mar 13:56:35 EST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...

The using existing $srcdir/ tree is what tips this off.


ThinkPad W550s: Intel Core i7-5500U | 8 GB DDR3L RAM | Nvidia Quadro K620M 2 GB DDR3 VRAM | 128 GB SSD | 1 TB WD Blue HDD
Retired: Lenovo IdeaPad Y580

Offline

#617 2017-03-02 00:28:28

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

makpekg -o && makepkg -e. No issue here.

Offline

#618 2017-03-02 01:17:29

vishwin
Member
From: /dev/us/by-state/pa
Registered: 2013-07-12
Posts: 11

Re: pacaur - an AUR helper that minimizes user interaction

Invoking makepkg -o by itself works properly. pacaur seems to only do the extraction and maybe patching bit silently, ignoring the rest of prepare() like running nconfig in the above example. Same output.


ThinkPad W550s: Intel Core i7-5500U | 8 GB DDR3L RAM | Nvidia Quadro K620M 2 GB DDR3 VRAM | 128 GB SSD | 1 TB WD Blue HDD
Retired: Lenovo IdeaPad Y580

Offline

#619 2017-03-02 03:35:18

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk, sorry but is this a bug?

pc:~/Data/src/libinput-gestures pacaur -Ss ckb-next-git
aur/ckb-next-git v0.2.7.beta.b729569-2 (2, 1.75)
    Corsair Keyboard and Mouse Input Driver

pc:~/Data/src/libinput-gestures pacaur -Sa ckb-next-git
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (1) ckb-next-git-latest  

:: Proceed with installation? [Y/n] n

They are 2 different packages but I want to install the first one. Using version 4.7.4-1. My system is fully up to date.

Last edited by bulletmark (2017-03-02 03:36:32)

Offline

#620 2017-03-02 10:08:58

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

@bulletmark: Same package. For VCS packages, the version string is replaced by "latest" because you'll indeed install the latest version from the git/hg/svn repo, not necessarily the "v0.2.7.beta.b729569" version.

@vishwin: Interactive PKGBUILDs have never been supported and never will be. Please use cower or another tool that gives move manual control.

Last edited by Spyhawk (2017-03-02 10:11:56)

Offline

#621 2017-03-02 10:59:42

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk wrote:

@bulletmark: Same package. For VCS packages, the version string is replaced by "latest" because you'll indeed install the latest version from the git/hg/svn repo, not necessarily the "v0.2.7.beta.b729569" version.

I don't think that is correct. I made them by hand and one builds ckb-next-git-v0.2.4.r158.gb59d179-1-x86_64.pkg.tgz, the other builds ckb-next-latest-git-v0.2.4.r189.g8627b7e-1-x86_64.pkg.tgz, i.e. different package names and versions. According to the source github page ckb-next-git AUR package is based on stable master branch, and ckb-next-latest-git is unstable testing branch. Yaourt installs each package correctly.

Offline

#622 2017-03-02 11:58:49

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

ckb-next-git-latest is the latest version provided by ckb-next-git. This is not ckb-next-latest-git. Turn on the VerbosePkgLists pacman option if you want to understand clearly what's going on here.

Offline

#623 2017-03-10 13:19:35

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: pacaur - an AUR helper that minimizes user interaction

Spyhawk,
When i issue "pacaur -Qua --devel", it shows all aur updates plus the devel packages i have installed(OK), but when i issue "pacaur -Qua --devel --needed", it only shows the devel packages with upstream changes(OK) but not the updates for the other normal aur packages, and it thows an error 'invalid option ''--needed"' twice.
I thought it would show all aur updates plus the devel packages with upstream changes. Is this a bug?

Offline

#624 2017-03-11 12:04:28

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Sounds like a bug, I'll have a look shortly. Thanks for reporting!

Offline

#625 2017-03-12 19:21:05

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

@leosanvieira> Should now be fixed in master. Note that from 4.7.0, -Qua/-Qur have been replaced by -Qum/-Qun to be in line with pacman, and also because it's indeed more correct this way.

Offline

Board footer

Powered by FluxBB