[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676576: marked as done (calligra FTBFS on armel and armhf error: no matching function for call to 'qMin(double, qreal)')



Your message dated Sun, 10 Jun 2012 13:34:34 +0000
with message-id <E1SdiHq-0004oS-K0@franck.debian.org>
and subject line Bug#676576: fixed in calligra 1:2.4.2-2
has caused the Debian Bug report #676576,
regarding calligra FTBFS on armel and armhf error: no matching function for call to 'qMin(double, qreal)'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
676576: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676576
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: calligra
Version: 1:2.4.2-1

Severity: serious

callira FTBFS on armel and armhf with the following error

/build/buildd-calligra_2.4.2-1-armhf-0fWQX5/calligra-2.4.2/plugins/pathshapes/rectangle/RectangleShape.cpp:64:85: error: no matching function for call to 'qMin(double, qreal)'
/build/buildd-calligra_2.4.2-1-armhf-0fWQX5/calligra-2.4.2/plugins/pathshapes/rectangle/RectangleShape.cpp:64:85: note: candidate is:
/usr/include/qt4/QtCore/qglobal.h:1196:34: note: template<class T> const T& qMin(const T&, const T&)
/build/buildd-calligra_2.4.2-1-armhf-0fWQX5/calligra-2.4.2/plugins/pathshapes/rectangle/RectangleShape.cpp:65:86: error: no matching function for call to 'qMin(double, qreal)'
/build/buildd-calligra_2.4.2-1-armhf-0fWQX5/calligra-2.4.2/plugins/pathshapes/rectangle/RectangleShape.cpp:65:86: note: candidate is:

The issue is that on arm architectures qreal is defined as float
and due to the way qMin is defined as a template it needs the two
parameters to be of exactly the same type.

The fix should be a trvial matter of adding some typecasts, normally I would test this before submitting a bug report but my arm box is busy doing other stuff and it's a very long build.

Untested patch

P.S. the package has never built on armel so the armel failure is
not RC but it HAS built on armhf which is now a release architecture
so the armhf failure is rc.

Description: Fix qmin calls
 Add some typecasts so that both parameters to qMin are of the same type
 To fix arm build failure.
Bug-debian: http://bugs.debian.org/??????
Author: Peter Michael Green <plugwash@p10link.net>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- calligra-2.4.2.orig/plugins/pathshapes/rectangle/RectangleShape.cpp
+++ calligra-2.4.2/plugins/pathshapes/rectangle/RectangleShape.cpp
@@ -61,8 +61,8 @@ bool RectangleShape::loadOdf(const KoXml
         QString cornerRadius = element.attributeNS(KoXmlNS::draw, "corner-radius", "");
         if (! cornerRadius.isEmpty()) {
             float radius = KoUnit::parseValue(cornerRadius);
-            m_cornerRadiusX = qMin(radius / (0.5 * size().width()) * 100, qreal(100));
-            m_cornerRadiusY = qMin(radius / (0.5 * size().height()) * 100, qreal(100));
+            m_cornerRadiusX = qMin(qreal(radius / (0.5 * size().width()) * 100), qreal(100));
+            m_cornerRadiusY = qMin(qreal(radius / (0.5 * size().height()) * 100), qreal(100));
         }
     }
 

--- End Message ---
--- Begin Message ---
Source: calligra
Source-Version: 1:2.4.2-2

We believe that the bug you reported is fixed in the latest version of
calligra, which is due to be installed in the Debian FTP archive:

braindump_2.4.2-2_i386.deb
  to main/c/calligra/braindump_2.4.2-2_i386.deb
calligra-data_2.4.2-2_all.deb
  to main/c/calligra/calligra-data_2.4.2-2_all.deb
calligra-dbg_2.4.2-2_i386.deb
  to main/c/calligra/calligra-dbg_2.4.2-2_i386.deb
calligra-libs_2.4.2-2_i386.deb
  to main/c/calligra/calligra-libs_2.4.2-2_i386.deb
calligra-reports-map-element_2.4.2-2_i386.deb
  to main/c/calligra/calligra-reports-map-element_2.4.2-2_i386.deb
calligra-reports-web-element_2.4.2-2_i386.deb
  to main/c/calligra/calligra-reports-web-element_2.4.2-2_i386.deb
calligra_2.4.2-2.debian.tar.gz
  to main/c/calligra/calligra_2.4.2-2.debian.tar.gz
calligra_2.4.2-2.dsc
  to main/c/calligra/calligra_2.4.2-2.dsc
calligra_2.4.2-2_all.deb
  to main/c/calligra/calligra_2.4.2-2_all.deb
calligraflow-data_2.4.2-2_all.deb
  to main/c/calligra/calligraflow-data_2.4.2-2_all.deb
calligraflow_2.4.2-2_i386.deb
  to main/c/calligra/calligraflow_2.4.2-2_i386.deb
calligramobile_2.4.2-2_i386.deb
  to main/c/calligra/calligramobile_2.4.2-2_i386.deb
calligraplan_2.4.2-2_i386.deb
  to main/c/calligra/calligraplan_2.4.2-2_i386.deb
calligrasheets_2.4.2-2_i386.deb
  to main/c/calligra/calligrasheets_2.4.2-2_i386.deb
calligrastage_2.4.2-2_i386.deb
  to main/c/calligra/calligrastage_2.4.2-2_i386.deb
calligrawords-data_2.4.2-2_all.deb
  to main/c/calligra/calligrawords-data_2.4.2-2_all.deb
calligrawords_2.4.2-2_i386.deb
  to main/c/calligra/calligrawords_2.4.2-2_i386.deb
karbon_2.4.2-2_i386.deb
  to main/c/calligra/karbon_2.4.2-2_i386.deb
kexi-calligrasheets-driver_2.4.2-2_i386.deb
  to main/c/calligra/kexi-calligrasheets-driver_2.4.2-2_i386.deb
kexi-map-form-widget_2.4.2-2_i386.deb
  to main/c/calligra/kexi-map-form-widget_2.4.2-2_i386.deb
kexi-mysql-driver_2.4.2-2_i386.deb
  to main/c/calligra/kexi-mysql-driver_2.4.2-2_i386.deb
kexi-postgresql-driver_2.4.2-2_i386.deb
  to main/c/calligra/kexi-postgresql-driver_2.4.2-2_i386.deb
kexi-sybase-driver_2.4.2-2_i386.deb
  to main/c/calligra/kexi-sybase-driver_2.4.2-2_i386.deb
kexi-web-form-widget_2.4.2-2_i386.deb
  to main/c/calligra/kexi-web-form-widget_2.4.2-2_i386.deb
kexi-xbase-driver_2.4.2-2_i386.deb
  to main/c/calligra/kexi-xbase-driver_2.4.2-2_i386.deb
kexi_2.4.2-2_i386.deb
  to main/c/calligra/kexi_2.4.2-2_i386.deb
krita-data_2.4.2-2_all.deb
  to main/c/calligra/krita-data_2.4.2-2_all.deb
krita_2.4.2-2_i386.deb
  to main/c/calligra/krita_2.4.2-2_i386.deb
kthesaurus_2.4.2-2_i386.deb
  to main/c/calligra/kthesaurus_2.4.2-2_i386.deb
okular-backend-odp_2.4.2-2_i386.deb
  to main/c/calligra/okular-backend-odp_2.4.2-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 676576@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sune Vuorela <sune@debian.org> (supplier of updated calligra package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 04 Jun 2012 08:53:30 +0200
Source: calligra
Binary: calligra karbon kexi kexi-calligrasheets-driver kexi-mysql-driver kexi-postgresql-driver kexi-xbase-driver kexi-sybase-driver kexi-web-form-widget kexi-map-form-widget calligra-reports-web-element calligra-reports-map-element krita krita-data kthesaurus calligrasheets calligraplan calligrawords calligrawords-data calligrastage calligraflow calligraflow-data braindump calligramobile calligra-libs calligra-data okular-backend-odp calligra-dbg
Architecture: source all i386
Version: 1:2.4.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Sune Vuorela <sune@debian.org>
Description: 
 braindump  - ideas organizer application for the Calligra Suite
 calligra   - extensive productivity and creative suite
 calligra-data - common shared data for the Calligra Suite
 calligra-dbg - debugging symbols for Calligra
 calligra-libs - common libraries and binaries for the Calligra Suite
 calligra-reports-map-element - map element for Calligra Reports
 calligra-reports-web-element - web element for Calligra Reports
 calligraflow - flowcharting program for the Calligra Suite
 calligraflow-data - data files for Flow flowcharting program
 calligramobile - version of Calligra for mobile
 calligraplan - integrated project management and planning tool
 calligrasheets - spreadsheet for the Calligra Suite
 calligrastage - presentation program for the Calligra Suite
 calligrawords - word processor for the Calligra Suite
 calligrawords-data - data files for Words word processor
 karbon     - vector graphics application for the Calligra Suite
 kexi       - integrated database environment for the Calligra Suite
 kexi-calligrasheets-driver - Tables plugin for kexi
 kexi-map-form-widget - map form widget for Kexi
 kexi-mysql-driver - MySQL support for kexi
 kexi-postgresql-driver - PostgreSQL support for kexi
 kexi-sybase-driver - Sybase support for kexi
 kexi-web-form-widget - web form widget for Kexi
 kexi-xbase-driver - XBase support for kexi
 krita      - pixel-based image manipulation program for the Calligra Suite
 krita-data - data files for Krita painting program
 kthesaurus - thesaurus for the Calligra Suite
 okular-backend-odp - Okular backend for ODP documents
Closes: 676576
Changes: 
 calligra (1:2.4.2-2) unstable; urgency=low
 .
   * Pull a patch from upstream to make calligra build on arm (Closes: #676576)
Checksums-Sha1: 
 2c8239256a23296cef43c86107060f8b51865c4f 3561 calligra_2.4.2-2.dsc
 7bf203afb696e26b8074f67a18a81b92f84a8b14 33341 calligra_2.4.2-2.debian.tar.gz
 63ca9859cb6186afce7df71a0171930be04af8b6 10174 calligra_2.4.2-2_all.deb
 f94912857db6c3983f4d9a996c0c4f81b3b5ca17 700490 karbon_2.4.2-2_i386.deb
 97735fa76a8b07a5439930aab8c059e89285b481 3595030 kexi_2.4.2-2_i386.deb
 5f26e84fd9e1429535d5760a6611b4dac933d155 22440 kexi-calligrasheets-driver_2.4.2-2_i386.deb
 25e09d38eed733114066c2fc214d095ce0fb34b6 56132 kexi-mysql-driver_2.4.2-2_i386.deb
 b48d400d3a3fc1ac49ce63c99b42a062993cb2b0 78744 kexi-postgresql-driver_2.4.2-2_i386.deb
 353e680f3c5d04fb3c800eb102da9fdba6a4fe67 56068 kexi-xbase-driver_2.4.2-2_i386.deb
 a8e22e2218093d98099c2b7b24447b0f51448c9a 63414 kexi-sybase-driver_2.4.2-2_i386.deb
 ad95c03ca2606f168848fa19d9ea36f1b6c78cc2 27600 kexi-web-form-widget_2.4.2-2_i386.deb
 965723c0a0b54c432370fbe65bf52ece411993c8 27402 kexi-map-form-widget_2.4.2-2_i386.deb
 e12594d9e1c92e3639a9ee7ffc5c14bd48b0cf5b 28750 calligra-reports-web-element_2.4.2-2_i386.deb
 38106d13eafcf79d379a6669d4ae36245ea55d6e 36898 calligra-reports-map-element_2.4.2-2_i386.deb
 ea58a2e96ef52ae0f90c518761f74dacd0be5421 6021714 krita_2.4.2-2_i386.deb
 81ea8ac78c7b860b9906a45a6ceb99498481ff89 19697320 krita-data_2.4.2-2_all.deb
 cb8f58b0f16cf01d7a3213abb848f2a2391e9671 26244 kthesaurus_2.4.2-2_i386.deb
 56d6aaa00c4ad940e0807c43b47e65c253449c56 4564034 calligrasheets_2.4.2-2_i386.deb
 ef60190ba04fe4b498d33e5976824cad3baed3ca 2346402 calligraplan_2.4.2-2_i386.deb
 ee6ad794c95606dd6c8e6c55d3015499a4970fb0 2664828 calligrawords_2.4.2-2_i386.deb
 6776c4381d65952d9ed47ee01b5db588bcd29ac8 485898 calligrawords-data_2.4.2-2_all.deb
 116ed290dea3085e0e4353d6acb51a7d97a18df7 8103782 calligrastage_2.4.2-2_i386.deb
 ab5572adff481dd142a7c4a0cb225e6748fe049e 76348 calligraflow_2.4.2-2_i386.deb
 8e16dce998c3ac05e4885e1e1eb49b0ae0841f74 6181048 calligraflow-data_2.4.2-2_all.deb
 16ebb5d50d05187a56809e107a661430f7c316ec 287338 braindump_2.4.2-2_i386.deb
 93a53f2c780567cb87067ec66a797031e6dc3cba 381630 calligramobile_2.4.2-2_i386.deb
 a4028c2e9bc78a603897ffc767a5507c56148299 6903922 calligra-libs_2.4.2-2_i386.deb
 0fff9015bc4bb194639fab0d5f061f9f5e085a65 1529146 calligra-data_2.4.2-2_all.deb
 1197e43851f905b908dfe878854e3594892eaeaa 21776 okular-backend-odp_2.4.2-2_i386.deb
 5d5ad2851c71aba322dd69ded0f3922cc4717f94 319965342 calligra-dbg_2.4.2-2_i386.deb
Checksums-Sha256: 
 ab6e4d8bec45be5442486dbbab5e873a5e733df627112edb3fa24bfdb1526716 3561 calligra_2.4.2-2.dsc
 5d06083ad16916ee52686b50907e004c58b10f6e877baba536f95f0b350d1bab 33341 calligra_2.4.2-2.debian.tar.gz
 1fef3c91371f7757c8b482e1e28a8a14a17b64539ef8f72c23a9194c65a9ff81 10174 calligra_2.4.2-2_all.deb
 ed4df3d8a936ef502bb8171f1fc5d232e9a3bc8bbd068283c3533b9b2f0f3798 700490 karbon_2.4.2-2_i386.deb
 068db9648bb91c49bc93c133c5d10a3b0eacb57aef1287072962ed6fd9d52aef 3595030 kexi_2.4.2-2_i386.deb
 ef0ace8a973dc6bfbd82f0d56e4b2212b43c20397de1742e3771e754f5293376 22440 kexi-calligrasheets-driver_2.4.2-2_i386.deb
 4c929ad5ff2c72976c7819d027f9f38da5e83df9d0d37b250e4ed51e79d0e4ec 56132 kexi-mysql-driver_2.4.2-2_i386.deb
 01bc6ecb46d4e77a2dbd1d9cf1449e5cdedf9d6f267033d22afe13c3071f9460 78744 kexi-postgresql-driver_2.4.2-2_i386.deb
 4d43f674877897e9e23d4a57009a0b9874c514cf8d73f55a7ec6ea59142d330a 56068 kexi-xbase-driver_2.4.2-2_i386.deb
 125bd86c0f73c43ca54cf1efa824589df9206364ad09acf78dbb58fc62a74966 63414 kexi-sybase-driver_2.4.2-2_i386.deb
 d5cca38914ff11d6baf3850573bc0168c6c04d2d654dc078235851d71ccaded5 27600 kexi-web-form-widget_2.4.2-2_i386.deb
 cb2bc9f18a5685bc6b1a579c407dac238fd3adbdf2627920f5721a2ed98759ff 27402 kexi-map-form-widget_2.4.2-2_i386.deb
 671e84f44ad16cc314f7c8967087d06e92ed6aa5cbebd68ad41efca8a41396bc 28750 calligra-reports-web-element_2.4.2-2_i386.deb
 10e89dd81fcea6240da5bb983a4ec6797934eac8d602ddad0f5450bc919ef560 36898 calligra-reports-map-element_2.4.2-2_i386.deb
 6a033b76ecccbee05ac1df2a4748de18df907201b2a1575ac86397ef72d037b4 6021714 krita_2.4.2-2_i386.deb
 b72c3668c7937d2614bcaff93900b5b25b4fae9544e02082950ecb64696eef41 19697320 krita-data_2.4.2-2_all.deb
 35bae8b48284eaf58a0ecd1f084e14291602c167afc985451bd344f1abf35980 26244 kthesaurus_2.4.2-2_i386.deb
 0895d64e7b5542377ba7649ce226d2fdd4b4d1d2aaa76cf98207270997c402ab 4564034 calligrasheets_2.4.2-2_i386.deb
 4f1a20209da6e0791d40a79015c60cece7e1f0449d6fdcde51f73d5f7ac27adf 2346402 calligraplan_2.4.2-2_i386.deb
 1fb3dcda13ea9f6be9187a3c9edd245ce70b4d6cc00201be20d6b5634beb973b 2664828 calligrawords_2.4.2-2_i386.deb
 cc20512ef89e71922cb53d675fd813a0fa2cbcefecc8fda739552c30ca90e7b9 485898 calligrawords-data_2.4.2-2_all.deb
 6e8cd32d5f9d5ac789fecc11462e23eb89bf6cec55da70cc2fb17a23ee8f12e6 8103782 calligrastage_2.4.2-2_i386.deb
 497017ddf3f7de0af246990f0e2c0dd97142a3e1047ce38d0afd5e56a40eace7 76348 calligraflow_2.4.2-2_i386.deb
 b0cb4026bf4e59f8ac480132403aed2b4e106db8b86a1ac3799de6738c022515 6181048 calligraflow-data_2.4.2-2_all.deb
 c6e7f6927984f36e6d59900b45fd380e6213b96ca982dfbacf479ca8c1ba3f08 287338 braindump_2.4.2-2_i386.deb
 2e5c3ada5d5476ea5d2971444971748079b3ad1271bb31c6b527a8f0d1f0859d 381630 calligramobile_2.4.2-2_i386.deb
 8fe9c85b0ff00d32755886b06bcf3f937b86bd52e011374d81356c67be9a6f19 6903922 calligra-libs_2.4.2-2_i386.deb
 26222db8a6887df7f64846051146c155c0dec89791728a6f753ff2235f818c50 1529146 calligra-data_2.4.2-2_all.deb
 21c2393d14154c81c47f5021907e5b11d696d0be1445a03a64bf48f9d008f0db 21776 okular-backend-odp_2.4.2-2_i386.deb
 f70b63db9098933ee8b781d76a403ab61b14f876d30ee1d87e438ca1fecf027a 319965342 calligra-dbg_2.4.2-2_i386.deb
Files: 
 db887b8b77a170b49d880c054de1dc1c 3561 kde optional calligra_2.4.2-2.dsc
 4e209aab101af6e2dad586a5ed99bc88 33341 kde optional calligra_2.4.2-2.debian.tar.gz
 2db967cd57f1c6af2e4a412ba97545d8 10174 kde optional calligra_2.4.2-2_all.deb
 453751d41226b5a7942b0cff700ec0e9 700490 graphics optional karbon_2.4.2-2_i386.deb
 c8090b2a5940dc4ab7da3f825469c606 3595030 database optional kexi_2.4.2-2_i386.deb
 8175ba48689b047a9c3a8ec562306a90 22440 kde optional kexi-calligrasheets-driver_2.4.2-2_i386.deb
 9768bb1fa812ba2a8f1a1eb95cc08a78 56132 database optional kexi-mysql-driver_2.4.2-2_i386.deb
 29f4d9bf771e042d008f7ed7bc0e8dc5 78744 database optional kexi-postgresql-driver_2.4.2-2_i386.deb
 255e9d1a213339d95b5f114790c1ed8d 56068 database optional kexi-xbase-driver_2.4.2-2_i386.deb
 cee9ba0b52647a4a9992ae4dd4a6a4fc 63414 database optional kexi-sybase-driver_2.4.2-2_i386.deb
 8720d4e7d593acae55926ddef40e6d47 27600 database optional kexi-web-form-widget_2.4.2-2_i386.deb
 f52904c4eb1f8387ef431bd020233374 27402 database optional kexi-map-form-widget_2.4.2-2_i386.deb
 ba1bba79bdc53d68de7499c4baea7bab 28750 kde optional calligra-reports-web-element_2.4.2-2_i386.deb
 22dff53ef848ed114357da6921e5a987 36898 kde optional calligra-reports-map-element_2.4.2-2_i386.deb
 7df49562614ab0e26ce7cbff77f6a551 6021714 graphics optional krita_2.4.2-2_i386.deb
 fb3228ea6c3276173baa0bc177548452 19697320 graphics optional krita-data_2.4.2-2_all.deb
 ebeac3815c3eea335f6f37af1e46d8bc 26244 text optional kthesaurus_2.4.2-2_i386.deb
 36d242f29ce62b389686a46133fd33c6 4564034 math optional calligrasheets_2.4.2-2_i386.deb
 6feba14137d17049406403e0afde6265 2346402 kde optional calligraplan_2.4.2-2_i386.deb
 ebaf168b59b817dcd3c83f53a7530a48 2664828 text optional calligrawords_2.4.2-2_i386.deb
 fae31be430836aff56946eb82adbd45a 485898 text optional calligrawords-data_2.4.2-2_all.deb
 f36b3c7378d6cc7100450e22b7f03299 8103782 kde optional calligrastage_2.4.2-2_i386.deb
 1da9ef886dd8126d6eb18c89b5d4ff27 76348 graphics optional calligraflow_2.4.2-2_i386.deb
 3b685ba085f9e0de03e9a66dc7effdb4 6181048 graphics optional calligraflow-data_2.4.2-2_all.deb
 9e872bcf746deddb8530540c736b9131 287338 kde optional braindump_2.4.2-2_i386.deb
 0326250a7f20d913d00c9c3f8377d98d 381630 kde optional calligramobile_2.4.2-2_i386.deb
 254b052f4ce6d9f5a32f3175f4be81c4 6903922 libs optional calligra-libs_2.4.2-2_i386.deb
 3d4d7a2c6f027ee6f4c2440a5d9753a2 1529146 libs optional calligra-data_2.4.2-2_all.deb
 c64d8b78a7bce57062e62d116c879afb 21776 graphics optional okular-backend-odp_2.4.2-2_i386.deb
 3336bc72d66aee638e3b77f3ef31b904 319965342 debug extra calligra-dbg_2.4.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/UlhEACgkQnMvaFgH6i0pTqQCfc1YqtTZg3rCGG3yhRcWxTNdZ
GUEAnisgdpSXRRhNFZLydMpXuhSrXIQT
=qQIi
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: