From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: bootstrapping SED-4.5, circular dependency? Date: Sat, 08 Dec 2018 14:46:34 +0100 Message-ID: <87efasp1vp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVcwK-0002d1-0B for guix-devel@gnu.org; Sat, 08 Dec 2018 08:46:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVcwJ-0007YY-1Z for guix-devel@gnu.org; Sat, 08 Dec 2018 08:46:39 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: sed-devel@gnu.org Cc: guix-devel@gnu.org Hi! Now that we have successfully bootstrapped GuixSD without using Gcc, Binutils, GNU C lib, I am working to remove other binary bootstrap seeds; such as SED and GZIP. I have bootstrapped GNU make and Bash and was looking into building GZIP, only to find out that it depends on a SED feature that our bootstrap-gash does not provide. So, I figured that SED should be built before GZIP, but I found that SED-4.5 depends on the same SED feature that GZIP needs...apparently a circular dependency? Here is what I get: --8<---------------cut here---------------start------------->8--- configure flags: ("CONFIG_SHELL=3D/gnu/store/md6pc5frcqnmndgwmnwk3xkmh4bx71= jc-bash-mesboot-4.4.23/bin/bash" "SHELL=3D/gnu/store/md6pc5frcqnmndgwmnwk3x= kmh4bx71jc-bash-mesboot-4.4.23/bin/bash" "--prefix=3D/gnu/store/hy9dq7jhmnj= sgbaq9rkg59h9ssgqqzhw-sed-mesboot-4.5" "--enable-fast-install" "--build=3Dx= 86_64-unknown-linux-gnu") Backtrace: 5 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 4 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 3 (_ #(#(#))) In gash/commands/sed.scm: 132:30 2 (sed . _) In ice-9/boot-9.scm: 222:17 1 (map1 ("/^.*\\/\\([^/][^/]*\\)\\/*$/{\n\t s//\\1/\n?")) In unknown file: 0 (scm-error misc-error #f "~A" ("SED: command not supp?") ?) ERROR: In procedure scm-error: SED: command not supported: "/^.*\\/\\([^/][^/]*\\)\\/*$/{\n\t s//\\1/\n= \t q\n\t }\n\t /^X\\/\\(\\/\\/\\)$/{\n\t s//\\1/\n\t q\n\t }\n\= t /^X\\/\\(\\/\\).*/{\n\t s//\\1/\n\t q\n\t }\n\t s/.*/./; q" --8<---------------cut here---------------end--------------->8--- The SED throwing this error is the minimal SED from Gash, that I implemented in GNU Guile. Do you know whether bootstrapping of GZIP and/or SED is supported? Can you advise me on my next step (looking to bootstrap an earlier SED -- which version? or an earlier GZIP -- which version?) Thanks! janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com