Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ufed error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Mon Oct 27, 2014 4:35 am    Post subject: ufed error Reply with quote

For some strange reason I get this error when I run ufed.

Code:
ufed
ERROR: insufficient parameters!


It starts, but I think this might be a bug in the program or something of that nature.

Thanks for the help.
Back to top
View user's profile Send private message
gseba
n00b
n00b


Joined: 02 Aug 2003
Posts: 52
Location: Romania

PostPosted: Mon Oct 27, 2014 11:48 am    Post subject: Re: ufed error Reply with quote

jonfr wrote:
For some strange reason I get this error when I run ufed.

Code:
ufed
ERROR: insufficient parameters!


What version is ufed?
You should run /usr/sbin/ufed as normal user and get the:
Code:
WARNING: ufed will run in read-only-mode!

or you risk overwriting USE flags by chance.

edited: /usr/sbin/ufed


Last edited by gseba on Wed Oct 29, 2014 2:47 pm; edited 2 times in total
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Mon Oct 27, 2014 12:10 pm    Post subject: Reply with quote

I got the latest version installed.

Code:
app-portage/ufed
      Latest version available: 0.91
      Latest version installed: 0.91
      Size of files: 60 kB
      Homepage:      http://www.gentoo.org/
      Description:   Gentoo Linux USE flags editor
      License:       GPL-2


re-installing this version does not change anything.
Back to top
View user's profile Send private message
gseba
n00b
n00b


Joined: 02 Aug 2003
Posts: 52
Location: Romania

PostPosted: Mon Oct 27, 2014 12:23 pm    Post subject: Reply with quote

jonfr wrote:
re-installing this version does not change anything.

Is it all ok with dev-lang/perl-5.20, do you have app-admin/perl-cleaner?
At line #22 in /usr/share/ufed/Portage.pm try set DEBUG => 1 and run
Code:
ufed 2> debug.txt

Can you look there, where/how does it stop?
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Mon Oct 27, 2014 2:44 pm    Post subject: Reply with quote

Why would this be a perl problem?

I got this version installed.

Code:
[ebuild   R    ] dev-lang/perl-5.18.2-r2:0/5.18  USE="berkdb gdbm -debug -doc -ithreads" 0 kB
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1407
Location: Bardowick, Germany

PostPosted: Tue Oct 28, 2014 11:34 am    Post subject: Reply with quote

That is really strange. I currently try to reproduce it.

As a user, I get:
Code:
 ~ $ /usr/sbin/ufed
WARNING: /etc/portage/make.conf not writable by uid/gid 1000/1000
WARNING: ufed will run in read-only-mode!
And as root I get:
Code:
 ~ $ sudo ufed
Passwort:
Cancelled, not saving changes.

This is how it should be on your system, too...

Please note: It must be /usr/sbin/ufed! If you have an "ufed" in /usr/bin/, you could try to find out where it comes from using "equery b /usr/bin/ufed".
Edit: My perl version installed:
Code:
Installed versions:  5.18.2-r2(12:04:23 27.10.2014)(berkdb doc gdbm ithreads -debug)

_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Tue Oct 28, 2014 2:01 pm    Post subject: Reply with quote

It is in the correct location. I don't change paths in ebuilds.
This is a bug in version 0.91, since I downgraded back to version 0.40.2 and this error does not happen when I run it. Then it behaves normally.
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1407
Location: Bardowick, Germany

PostPosted: Tue Oct 28, 2014 2:40 pm    Post subject: Reply with quote

jonfr wrote:
It is in the correct location. I don't change paths in ebuilds.
This is a bug in version 0.91, since I downgraded back to version 0.40.2 and this error does not happen when I run it. Then it behaves normally.
I can not find any reference to "ERROR: insufficient parameters!". Both the 0.91 and the live version work fine here and we have the same perl version.

So I would really like to find out what is causing that.

Just a question, do you have "app-portage/eix" installed? Because if that is missing, there might be a problem with my detection code.
_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Tue Oct 28, 2014 3:21 pm    Post subject: Reply with quote

No. I don't have it installed.

Code:
emerge eix -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-shells/push-1.6  2 kB
[ebuild  N     ] app-portage/eix-0.29.3  USE="dep nls sqlite (-clang) -debug -doc -optimization -security -strong-optimization -strong-security -swap-remote -tools -zsh-completion" LINGUAS="-de -ru" 537 kB
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1407
Location: Bardowick, Germany

PostPosted: Tue Oct 28, 2014 4:29 pm    Post subject: Reply with quote

Ok, my detection code is broken.

I have added a new bug #527252 as a reminder to myself.

As there is an additional issue with the current eix-0.91, I hope to get a fixed version 0.92 out next week.
_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 923
Location: Denmark

PostPosted: Tue Oct 28, 2014 5:15 pm    Post subject: Reply with quote

Good to know. I will update to the new version when it is ready. :)

Note on the bug report. Ufed did run, it just took a while to do so (up to 10 - 20 seconds), but the error appeared when I started the program.

Thanks for the help.
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2761
Location: The Peanut Gallery

PostPosted: Wed Oct 29, 2014 8:04 am    Post subject: Reply with quote

Yamakuzure wrote:
Ok, my detection code is broken.

I have added a new bug #527252 as a reminder to myself.

Damn, I never knew you were the ufed guy; kudos.

Though it does explain why I've found your writing so sane.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum