Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Major Problem. Portage = broken.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
Neech
n00b
n00b
User avatar
Posts: 72
Joined: Sun Sep 21, 2003 12:53 am
Location: Ottawa, Canada

Major Problem. Portage = broken.

  • Quote

Post by Neech » Sat Nov 20, 2004 11:11 pm

On my media center computer portage broke. I since reinstalled the system as knoppmyth to save some time.

However on my main linux box ( webserver, router etc ) I just got the very same problem !

Code: Select all

linux root # emerge dnsmasq [<- anything, doesn't matter, even sync]
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dns/dnsmasq-2.16 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2991, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1831, in merge
    retval=portage.doebuild(y,"clean",myroot,self.pkgsettings,edebug,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 2462, in doebuild
    return spawn(EBUILD_SH_BINARY+" "+mydo,mysettings,debug=debug,free=1,logfile=logfile)
  File "/usr/lib/portage/pym/portage.py", line 1507, in spawn
    return portage_exec.spawn_bash(mystring,env=env,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 44, in spawn_bash
    return spawn(args,env=env,opt_name=opt_name,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 167, in spawn
    raise str(e)+":\n   "+myc+" "+string.join(myargs)
execve() arg 3 contains a non-string value:
   /bin/bash [dnsmasq-2.16] bash -c /usr/lib/portage/bin/ebuild.sh clean
I have no idea what it should try. I tried to go back to older make.profiles and everything. Is there any way to fix this or at least a clue what might be causing this ?
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Nov 23, 2004 6:29 am

I would first emerge sync to make sure you have the most recent ebuild, and then if you are still having the same problem go to bugs.gentoo.org. Look to see if there is an existing bug for this issue, if there isn't then submitt a new bug.

I have successfully emerged both dnsmasq version 2.15 and 2.16. Also check you make.conf for errors. And be sure to paste the output of "emerge info" when you create your bug.

Hope that helps

-Scott
Long live the gentoo forums!!!!!
Top
paladin-zero
Guru
Guru
User avatar
Posts: 322
Joined: Wed May 19, 2004 4:13 pm

  • Quote

Post by paladin-zero » Tue Nov 23, 2004 6:43 am

scootersmk wrote:I would first emerge sync
Did you read his post?

Code: Select all

linux root # emerge dnsmasq [<- anything, doesn't matter, even sync]
Top
gentoo_lan
l33t
l33t
User avatar
Posts: 891
Joined: Wed Sep 08, 2004 12:45 am
Location: Charles Town, WV

  • Quote

Post by gentoo_lan » Tue Nov 23, 2004 8:09 am

You might try to get a portage rescue tarball and install it to see if it fixes your problem.
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Nov 23, 2004 8:36 am

my bad...
Last edited by scootersmk on Wed Nov 24, 2004 12:50 am, edited 1 time in total.
Long live the gentoo forums!!!!!
Top
TrueDFX
Retired Dev
Retired Dev
Posts: 1348
Joined: Wed Jun 02, 2004 5:33 pm

  • Quote

Post by TrueDFX » Tue Nov 23, 2004 9:10 am

Summary:
"I can't do anything, even emerge sync"
"First, emerge sync"
"Did you even read his post?"
"Yes, I did. You piss me off and I won't bother to explain myself. Don't post if you have a problem with my posts."
Does anything seem wrong to anyone else here?

And on topic: if the rescue tarball doesn't work, what's the exact output that you get when trying to sync?
Top
scootersmk
Apprentice
Apprentice
User avatar
Posts: 186
Joined: Sat May 17, 2003 4:56 pm
Location: Knoxville, TN
Contact:
Contact scootersmk
Website

  • Quote

Post by scootersmk » Tue Nov 23, 2004 10:01 am

Happy Holidays!
Last edited by scootersmk on Wed Nov 24, 2004 12:51 am, edited 1 time in total.
Long live the gentoo forums!!!!!
Top
TrueDFX
Retired Dev
Retired Dev
Posts: 1348
Joined: Wed Jun 02, 2004 5:33 pm

  • Quote

Post by TrueDFX » Tue Nov 23, 2004 10:36 am

paladin-zero and I may not have been exceptionally polite, but he (I can't speak for myself) certainly wasn't rude. You, on the other hand, either were sarcastic and rude or (IMHO) greatly overreacting in your reply to his post. If you weren't sarcastic, then please try to see that nobody faults you for helping. There's nothing wrong with that. paladin-zero merely pointed out a problem in your advice, that's all. And if you feel my reply to your post was rude, I'll delete that part of it if you want.
Top
paladin-zero
Guru
Guru
User avatar
Posts: 322
Joined: Wed May 19, 2004 4:13 pm

  • Quote

Post by paladin-zero » Tue Nov 23, 2004 10:43 am

And I'll submit that it would have been better if I had said "you overlooked this line..." I didnt mean to be rude, just brief. There is a lot of information to parse in these forums.
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Tue Nov 23, 2004 12:02 pm

WOW!!!

I am impressed of the reactions of TrueDFX and paladin-zero!!!
Time to shake hands scootersmk and stay peaceful :)

Nice people here ...

Have fun
swimmer
Top
Neech
n00b
n00b
User avatar
Posts: 72
Joined: Sun Sep 21, 2003 12:53 am
Location: Ottawa, Canada

  • Quote

Post by Neech » Tue Nov 23, 2004 3:05 pm

Thanks for all the help ! I Unfortunatly emerge sync didn't execute either. I fixed it by rsyncing another computers /usr/portage dir to this machine
Top
Kabuto
l33t
l33t
Posts: 701
Joined: Thu Aug 01, 2002 7:19 pm

  • Quote

Post by Kabuto » Wed Nov 24, 2004 7:13 pm

Did you happen to try deleteing /usr/portage/* and then emerge sync?
Top
Neech
n00b
n00b
User avatar
Posts: 72
Joined: Sun Sep 21, 2003 12:53 am
Location: Ottawa, Canada

  • Quote

Post by Neech » Wed Nov 24, 2004 8:43 pm

no i didn't. that sounds dangerous, because the make.profile link points there ?
Top
Chaosite
Guru
Guru
User avatar
Posts: 540
Joined: Sat Dec 13, 2003 3:54 pm
Location: Right over here.

  • Quote

Post by Chaosite » Sat Nov 27, 2004 11:35 am

Neech wrote:no i didn't. that sounds dangerous, because the make.profile link points there ?
Nah, its prefectly safe.

emerge sync doesn't need a profile.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic