Bug 1401709 - psi: FTBFS in Fedora Rawhide
Summary: psi: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED DUPLICATE of bug 1396755
Alias: None
Product: Fedora
Classification: Fedora
Component: psi
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ivan Romanov
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 22:28 UTC by Raphael Groner
Modified: 2016-12-11 17:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-11 17:46:00 UTC
Type: Bug


Attachments (Terms of Use)

Description Raphael Groner 2016-12-05 22:28:59 UTC
Description of problem:
Package psi fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.15-17.fc24

Steps to Reproduce:
koji build --scratch f26 psi-0.15-17.fc24.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/psi

Comment 1 Raphael Groner 2016-12-05 22:30:18 UTC
Relevant snippet from latest build.log:
…
Verifying Qt 4 build environment ... 
qmake found in /builddir/build/BUILD/psi-0.15/bin/qmake-qt4
makespec is linux-g++
 -> fail
Reason: There was an error compiling 'conf'.  See conf.log for details.
Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.
If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:
 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH
This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.
conf.log:
/usr/lib64/qt4/bin/moc -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include -I. conf4.cpp -o conf4.moc
/builddir/build/BUILD/psi-0.15/.qconftemp/modules.cpp:52: Parse error at "defined"
…

Comment 2 Raphael Groner 2016-12-05 22:55:48 UTC
General bug #1396755.

Comment 3 Raphael Groner 2016-12-11 17:46:00 UTC
Fixed. Thanks to Rex for the patches / workaround.

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


Note You need to log in before you can comment on or make changes to this bug.