pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40212: x11/nucleo compilation errors (NetBSD 4.0, pkgsrc modular xorg)
>Number: 40212
>Category: pkg
>Synopsis: x11/nucleo compilation errors (NetBSD 4.0, pkgsrc modular xorg)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 17 18:25:01 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current within last 10 hours)
>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 fails to compile (missing include file, followed by
many compilation errors)
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 release sets, except
the X sets, but with X11_TYPE=modular in (the sandbox) mk.conf
(probably all irrelevant to this problem).
Building x11/nucleo results in ...
Making all in ffmpeg
gmake[4]: Entering directory
`/pkg_comp/obj/pkgsrc/x11/nucleo/4x/nucleo-0.7.1/nucleo/plugins/ffmpeg'
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I.
-I../../../nucleo -I../../.. -I../../.. -I/usr/pkg/include
-D__STDC_CONSTANT_MACROS -I/usr/pkg/include/python2.4 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/libpng12
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include
-I/usr/pkg/include -O2 -I/usr/pkg/include/python2.4 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/include -MT ffmpegImageSource.lo -MD -MP
-MF .deps/ffmpegImageSource.Tpo -c -o ffmpegImageSource.lo ffmpegImageSource.cxx
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.4
-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
In file included from ffmpegImageSource.cxx:14:
ffmpegImageSource.H:21:22: error: avformat.h: No such file or directory
ffmpegImageSource.H:32: error: ISO C++ forbids declaration of 'AVFormatContext'
with no type
ffmpegImageSource.H:32: error: expected ';' before '*' token
ffmpegImageSource.H:35: error: ISO C++ forbids declaration of 'AVCodecContext'
with no type
ffmpegImageSource.H:35: error: expected ';' before '*' token
ffmpegImageSource.cxx: In constructor
'nucleo::ffmpegImageSource::ffmpegImageSource(const nucleo::URI&,
nucleo::Image::Encoding)':
ffmpegImageSource.cxx:31: error: 'av_register_all' was not declared in this
scope
ffmpegImageSource.cxx: In member function 'virtual bool
nucleo::ffmpegImageSource::start()':
ffmpegImageSource.cxx:41: error: 'fctx' was not declared in this scope
ffmpegImageSource.cxx:41: error: 'av_open_input_file' was not declared in this
scope
ffmpegImageSource.cxx:47: error: 'av_find_stream_info' was not declared in this
scope
ffmpegImageSource.cxx:53: error: 'dump_format' was not declared in this scope
[ and quite a few more ]
I see no sign of avformat.h in any standard NetBSD location
(not even in current), though I do see it in the FreeBSD
ports repository (their ffmpeg port). No idea if it is the
same file or not (or a suitable version) but it seems
plausible.
>Fix:
??
Home |
Main Index |
Thread Index |
Old Index