Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634106 - dev-util/cppcheck: qt4 use flag not working anymore
Summary: dev-util/cppcheck: qt4 use flag not working anymore
Status: RESOLVED DUPLICATE of bug 627380
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
Depends on:
Reported: 2017-10-12 16:34 UTC by Jens Lindenmeier
Modified: 2017-10-12 18:23 UTC (History)
0 users

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

emerge info (,6.05 KB, text/plain)
2017-10-12 16:34 UTC, Jens Lindenmeier
build log of cppcheck emerge (build.log,5.04 KB, application/octet-stream)
2017-10-12 16:35 UTC, Jens Lindenmeier

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Lindenmeier 2017-10-12 16:34:23 UTC
Created attachment 498440 [details]
emerge info

Was trying out gui support for cppcheck today, but emerging fails.
Seems as if cppcheck, at least in version 1.81 requires now qt5.

x86_64-pc-linux-gnu-g++ -O2 -pipe -O2 -pipe -ggdb -std=c++0x -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/pathmatch.o lib/path.o externals/simplecpp/simplecpp.o -Wl,-O1 -Wl,--as-needed
>>> Source prepared.
>>> Configuring source in /local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/work/cppcheck-1.81 ...
/local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/work/cppcheck-1.81/gui /local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/work/cppcheck-1.81
 * Running qmake ...
 *  - fixed CONFIG in
Project ERROR: requires >= Qt 5 (You used: 4.8.7)                                                                                                                                                                                     [ !! ]

 * Running qmake has failed! (see above for details)
 * This shouldn't happen - please send a bug report to

 * ERROR: dev-util/cppcheck-1.81::NokiaLocalOverlay failed (configure phase):
 *   eqmake4 failed
 * Call stack:
 *, line  124:  Called src_configure
 *   environment, line 4316:  Called qt4-r2_src_configure
 *   environment, line 4111:  Called eqmake4 ''
 *   environment, line 1779:  Called die
 * The specific snippet of code:
 *           die "eqmake4 failed";
 * If you need support, post the output of `emerge --info '=dev-util/cppcheck-1.81::NokiaLocalOverlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/cppcheck-1.81::NokiaLocalOverlay'`.
 * The complete build log is located at '/local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/temp/build.log'.
 * The ebuild environment file is located at '/local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/temp/environment'.
 * Working directory: '/local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/work/cppcheck-1.81/gui'
 * S: '/local/user_data/gentoo/var/tmp/portage/dev-util/cppcheck-1.81/work/cppcheck-1.81'

>>> Failed to emerge dev-util/cppcheck-1.81, Log file:
Comment 1 Jens Lindenmeier 2017-10-12 16:35:14 UTC
Created attachment 498442 [details]
build log of cppcheck emerge
Comment 2 Andreas Sturmlechner gentoo-dev 2017-10-12 16:39:23 UTC
Well, unless you try with a version of cppcheck in tree, this is invalid.
Comment 3 Jens Lindenmeier 2017-10-12 16:50:46 UTC
Agree, we can track the issue with 627380 and mark as duplicate if you wish.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-10-12 18:23:25 UTC

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