public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] binpkg doesn't pull-in dependency required by USE flag
@ 2009-12-30  7:45 Amit Dor-Shifer
  2009-12-30  8:13 ` Zac Medico
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Dor-Shifer @ 2009-12-30  7:45 UTC (permalink / raw
  To: gentoo-portage-dev

Hi.

amit0 myebuilds # qlist -Iv sys-apps/portage
sys-apps/portage-2.1.6.13

I've binpkg-ed sun-jdk.
I did so w/USE+="jce":

amit0 myebuilds # qtbz2 -x 
/usr/portage/packages/dev-java/sun-jdk-1.6.0.16.tbz2
amit0 myebuilds # qxpak -x 
/usr/portage/packages/dev-java/sun-jdk-1.6.0.16.xpak environment.bz2
amit0 myebuilds # bzgrep ^USE= environment.bz2
USE='X alsa amd64 elibc_glibc jce kernel_linux multilib nsplugin 
userland_GNU'

The reason I did so is because sun-jdk's content depends upon that USE 
flag, and I want the extra content in the tbz.

Normally, when "jce" is on, sun-jdk pulls-in sun-jce-bin:

amit0 myebuilds # USE="${USE} jce" emerge -p sun-jdk

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

Calculating dependencies... done!
[ebuild  N f  ] dev-java/sun-jce-bin-1.6.0
[ebuild   R   ] dev-java/sun-jdk-1.6.0.16  USE="jce*"

However, when I attempt to merge the binpkg-ed sun-jdk, dep isn't pulled:

amit0 myebuilds # USE="${USE} jce" emerge -pk sun-jdk

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

Calculating dependencies... done!
[binary   R   ] dev-java/sun-jdk-1.6.0.16  USE="jce*"

Anyone has a clue as to why this is happening?

Amit





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-portage-dev] binpkg doesn't pull-in dependency required by USE flag
  2009-12-30  7:45 [gentoo-portage-dev] binpkg doesn't pull-in dependency required by USE flag Amit Dor-Shifer
@ 2009-12-30  8:13 ` Zac Medico
  0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2009-12-30  8:13 UTC (permalink / raw
  To: gentoo-portage-dev

On 12/29/2009 11:45 PM, Amit Dor-Shifer wrote:
> Normally, when "jce" is on, sun-jdk pulls-in sun-jce-bin:
> 
> amit0 myebuilds # USE="${USE} jce" emerge -p sun-jdk
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N f  ] dev-java/sun-jce-bin-1.6.0
> [ebuild   R   ] dev-java/sun-jdk-1.6.0.16  USE="jce*"
> 
> However, when I attempt to merge the binpkg-ed sun-jdk, dep isn't pulled:

That's because the dependency is in DEPEND which is built time only
and therefore doesn't apply to binary packages. You can use
--with-bdeps=y if you want it to pull in DEPEND for binary packages.
-- 
Thanks,
Zac



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-30  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30  7:45 [gentoo-portage-dev] binpkg doesn't pull-in dependency required by USE flag Amit Dor-Shifer
2009-12-30  8:13 ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox