Bug 192545 - FTBFS on mips
Summary: FTBFS on mips
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 09:36 UTC by Mark Purcell
Modified: 2021-05-10 21:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Purcell 2009-05-13 09:36:58 UTC
Version:           unknown (using 4.2.2 (KDE 4.2.2), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.29-2-686

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523813

From: Sune Vuorela <debian@pusling.com>
To: 523813@bugs.debian.org,
 control@bugs.debian.org
Cc: Peter De Schrijver <p2@debian.org>
Subject: kipi-plugins_0.2.0-2(mips/unstable): FTBFS on mips.
Date: Tue, 12 May 2009 01:49:57 +0200

[Message part 1 (text/plain, inline)]
tag 523813 +patch
thanks

The endian detection code is broken. It also fails on s390.

Attached is a fully untested patch (or well, it builds on i386 and amd64), but 
beside that, untested.

/Sune
-- 
How could I disable a driver?

First of all you have to save the head of the port in order to debug the 3Dfx 
directory.


[fix_endian_detection.diff (text/x-patch, attachment)]
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=fix_endian_detection.diff;att=1;bug=523813


From: Peter De Schrijver <p2@debian.org>
To: submit@bugs.debian.org
Subject: kipi-plugins_0.2.0-2(mips/unstable): FTBFS on mips.
Date: Sun, 12 Apr 2009 20:39:24 +0300

Package: kipi-plugins
Version: 0.2.0-2
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of kipi-plugins_0.2.0-2 on mayr by sbuild/mips 99.999
> Build started at 20090412-0827

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: cdbs, debhelper (>= 7), pkg-config, libgphoto2-2-dev, kdelibs5-dev, kdepimlibs5-dev, libkipi6-dev, libkexiv2-7-dev, libkdcraw7-dev, libexiv2-dev, libltdl3-dev, libpng-dev, libtiff4-dev, libxslt1-dev, libcv-dev, libxrandr-dev, libexpat1-dev, libgpod-dev, libsane-dev, libksane-dev (>= 4:4.1.85), libqt4-opengl-dev

[...]

> /usr/include/qt4/QtCore/qvector.h:443:   instantiated from 'void QVector<T>::realloc(int, int) [with T = QPainterPath::Element]'
> /usr/include/qt4/QtCore/qvector.h:303:   instantiated from 'void QVector<T>::detach_helper() [with T = QPainterPath::Element]'
> /usr/include/qt4/QtCore/qvector.h:121:   instantiated from 'void QVector<T>::detach() [with T = QPainterPath::Element]'
> /usr/include/qt4/QtCore/qvector.h:220:   instantiated from 'T* QVector<T>::begin() [with T = QPainterPath::Element]'
> /usr/include/qt4/QtCore/qvector.h:233:   instantiated from 'T& QVector<T>::first() [with T = QPainterPath::Element]'
> /usr/include/qt4/QtGui/qpainterpath.h:352:   instantiated from here
> /usr/include/qt4/QtCore/qvector.h:297: warning: cast from 'QVector<QPainterPath::Element>*' to 'const QVectorTypedData<QPainterPath::Element>*' increases required alignment of target type
> make[3]: *** [dngconverter/plugin/CMakeFiles/dngconverter.dir/__/dngwriter/dngwriter.o] Error 1
> make[3]: Leaving directory `/build/buildd/kipi-plugins-0.2.0/obj-mips-linux-gnu'
> make[2]: *** [dngconverter/plugin/CMakeFiles/dngconverter.dir/all] Error 2
> make[2]: Leaving directory `/build/buildd/kipi-plugins-0.2.0/obj-mips-linux-gnu'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/kipi-plugins-0.2.0/obj-mips-linux-gnu'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=mips&pkg=kipi-plugins&ver=0.2.0-2
Comment 1 caulier.gilles 2010-02-04 10:31:04 UTC
Mark,

What's news there

Gilles Caulier
Comment 2 Mark Purcell 2010-02-04 16:37:09 UTC
This is a duplicate of bug 225407, which has been committed as:

SVN commit 1084997 by cgilles:

apply patch from Mark Purcel to fix endianess detection with Debian
BUGS: 225407


 M  +2 -1      NEWS  
 M  +6 -35     dngconverter/dngwriter/extra/dng_sdk/dng_flags.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1084997
Comment 3 Mark Purcell 2010-02-04 16:39:42 UTC

*** This bug has been marked as a duplicate of bug 225407 ***
Comment 4 caulier.gilles 2021-05-10 21:03:36 UTC
Fixed with #225407