public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] How to accept licences
@ 2011-06-27 15:43 Martino Dell'Ambrogio
  2011-06-27 16:17 ` Matt Turner
  2011-06-27 16:54 ` Sebastian Pipping
  0 siblings, 2 replies; 5+ messages in thread
From: Martino Dell'Ambrogio @ 2011-06-27 15:43 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

Hello,

I'm trying to build a livecd with catalyst 2.0.6.916.

While building the livecd-stage1 target I've got this obvious error:

!!! All ebuilds that could satisfy "dev-java/sun-jdk" have been masked.
!!! One of the following masked packages is required to complete your 
request:
- dev-java/sun-jdk-1.6.0.26 (masked by: dlj-1.1 license(s))

I set portage_confdir to a path with a package.license file containing 
the line "dev-java/sun-jdk dlj-1.1", but I got the same result.

I tried with a package.license directory, with a "*" flag, even with an 
export ACCEPT_LICENSE="*" within catalystrc, but portage seems to ignore 
all of them.
The portage version is 2.1.9.42 for both host and build. Also both 
systems are amd64.

I can't seem to find my error anywhere, and I guess catalyst is aware of 
everything LICENSE-related or it wouldn't be possible to build the 
official distributions, right? Thank you for your help.

-- 
Martino DELL'AMBROGIO
GCIA
Expert Sécurité

----------------------------------------------------
KYOS IT SECURITY
Audit, Conseil & Solutions en Sécurité Informatique
12 bis avenue Rosemont - 1208 Genève
Mobile : +41 78 920 88 67
Bureau : +41 22 566 76 33
Fax:     +41 22 734 79 03
www.kyos.ch - martino.dellambrogio@kyos.ch
----------------------------------------------------


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5567 bytes --]

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

* Re: [gentoo-catalyst] How to accept licences
  2011-06-27 15:43 [gentoo-catalyst] How to accept licences Martino Dell'Ambrogio
@ 2011-06-27 16:17 ` Matt Turner
  2011-06-27 16:54 ` Sebastian Pipping
  1 sibling, 0 replies; 5+ messages in thread
From: Matt Turner @ 2011-06-27 16:17 UTC (permalink / raw
  To: gentoo-catalyst

On Mon, Jun 27, 2011 at 11:43 AM, Martino Dell'Ambrogio
<martino.dellambrogio@kyos.ch> wrote:
> Hello,
>
> I'm trying to build a livecd with catalyst 2.0.6.916.
>
> While building the livecd-stage1 target I've got this obvious error:
>
> !!! All ebuilds that could satisfy "dev-java/sun-jdk" have been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - dev-java/sun-jdk-1.6.0.26 (masked by: dlj-1.1 license(s))
>
> I set portage_confdir to a path with a package.license file containing the
> line "dev-java/sun-jdk dlj-1.1", but I got the same result.
>
> I tried with a package.license directory, with a "*" flag, even with an
> export ACCEPT_LICENSE="*" within catalystrc, but portage seems to ignore all
> of them.
> The portage version is 2.1.9.42 for both host and build. Also both systems
> are amd64.
>
> I can't seem to find my error anywhere, and I guess catalyst is aware of
> everything LICENSE-related or it wouldn't be possible to build the official
> distributions, right? Thank you for your help.

Actually, the only references I see to 'license' when I grep the
catalyst source appear in license headers.

It looks to me like catalyst doesn't export any way to modify
ACCEPT_LICENSES, though I would have thought that putting 'export
ACCEPT_LICENSES=...' in catalystrc would work.

Matt



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

* Re: [gentoo-catalyst] How to accept licences
  2011-06-27 15:43 [gentoo-catalyst] How to accept licences Martino Dell'Ambrogio
  2011-06-27 16:17 ` Matt Turner
@ 2011-06-27 16:54 ` Sebastian Pipping
  2011-06-27 20:20   ` Martino Dell'Ambrogio
  1 sibling, 1 reply; 5+ messages in thread
From: Sebastian Pipping @ 2011-06-27 16:54 UTC (permalink / raw
  To: gentoo-catalyst

On 06/27/2011 05:43 PM, Martino Dell'Ambrogio wrote:
> [..] even with an export ACCEPT_LICENSE="*" within catalystrc

Is there any indicator that calalyst is even sourcing that script?  Have
you tried putting echos or "exit 1" in there?

This is an adapted workround of mine to put into the *envscript* to get
certain stuff into the chroot's /etc/make.conf:


====================================================================
if [[ ! -f /root/envscript_actions_run ]]; then
	touch /root/envscript_actions_run

	cat <<-MAKE_CONF_EOF >> /etc/make.conf

		ACCEPT_LICENSE="* -@EULA dlj-1.1"
	MAKE_CONF_EOF
fi
====================================================================


If anyone is aware of a cleaner solution, please share.

Martino, if you find out later why ACCEPT_LICENSE doesn't work straight
from the environment, please let us know.

Best,



Sebastian



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

* Re: [gentoo-catalyst] How to accept licences
  2011-06-27 16:54 ` Sebastian Pipping
@ 2011-06-27 20:20   ` Martino Dell'Ambrogio
  2011-06-27 20:23     ` Matt Turner
  0 siblings, 1 reply; 5+ messages in thread
From: Martino Dell'Ambrogio @ 2011-06-27 20:20 UTC (permalink / raw
  To: gentoo-catalyst

Thanks to your advice, I discovered that the "autoresume" feature was 
preventing the script to be loaded... the -a flag fixed it.

Thanks to all who helped! I'm absolutely new to catalyst, hope to get 
better soon.

Martino Dell'Ambrogio
Security Auditor

-----------------------------------------------------------------------
KYOS IT SECURITY
Consulting, Integration and Facility Management
12 bis avenue Rosemont - 1208 Geneva
Tel:+41 (0)22 734 7888
mobile:+41 (0)79 715 12 90
Fax:+41 (0)22 734 7903
http://www.kyos.ch - martino.dellambrogio@kyos.ch
-----------------------------------------------------------------------


On 06/27/2011 06:54 PM, Sebastian Pipping wrote:
> On 06/27/2011 05:43 PM, Martino Dell'Ambrogio wrote:
>> [..] even with an export ACCEPT_LICENSE="*" within catalystrc
> Is there any indicator that calalyst is even sourcing that script?  Have
> you tried putting echos or "exit 1" in there?
>
> This is an adapted workround of mine to put into the *envscript* to get
> certain stuff into the chroot's /etc/make.conf:
>
>
> ====================================================================
> if [[ ! -f /root/envscript_actions_run ]]; then
> 	touch /root/envscript_actions_run
>
> 	cat<<-MAKE_CONF_EOF>>  /etc/make.conf
>
> 		ACCEPT_LICENSE="* -@EULA dlj-1.1"
> 	MAKE_CONF_EOF
> fi
> ====================================================================
>
>
> If anyone is aware of a cleaner solution, please share.
>
> Martino, if you find out later why ACCEPT_LICENSE doesn't work straight
> from the environment, please let us know.
>
> Best,
>
>
>
> Sebastian
>



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

* Re: [gentoo-catalyst] How to accept licences
  2011-06-27 20:20   ` Martino Dell'Ambrogio
@ 2011-06-27 20:23     ` Matt Turner
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Turner @ 2011-06-27 20:23 UTC (permalink / raw
  To: gentoo-catalyst

On Mon, Jun 27, 2011 at 4:20 PM, Martino Dell'Ambrogio
<martino.dellambrogio@kyos.ch> wrote:
> Thanks to your advice, I discovered that the "autoresume" feature was
> preventing the script to be loaded... the -a flag fixed it.
>
> Thanks to all who helped! I'm absolutely new to catalyst, hope to get better
> soon.

Ah, if -a fixed it, then the problem was that the first time catalyst
was run on your stage build, the ACCEPT_LICENSE stuff wasn't sourced.
Using -a wiped out the stage and started cleanly, so ACCEPT_LICENSE
was read.

From now on, with your confdir and ACCEPT_LICENSE stuff working, you
shouldn't have to use -a.

Thanks,
Matt



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

end of thread, other threads:[~2011-06-27 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27 15:43 [gentoo-catalyst] How to accept licences Martino Dell'Ambrogio
2011-06-27 16:17 ` Matt Turner
2011-06-27 16:54 ` Sebastian Pipping
2011-06-27 20:20   ` Martino Dell'Ambrogio
2011-06-27 20:23     ` Matt Turner

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