Skip to contentSkip to conversation

New: pps-tools bash dependency

Buildroot bugzilla at busybox.net 1 participant 6 messages Oct 22, 2018 – Dec 19, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=11426

Bug ID: 11426
Summary: pps-tools bash dependency
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jan.dohl at airrays.com
CC: buildroot at uclibc.org
Target Milestone: ---

When installing the pps-tools package without installing Bash, the ppsfind script in the package will not work. For example:

# uname -a
Linux xla 4.14.0-xla #4 SMP PREEMPT Fri Oct 19 17:56:30 CEST 2018 aarch64
GNU/Linux
# ppsfind
-sh: ppsfind: not found
# which ppsfind
/usr/bin/ppsfind
# cat /usr/bin/ppsfind | head -n 1
#!/bin/bash

Not sure what the best course of action is here, though. I think making Bash a dependency for pps-tools is not a good idea. The ppsfind script works fine by just replacing the shebang with /bin/sh instead. The latter is probably also a good suggestion for the upstream repository.

Would a patch for the time being while also reporting this to the upstream be a good idea?

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 11426] pps-tools bash dependency

https://bugs.busybox.net/show_bug.cgi?id=11426

--- Comment #1 from Arnout Vandecappelle <[email protected]> --- Yes, please send a patch upstream, wait a couple of days for feedback, then send a patch adding the patch to Buildroot. Note that for Buildroot, both the patch itself and the patch adding the patch need to have a good commit message and a Signed-off-by line.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 11426] pps-tools bash dependency

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11426

--- Comment #2 from Jan Dohl <[email protected]> ---
I submitted a patch here: https://github.com/redlab-i/pps-tools/pull/9

The author did some more changes and committed an update to the master branch:
https://github.com/redlab-i/pps-tools/pull/10

Since the pps-tools package in buildroot seems to load directly from a certain commit on the master branch, should I just update the package to the newest commit-id and submit a patch? Or is this usually done by the maintainer?

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 11426] pps-tools bash dependency

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11426

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr

--- Comment #3 from Yann E. MORIN <[email protected]> --- Jan, All,

Yes, please send an update to bump the version. You should maybe entice upstream to cut out a release of their own. If they don't, then it would be acceptable to bu;p to the latest sha1 from their master.

Notice that since yesterday evening, we're now in feature-freeze for the next Buildroot release, so this would only be applied after the release is cut, scheduled for the end of the month.

Regards,
Yann E. MORIN.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 11426] pps-tools bash dependency

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=11426

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Peter Korsgaard <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=5c89726d9fe5072dc92bf2c407bd5aebff2703d2

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.