Qt4 is dead and going away. Please check if Qt4 here really means 'Qt' support and maybe can be built with Qt5. Otherwise it might be time to drop the option.
ping
https://github.com/ZBar/ZBar/pull/8 https://github.com/bastien-roucaries/zbar
Actually there seems to be a release 0.20 with Qt5 support. https://github.com/procxx/zbar/releases
Created attachment 524290 [details, diff] zbar-0.20.ebuild.patch First attempt with an early build failure. >>> Compiling source in /var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 moc -i -Izbarcam -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20/include /var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20/zbarcam/zbarcam-qt.cpp -o zbarcam/moc_zbarcam_qt.h moc: Cannot create zbarcam/moc_zbarcam_qt.h make: *** [Makefile:3207: zbarcam/moc_zbarcam_qt.h] Error 1 * ERROR: media-gfx/zbar-0.20::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/zbar-0.20::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/zbar-0.20::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-gfx/zbar-0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/zbar-0.20/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20-abi_x86_64.amd64' * S: '/var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58e50c4bddb838a269abf71deeff789e17c2fd4 commit a58e50c4bddb838a269abf71deeff789e17c2fd4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-05-10 10:07:19 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-05-10 10:08:18 +0000 media-gfx/zbar: Drop USE=qt4 Closes: https://bugs.gentoo.org/641920 Package-Manager: Portage-2.3.36, Repoman-2.3.9 media-gfx/zbar/zbar-0.10_p20121015-r3.ebuild | 132 +++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a660f40c63bfba4fd9eb24134dac99fb25387e3f commit a660f40c63bfba4fd9eb24134dac99fb25387e3f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-05-10 10:05:27 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-05-10 10:08:18 +0000 media-gfx/zbar: Drop old Bug: https://bugs.gentoo.org/641920 Package-Manager: Portage-2.3.36, Repoman-2.3.9 media-gfx/zbar/Manifest | 1 - media-gfx/zbar/files/zbar-0.10-no-v4l1-check.patch | 74 --------------- media-gfx/zbar/zbar-0.10-r6.ebuild | 72 --------------- media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild | 100 --------------------- 4 files changed, 247 deletions(-)
Leaving this open for anyone to pick up. No longer blocking qt4-removal.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396ae5098d33469763456222de5638ff7e983475 commit 396ae5098d33469763456222de5638ff7e983475 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-25 11:48:30 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-25 17:34:57 +0000 media-gfx/zbar: 0.20.1 version bump, add USE qt5, graphicsmagick Add missing || die Closes: https://bugs.gentoo.org/667990 Closes: https://bugs.gentoo.org/641920 Closes: https://bugs.gentoo.org/629016 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/zbar/Manifest | 1 + media-gfx/zbar/zbar-0.20.1.ebuild | 148 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+)
(In reply to Andreas Sturmlechner from comment #4) > First attempt with an early build failure. > > >>> Compiling source in /var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20 ... > * abi_x86_64.amd64: running multilib-minimal_abi_src_compile > make -j1 > moc -i -Izbarcam -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB > -DQT_CORE_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 > -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui > -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 > -I/var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20/include > /var/tmp/portage/media-gfx/zbar-0.20/work/zbar-0.20/zbarcam/zbarcam-qt.cpp > -o zbarcam/moc_zbarcam_qt.h > moc: Cannot create zbarcam/moc_zbarcam_qt.h > make: *** [Makefile:3207: zbarcam/moc_zbarcam_qt.h] Error 1 How did you resolve this failure? I am seeing the same failure on media-gfx/zbar-0.20.1. # emerge -pqv media-gfx/zbar [ebuild U ] media-gfx/zbar-0.20.1 [0.10_p20121015-r3] USE="X gtk jpeg qt5%* threads v4l xv -graphicsmagick% -imagemagick -java -python -static-libs -test" ABI_X86="(64) -32 -x32" PYTHON_TARGETS="-python2_7*"
I've been getting the same error, it turns out it only happens with USE="v4l".