Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34950

"/bin/sh: line 0: test: too many arguments" when builing Qt on OpenSUSE 13.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.2.0 RC1
    • Fix Version/s: 5.3.0
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      OpenSUSE 13.1 64 bit, GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs

      Description

      The magic to detect the gdb version in qmake fails for the gdb in openSUSE 13.1

      $ test $(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72
      bash: test: too many arguments
      $ gdb --version
      GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
      Copyright (C) 2013 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "x86_64-suse-linux".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://bugs.opensuse.org/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word".
      

        Attachments

        For Gerrit Dashboard: QTBUG-34950
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            kkohne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes