From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 08D633858C74; Thu, 11 Aug 2022 15:33:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08D633858C74 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/29473] New: [gdb/build] gdb/gdb_buildall.sh: No such file or directory: /usr/local/share/gdb/guile/gdb/boot.scm Date: Thu, 11 Aug 2022 15:33:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2022 15:33:32 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29473 Bug ID: 29473 Summary: [gdb/build] gdb/gdb_buildall.sh: No such file or directory: /usr/local/share/gdb/guile/gdb/boot.scm Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I tried out gdb/gdb_buildall.sh: ... $ bash ./src/gdb/gdb_buildall.sh -j 5 $(pwd -P)/src $(pwd -P)/build.tmp ./src/gdb/gdb_buildall.sh: line 27: warning: setlocale: LC_ALL: cannot chan= ge locale (c) Starting gdb_buildall.sh ... ... /home/vries/gdb_versions/devel/binutils-gdb.git/configure --enable-targets=3Dall ... make -j 5 maint print architecture for ... No such file or directory: "/usr/local/share/gdb/guile/gdb/boot.scm"./src/gdb/gdb_buildall.sh: line 22= 9: $log_file: ambiguous redirect ./src/gdb/gdb_buildall.sh: line 231: test: too many arguments grep: No: No such file or directory grep: such: No such file or directory grep: file: No such file or directory grep: or: No such file or directory grep: directory_: No such file or directory grep: "/usr/local/share/gdb/guile/gdb/boot.scm".log: No such file or direct= ory OK sed: can't read No: No such file or directory sed: can't read such: No such file or directory sed: can't read file: No such file or directory sed: can't read or: No such file or directory sed: can't read directory_: No such file or directory sed: can't read "/usr/local/share/gdb/guile/gdb/boot.scm".log: No such file= or directory sed: can't read No: No such file or directory sed: can't read such: No such file or directory sed: can't read file: No such file or directory sed: can't read or: No such file or directory sed: can't read directory_: No such file or directory sed: can't read "/usr/local/share/gdb/guile/gdb/boot.scm".log: No such file= or directory mv: target '"/usr/local/share/gdb/guile/gdb/boot.scm".log' is not a directo= ry done. ... So, we do: ... $ ./build.tmp/ALL/gdb/gdb -ex "set architecture" Exception caught while booting Guile. Error in function "open-file": No such file or directory: "/usr/local/share/gdb/guile/gdb/boot.scm" ./build.tmp/ALL/gdb/gdb: warning: Could not complete Guile gdb module initialization from: /usr/local/share/gdb/guile/gdb/boot.scm. Limited Guile support is available. Suggest passing --data-directory=3D/path/to/gdb/data-directory. Requires an argument. Valid arguments are ARC600, ... , tilegx32, auto. ... and conclude that 'No such file or directory: "/usr/local/share/gdb/guile/gdb/boot.scm"' is a target, and then bail out w= hen we try to redirect to $target.log (because there's a space in the file name= and log_file is not quoted in cat > $log_file). --=20 You are receiving this mail because: You are on the CC list for the bug.=