Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124843 - sci-electronics/vstgl-0.6.2 fails (QT4)
Summary: sci-electronics/vstgl-0.6.2 fails (QT4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 11:51 UTC by Patrizio Bassi
Modified: 2006-04-17 19:15 UTC (History)
1 user (show)

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


Attachments
patch to fix compile issues with QT3 (vstgl-0.6.2.ebuild.patch,820 bytes, patch)
2006-04-17 07:43 UTC, Markus Dittrich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-03 11:51:49 UTC
due to qt3/4 problem. force to qt3

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
g++ -c -pipe -O2 -mtune=pentium3 -march=pentium3 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/doc/qt-4.1.0-r2/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o CAboutBox.o CAboutBox.cpp
CAboutBox.cpp:29:23: error: qtextview.h: No such file or directory
CAboutBox.cpp: In constructor ‘CAboutBox::CAboutBox(QWidget*, QString)’:
CAboutBox.cpp:39: error: no matching function for call to ‘QDialog::QDialog(QWidget*&, QString&, bool)’
/usr/include/qt4/QtGui/qdialog.h:101: note: candidates are: QDialog::QDialog(const QDialog&)
/usr/include/qt4/QtGui/qdialog.h:90: note:                 QDialog::QDialog(QDialogPrivate&, QWidget*, Qt::WFlags)
/usr/include/qt4/QtGui/qdialog.h:44: note:                 QDialog::QDialog(QWidget*, Qt::WFlags)
CAboutBox.cpp:72: error: no matching function for call to ‘QVBoxLayout::QVBoxLayout(CAboutBox* const, int)’
/usr/include/qt4/QtGui/qboxlayout.h:136: note: candidates are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:124: note:                 QVBoxLayout::QVBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:123: note:                 QVBoxLayout::QVBoxLayout()
CAboutBox.cpp:75: error: no matching function for call to ‘QHBoxLayout::QHBoxLayout(QBoxLayout*&)’
/usr/include/qt4/QtGui/qboxlayout.h:116: note: candidates are: QHBoxLayout::QHBoxLayout(const QHBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:104: note:                 QHBoxLayout::QHBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:103: note:                 QHBoxLayout::QHBoxLayout()
make: *** [CAboutBox.o] Error 1

!!! ERROR: sci-electronics/vstgl-0.6.2 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-03-17 07:56:51 UTC
Should now be fixed.  Thanks for the report.
Comment 2 Patrizio Bassi 2006-03-18 01:16:25 UTC
no it's not fixed here:

>>> Compiling source in /var/tmp/portage/vstgl-0.6.2/work/vstgl ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
***Unknown option -makefile
Usage: /usr/qt/3/bin/qmake [mode] [options] [files]

   QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
        -project       Put qmake into project file generation mode
                       In this mode qmake interprets files as files to
                       be built,
                       defaults to *.c; *.ui; *.y; *.l; *.ts; *.h; *.hpp; *.hh; *.H; *.hxx; *.cpp; *.cc; *.cxx; *.C
        -makefile      Put qmake into makefile generation mode (default)
                       In this mode qmake interprets files as project files to
                       be processed, if skipped qmake will try to find a project
                       file in your current working directory

Warnings Options:
        -Wnone         Turn off all warnings
        -Wall          Turn on all warnings
        -Wparser       Turn on parser warnings
        -Wlogic        Turn on logic warnings

Options:
         * You can place any variable assignment in options and it will be     *
         * processed as if it was in [files]. These assignments will be parsed *
         * before [files].                                                     *
        -o file        Write output to file
        -unix          Run in unix mode
        -win32         Run in win32 mode
        -macx          Run in Mac OS X mode
        -d             Increase debug level
        -t templ       Overrides TEMPLATE as templ
        -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
        -help          This help
        -v             Version information
        -after         All variable assignments after this will be
                       parsed after [files]
        -cache file    Use file as cache           [makefile mode only]
        -spec spec     Use spec as QMAKESPEC       [makefile mode only]
        -nocache       Don't use a cache file      [makefile mode only]
        -nodepend      Don't generate dependencies [makefile mode only]
        -nomoc         Don't generate moc targets  [makefile mode only]
        -nopwd         Don't look for files in pwd [ project mode only]
        -norecursive   Don't do a recursive search [ project mode only]

!!! ERROR: sci-electronics/vstgl-0.6.2 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  ebuild.sh, line 614:   Called econf

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Patrizio Bassi 2006-04-12 02:07:38 UTC
caleb, i tested today, but doesn't work. can you take a look?
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2006-04-17 07:43:45 UTC
Created attachment 84834 [details, diff]
patch to fix compile issues with QT3

Hi  Patrizio,

Please give this patch a try and report back. It works for me.

Best,
Markus
Comment 5 Patrizio Bassi 2006-04-17 12:28:09 UTC
wonderful work Markus, as usual.

works, you can apply to cvs :)
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2006-04-17 19:15:04 UTC
Hi Patrizio,

Thank you very much for testing:)
The changes are in cvs.

Best,
Markus