FTBFS against exiv2-0.21

Bug #684177 reported by Matěj Cepl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyexiv2
Fix Released
High
Olivier Tilloy

Bug Description

Fedora Rawhide is going to upgrade exiv2 to 0.21. When trying to build pyexiv2 branch against it I get failed build:

jakoubek:pyexiv2 (master) $ fedpkg local
Sestavuji cílové platformy: x86_64
Sestavuji pro cíl x86_64
Provádění(%prep): /bin/sh -e /var/tmp/rpm-tmp.zL8vNI
+ umask 022
+ cd /home/matej/build/Extras/pyexiv2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/matej/build/Extras/pyexiv2
+ rm -rf pyexiv2
+ /bin/tar -xf -
+ /usr/bin/bzip2 -dc /home/matej/build/Extras/pyexiv2/pyexiv2.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pyexiv2
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Provádění(%build): /bin/sh -e /var/tmp/rpm-tmp.x4NDGj
+ umask 022
+ cd /home/matej/build/Extras/pyexiv2
+ cd pyexiv2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ export 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export 'LDFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ LDFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/exiv2wrapper.os -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -I/usr/include/python2.7 src/exiv2wrapper.cpp
src/exiv2wrapper.cpp: In constructor 'exiv2wrapper::ExifTag::ExifTag(const std::string&, Exiv2::Exifdatum*, Exiv2::ExifData*)':
src/exiv2wrapper.cpp:527:11: error: 'IfdId' in namespace 'Exiv2' does not name a type
src/exiv2wrapper.cpp:528:39: error: 'tagType' is not a member of 'Exiv2::ExifTags'
src/exiv2wrapper.cpp:528:69: error: 'ifd' was not declared in this scope
src/exiv2wrapper.cpp:529:13: error: 'tagName' is not a member of 'Exiv2::ExifTags'
src/exiv2wrapper.cpp:530:14: error: 'tagLabel' is not a member of 'Exiv2::ExifTags'
src/exiv2wrapper.cpp:531:20: error: 'tagDesc' is not a member of 'Exiv2::ExifTags'
src/exiv2wrapper.cpp:533:27: error: 'sectionDesc' is not a member of 'Exiv2::ExifTags'
scons: *** [build/exiv2wrapper.os] Error 1
scons: building terminated because of errors.
chyba: Špatný návratový kód z /var/tmp/rpm-tmp.x4NDGj (%build)

chyby sestavení RPM:
    Špatný návratový kód z /var/tmp/rpm-tmp.x4NDGj (%build)
jakoubek:pyexiv2 (master) $

Tags: build
Revision history for this message
Olivier Tilloy (osomon) wrote :

Same build issue on Ubuntu 10.10 with libexiv2 0.21 built from the release tarball.

Changed in pyexiv2:
importance: Undecided → High
status: New → Confirmed
tags: added: build
Revision history for this message
Olivier Tilloy (osomon) wrote :

Working on it. This will require conditional code, as some public APIs have changed.

Note that it is apparently not possible to get a section’s description any longer in exiv2 0.21, see http://dev.exiv2.org/issues/744.

Changed in pyexiv2:
assignee: nobody → Olivier Tilloy (osomon)
milestone: none → 0.3
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

Fixed with revision 336 of the trunk.

Changed in pyexiv2:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in pyexiv2:
status: Fix Committed → Fix Released
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.