Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding keywords to ebuilds
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
SickBoy
n00b
n00b


Joined: 25 Aug 2003
Posts: 67
Location: mpls, mn

PostPosted: Mon Dec 26, 2005 11:21 pm    Post subject: Adding keywords to ebuilds Reply with quote

Q: It's possible to add a keyword to an ebuild (e.g. adding ~ppc-macos), right?

I'm trying to compile and install slocate (insert *nix zealot bashing here - I do indeed know how to use "find" but prefer slocate) and I manually added ~ppc-macos to ebuilds for slocate, shadow, and cracklib. Then, when I try:

ACCEPT_KEYWORDS="~ppc-mac" emerge slocate

I get this error:

Andrew-Kruses-Computer:/usr/portage root# ACCEPT_KEYWORDS="~ppc-macos" emerge slocate
Calculating dependencies ...done!
>>> emerge (1 of 3) sys-libs/cracklib-2.8.3-r1 to /
*** Adjusting cvs-src permissions for portage user...
>>> Downloading http://distfiles.gentoo.org/distfiles/cracklib-2.8.3.tar.gz
######################################################################## 100.0%

!!! Digest verification Failed:
!!! /usr/portage/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild
!!! Reason: Filesize does not match recorded size
Traceback (most recent call last):
File "/usr/bin/emerge", line 3335, in ?
mydepgraph.merge(pkglist)
File "/usr/bin/emerge", line 2037, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
File "/usr/lib/portage/pym/portage.py", line 2809, in doebuild
if not digestcheck(checkme, mysettings, ("strict" in features), (mydo not in ["digest","fetch","unpack"] and settings["PORTAGE_CALLER"] == "ebuild" and "noauto" in features)):
File "/usr/lib/portage/pym/portage.py", line 2367, in digestcheck
if not digestCheckFiles(mymfiles, mymdigests, pbasedir, note="files ", strict=strict):
File "/usr/lib/portage/pym/portage.py", line 2290, in digestCheckFiles
print red("!!! Got: ")+reason[1]
TypeError: cannot concatenate 'str' and 'long' objects


Looks like it does some verification that the ebuild isn't corrupted before it attempts to install. Is there a way I can turn that checking off, or do I have to copy the ebuilds to the PORTDIR_OVERLAY and edit/install them from there?[/b]
_________________
Audioslave--Asus K8V SE Deluxe--Athlon64 3200+--2 GB PC3200 - 6600GT
Soundgarden--MSI K8MM-V--Sempron64 2600+--1.5 GB PC3200 - FX5200
Alice-- Dell Poweredge 2300 - haven't powered it up in probably 2 years.
Macbook Pro 15" (no Gentoo)
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Dec 27, 2005 12:18 am    Post subject: Reply with quote

Run "ebuild /usr/portage/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild digest" then emerge it. [edit]removed suggestion to sync and post bug, it was incorrect :oops: [/edit]

Last edited by mark_alec on Tue Dec 27, 2005 1:14 am; edited 2 times in total
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Dec 27, 2005 12:38 am    Post subject: Reply with quote

If you change an ebuild you have to run the ebuild digest command, and of course you shouldn't file any bug.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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