public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/29473] New: [gdb/build] gdb/gdb_buildall.sh: No such file or directory: /usr/local/share/gdb/guile/gdb/boot.scm
@ 2022-08-11 15:33 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2022-08-11 15:33 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29473

            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 change
locale (c)
Starting gdb_buildall.sh ...
... /home/vries/gdb_versions/devel/binutils-gdb.git/configure
--enable-targets=all
... 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 229:
$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 directory
 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 directory
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=/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 when
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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-11 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 15:33 [Bug build/29473] New: [gdb/build] gdb/gdb_buildall.sh: No such file or directory: /usr/local/share/gdb/guile/gdb/boot.scm vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).