pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44716: x11/qt4-libs fails to build on Darwin due to qmake segfault



>Number:         44716
>Category:       pkg
>Synopsis:       x11/qt4-libs fails to build on Darwin due to qmake segfault
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 12 23:30:00 +0000 2011
>Originator:     Richard Hansen
>Release:        
>Organization:
>Environment:
Darwin macbook-pro.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 
18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386

>Description:
qt4-libs-4.7.2 fails to build on my MacBook Pro running Mac OS X 10.6.6 and 
Xcode 3.2.6 (ABI=32).  This same version built without any problems on a 
different Mac (same OS, Xcode versions) with ABI=64.

$ cd /usr/pkgsrc/x11/qt4-libs
$ bmake clean
$ bmake package
...
./configure: line 8444: 96573 Segmentation fault      (core dumped) 
QTDIR="$outpath" "$outpath/bin/qmake" -spec "$XQMAKESPEC" 
"${relpath}/projects.pro" -o "$mkfile"
...
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/pkg/qt4

To reconfigure, run 'make confclean' and 'configure'.

=> Modifying libtool scripts to use pkgsrc libtool
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
===> Building for qt4-libs-4.7.2
gnumake: *** No rule to make target `sub-src'.  Stop.
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1


Here is the backtrace:

#0  QBasicAtomicInt::ref () at 
/usr/pkgsrc-work/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.2/src/corelib/arch/qatomic_bootstrap.h:50
        other = (const QString &) @0x0: {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x0
}
        tmp = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x8d240489
}
        padSize = <value temporarily unavailable, due to optimizations>
#1  QString [inlined] () at 
/usr/pkgsrc-work/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.2/src/corelib/tools/qstring.h:729
        other = (const QString &) @0x0: {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x0
}
        tmp = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x8d240489
}
        padSize = <value temporarily unavailable, due to optimizations>
#2  0x002b7c7f in QTextStreamPrivate::putString (this=0x1847660, s=@0x247831, 
number=false) at 
/usr/pkgsrc-work/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.2/src/corelib/io/qtextstream.cpp:964
        other = (const QString &) @0x0: {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x0
}
        tmp = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x8d240489
}
        padSize = <value temporarily unavailable, due to optimizations>
#3  0x002b2dd6 in QTextStream::operator<< (this=0xbfffce90, string=@0x247831) 
at 
/usr/pkgsrc-work/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.2/src/corelib/io/qtextstream.cpp:2525
        d = <value temporarily unavailable, due to optimizations>
#4  0x000842c8 in MakefileGenerator::writeSubTargets (this=0x186d380, 
t=@0xbfffce90, targets=@0xbfffcdb4, flags=<value temporarily unavailable, due 
to optimizations>) at generators/makefile.cpp:2651
        dep = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x644250
}
        subtarget = ('MakefileGenerator::SubTarget' *) 0x185e540
        mkfile = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x6440a0
}
        in_directory = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x6448b0
}
        out_directory = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x6447d0
}
        out_directory_cdin = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x6441a0
}
        out_directory_cdout = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x489ee0
}
        makefilein = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x489ee0
}
        sub_targ = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x489ef4
}
        target = 1
        recurse = {
  q_hash = {
    {
      d = 0x639600,
      e = 0x639600
    }
  }
}
        targ = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x63a000
}
        cmd = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x489ef4
}
        deps = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x644120
}
        deplist = (QStringList &) @0x630784: {
  <QList<QString>> = {
    {
      p = {
        static shared_null = {
          ref = {
            _q_value = 205
          },
          alloc = 0,
          begin = 0,
          end = 0,
          sharable = 1,
          array = {0x0}
        },
        d = 0x639fe0
      },
      d = 0x639fe0
    }
  }, <No data fields>}
        qeui = <value temporarily unavailable, due to optimizations>
        targetSuffixes = {
  <QList<QString>> = {
    {
      p = {
        static shared_null = {
          ref = {
            _q_value = 205
          },
          alloc = 0,
          begin = 0,
          end = 0,
          sharable = 1,
          array = {0x0}
        },
        d = 0x1854cc0
      },
      d = 0x1854cc0
    }
  }, <No data fields>}
        abs_source_path = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x489ef4
}
        qut = (QStringList &) @0x6321e4: {
  <QList<QString>> = {
    {
      p = {
        static shared_null = {
          ref = {
            _q_value = 205
          },
          alloc = 0,
          begin = 0,
          end = 0,
          sharable = 1,
          array = {0x0}
        },
        d = 0x1021e00
      },
      d = 0x1021e00
    }
  }, <No data fields>}
#5  0x0008bf06 in MakefileGenerator::writeSubDirs (this=0x186d380, 
t=@0xbfffce90) at generators/makefile.cpp:2372
        targets = {
  {
    p = {
      static shared_null = {
        ref = {
          _q_value = 205
        },
        alloc = 0,
        begin = 0,
        end = 0,
        sharable = 1,
        array = {0x0}
      },
      d = 0x18aca60
    },
    d = 0x18aca60
  }
}
        flags = <value temporarily unavailable, due to optimizations>
#6  0x000e17eb in UnixMakefileGenerator::writeMakefile (this=0x186d380, 
t=@0xbfffce90) at generators/unix/unixmake2.cpp:105
No locals.
#7  0x0005ee17 in MakefileGenerator::write (this=0x186d380) at 
generators/makefile.cpp:1064
        t = {
  _vptr$QTextStream = 0x489178,
  d_ptr = {
    d = 0x1847660
  }
}
#8  0x00151551 in BuildsMetaMakefileGenerator::write (this=0x186c670, 
oldpwd=@0xbfffd038) at generators/metamakefile.cpp:208
        build = ('BuildsMetaMakefileGenerator::Build' *) 0x1858b30
        using_stdout = false
        i = 0
        glue = ('BuildsMetaMakefileGenerator::Build' *) 0x0
        ret = false
#9  0x0014c2d3 in SubdirsMetaMakefileGenerator::write (this=0x186aed0, 
oldpwd=@0xbfffd178) at generators/metamakefile.cpp:420
        sub = <value temporarily unavailable, due to optimizations>
        writepwd = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x1815b80
}
        i = 0
        ret = <value temporarily unavailable, due to optimizations>
#10 0x00045fce in runQMake (argc=6, argv=0xbfffd200) at main.cpp:176
        success = true
        mkfile = (MetaMakefileGenerator *) 0x186aed0
        ret = <value temporarily unavailable, due to optimizations>
        oldpwd = {
  static null = {<No data fields>},
  static shared_null = {
    ref = {
      _q_value = 3044
    },
    alloc = 0,
    size = 0,
    data = 0x489ef2,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  static shared_empty = {
    ref = {
      _q_value = 6
    },
    alloc = 0,
    size = 0,
    data = 0x489f06,
    clean = 0,
    simpletext = 0,
    righttoleft = 0,
    asciiCache = 0,
    capacity = 0,
    reserved = 0,
    array = {0}
  },
  d = 0x606510
}
        prop = {
  settings = 0x60eb70
}
        project = {
  scope_blocks = {
    <QVector<QMakeProject::ScopeBlock>> = {
      {
        d = 0x1898450,
        p = 0x1898450
      }
    }, <No data fields>},
  function_blocks = {
    <QVector<FunctionBlock*>> = {
      {
        d = 0x1805c00,
        p = 0x1805c00
      }
    }, <No data fields>},
  iterator = 0x0,
  function = 0x0,
  testFunctions = {
    {
      d = 0x6155a0,
      e = 0x6155a0
    }
  },
  replaceFunctions = {
    {
      d = 0x6152e0,
      e = 0x6152e0
    }
  },
  recursive = false,
  own_prop = false,
  backslashWarned = false,
  pfile = {
    static null = {<No data fields>},
    static shared_null = {
      ref = {
        _q_value = 3044
      },
      alloc = 0,
      size = 0,
      data = 0x489ef2,
      clean = 0,
      simpletext = 0,
      righttoleft = 0,
      asciiCache = 0,
      capacity = 0,
      reserved = 0,
      array = {0}
    },
    static shared_empty = {
      ref = {
        _q_value = 6
      },
      alloc = 0,
      size = 0,
      data = 0x489f06,
      clean = 0,
      simpletext = 0,
      righttoleft = 0,
      asciiCache = 0,
      capacity = 0,
      reserved = 0,
      array = {0}
    },
    d = 0x607110
  },
  cfile = {
    static null = {<No data fields>},
    static shared_null = {
      ref = {
        _q_value = 3044
      },
      alloc = 0,
      size = 0,
      data = 0x489ef2,
      clean = 0,
      simpletext = 0,
      righttoleft = 0,
      asciiCache = 0,
      capacity = 0,
      reserved = 0,
      array = {0}
    },
    static shared_empty = {
      ref = {
        _q_value = 6
      },
      alloc = 0,
      size = 0,
      data = 0x489f06,
      clean = 0,
      simpletext = 0,
      righttoleft = 0,
      asciiCache = 0,
      capacity = 0,
      reserved = 0,
      array = {0}
    },
    d = 0x607110
  },
  prop = 0xbfffd158,
  vars = {
    {
      d = 0x619340,
      e = 0x619340
    }
  },
  base_vars = {
    {
      d = 0x606e90,
      e = 0x606e90
    }
  },
  cache = {
    {
      d = 0x607ea0,
      e = 0x607ea0
    }
  }
}
        exit_val = 0
        files = {
  <QList<QString>> = {
    {
      p = {
        static shared_null = {
          ref = {
            _q_value = 205
          },
          alloc = 0,
          begin = 0,
          end = 0,
          sharable = 1,
          array = {0x0}
        },
        d = 0x6062a0
      },
      d = 0x6062a0
    }
  }, <No data fields>}
#11 0x0000e1bd in _start () at qatomic_bootstrap.h:56
No symbol table info available.
#12 0x0000e0ec in start () at qatomic_bootstrap.h:56
No symbol table info available.

>How-To-Repeat:
cd /usr/pkgsrc/x11/qt4-libs && bmake clean && bmake package
>Fix:



Home | Main Index | Thread Index | Old Index