Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282033 - media-libs/opencv-1.0.0-r1 fails to compile with ieee1394 enabled
Summary: media-libs/opencv-1.0.0-r1 fails to compile with ieee1394 enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 289258
Blocks:
  Show dependency tree
 
Reported: 2009-08-19 17:00 UTC by peteru
Modified: 2010-02-26 11:45 UTC (History)
8 users (show)

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


Attachments
Build log (build.log,382.77 KB, text/plain)
2009-08-19 17:02 UTC, peteru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peteru 2009-08-19 17:00:19 UTC
Package fails to build due to wrong variable being used on line 796 of otherlibs/highgui/cvcap_dc1394.cpp

Code refers to a variable named 'index', which is not defined in that scope. Inspection of surrounding code suggest that the variable should have been named 'feature_id'.

Reproducible: Always

Steps to Reproduce:




See attached build log.
Comment 1 peteru 2009-08-19 17:02:01 UTC
Created attachment 201721 [details]
Build log
Comment 2 Stephan Friedrichs 2009-08-24 15:14:38 UTC
Same on AMD64. With the ieee1394 useflag disabled, it works just fine.
Comment 3 Johannes Hirte 2009-08-25 19:57:13 UTC
The error only occours with gcc-4.4. Compiling with gcc-4.3 works fine.
Comment 4 Lebedev Roman 2009-10-10 06:59:56 UTC
I can confirm.
Comment 5 Christophe Paccolat 2009-10-15 14:55:54 UTC
This bug is related to gcc-4.4, make it block the gcc 4.4 porting issues tracker bug : http://bugs.gentoo.org/show_bug.cgi?id=249226
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-10-16 00:01:37 UTC
I hope this is fixed for OpenCV 2.0.0 in bug 289258.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-16 15:02:26 UTC
2.0.0 in portage.