Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307923 - media-gfx/fbida: exiftran breaks on libjpeg8 upgrade
Summary: media-gfx/fbida: exiftran breaks on libjpeg8 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 18:55 UTC by Rob Wallace
Modified: 2010-03-06 18:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Wallace 2010-03-05 18:55:23 UTC
when rotating jpegs in place using exiftran after upgrading to libjpeg8 exiftran fails with a "Bogus virtual array access" error message

Reproducible: Always

Steps to Reproduce:
1. upgrade libjpeg to version 8 or 8a
2. robertw@eta ~ % exiftran -i -9 photos/test/2008-04-16@23-16-28.jpg

Actual Results:  
Image rotated

Expected Results:  
Error message "Bogus virtual array access" image not rotated and temp file left behind.
Comment 1 Rob Wallace 2010-03-05 18:57:50 UTC
Sorry Actual Results and Expected results swapped
> Actual Results:  
> Image rotated
> 
> Expected Results:  
> Error message "Bogus virtual array access" image not rotated and temp file left
> behind.


Comment 2 Rob Wallace 2010-03-05 19:05:17 UTC
This has been fixed in Arch by updating the bundled libjpeg headers (specifically transupp.{h,c}) as described in the following:
http://bugs.archlinux.org/task/18302?project=1&string=libjpeg

Fixed locally by using the following steps:
1. ebuild /usr/portage/media-gfx/fbida/fbida-2.07-r1.ebuild unpack
2. replace transupp.{h,c} in /var/tmp/portage/media-gfx/fbida-2.07-r1/work/fbida-2.07/jpeg with those from libjpeg8
3. ebuild /usr/portage/media-gfx/fbida/fbida-2.07-r1.ebuild merge
 
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-03-05 19:08:53 UTC
Michal, I've simply updated the ebuild to copy headers over from jpeg-8a instead of jpeg-7 like -r1 did.

+*fbida-2.07-r2 (05 Mar 2010)
+
+  05 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +fbida-2.07-r2.ebuild:
+  Update internal libjpeg headers to 8a wrt #307923, thanks to Rob Wallace
+  for reporting.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2010-03-06 18:27:01 UTC
(In reply to comment #3)

Thanks!