Menu

#7 Add support for bash 5.0

closed
5
2019-09-04
2019-01-14
ehaupt
No

Add support for bash 5.0

1 Attachments

Discussion

  • Rocky Bernstein

    Rocky Bernstein - 2019-01-14

    I wonder if there is more to it than this. I don't have bash 5.0 installed. Would you run

    configure
    make
    make check
    

    and attach the console output?

     
  • ehaupt

    ehaupt - 2019-01-16

    You'll also have to re-generate 'configure' with the autotools, but once you have you'll get (see attachment).

    Make check does not finish. It hangs after:

    make check-TESTS
    PASS: test-bug-step-subshell
    PASS: test-bug-set-e
    PASS: test-complete
    PASS: test-debug
    PASS: test-delete
    PASS: test-export
    SKIP: test-file-with-spaces
    PASS: test-info-args

    Pressing ^C - t you get:

    load: 0.43 cmd: sleep 44574 [nanslp] 0.52r 0.00u 0.00s 0% 2132k
    make: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1
    make[1]: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test
    make[4]: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration
    make[3]: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration
    make[2]: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration

     
    • Rocky Bernstein

      Rocky Bernstein - 2019-01-16

      This:

      make[2]: Working in:
      /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration
      ^Cmake[4]: test-interrupt.log removed
      Error code 130
      Signal 2
      Signal 2
      Signal 2
      Signal 2

      leads me to believe that none of the integration tests are working.

      When you cd into test/integration and run

      $ make clean && for t in test-*; do echo $t; bash $t; done

      what is the output. In other words are integration tests working that way?

      On Wed, Jan 16, 2019 at 1:01 PM ehaupt ehaupt@users.sourceforge.net wrote:

      You'll also have to re-generate 'configure' with the autotools, but once
      you have you'll get (see attachment).

      Make check does not finish. It hangs after:

      make check-TESTS
      PASS: test-bug-step-subshell
      PASS: test-bug-set-e
      PASS: test-complete
      PASS: test-debug
      PASS: test-delete
      PASS: test-export
      SKIP: test-file-with-spaces
      PASS: test-info-args

      Pressing ^C - t you get:

      load: 0.43 cmd: sleep 44574 [nanslp] 0.52r 0.00u 0.00s 0% 2132k
      make: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1
      make[1]: Working in: /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test
      make[4]: Working in:
      /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration
      make[3]: Working in:
      /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration
      make[2]: Working in:
      /usr/ports/devel/bashdb/work/bashdb-4.4-1.0.1/test/integration

      Attachments:


      Status: open
      Group: v1.0_(example)
      Labels: bash5 patch
      Created: Mon Jan 14, 2019 09:02 AM UTC by ehaupt
      Last Updated: Mon Jan 14, 2019 11:27 AM UTC
      Owner: nobody
      Attachments:

      Add support for bash 5.0

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/bashdb/bugs/59/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Lockywolf

    Lockywolf - 2019-06-13

    Bash was also updated to version 5 in Slackware, so I am also seing this problem.

    I patched the configure script to ignore the version, but this doesn't make bashdb more stable.

     
  • Rocky Bernstein

    Rocky Bernstein - 2019-09-02

    In commit f2f889c in the bash 5.0 branch I have started to update for bash 5.0. Please see if this addresses the problems.

     

    Last edit: Rocky Bernstein 2019-09-02
  • Rocky Bernstein

    Rocky Bernstein - 2019-09-02

    Ticket moved from /p/bashdb/bugs/59/

     
  • Rocky Bernstein

    Rocky Bernstein - 2019-09-02
    • status: open --> accepted
    • assigned_to: Rocky Bernstein
    • Group: v1.0_(example) --> Next_Release_(example)
     
  • Rocky Bernstein

    Rocky Bernstein - 2019-09-04
    • status: accepted --> closed