Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453906 - sci-visualization/gnuplot-4.6.1 fails with uic: Command not found
Summary: sci-visualization/gnuplot-4.6.1 fails with uic: Command not found
Status: RESOLVED DUPLICATE of bug 401025
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 21:21 UTC by Angelo Arrifano (RETIRED)
Modified: 2013-01-25 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Arrifano (RETIRED) gentoo-dev 2013-01-24 21:21:07 UTC
emerge =sci-visualization/gnuplot-4.6.1 fails with the error pasted below. I don't know much about qt but having gnuplot somehow trying to find uic in the qt-core build directory seems a bit fishy to me!

GNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -DQTGNUPLOT_DATA_DIR=\"/usr/share/gnuplot/4.6/qt\" -I/usr/include -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/pango-1.0   -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/pango-1.0   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg    -march=k8-sse3 -O2 -c -DGPLT_X11_MODE -o getcolor_x11.o ./getcolor.c
/usr/local/tmp/portage/x11-libs/qt-core-4.8.4/work/qt-everywhere-opensource-src-4.8.4/bin/uic -o ui_QtGnuplotSettings.h qtterminal/QtGnuplotSettings.ui
make[3]: /usr/local/tmp/portage/x11-libs/qt-core-4.8.4/work/qt-everywhere-opensource-src-4.8.4/bin/uic: Command not found
make[3]: *** [ui_QtGnuplotSettings.h] Error 127
make[3]: *** Waiting for unfinished jobs....
(...)
make: *** [all] Error 2
 * ERROR: sci-visualization/gnuplot-4.6.1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sci-visualization/gnuplot-4.6.1'`,
 * the complete build log and the output of `emerge -pqv '=sci-visualization/gnuplot-4.6.1'`.
 * The complete build log is located at '/usr/local/tmp/portage/sci-visualization/gnuplot-4.6.1/temp/build.log'.
 * The ebuild environment file is located at '/usr/local/tmp/portage/sci-visualization/gnuplot-4.6.1/temp/environment'.
 * Working directory: '/usr/local/tmp/portage/sci-visualization/gnuplot-4.6.1/work/gnuplot-4.6.1'
 * S: '/usr/local/tmp/portage/sci-visualization/gnuplot-4.6.1/work/gnuplot-4.6.1'
Comment 1 Ulrich Müller gentoo-dev 2013-01-25 07:29:42 UTC
I cannot reproduce this. For me, /usr/bin/uic is executed. What is the output of the following command?

   $ pkg-config --variable=uic_location QtCore
Comment 2 Rafał Mużyło 2013-01-25 08:16:58 UTC
Most likely this will be a duplicate of bug 401025.
Comment 3 Angelo Arrifano (RETIRED) gentoo-dev 2013-01-25 16:48:20 UTC
(In reply to comment #1)
> I cannot reproduce this. For me, /usr/bin/uic is executed. What is the
> output of the following command?
> 
>    $ pkg-config --variable=uic_location QtCore

Yep, that's it, the .pc file is borken:

$ pkg-config --variable=uic_location QtCore
/usr/local/tmp/portage/x11-libs/qt-core-4.8.4/work/qt-everywhere-opensource-src-4.8.4/bin/uic
Comment 4 Ulrich Müller gentoo-dev 2013-01-25 16:55:14 UTC

*** This bug has been marked as a duplicate of bug 401025 ***