Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564920 - dev-qt/qtsvg-5.4.2 fails with "error: ‘PREMUL’ was not declared in this scope"
Summary: dev-qt/qtsvg-5.4.2 fails with "error: ‘PREMUL’ was not declared in this scope"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 573188 (view as bug list)
Depends on:
Blocks: qt-5.5.1-stable
  Show dependency tree
 
Reported: 2015-11-05 06:20 UTC by Peter Levine
Modified: 2016-01-28 12:48 UTC (History)
2 users (show)

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


Attachments
Patch for qtsvg-5.4.2 (qtsvg-5.4.2_qPremultiply.patch,1.45 KB, patch)
2015-11-05 06:27 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2015-11-05 06:20:59 UTC
PREMUL has been replaced by qPremultiply in Qt.



Reproducible: Always

Steps to Reproduce:
1. Compile dev-qt/qtsvg-5.4.2

Actual Results:  
dev-qt/qtsvg-5.4.2 fails with:

qsvggenerator.cpp:258:66: error: ‘PREMUL’ was not declared in this scope
qsvggenerator.cpp:268:134: error: ‘INV_PREMUL’ was not declared in this scope

Expected Results:  
Completed build and installation.
Comment 1 Peter Levine 2015-11-05 06:27:40 UTC
Created attachment 416100 [details, diff]
Patch for qtsvg-5.4.2

Replaces PREMUL with qPremultiply.

From http://github.com/msorvig/qt5-qtbase-nacl/issues/8
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2015-11-05 12:04:25 UTC
What version of qtcore/qtgui do you have installed?
Comment 3 Peter Levine 2015-11-05 17:06:00 UTC
(In reply to Davide Pesavento from comment #2)
> What version of qtcore/qtgui do you have installed?

Sorry.  Disregard.  qtsvg-5.5.1 wasn't properly keyword unmasked on my end.  qtsvg-5.4.2 was being pulled in with a qt 5.5.1 merge.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-11-05 17:16:07 UTC
It's a valid bug. The ebuild deps need to be adjusted.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-11-05 17:17:21 UTC
Shall we go ahead with changing >= to ~, as discussed in the other bug?
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2015-11-05 17:18:38 UTC
Absolutely, yes.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2016-01-15 06:16:24 UTC
Thanks, revbumped to ensure it doesn't happen again.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4669af6e6dfd900ce748957fa7a0e0d0b5572e34
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2016-01-28 12:48:49 UTC
*** Bug 573188 has been marked as a duplicate of this bug. ***