SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-24 13:31:17

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

How to configure COOKING cook in STABLE?

We move forth to SliTaz 5.0 release. Frankly, SliTaz Cooking is just unusable, I love my SliTaz 4.0 and can't work under SliTaz Cooking. But I want to develop some packages to include not to Stable, but to Cooking repo.

According to wiki article I've installed tazdev and chroot environment, and setup cook. On my Stable system I can prepare packages for Stable. But here some strangeness.

Path to my Wok is /home/slitaz/cooking/chroot/home/slitaz/wok

But I use Stable system and my Cooking chroot is builded with Stable packages! Here are they:

/home/slitaz/cooking/chroot/var/cache/tazpkg/4.0/packages

I create receipts on my Stable and debug them, add build depens, keys and patches until is all Ok. Then I can move my receipts to Wok.

Not the fact that successfully builded (in Stable) package will buids in Cooking using Cooking bot.

I want to build packages like Cooking bot do it, i.e. I want to use Cooking packages.

How to do it?

[c]$ su
# tazdev chroot
/# cook gtk+3
...[/c]
Try to swith to Cooking:

[c]/# tazpkg set-release cooking
/# cook setup --forced
/# cook gtk+3[/c]
give me errors:

[c]root@slitaz:/# cook gtk+3

Cook: gtk+3 3.6.4
================================================================================
QA: checking package receipt...
Disabling -pipe compile flag: 23336 RAM
Checking build dependencies...
Missing dep (wok/pkg): glib-dev 2.30.2
Missing dep (wok/pkg): atk-dev 2.2.0
Missing dep (wok/pkg): atk 2.2.0
Missing dep (wok/pkg): pango-dev 1.29.4
Missing dep (wok/pkg): pango 1.29.4
Missing dep (wok/pkg): cairo-dev 1.10.2
Missing dep (wok/pkg): cairo 1.10.2
Missing dep (wok/pkg): gdk-pixbuf-dev 2.24.0
Missing dep (wok/pkg): gdk-pixbuf 2.24.0
ERROR: missing dep 9
ERROR: cook failed

Debug information
================================================================================
Cook date: 2013-01-24 15:23
ERROR: missing dep 9
ERROR: cook failed
================================================================================

root@slitaz:/#[/c]
BUT here is packages versions from Stable! While I am in Cooking:

[c]root@slitaz:/# cat /etc/slitaz-release
cooking
root@slitaz:/# tazpkg info glib

Tazpkg information
================================================================================
Package    : glib
Version    : 2.32.4
Category   : x-window
Short desc : C routines.
Maintainer : pankso@slitaz.org
Depends    : pcre libffi libxml2 elfutils
Build deps : pcre-dev libffi-dev gettext zlib-dev perl python python-dev
             elfutils-dev libxml2-dev libxml2-tools
Web site   : http://www.gtk.org/
================================================================================[/c]
How can I fix it?

Ideal solution is when I can have both Cooking and Stable Chroot and swith between them.

Any ideas?

Offline

#2 2013-01-24 15:32:10

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: How to configure COOKING cook in STABLE?

Not sure why cook is not get-installing the BUILD_DEPENDS in your receipt

Either there is a problem with the receipt,network problem, strange misconfiguration.

Try using tazpkg to download/install a tazpkg while in the cooking chroot.

Verify variables paths are correct in /etc/slitaz/slitaz.conf

You have the cooking version of glib in the cooking chroot.

SliTaz 4.0 => 2.30.2 glib

Cooking =>   2.32.4 glib

Offline

#3 2013-01-24 16:26:51

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: How to configure COOKING cook in STABLE?

It's not my receipt, here is Undigest receipt for gtk+3. We have all depends, but package not builds, so receipt need fix.

…And my chroot need fix too. Maybe, better I try completely remove chroot and try again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]