Summary: | sci-visualization/gnuplot-5.4.3: invalid test operator == in configure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Ulrich Müller <ulm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://sourceforge.net/p/gnuplot/bugs/2533/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: |
build.log
configure.ac: Replace non-POSIX == operator in tests |
Description
Sam James
2022-07-09 11:34:42 UTC
(build.log is from "ebuild ... clean configure", so that's why it stops abruptly.) That's not a bashism. Pretty sure that == isn't allowed with bash's test either, or at least it isn't documented as an operator: $ help test [...] String operators: -z STRING True if string is empty. -n STRING STRING True if string is not empty. STRING1 = STRING2 True if the strings are equal. STRING1 != STRING2 True if the strings are not equal. STRING1 < STRING2 True if STRING1 sorts before STRING2 lexicographically. STRING1 > STRING2 True if STRING1 sorts after STRING2 lexicographically [...] Created attachment 790778 [details, diff]
configure.ac: Replace non-POSIX == operator in tests
Please test if attached patch fixes the problem.
Reported upstream: https://sourceforge.net/p/gnuplot/bugs/2533/ (For some reason bugzilla doesn't let me add this to "see also", although sourceforge.net is in its list of allowed bug trackers.) Fixed in gnuplot-5.4.4. |