pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41713: x11/nucleo / multimedia/ffmpeg incompatibility (NetBSD 4.0)



>Number:         41713
>Category:       pkg
>Synopsis:       x11/nucleo / multimedia/ffmpeg incompatibility (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 13 13:25:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        x11/nucleo seems to rely upon an older version of ffmpeg
        than pkgsrc currently provides (see PR pkg/41666 for another
        example).   Because of that it (x11/nucleo) generates
        compilation errors (on a NetBSD 4.0 system anyway, but most
        probably on others as well)

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        to obtain a clean 4.0 environment (I'm not using the release x*
        sets, instead use pkgsrc modular xorg).   I doubt any of that is
        relevant to this problem.

        When building, expect to see ...

mkdir .libs
 c++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. 
-I/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include 
-D__STDC_CONSTANT_MACROS 
-I/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include/python2.5 
-I/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include/freetype2 
-I/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include/libpng12 -O2 -MT 
ffmpegImageSource.lo -MD -MP -MF .deps/ffmpegImageSource.Tpo -c 
ffmpegImageSource.cxx  -fPIC -DPIC -o .libs/ffmpegImageSource.o
ffmpegImageSource.cxx: In member function 'virtual void 
nucleo::ffmpegImageSource::react(nucleo::Observable*)':
ffmpegImageSource.cxx:117: warning: 'avcodec_decode_video' is deprecated 
(declared at 
/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include/libavcodec/avcodec.h:3253)
ffmpegImageSource.cxx:117: warning: 'avcodec_decode_video' is deprecated 
(declared at 
/pkg_comp/obj/pkgsrc/x11/nucleo/4x/.buildlink/include/libavcodec/avcodec.h:3253)
ffmpegImageSource.cxx:143: error: 'img_convert' was not declared in this scope
gmake[4]: *** [ffmpegImageSource.lo] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/nucleo/4x/nucleo-0.7.1/nucleo/plugins/ffmpeg'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/nucleo/4x/nucleo-0.7.1/nucleo/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/nucleo/4x/nucleo-0.7.1/nucleo'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/nucleo/4x/nucleo-0.7.1/nucleo'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/nucleo
*** Error code 1

Stop.

>Fix:
        ??   Maybe a newer version is available that works with newer
        ffmpeg, or maybe ffmpeg needs to be fixed so that img_convert
        is an exported function again (which would also fix PR pkg/41666).

        No idea what to do about the deprecated function warning messages



Home | Main Index | Thread Index | Old Index