Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
dev-libs/pwlib-1.8.4 fails on emerge in video4dc1394.cxx. Reproducible: Always Steps to Reproduce: 1. USE="-ieee1394 -v4l2 -alsa -sdl -ssl" emerge =dev-libs/pwlib-1.8.4 Actual Results: g++ -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -DP_64BIT -fPIC -I/var/tmp/portage/pwlib-1.8.4/work/p wlib-1.8.4/include \ -lraw1394 -ldv -ldc1394_control \ -I. -shared video4dc1394.cxx -o ../pwlib/device/videoinput/dc_pwplugin.so In file included from video4dc1394.cxx:195: videoio1394dc.h:235: error: `dc1394_cameracapture' does not name a type video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::Open(const PString&, BOOL)': video4dc1394.cxx:289: error: `dc1394_create_handle' undeclared (first use this function) video4dc1394.cxx:289: error: (Each undeclared identifier is reported only once for each function it appears i n.) video4dc1394.cxx:301: error: `dc1394_get_camera_nodes' undeclared (first use this function) video4dc1394.cxx:305: error: `dc1394_destroy_handle' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::Close()': video4dc1394.cxx:381: error: `dc1394_destroy_handle' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::Start()': video4dc1394.cxx:394: error: `MODE_320x240_YUV422' undeclared (first use this function) video4dc1394.cxx:396: error: `MODE_160x120_YUV444' undeclared (first use this function) video4dc1394.cxx:406: error: `FORMAT_VGA_NONCOMPRESSED' undeclared (first use this function) video4dc1394.cxx:407: error: `dc1394_query_supported_framerates' undeclared (first use this function) video4dc1394.cxx:416: error: `FRAMERATE_60' undeclared (first use this function) video4dc1394.cxx:418: error: `FRAMERATE_30' undeclared (first use this function) video4dc1394.cxx:420: error: `FRAMERATE_15' undeclared (first use this function) video4dc1394.cxx:422: error: `FRAMERATE_7_5' undeclared (first use this function) video4dc1394.cxx:424: error: `FRAMERATE_3_75' undeclared (first use this function) video4dc1394.cxx:426: error: `FRAMERATE_1_875' undeclared (first use this function) video4dc1394.cxx:437: error: `SPEED_400' undeclared (first use this function) video4dc1394.cxx:443: error: `camera' undeclared (first use this function) video4dc1394.cxx:462: error: `dc1394_start_iso_transmission' undeclared (first use this function) video4dc1394.cxx:467: error: `dc1394_dma_release_camera' undeclared (first use this function) video4dc1394.cxx:469: error: `dc1394_release_camera' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::Stop()': video4dc1394.cxx:485: error: `camera' undeclared (first use this function) video4dc1394.cxx:485: error: `dc1394_stop_iso_transmission' undeclared (first use this function) video4dc1394.cxx:488: error: `dc1394_dma_release_camera' undeclared (first use this function) video4dc1394.cxx:490: error: `dc1394_release_camera' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::GetFrameDataNoDelay(BYTE*, PINDEX *)': video4dc1394.cxx:668: error: `camera' undeclared (first use this function) video4dc1394.cxx:668: error: `dc1394_dma_single_capture' undeclared (first use this function) video4dc1394.cxx:669: error: `dc1394_single_capture' undeclared (first use this function) make[2]: *** [../pwlib/device/videoinput/dc_pwplugin.so] Error 1 make[2]: Leaving directory `/var/tmp/portage/pwlib-1.8.4/work/pwlib-1.8.4/plugins/vidinput_dc' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/var/tmp/portage/pwlib-1.8.4/work/pwlib-1.8.4/plugins' make: *** [opt] Error 2 !!! ERROR: dev-libs/pwlib-1.8.4 failed. !!! Function src_compile, Line 111, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo x86_64) ================================================================= System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl alsa avi bash-completion berkdb bitmap-fonts bonobo bootsplash caps cdda cddb cdio cdparanoia cdr crypt cups curl directfb dvd dvdr dvdread eds emacs encode ethereal examples exif fam fbcon ffmpeg flac foomaticdb fortran freetype gd gdbm gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl ieee1394 imagemagick imlib ipv6 java jikes jpeg junit kde latex lcms libcaca libwww live lzw lzw-tiff mad matroska mbox mikmod mng motif mozilla mp3 mpeg mysql ncurses network nls nptl nptonly offensive ogg oggvorbis opengl pam pdflib perl php plotutils png python qt quicktime readline rtc ruby samba sdl skey slang spell sqlite ssl stream svg tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis wifi wmf xanim xine xinerama xml xml2 xmms xosd xpm xprint xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
is one of these packages installed?: media-libs/libdv sys-libs/libavc1394 sys-libs/libraw1394 media-libs/libdc1394 if yes, please include the version in your answer
escargot ~ # emerge media-libs/libdv -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libdv-0.104 escargot ~ # emerge sys-libs/libavc1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/libavc1394-0.5.0 escargot ~ # emerge sys-libs/libraw1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/libraw1394-1.2.0 escargot ~ # emerge media-libs/libdc1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libdc1394-2.0.0_pre4 video4dc1394.cxx:416: error: `FRAMERATE_60' undeclared (first use this function) video4dc1394.cxx:418: error: `FRAMERATE_30' undeclared (first use this function) video4dc1394.cxx:420: error: `FRAMERATE_15' undeclared (first use this function) video4dc1394.cxx:422: error: `FRAMERATE_7_5' undeclared (first use this function) video4dc1394.cxx:424: error: `FRAMERATE_3_75' undeclared (first use this function) video4dc1394.cxx:426: error: `FRAMERATE_1_875' undeclared (first use this function) video4dc1394.cxx:437: error: `SPEED_400' undeclared (first use this function) video4dc1394.cxx:443: error: `camera' undeclared (first use this function) video4dc1394.cxx:462: error: `dc1394_start_iso_transmission' undeclared (first use this function) video4dc1394.cxx:467: error: `dc1394_dma_release_camera' undeclared (first use this function) video4dc1394.cxx:469: error: `dc1394_release_camera' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::Stop()': video4dc1394.cxx:485: error: `camera' undeclared (first use this function) video4dc1394.cxx:485: error: `dc1394_stop_iso_transmission' undeclared (first use this function) video4dc1394.cxx:488: error: `dc1394_dma_release_camera' undeclared (first use this function) video4dc1394.cxx:490: error: `dc1394_release_camera' undeclared (first use this function) video4dc1394.cxx: In member function `virtual BOOL PVideoInput1394DcDevice::GetFrameDataNoDelay(BYTE*, PINDEX*)': video4dc1394.cxx:668: error: `camera' undeclared (first use this function) video4dc1394.cxx:668: error: `dc1394_dma_single_capture' undeclared (first use this function) video4dc1394.cxx:669: error: `dc1394_single_capture' undeclared (first use this function) make[2]: *** [../pwlib/device/videoinput/dc_pwplugin.so] Error 1 make[2]: Leaving directory `/var/tmp/portage/pwlib-1.8.4/work/pwlib-1.8.4/plugins/vidinput_dc' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/var/tmp/portage/pwlib-1.8.4/work/pwlib-1.8.4/plugins' make: *** [opt] Error 2 !!! ERROR: dev-libs/pwlib-1.8.4 failed. !!! Function src_compile, Line 111, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. escargot ~ # emerge media-libs/libdv -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libdv-0.104 escargot ~ # emerge sys-libs/libavc1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/libavc1394-0.5.0 escargot ~ # emerge sys-libs/libraw1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/libraw1394-1.2.0 escargot ~ # emerge media-libs/libdc1394 -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libdc1394-2.0.0_pre4
media-libs/libdv-0.104 sys-libs/libavc1394-0.5.0 sys-libs/libraw1394-1.2.0 media-libs/libdc1394-2.0.0_pre4
pwlib doesn't support the new libdc1394 API, ebuild has been fixed to not (try to) build the plugins if ieee1394 flag is disabled.