Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641920 - media-gfx/zbar-0.20 version bump with Qt5 support (was: optionally depends on deprecated Qt4)
Summary: media-gfx/zbar-0.20 version bump with Qt5 support (was: optionally depends on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-21 12:55 UTC by Andreas Sturmlechner
Modified: 2018-11-27 09:11 UTC (History)
1 user (show)

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


Attachments
zbar-0.20.ebuild.patch (zbar-0.20.ebuild.patch,5.32 KB, patch)
2018-03-18 19:53 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2017-12-21 12:55:35 UTC
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.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-03-03 09:55:41 UTC
ping
Comment 3 Andreas Sturmlechner gentoo-dev 2018-03-18 19:11:50 UTC
Actually there seems to be a release 0.20 with Qt5 support.

https://github.com/procxx/zbar/releases
Comment 4 Andreas Sturmlechner gentoo-dev 2018-03-18 19:53:40 UTC
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'
Comment 5 Larry the Git Cow gentoo-dev 2018-05-10 10:08:30 UTC
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(-)
Comment 6 Andreas Sturmlechner gentoo-dev 2018-05-10 10:10:18 UTC
Leaving this open for anyone to pick up. No longer blocking qt4-removal.
Comment 7 Larry the Git Cow gentoo-dev 2018-11-25 17:36:24 UTC
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(+)
Comment 8 Matt Whitlock 2018-11-27 02:06:00 UTC
(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*"
Comment 9 Neil Bothwick 2018-11-27 09:02:58 UTC
I've been getting the same error, it turns out it only happens with USE="v4l".