You are not logged in.

#1 2017-02-27 11:52:03

christooss
Member
Registered: 2008-08-18
Posts: 71

[SOLVED] Pacaur -Syu gives me - no results found for perl< error

:: Starting AUR upgrade...
:: art-sharp is not present in AUR -- skipping
:: gconf-sharp-peditors is not present in AUR -- skipping
:: gnome-sharp is not present in AUR -- skipping
:: gnome-vfs-sharp is not present in AUR -- skipping
:: js17 is not present in AUR -- skipping
:: lib32-js17 is not present in AUR -- skipping
:: lib32-libnm-glib46 is not present in AUR -- skipping
:: libgnome-sharp is not present in AUR -- skipping
:: numix-themes is not present in AUR -- skipping
:: resolving dependencies...
:: no results found for perl< (dependency tree: gstreamer0.10-good perl)

And this is the similar error that this guy gets with other packages: Perl Gtk2 Unique AUR

Any ideas how to even debug this?

I got different dependecy tree packages before (gstreamer0.10-bad etc) and when I removed them dependency tree changed. As it should if problem is not at dependecy tree packages, but not if it is.

EDIT: This issue is solved. Solved by manually installing aur packages with makepkg. They were gstreamer good and bad, qtwebkit
perl-gnome2-wnck and perl-gtk2-unique.

Last edited by christooss (2017-02-27 14:20:53)

Offline

#2 2017-02-27 12:04:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

The problem is an odd, and apparently fragile construction of versioned dependencies with variables extracted from the package files without checking that said extraction was successful.  Before adding a dependency "perl<$_perl_max_version" one should check that the variable is actually set, otherwise you get a dependency on 'perl<' which doesn't exist.

Whether this is an issue with the package or with pacaur is not clear.  Use makepkg instead and see if it works.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-02-27 12:06:10

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

No idea about the perl dep issue, but you have several obsolete packages.

I suggest you run pacman -Qm & pacman -Qdt  to check which should be removed before starting to troubleshoot the perl issue.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2017-02-27 13:22:49

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

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

Looks like you're running an older version of pacaur. While the issue is a weakness in the PKGBUILD itself, this shouldn't happen anymore with recent pacaur release (4.7.x).

Offline

#5 2017-02-27 13:52:27

christooss
Member
Registered: 2008-08-18
Posts: 71

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

Spyhawk: I have pacaur 4.7.4 installed and tried same with yaourt.

Thanks Lone_Wolf for pointing out to the solution of missing packages.

Offline

#6 2017-02-27 14:21:05

christooss
Member
Registered: 2008-08-18
Posts: 71

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

This issue is solved. Solved by manually installing aur packages with makepkg. They were gstreamer good and bad, qtwebkit
perl-gnome2-wnck and perl-gtk2-unique.

Offline

#7 2017-03-02 04:49:19

crotok
Member
Registered: 2017-03-02
Posts: 2

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

I've just fix perl weird dependencies in both perl-gnome2-wnck and perl-gtk2-unique packages by editing .SRCINFO by hands. You can know install it using pacaur.

I don't know why but the makepkg --printsrcinfo add dependencies for perl that can't be resolved:

$ makepkg --printsrcinfo > .SRCINFO 
$ git diff
diff --git a/.SRCINFO b/.SRCINFO
index d960def..eae0834 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,3 +20,6 @@ pkgname = perl-gnome2-wnck
        depends = perl
        depends = gtk2-perl
        depends = libwnck
+       depends = perl>=
+       depends = perl<

And here's the pkgbuild dependencies:

depends=('perl' 'gtk2-perl' 'libwnck')

Any ideas?

Last edited by crotok (2017-03-02 04:50:33)

Offline

#8 2017-03-02 08:01:14

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

In package():

if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi

Offline

#9 2017-03-09 12:27:56

crotok
Member
Registered: 2017-03-02
Posts: 2

Re: [SOLVED] Pacaur -Syu gives me - no results found for perl< error

It was so obvious I didn't saw this after taken back the ownership of those packages.
Thanks @apg !

Offline

Board footer

Powered by FluxBB