Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619906 - dev-qt/qtsingleapplication-2.6.1_p20150629: epatch: command not found
Summary: dev-qt/qtsingleapplication-2.6.1_p20150629: epatch: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-05-28 05:39 UTC by Perfect Gentleman
Modified: 2017-05-30 05:57 UTC (History)
3 users (show)

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


Attachments
Patch to inherit from eutils (qtsingleapplication_eutils_inherit.patch,387 bytes, patch)
2017-05-29 05:27 UTC, Jeremy Drake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2017-05-28 05:39:30 UTC
>>> Emerging (2 of 2) dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo
 * qt-solutions-20150629.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                          [ ok ]
>>> Unpacking source...
>>> Unpacking qt-solutions-20150629.tar.xz to /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work
>>> Source unpacked in /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work
>>> Preparing source in /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication ...
/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/temp/environment: line 1190: epatch: command not found
/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/temp/environment: line 1191: epatch: command not found
 * Will copy sources from /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication
 * qt5: copying to /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication ...
 * qt5: running run_in_build_dir myconfigure
 * Running qmake ...
Info: creating stash file /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/.qmake.stash                                                                                  [ ok ]
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication ...
 * qt5: running run_in_build_dir default
make -j5 
cd buildlib/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake /tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/buildlib/buildlib.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile ) && make -f Makefile 
make[1]: Entering directory '/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/buildlib'
x86_64-pc-linux-gnu-g++ -c -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qtsingleapplication.o ../src/qtsingleapplication.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../src -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qtlocalpeer.o ../src/qtlocalpeer.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt5/mkspecs/linux-g++ -I/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/buildlib -I/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6 -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include-fixed -I/usr/include ../src/qtsingleapplication.h -o moc_qtsingleapplication.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt5/mkspecs/linux-g++ -I/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/buildlib -I/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6 -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include-fixed -I/usr/include ../src/qtlocalpeer.h -o moc_qtlocalpeer.cpp
In file included from ../src/qtsingleapplication.cpp:43:0:
../src/qtlocalpeer.h:48:26: fatal error: qtlockedfile.h: No such file or directory
 #include "qtlockedfile.h"
                          ^
compilation terminated.
In file included from ../src/qtlocalpeer.cpp:42:0:
../src/qtlocalpeer.h:48:26: fatal error: qtlockedfile.h: No such file or directory
 #include "qtlockedfile.h"
                          ^
compilation terminated.
make[1]: *** [Makefile:663: qtlocalpeer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:660: qtsingleapplication.o] Error 1
make[1]: Leaving directory '/tmp/portage/dev-qt/qtsingleapplication-2.6.1_p20150629/work/qt-solutions-20150629/qtsingleapplication-qt5/buildlib'
make: *** [Makefile:43: sub-buildlib-make_first-ordered] Error 2
 * ERROR: dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo failed (compile phase):
 *   emake failed
 *
Comment 1 Jeremy Drake 2017-05-29 05:27:08 UTC
Created attachment 474600 [details, diff]
Patch to inherit from eutils

I ran into this issue myself yesterday.  Here's a patch.
Comment 2 Coacher 2017-05-29 09:48:40 UTC
Broken in commit 2340956cb0c43c86e039829712bbed6eae30fb93
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: Sat May 27 01:23:52 2017 +0200
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: Sat May 27 01:23:52 2017 +0200

    qmake-utils.eclass: avoid dependency on eutils
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2017-05-29 19:58:41 UTC
The intention was to drop eutils in EAPI=6 only, it's still needed in previous EAPIs. Sorry for the breakage.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08db1bbfb275922471e0ea140b352ddb27d7d33
Comment 4 Jeremy Drake 2017-05-30 05:57:58 UTC
That seems to have fixed it, thanks