Ticket #282 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

cython is required to complete emerge zhone

Reported by: dememax Owned by:
Priority: major Milestone: milestone5
Component: target Keywords:
Cc:

Description

max-gta02 ~ # emerge -uDN --with-bdeps=y -pv zhone

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

Calculating dependencies -^[... done!

!!! All ebuilds that could satisfy "dev-python/cython" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/cython-0.11.2-r1 (masked by: missing keyword)
- dev-python/cython-0.11.2 (masked by: missing keyword)
- dev-python/cython-0.9.8.1.1 (masked by: missing keyword)
- dev-python/cython-0.9.8.1 (masked by: missing keyword)
- dev-python/cython-0.9.6.12 (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "sys-mobilephone/freesmartphone-framework-20090704" [ebuild])
(dependency required by "sys-mobilephone/zhone-9999" [ebuild])
(dependency required by "zhone" [argument])

max-gta02 ~ # 

What sould I fix to build zhone on the device?

I've asked in ticket:238#comment:3 and in ticket:267#comment:3.

There is no answer.

Why not to create a page about this?

Change History

Changed 2 years ago by sleipnir

  • milestone changed from unsorted to milestone5

Changed 2 years ago by sleipnir

How about

echo "=dev-python/cython-0.11.2-r1 **" >> /etc/portage/package.keywords/cython

and then try to emerge?

Changed 2 years ago by dememax

  • status changed from new to closed
  • resolution set to fixed

What a wonderful hint! (I'm not joking!) If we take a loot at Working with Portage" section in "Gentoo Linux ARM Handbook we see that

Within /etc/portage you can create the following files:
 * package.keywords which lists the packages you want to be able to install even though the package hasn't been found suitable for your system or architecture (yet) 

package.keywords is a file!

Let's look at User Success Stories page on this site, max_posedon uses package.keywords as a file as well!

Who is right? Where is up-to-date docs?

Putting "=dev-python/cython-0.11.2-r1 **" line in file /etc/portage/package.keywords - doesn't work.

Anyhow, your solution works! After making /etc/portage/package.keywords a directory and putting the corresponding line in cython, I have:

max-gta02 ~ # emerge -pv zhone

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy "dev-python/pyalsaaudio" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/pyalsaaudio-0.5 (masked by: missing keyword)
- dev-python/pyalsaaudio-0.4 (masked by: missing keyword)
- dev-python/pyalsaaudio-0.3 (masked by: missing keyword)
- dev-python/pyalsaaudio-0.2 (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "sys-mobilephone/freesmartphone-framework-20090704" [ebuild])
(dependency required by "sys-mobilephone/zhone-9999" [ebuild])
(dependency required by "zhone" [argument])

max-gta02 ~ # 

But it's another story, I'll close this issue.

Thanks!

Changed 2 years ago by sleipnir

Are you really sure you are using the keywords of the overlay? I'm asking because pyalsaaudio is keyworded here:

http://gentoo.mindzoo.de/index.cgi/browser/openmoko/trunk/portage-flags-target/keywords/pyalsaaudio

Changed 2 years ago by dememax

I thought the page native-compiling contains all necessary instructions. There is no "key" match.

It was hard for me to figure out why paths are different (see this diff of native-compiling page).

Does it mean that I must understand what is intended and make corresponding link?

Would you mind to add some instructions about how to setup the overlay to native-compiling page, please? Thanks!

Note: See TracTickets for help on using tickets.