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

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.0
    • 5.2.0 RC1
    • Build System
    • None
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            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