nowinter (nowinter) wrote in gentoo,
nowinter
nowinter
gentoo

qt-4.1.4 emerge fails..

I tried many times to search the forum.. emerge fails with the this message:
[...]
X11 headers look good.
Xcursor auto-detection... ()
/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/config.tests/unix/compile.test: line 49: 3483 Segmentation fault $OUTDIR/bin/qmake -nocache -spec "$QMKSPEC" "LIBS*=$LIBPATH" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" $SRCDIR/$TEST/$EXE.pro -o $OUTDIR/$TEST/Makefile >/dev/null 2>&1
make: *** No targets specified and no makefile found. Stop.
Xcursor disabled.
Xrandr auto-detection... ()
/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/config.tests/unix/compile.test: line 49: 3491 Segmentation fault $OUTDIR/bin/qmake -nocache -spec "$QMKSPEC" "LIBS*=$LIBPATH" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" $SRCDIR/$TEST/$EXE.pro -o $OUTDIR/$TEST/Makefile >/dev/null 2>&1
make: *** No targets specified and no makefile found. Stop.
Xrandr disabled.
Xrandr support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.

!!! ERROR: x11-libs/qt-4.1.4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
qt-4.1.4.ebuild, line 167: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

... done!

But the thing is it has segmentation faults before that:

#grep fault qt.log
/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/config.tests/unix/compile.test: line 49: 3483 Segmentation fault $OUTDIR/bin/qmake -nocache -spec "$QMKSPEC" "LIBS*=$LIBPATH" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" $SRCDIR/$TEST/$EXE.pro -o $OUTDIR/$TEST/Makefile >/dev/null 2>&1
/var/tmp/portage/qt-4.1.4/work/qt-x11-opensource-src-4.1.4/config.tests/unix/compile.test: line 49: 3491 Segmentation fault $OUTDIR/bin/qmake -nocache -spec "$QMKSPEC" "LIBS*=$LIBPATH" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" $SRCDIR/$TEST/$EXE.pro -o $OUTDIR/$TEST/Makefile >/dev/null 2>&1

line 49 in the file is this:
$OUTDIR/bin/qmake -nocache -spec "$QMKSPEC" "LIBS*=$LIBPATH" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXF$

and what could be wrong with qmake, i can't even think. I tried to do the things manualyy, but I'm not so good at Makefile[s], so I couldn't match all the specs, and it installed stuff somewhere out of sight.. In brief, it didn't work, but for definitely different reasons.
I tried it with the most safe flags and options, like LDFLAGS="" CFLAGS="-O0 -march=pentium4 -pipe -fomit-frame-pointer" CXXFLAGS=$CFLAGS MAKEOPTS=-j1, with the very same result.

Anyone met this kind of trouble?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 14 comments