From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 98DC321F26C for ; Sun, 20 Jul 2014 08:49:57 -0700 (PDT) Received: by mail-yk0-f180.google.com with SMTP id 200so3346711ykr.39 for ; Sun, 20 Jul 2014 08:49:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1VVHu+jnu0FV9YJ/vdw5OU/OnHxiiisfQsUdbyYrQjA=; b=ifS452/NChICClA50UZHfBz7dBHIaSgI3v5iKl0n6/slucc5g0XINVAiKBm+Kxai/J H/q9gtprKWnBa1s5ZNSaA2YzFxWEyc75VawsDSyGBFOpv5JjMLYhFj10Qaas09ZEVlJj n8fpvXkcn/CIsuWcssB2GGqtSDboPFFu7W8g4SQsq6ZCrx3HNcVmsTmIXOdq0POvpOi3 fD6AbqqKou64b7uYSf65LxcufaTVd8SqWHxvFW22hvre8Ql7LfvJK9SLkUmDWKk+pPjc Af/vAHRe/B9iIiiJdP4+FQsq5vrzuBaXqU28OsoIqmCa5e3jJY1BTn6Ip0XKaM1LpCXo au8w== X-Gm-Message-State: ALoCoQlctcfmib47Lxm8OpVMRCt3nKp5W+/VXZxxarzoofbLjU3HYzzTsxeOhkbFiQMBzWcxG+kP MIME-Version: 1.0 X-Received: by 10.236.113.129 with SMTP id a1mr30192061yhh.127.1405871396070; Sun, 20 Jul 2014 08:49:56 -0700 (PDT) Received: by 10.170.189.83 with HTTP; Sun, 20 Jul 2014 08:49:56 -0700 (PDT) X-Originating-IP: [85.221.151.252] In-Reply-To: <87hagfffmx.fsf@toke.dk> References: <87hagfffmx.fsf@toke.dk> Date: Sun, 20 Jul 2014 17:49:56 +0200 Message-ID: From: Maciej Soltysiak To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] Cerowrt build helper script X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 15:49:58 -0000 Hi Toke, I gave it a whirl and unfortunately I have a fail report. Maybe it's something I'm doing wrong, but this is the full output of running git clone, cd to cerowrt-next, ./scripts/cerobuild.sh and make. I emphasized errors with =3D=3D=3D Any ideas? Best regards, Maciej solt@dev2:~$ git clone https://github.com/dtaht/cerowrt-next.git Cloning into 'cerowrt-next'... remote: Reusing existing pack: 262720, done. remote: Total 262720 (delta 0), reused 0 (delta 0) Receiving objects: 100% (262720/262720), 100.37 MiB | 6.22 MiB/s, done. Resolving deltas: 100% (176018/176018), done. solt@dev2:~$ cd cerowrt-next/ solt@dev2:~/cerowrt-next$ ./scripts/cerobuild.sh --- Updating packages... remote: Reusing existing pack: 6392, done. remote: Total 6392 (delta 0), reused 0 (delta 0) Receiving objects: 100% (6392/6392), 1.28 MiB | 524 KiB/s, done. Resolving deltas: 100% (2582/2582), done. Note: checking out '33730ba2aaa07a2e40aa6420d1e722ca7eecbb9f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 33730ba... sqm-scripts: bump version remote: Counting objects: 75319, done. remote: Compressing objects: 100% (27818/27818), done. remote: Total 75319 (delta 40876), reused 75042 (delta 40635) Receiving objects: 100% (75319/75319), 16.88 MiB | 8.55 MiB/s, done. Resolving deltas: 100% (40876/40876), done. Note: checking out '68da3fd839d3a6adb5208e3bf411f48c5ff8d39a'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 68da3fd... [packages] debootstrap: update to 1.0.55 remote: Counting objects: 72833, done. remote: Compressing objects: 100% (21419/21419), done. remote: Total 72833 (delta 46524), reused 68880 (delta 43175) Receiving objects: 100% (72833/72833), 15.28 MiB | 4.01 MiB/s, done. Resolving deltas: 100% (46524/46524), done. Note: checking out 'a450fbde0326eb6bf74d47d8ef307fcd9a826d26'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at a450fbd... freifunk altmark new config remote: Reusing existing pack: 2941, done. remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 2945 (delta 0), reused 0 (delta 0) Receiving objects: 100% (2945/2945), 878.60 KiB | 587 KiB/s, done. Resolving deltas: 100% (965/965), done. Note: checking out '0e4201a983df967e88e6ce5451f5f5f99bab2370'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 0e4201a... Merge pull request #12 from openwrt-routing/nds-optional-imq Updating feed 'packages' from 'git://git.openwrt.org/packages.git' ... Cloning into './feeds/packages'... remote: Counting objects: 3869, done. remote: Compressing objects: 100% (3279/3279), done. remote: Total 3869 (delta 128), reused 2521 (delta 64) Receiving objects: 100% (3869/3869), 3.17 MiB, done. Resolving deltas: 100% (128/128), done. Create index file './feeds/packages.index' =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-mk'. Stop. =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D ERROR: please fix feeds/packages/lang/perl-html-parser/Makefile - see logs/feeds/packages/lang/perl-html-parser/dump.txt for details ERROR: please fix feeds/packages/lang/perl-html-tree/Makefile - see logs/feeds/packages/lang/perl-html-tree/dump.txt for details ERROR: please fix feeds/packages/lang/perl-dbi/Makefile - see logs/feeds/packages/lang/perl-dbi/dump.txt for details ERROR: please fix feeds/packages/lang/perl-www/Makefile - see logs/feeds/packages/lang/perl-www/dump.txt for details ERROR: please fix feeds/packages/lang/perl-test-harness/Makefile - see logs/feeds/packages/lang/perl-test-harness/dump.txt for details ERROR: please fix feeds/packages/lang/perl-lockfile-simple/Makefile - see logs/feeds/packages/lang/perl-lockfile-simple/dump.txt for details ERROR: please fix feeds/packages/lang/perl-compress-bzip2/Makefile - see logs/feeds/packages/lang/perl-compress-bzip2/dump.txt for details ERROR: please fix feeds/packages/lang/perl-www-curl/Makefile - see logs/feeds/packages/lang/perl-www-curl/dump.txt for details ERROR: please fix feeds/packages/lang/perl-html-tagset/Makefile - see logs/feeds/packages/lang/perl-html-tagset/dump.txt for details ERROR: please fix feeds/packages/lang/perl-net-telnet/Makefile - see logs/feeds/packages/lang/perl-net-telnet/dump.txt for details ERROR: please fix feeds/packages/lang/perl-uri/Makefile - see logs/feeds/packages/lang/perl-uri/dump.txt for details ERROR: please fix feeds/packages/lang/perl-www-mechanize/Makefile - see logs/feeds/packages/lang/perl-www-mechanize/dump.txt for details Collecting package info: done Updating feed 'luci' from 'git://nbd.name/luci.git' ... Cloning into './feeds/luci'... remote: Counting objects: 3219, done. remote: Compressing objects: 100% (2376/2376), done. remote: Total 3219 (delta 1034), reused 1932 (delta 307) Receiving objects: 100% (3219/3219), 3.55 MiB | 2.66 MiB/s, done. Resolving deltas: 100% (1034/1034), done. Create index file './feeds/luci.index' =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-mk'. Stop. =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D Collecting package info: done Updating feed 'routing' from 'git://github.com/openwrt-routing/packages.git= ' ... Cloning into './feeds/routing'... remote: Counting objects: 230, done. remote: Compressing objects: 100% (196/196), done. remote: Total 230 (delta 11), reused 168 (delta 6) Receiving objects: 100% (230/230), 185.97 KiB, done. Resolving deltas: 100% (11/11), done. Create index file './feeds/routing.index' =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-mk'. Stop. =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D Collecting package info: done Updating feed 'telephony' from 'http://feeds.openwrt.nanl.de/openwrt/telephony.git' ... Cloning into './feeds/telephony'... remote: Counting objects: 172, done. remote: Compressing objects: 100% (154/154), done. remote: Total 172 (delta 19), reused 43 (delta 1) Receiving objects: 100% (172/172), 109.11 KiB, done. Resolving deltas: 100% (19/19), done. Create index file './feeds/telephony.index' =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-mk'. Stop. =3D=3D=3D =3D=3D=3D grep: /home/solt/cerowrt-next/.config: No such file or directory = =3D=3D=3D Collecting package info: done --- Updating env from cerofiles... Initialized empty Git repository in /home/solt/cerowrt-next/env/.git/ Switched to a new branch 'cerobuild' warning: no common commits remote: Reusing existing pack: 1122, done. remote: Total 1122 (delta 0), reused 0 (delta 0) Receiving objects: 100% (1122/1122), 234.85 KiB | 271 KiB/s, done. Resolving deltas: 100% (596/596), done. >From https://github.com/dtaht/cerofiles-next * [new branch] cerowrt-next -> cerofiles/cerowrt-next * [new branch] master -> cerofiles/master * [new tag] cerowrt-3.10.28-4 -> cerowrt-3.10.28-4 >From https://github.com/dtaht/cerofiles-next * [new tag] cerowrt-3.10.10-1 -> cerowrt-3.10.10-1 * [new tag] cerowrt-3.10.17-3 -> cerowrt-3.10.17-3 * [new tag] cerowrt-3.10.17-6 -> cerowrt-3.10.17-6 * [new tag] cerowrt-3.10.24-8 -> cerowrt-3.10.24-8 * [new tag] cerowrt-3.10.26-7 -> cerowrt-3.10.26-7 * [new tag] cerowrt-3.7.2-1 -> cerowrt-3.7.2-1 * [new tag] cerowrt-3.7.5-2 -> cerowrt-3.7.5-2 * [new tag] cerowrt-3.8.13-7 -> cerowrt-3.8.13-7 * [new tag] cerowrt-3.8.6-3 -> cerowrt-3.8.6-3 * [new tag] cerowrt-3.8.6-4 -> cerowrt-3.8.6-4 * [new tag] cerowrt-3.8.8-4 -> cerowrt-3.8.8-4 =3D=3D=3D fatal: 2fdb9612e9b0f611ac5870b1461a0ff400b18acc - not something w= e can merge =3D=3D=3D =3D=3D=3D --- Unable to merge cerofiles =3D=3D=3D --- Installing packages... =3D=3D=3D cat: env/override.list: No such file or directory =3D=3D=3D =3D=3D=3D WARNING: no package to uninstall =3D=3D=3D =3D=3D=3D cat: env/override.list: No such file or directory =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-tmpinfo'. Stop. =3D= =3D=3D =3D=3D=3D Cannot open './tmp/.packageinfo': No such file or directory =3D= =3D=3D =3D=3D=3D Ignoring feed 'cero' - index missing =3D=3D=3D =3D=3D=3D cat: env/packages.list: No such file or directory =3D=3D=3D =3D=3D=3D make: *** No rule to make target `prepare-tmpinfo'. Stop. =3D=3D= =3D =3D=3D=3D Cannot open './tmp/.packageinfo': No such file or directory =3D= =3D=3D =3D=3D=3D Ignoring feed 'cero' - index missing =3D=3D=3D --- Not overwriting existing .config --- Build updated. Run make to build. solt@dev2:~/cerowrt-next$ make =3D=3D=3D Makefile:8: /rules.mk: No such file or directory =3D=3D=3D =3D=3D=3D Makefile:26: /package.mk: No such file or directory =3D=3D=3D =3D=3D=3D /bin/sh: 1: md5s: not found =3D=3D=3D =3D=3D=3D grep: /.config: No such file or directory =3D=3D=3D =3D=3D=3D make: *** No rule to make target `/package.mk'. Stop. =3D=3D=3D On Sun, Jun 30, 2013 at 11:33 PM, Toke H=C3=B8iland-J=C3=B8rgensen wrote: > Hey everyone > > I think it's past time I introduce my build helper script for cerowrt to > the list. It's meant to be an easy way to set up a build environment > that matches the releases cero builds to do your own experimentation > and/or customisations on. > > The script resides in the cerowrt-next repository on Github, so the > first step is to clone that from > https://github.com/dtaht/cerowrt-next.git > > Once a clone of the repository is obtained, the build script lives in > the scripts/ dir and is called cerobuild.sh. To just set up a build > environment, simply run it from the root of the checkout; that will > clone the auxiliary repositories containing the packages and filesystem, > and check out the right revisions, link things into the right places and > copy over the config. Basically making the whole thing ready to run > 'make'. > > By default, the package repositories are stored in the dl/ subfolder of > the cerowrt checkout, and the filesystem is stored in the env/ subfolder > (which is also the upstream openwrt defaults). There's a bit of help > From the script if it's run with a -h parameter. > > After the first run, the script creates a hidden config file, which will > make it do its best on subsequent runs to update to the current version > without disturbing any customisations made to the repository. > > Updates come from the main cerowrt repository, and have to be pulled > manually. The script uses some helper files stored in the repository to > keep the checkouts of the auxiliary repositories in sync. Things have a > tendency to break if the upstream package repositories get too out of > sync with the main repository content, which these files are meant to > remedy. The caveat is that they have to be updated (semi-)manually which > is not always done (bugging Dave and me to remember might help on this > account). Passing the -H parameter to the script will update all > auxiliary repositories to their current HEADs, which might work better > in that case. Feel free to experiment. > > Another caveat is that the updated version of the script (which is a bit > more benign in its default invocation) is only in the current git HEAD. > I.e. while the script itself has existed for some months, older checkout > versions (such as the tagged revisions) will have the old version, so > bear this in mind if building older versions. My hope is that as the > script matures, and the updating of the revision files becomes better > integrated into the release process, that it will be possible to > check out any tagged version and use the script to get a build that is > for all intents and purposes identical to the binary version released by > Dave. However, I don't thing we're quite there yet. > > I hope the above explanation (and the script itself) is somewhat > comprehensible and maybe even useful. Of course some familiarity with > the openwrt build process helps (see the wiki at openwrt.org), but > hopefully this script will make it easier to get started. As always, > comments, questions, bug reports and patches are very welcome. :) > > Cheers, > > -Toke > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel >