Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572488 - media-gfx/zbar[qt4]: Use of deprecated function causes dependent packages to fail build
Summary: media-gfx/zbar[qt4]: Use of deprecated function causes dependent packages to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-21 08:15 UTC by Sam Jorna (wraeth)
Modified: 2017-12-18 09:19 UTC (History)
0 users

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


Attachments
zbar-0.10_p20121015.ebuild.patch (zbar-0.10_p20121015.ebuild.patch,499 bytes, patch)
2016-01-21 08:15 UTC, Sam Jorna (wraeth)
Details | Diff
merkaartor-0.18.2-build.log (merkaartor-0.18.2-build.log,356.49 KB, text/plain)
2016-01-21 08:17 UTC, Sam Jorna (wraeth)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Jorna (wraeth) gentoo-dev 2016-01-21 08:15:00 UTC
Created attachment 423464 [details, diff]
zbar-0.10_p20121015.ebuild.patch

While zbar itself builds without issue, building merkaartor-0.18.2[qrcode] (see bug 555362) fails as zbar makes use of a deprecated QImage function numBytes(). A single sed (ebuild patch attached) to update this to use byteCount() resolves this.
Comment 1 Sam Jorna (wraeth) gentoo-dev 2016-01-21 08:17:21 UTC
Created attachment 423466 [details]
merkaartor-0.18.2-build.log

build.log for merkaartor-0.18.2 showing the failed build.
Comment 2 Larry the Git Cow gentoo-dev 2017-12-18 09:19:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193

commit 1c15f97c3cfb23fccd1f63ddd8016ae95d9f4193
Author:     Michael Weber <xmw@gentoo.org>
AuthorDate: 2017-12-18 09:19:28 +0000
Commit:     Michael Weber <xmw@gentoo.org>
CommitDate: 2017-12-18 09:19:28 +0000

    media-gfx/zbar: Switch deprecated qt4 function (thanks Sam Jorna).
    
    Closes: https://bugs.gentoo.org/572488
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)