Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge not seeing local overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 179

PostPosted: Wed Apr 21, 2010 6:01 pm    Post subject: emerge not seeing local overlay Reply with quote

I (tried) to build my first local overlay today following [url="http://en.gentoo-wiki.com/wiki/Overlay"]these[/url] instructions, but if I search emerge, the packages from the local overlay aren't listed.

I emerged layman 1.2.3, and added this line to the end of /etc/make.conf:
Code:

source /usr/local/portage/layman/make.conf


Then I named the repository:
Code:

# mkdir -p /usr/local/portage/profiles/
# echo "local_overlay" > /usr/local/portage/profiles/repo_name


And then added one last line to the end of /etc/make.conf
Code:

"PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"


Then I downloaded the ebuild (abiword-2.8.4), and put it in "/usr/local/portage/app-office/abiword". I ran:
Code:
# ebuild abiword-2.8.4.ebuild digest


Finally:
Code:
# emerge -p abiword

Which yielded the disappointing result of
Code:

Calculating dependencies... done!
[ebuild  N    ] app-office/abiword-2.6.8  USE="spell xml -debug -gnome"


What am I doing wrong?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Wed Apr 21, 2010 8:54 pm    Post subject: Reply with quote

Is the abiword-2.8.4.ebuild keyworded ~x86? That would be the most likely reason why it isn't showing up in your `emerge -p`.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Apr 21, 2010 9:44 pm    Post subject: Reply with quote

what does

Code:
emerge eix && eix-update && eix abiword


say ?
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 179

PostPosted: Wed Apr 21, 2010 11:02 pm    Post subject: Reply with quote

mikegpitt wrote:
Is the abiword-2.8.4.ebuild keyworded ~x86? That would be the most likely reason why it isn't showing up in your `emerge -p`.


It unstable on x86....but don't masked packages show up in the emerge --search? They just have [masked] next to them.

It would be nice to have both the stable and unstable releases visible in portage (for all packages, not just this one). Is there a way to do this?
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 179

PostPosted: Wed Apr 21, 2010 11:04 pm    Post subject: Reply with quote

kernelOfTruth wrote:
what does

Code:
emerge eix && eix-update && eix abiword


say ?


Code:

Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading category 154|154 (100%) Finished             
[1] "local_overlay" /usr/local/portage (cache: parse|ebuild*#metadata-flat#assign)
     Reading category 154|154 (100%) Finished     
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 13897 packages in 154 categories.
* app-office/abiword
     Available versions:  (2) 2.4.6 *2.6.4 2.6.8 ~2.8.4 ~2.8.4[1]
   {collab cups debug gnome grammar latex libgda math openxml ots plugins readline spell thesaurus wmf wordperfect xml}
     Homepage:            http://www.abisource.com/
     Description:         Fully featured yet light and fast cross platform word processor

* app-office/abiword-plugins
     Available versions:  2.4.6 *2.6.4 2.6.8 {bzip2 cxx debug gnome grammar jabber jpeg libgda math ots pdf readline svg thesaurus wmf wordperfect}
     Homepage:            http://www.abisource.com/
     Description:         Set of plugins for abiword

[1] "local_overlay" /usr/local/portage

Found 2 matches.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Wed Apr 21, 2010 11:20 pm    Post subject: Reply with quote

Drasica wrote:
mikegpitt wrote:
Is the abiword-2.8.4.ebuild keyworded ~x86? That would be the most likely reason why it isn't showing up in your `emerge -p`.


It unstable on x86....but don't masked packages show up in the emerge --search? They just have [masked] next to them.

It would be nice to have both the stable and unstable releases visible in portage (for all packages, not just this one). Is there a way to do this?
The default `emerge -s`output will show the latest package that is unmasked. Also, the command you ran `emerge -p` will just show you all the packages portage would install if you removed the -p. In this case it looks like the version of abiword is marked ~x86. You should add app-office/abiword to your /etc/portage/package.keywords.
Code:
echo "app-office/abiword" >> /etc/portage/package.keywords
emerge -pv abiword
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Apr 21, 2010 11:47 pm    Post subject: Reply with quote

Drasica wrote:


Quote:
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
Reading category 154|154 (100%) Finished
[1] "local_overlay" /usr/local/portage (cache: parse|ebuild*#metadata-flat#assign)
Reading category 154|154 (100%) Finished
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 13897 packages in 154 categories.
* app-office/abiword
Available versions: (2) 2.4.6 *2.6.4 2.6.8 ~2.8.4 ~2.8.4[1]
{collab cups debug gnome grammar latex libgda math openxml ots plugins readline spell thesaurus wmf wordperfect xml}
Homepage: http://www.abisource.com/
Description: Fully featured yet light and fast cross platform word processor

* app-office/abiword-plugins
Available versions: 2.4.6 *2.6.4 2.6.8 {bzip2 cxx debug gnome grammar jabber jpeg libgda math ots pdf readline svg thesaurus wmf wordperfect}
Homepage: http://www.abisource.com/
Description: Set of plugins for abiword

[1] "local_overlay" /usr/local/portage

Found 2 matches.


well there you have it

Quote:
echo "=app-office/abiword-2.8* ~x86" >> /etc/portage/package.keywords


if that doesn't help:

Quote:
echo "=app-office/abiword-2.8* **" >> /etc/portage/package.keywords


echo "=app-office/abiword-2.8*" >> /etc/portage/package.unmask
(if it's masked - in this case it's not)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Drasica
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 179

PostPosted: Thu Apr 22, 2010 12:11 am    Post subject: Reply with quote

Thanks all, I can see it through emerge now. Installing it is another story...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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