Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39150 - [qalculate-kde] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Tuesday, 04 March 2014, 14:53 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 20 March 2014, 04:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

qalculateeditfunctiondialog.cpp: In member function 'MathFunction* QalculateEditFunctionDialog::editFunction(QString, MathFunction*)':
qalculateeditfunctiondialog.cpp:380:19: error: redeclaration of 'QListViewItem* i'
QListViewItem *i = new KListViewItem(argumentsView, i_prev, str2, str);
^
qalculateeditfunctiondialog.cpp:369:11: error: 'int i' previously declared here
for(int i = 1; i <= args; i++) {
^
In file included from /usr/include/qt3/qcstring.h:46:0,
from /usr/include/qt3/qstring.h:45,
from /usr/include/qt3/qwindowdefs.h:47,
from /usr/include/qt3/qwidget.h:45,
from /usr/include/qt3/qdialog.h:45,
from /opt/kde/include/kdialog.h:26,
from /opt/kde/include/kdialogbase.h:26,
from qalculateeditfunctiondialog.h:23,
from qalculateeditfunctiondialog.cpp:20:
/usr/include/qt3/qmemarray.h: In instantiation of 'uint QMemArray<type>::size() const [with type = char; uint = unsigned int]':
/usr/include/qt3/qcstring.h:126:58: required from here
/usr/include/qt3/qmemarray.h:69:63: warning: conversion to 'uint {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion]
uint size() const { return QGArray::size()/sizeof(type); }
^
/usr/include/qt3/qmemarray.h: In instantiation of 'QMemArray<type>& QMemArray<type>::duplicate(const type*, uint) [with type = char; uint = unsigned int]':
/usr/include/qt3/qcstring.h:255:52: required from here
/usr/include/qt3/qmemarray.h:88:71: warning: conversion to 'uint {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion]
{ return (QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); }
^
Makefile:577: recipe for target 'qalculateeditfunctiondialog.o' failed
make[2]: *** [qalculateeditfunctiondialog.o] Error 1
make[2]: Leaving directory '/build/qalculate-kde/src/qalculate-kde-0.9.7/src'
Makefile:427: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/qalculate-kde/src/qalculate-kde-0.9.7'
Makefile:339: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 20 March 2014, 04:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  qalculate-kde-0.9.7-4

Loading...