ufraw 0.15-2 FTBFS (const char *)

Bug #440924 reported by Ilya Barygin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufraw (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: ufraw

g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DDCRAW_NOMAIN -DUFRAW_LOCALEDIR=\"/usr/share/locale\" -g -O2 -fopenmp -MT dcraw.o -MD -MP -MF .deps/dcraw.Tpo -c -o dcraw.o dcraw.cc
dcraw.cc: In member function 'int DCRaw::main(int, const char**)':
dcraw.cc:8404: error: invalid conversion from 'const char*' to 'char*'

http://launchpadlibrarian.net/32605048/buildlog_ubuntu-karmic-i386.ufraw_0.15-2_FAILEDTOBUILD.txt.gz

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 9.04
Package: ufraw None [modified: /var/lib/dpkg/info/ufraw.list]
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: ufraw
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: Это не оригинальный пакет Ubuntu

Related branches

Revision history for this message
Ilya Barygin (randomaction) wrote :

There are two uses of pointer cp; it must be declared as char* for one and as const char* for another. Fortunately, these uses are independent, so we can just use two different variables.

Changed in ufraw (Ubuntu):
status: New → Confirmed
Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

Here is the upstream fix for the problem.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Please adopt the upstream fix (even if it's less clean), and redo the debdiff.

Thanks,
Fabrice

Changed in ufraw (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ilya Barygin (randomaction) wrote :
Changed in ufraw (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Uploaded. Thanks for your contribution.

Do not forget to forward it to Debian.

Thanks,
Fabrice

Changed in ufraw (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ufraw - 0.15-2ubuntu1

---------------
ufraw (0.15-2ubuntu1) karmic; urgency=low

  * dcraw.cc: apply upstream patch to fix FTBFS due to invalid
    const char * conversion, thanks to Niels Kristian Bech Jensen
    (LP: #440924).

 -- Ilya Barygin <email address hidden> Sat, 03 Oct 2009 10:50:53 +0400

Changed in ufraw (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ilya Barygin (randomaction) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.