public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Cannot create stage1-livecd
@ 2009-06-08 15:27 Juan Luis Pérez Pérez
  2009-06-08 15:38 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
  2009-06-08 16:24 ` [gentoo-catalyst] " Steve Dommett
  0 siblings, 2 replies; 7+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-06-08 15:27 UTC (permalink / raw
  To: gentoo-catalyst

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

Hi!
I was reading information about catalyst in forums.gentoo.org,
gentoo-wiki, gentoo.org, google, even in bugs.gentoo.org but it wasn't
possible to create a stage1-livecd.

When I try to create this, catalyst says:

...
>>> No outdated packages were found on your system.
ROOT=/ emerge --verbose --usepkg --buildpkg --newuse -pt livecd-tools baselayout
 dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iput
ils device-mapper app-misc/livecd-tools


!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)



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

Calculating dependencies |
!!! All ebuilds that could satisfy "app-misc/livecd-tools" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/livecd-tools-1.0.40 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


!!! catalyst: Error in attempt to build packages


Traceback (most recent call last):
  File "modules/generic_stage_target.py", line 1359, in build_packages
    "Error in attempt to build packages",env=self.env)
  File "/usr/lib/catalyst/modules/catalyst_support.py", line 542, in cmd
    raise CatalystError,myexc
CatalystError
None

!!! catalyst: livecdbuild aborting due to error.

Traceback (most recent call last):
File "/usr/lib/catalyst/catalyst", line 208, in build_target
    mytarget.run()
File "modules/generic_stage_target.py", line 1260, in run
    apply(getattr(self,x))
File "modules/generic_stage_target.py", line 1364, in build_packages
    "build aborting due to error."
CatalystError
!!! catalyst: Error encountered during run of target livecd-stage1
Catalyst aborting....

I attached spec files I used to generate stage1, stage2, stage3 and
stage1-liveCD. I've been working on this for two weeks, I tried to add
packages to package.unmask and package.keywords, add ACCEPT_KEYWORDS
to catalystrc... A some more workarounds but, no one worked :(

Does anyone know what I'm doing wrong?

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

[-- Attachment #2: stage1_foro.spec --]
[-- Type: text/x-rpm-spec, Size: 426 bytes --]

subarch: i686
version_stamp: 2008.0
target: stage1
rel_type: default
profile: default/linux/x86/2008.0/server
snapshot: snapshot_20090603
source_subpath: stage3-i686-2008.0
portage_confdir: /etc/local/portage-catalyst
#pkgcache_path: /tmp/packages

#livecd/use: -kde -gnome -X -cups -arts -ipv6 gpm
#livecd/packages: baselayout dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iputils device-mapper


[-- Attachment #3: stage2_foro.spec --]
[-- Type: text/x-rpm-spec, Size: 433 bytes --]

subarch: i686
version_stamp: 2008.0
target: stage2
rel_type: default
profile: default/linux/x86/2008.0/server
snapshot: snapshot_20090603
source_subpath: default/stage1-i686-2008.0
portage_confdir: /etc/local/portage-catalyst
#pkgcache_path: /tmp/packages

#livecd/use: -kde -gnome -X -cups -arts -ipv6 gpm
#livecd/packages: baselayout dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iputils device-mapper

[-- Attachment #4: stage3_foro.spec --]
[-- Type: text/x-rpm-spec, Size: 433 bytes --]

subarch: i686
version_stamp: 2008.0
target: stage3
rel_type: default
profile: default/linux/x86/2008.0/server
snapshot: snapshot_20090603
source_subpath: default/stage2-i686-2008.0
portage_confdir: /etc/local/portage-catalyst
#pkgcache_path: /tmp/packages

#livecd/use: -kde -gnome -X -cups -arts -ipv6 gpm
#livecd/packages: baselayout dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iputils device-mapper

[-- Attachment #5: livecd-stage1_template.spec --]
[-- Type: text/x-rpm-spec, Size: 524 bytes --]

# livecd-stage1 example specfile
# used to build a livecd-stage1

subarch: i686
version_stamp: 2008.0
target: livecd-stage1
rel_type: default
profile: default-linux/x86/2008.0
snapshot: snapshot_20090603
source_subpath: default/stage3-i686-2008.0
#distcc_hosts:
portage_confdir: /etc/local/portage-catalyst
#portage_overlay:
#pkgcache_path:
livecd/use: -* livecd
livecd/packages: livecd-tools baselayout dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iputils device-mapper
#livecd/packages: nano

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

* [gentoo-catalyst] Re: Cannot create stage1-livecd
  2009-06-08 15:27 [gentoo-catalyst] Cannot create stage1-livecd Juan Luis Pérez Pérez
@ 2009-06-08 15:38 ` Juan Luis Pérez Pérez
  2009-06-08 16:24 ` [gentoo-catalyst] " Steve Dommett
  1 sibling, 0 replies; 7+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-06-08 15:38 UTC (permalink / raw
  To: gentoo-catalyst

I'm using catalyst 2.0.6.904

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





2009/6/8 Juan Luis Pérez Pérez <juanluperez@gmail.com>:
> Hi!
> I was reading information about catalyst in forums.gentoo.org,
> gentoo-wiki, gentoo.org, google, even in bugs.gentoo.org but it wasn't
> possible to create a stage1-livecd.
>
> When I try to create this, catalyst says:
>
> ...
>>>> No outdated packages were found on your system.
> ROOT=/ emerge --verbose --usepkg --buildpkg --newuse -pt livecd-tools baselayout
>  dhcpcd acpid e2fsprogs ethtool hwsetup nano links less logrotate syslog-ng iput
> ils device-mapper app-misc/livecd-tools
>
>
> !!! /etc/make.profile is not a symlink and will probably prevent most merges.
> !!! It should point into a profile within /usr/portage/profiles/
> !!! (You can safely ignore this message when syncing. It's harmless.)
>
>
>
> These are the packages that would be merged, in reverse order:
>
> Calculating dependencies |
> !!! All ebuilds that could satisfy "app-misc/livecd-tools" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - app-misc/livecd-tools-1.0.40 (masked by: missing keyword)
>
> For more information, see MASKED PACKAGES section in the emerge man page or
> refer to the Gentoo Handbook.
>
>
> !!! catalyst: Error in attempt to build packages
>
>
> Traceback (most recent call last):
>  File "modules/generic_stage_target.py", line 1359, in build_packages
>    "Error in attempt to build packages",env=self.env)
>  File "/usr/lib/catalyst/modules/catalyst_support.py", line 542, in cmd
>    raise CatalystError,myexc
> CatalystError
> None
>
> !!! catalyst: livecdbuild aborting due to error.
>
> Traceback (most recent call last):
> File "/usr/lib/catalyst/catalyst", line 208, in build_target
>    mytarget.run()
> File "modules/generic_stage_target.py", line 1260, in run
>    apply(getattr(self,x))
> File "modules/generic_stage_target.py", line 1364, in build_packages
>    "build aborting due to error."
> CatalystError
> !!! catalyst: Error encountered during run of target livecd-stage1
> Catalyst aborting....
>
> I attached spec files I used to generate stage1, stage2, stage3 and
> stage1-liveCD. I've been working on this for two weeks, I tried to add
> packages to package.unmask and package.keywords, add ACCEPT_KEYWORDS
> to catalystrc... A some more workarounds but, no one worked :(
>
> Does anyone know what I'm doing wrong?
>
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>



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

* Re: [gentoo-catalyst] Cannot create stage1-livecd
  2009-06-08 15:27 [gentoo-catalyst] Cannot create stage1-livecd Juan Luis Pérez Pérez
  2009-06-08 15:38 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
@ 2009-06-08 16:24 ` Steve Dommett
  2009-06-08 16:33   ` Juan Luis Pérez Pérez
  1 sibling, 1 reply; 7+ messages in thread
From: Steve Dommett @ 2009-06-08 16:24 UTC (permalink / raw
  To: gentoo-catalyst

On Monday 08 June 2009, Juan Luis Pérez Pérez wrote:
> !!! /etc/make.profile is not a symlink and will probably prevent most
> merges. !!! It should point into a profile within /usr/portage/profiles/
> !!! (You can safely ignore this message when syncing. It's harmless.)
This seems to be the root-cause of your problem.

In your spec files you are using:
> profile: default/linux/x86/2008.0/server
with the exception of your livecd1-stage1.spec where you have:
> profile: default-linux/x86/2008.0

That path doesn't exist in Portage currently.

Cheers,
  Steve.



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

* Re: [gentoo-catalyst] Cannot create stage1-livecd
  2009-06-08 16:24 ` [gentoo-catalyst] " Steve Dommett
@ 2009-06-08 16:33   ` Juan Luis Pérez Pérez
  2009-06-08 16:40     ` Steve Dommett
  0 siblings, 1 reply; 7+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-06-08 16:33 UTC (permalink / raw
  To: gentoo-catalyst

My make.profile is a symlink:
# ls -l /etc/make.*
-rw-r--r-- 1 root root 815 feb 25 17:56 /etc/make.conf
-rw-r--r-- 1 root root 410 jun 19  2008 /etc/make.conf.catalyst
lrwxrwxrwx 1 root root  40 jun  2 17:09 /etc/make.globals ->
../usr/share/portage/config/make.globals
lrwxrwxrwx 1 root root  48 feb 25 17:45 /etc/make.profile ->
../usr/portage/profiles/default/linux/x86/2008.0

About my profiles in my spec files I'll change those and try, but I
think it will not have any effect... :-(

Thanks Steve!

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





On Mon, Jun 8, 2009 at 18:24, Steve Dommett<steve@st4vs.net> wrote:
> On Monday 08 June 2009, Juan Luis Pérez Pérez wrote:
>> !!! /etc/make.profile is not a symlink and will probably prevent most
>> merges. !!! It should point into a profile within /usr/portage/profiles/
>> !!! (You can safely ignore this message when syncing. It's harmless.)
> This seems to be the root-cause of your problem.
>
> In your spec files you are using:
>> profile: default/linux/x86/2008.0/server
> with the exception of your livecd1-stage1.spec where you have:
>> profile: default-linux/x86/2008.0
>
> That path doesn't exist in Portage currently.
>
> Cheers,
>  Steve.
>
>



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

* Re: [gentoo-catalyst] Cannot create stage1-livecd
  2009-06-08 16:33   ` Juan Luis Pérez Pérez
@ 2009-06-08 16:40     ` Steve Dommett
  2009-06-08 16:59       ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Dommett @ 2009-06-08 16:40 UTC (permalink / raw
  To: gentoo-catalyst

On Monday 08 June 2009, Juan Luis Pérez Pérez wrote:
> My make.profile is a symlink:
> # ls -l /etc/make.*
When using Catalyst,  the contents/settings of your base system are not 
relevant.

> About my profiles in my spec files I'll change those and try, but I
> think it will not have any effect... :-(
You only need to change livecd-stage1 (and possibly stage2).  Your others 
already specify a valid profile.

Cheers,
  Steve.



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

* Re: [gentoo-catalyst] Cannot create stage1-livecd
  2009-06-08 16:40     ` Steve Dommett
@ 2009-06-08 16:59       ` Juan Luis Pérez Pérez
  2009-06-08 17:11         ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 7+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-06-08 16:59 UTC (permalink / raw
  To: gentoo-catalyst

>> My make.profile is a symlink:
>> # ls -l /etc/make.*
> When using Catalyst,  the contents/settings of your base system are not
> relevant.

So... How can I work this out? Where is that "/etc/make.profile"?
I changed livecd-stage1 and it does not work at all. Catalyst still
show that error message about make.profile is not a symlink...


Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





On Mon, Jun 8, 2009 at 18:40, Steve Dommett<steve@st4vs.net> wrote:
> On Monday 08 June 2009, Juan Luis Pérez Pérez wrote:
>> My make.profile is a symlink:
>> # ls -l /etc/make.*
> When using Catalyst,  the contents/settings of your base system are not
> relevant.
>
>> About my profiles in my spec files I'll change those and try, but I
>> think it will not have any effect... :-(
> You only need to change livecd-stage1 (and possibly stage2).  Your others
> already specify a valid profile.
>
> Cheers,
>  Steve.
>
>



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

* Re: [gentoo-catalyst] Cannot create stage1-livecd
  2009-06-08 16:59       ` Juan Luis Pérez Pérez
@ 2009-06-08 17:11         ` Juan Luis Pérez Pérez
  0 siblings, 0 replies; 7+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-06-08 17:11 UTC (permalink / raw
  To: gentoo-catalyst

Ok Steve, Catalyst is still creating make.profile wrong despite I
changed it in my livecd spec profile, look:

# ls /var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.* -l
-rw-r--r-- 1 root root   540 jun  8 17:03
/var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.conf
-rw-r--r-- 1 root root   540 jun  3 15:38
/var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.conf.catalyst
-rw-r--r-- 1 root root 23104 feb 13  2008
/var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.conf.example
-rw-r--r-- 1 root root  3034 feb 13  2008
/var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.globals
lrwxrwxrwx 1 root root    48 jun  3 15:38
/var/tmp/catalyst/tmp/default/livecd-stage1-i686-2008.0/etc/make.profile
-> ../usr/portage/profiles/default-linux/x86/2008.0

This was solved using "catalyst -a".

Thanks for your help! :-D

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





2009/6/8 Juan Luis Pérez Pérez <juanluperez@gmail.com>:
>>> My make.profile is a symlink:
>>> # ls -l /etc/make.*
>> When using Catalyst,  the contents/settings of your base system are not
>> relevant.
>
> So... How can I work this out? Where is that "/etc/make.profile"?
> I changed livecd-stage1 and it does not work at all. Catalyst still
> show that error message about make.profile is not a symlink...
>
>
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>
>
>
>
>
> On Mon, Jun 8, 2009 at 18:40, Steve Dommett<steve@st4vs.net> wrote:
>> On Monday 08 June 2009, Juan Luis Pérez Pérez wrote:
>>> My make.profile is a symlink:
>>> # ls -l /etc/make.*
>> When using Catalyst,  the contents/settings of your base system are not
>> relevant.
>>
>>> About my profiles in my spec files I'll change those and try, but I
>>> think it will not have any effect... :-(
>> You only need to change livecd-stage1 (and possibly stage2).  Your others
>> already specify a valid profile.
>>
>> Cheers,
>>  Steve.
>>
>>
>



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

end of thread, other threads:[~2009-06-08 17:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 15:27 [gentoo-catalyst] Cannot create stage1-livecd Juan Luis Pérez Pérez
2009-06-08 15:38 ` [gentoo-catalyst] " Juan Luis Pérez Pérez
2009-06-08 16:24 ` [gentoo-catalyst] " Steve Dommett
2009-06-08 16:33   ` Juan Luis Pérez Pérez
2009-06-08 16:40     ` Steve Dommett
2009-06-08 16:59       ` Juan Luis Pérez Pérez
2009-06-08 17:11         ` Juan Luis Pérez Pérez

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