[Bug server/32105] New: interactive-notebook/Makefile.am contains bashisms

sam at gentoo dot org sourceware-bugzilla@sourceware.org
Wed Aug 21 05:24:00 GMT 2024


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

            Bug ID: 32105
           Summary: interactive-notebook/Makefile.am contains bashisms
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: server
          Assignee: systemtap at sourceware dot org
          Reporter: sam at gentoo dot org
  Target Milestone: ---

Wasn't sure which component fit for this.

Forwarding a downstream report at https://bugs.gentoo.org/913947 where if
/bin/sh is non-bash, e.g. dash, one gets:
```
install -c -m 644 -D $f
/var/tmp/portage/dev-util/systemtap-4.9/image/usr/share/systemtap/interactive-notebook/$f;
done)
/usr/bin/install: cannot stat '*.{ipynb,md,txt,json,py}': No such file or
directory
install-xattr: failed to stat
/var/tmp/portage/dev-util/systemtap-4.9/image/usr/share/systemtap/interactive-notebook/*.{ipynb,md,txt,json,py}:
No such file or directory
```

The issue is interactive-notebook/Makefile.am uses non-portable brace
expansion:
```
        (cd "$(srcdir)"; for f in *.{ipynb,md,txt,json,py}; \
                do $(INSTALL_DATA) -D $$f
$(DESTDIR)$(pkgdatadir)/interactive-notebook/$$f; done)
        (cd "$(srcdir)/isystemtap"; for f in *.{py,json}; \
[...]
```

We're working around it with CONFIG_SHELL=bash for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list