Subject: pkg/13750: incomplete build of "avifile-devel" package
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 08/19/2001 07:49:59
>Number:         13750
>Category:       pkg
>Synopsis:       incomplete build of "avifile-devel" package
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 22:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.1
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1 NetBSD 1.5.1 (COLWYN) #0: Sat Jul 28 17:05:58 CEST 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386


>Description:
On my system the "avifile-devel" packages can be built without any problem.
However after installation the following files from the package list are
missing:

lib/avifile-0.6/libmpeg_audiodec-0.6.so
lib/avifile-0.6/libmpeg_audiodec-0.6.so.2
lib/avifile-0.6/libmpeg_audiodec-0.6.so.2.0
lib/avifile-0.6/libmpeg_audiodec.a
lib/avifile-0.6/libmpeg_audiodec.la
lib/avifile-0.6/libmpeg_audiodec.so

It doesn't look like an incorrect package to me. It's more likely a missing
depence. Here is the output of "make configure"

===> Validating dependencies for avifile-0.6.20010814
=> Checksum OK for avifile-0.6.20010814.tar.bz2.
===> Extracting for avifile-0.6.20010814
===> Required installed package win32-codecs>=010122: win32-codecs-010122 found
===> Required installed package automake-*: automake-1.4 found
===> Required installed package SDL>=1.2.0: SDL-1.2.1 found
===> Required installed package esound>=0.2.18: esound-0.2.22 found
===> Required installed package libaudiofile>=0.2.1: libaudiofile-0.2.1 found
===> Required installed package pth>=1.3.2: pth-1.4.0 found
===> Required installed package Mesa>=3.2.1: Mesa-3.4.2nb1 found
===> Required installed package gmake>=3.78: gmake-3.79.1 found
===> Required installed package libtool>=1.4.20010219nb6: libtool-1.4.20010614nb2 found
===> Patching for avifile-0.6.20010814
===> Configuring for avifile-0.6.20010814
Linking audiofile files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/audiofile-config.
Linking esound files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/esd-config.
Linking pth files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/pth-config.
Creating wrapper script /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/pthread-config.
Linking Mesa-x11base files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Linking Mesa-localbase files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Linking SDL files into /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink.
Creating wrapper script /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/sdl-config.
cd /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/avifile-0.6 && /bin/sh autogen.sh
Generating build information...
Running libtoolize...
Running aclocal...
Running autoheader...
Running autoconf...
Running automake...
Now you are ready to run ./configure
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i386--netbsd
checking target system type... i386--netbsd
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for c++... c++
checking whether the C++ compiler (c++ -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -I/usr/X11R6/include -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C++ compiler (c++ -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -O2 -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -I/usr/X11R6/include -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking build system type... i386--netbsd
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache
checking for dlopen in -ldl... no
checking for nanosleep in -lposix4... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for kstat_open in -lkstat... no
checking for lseek64 in -lc... no
checking for pthreads... -lpthread yes
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for unistd.h... yes
checking for stdint.h... no
checking for sys/types.h... yes
checking for sys/ioctl.h... yes
checking for sys/ioccom.h... yes
checking for sys/time.h... yes
checking for working const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether cc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for ftime... no
checking for gettimeofday... yes
checking for strdup... yes
checking for strstr... yes
checking for setenv... yes
checking for unsetenv... yes
checking for scandir... yes
checking for nanosleep... yes
checking for OSS audio support... no
checking for Sun audio support... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for Qt... checking for main in -lqt-mt... no
no

WARNING: Could not find Qt on your system! If it _is_ installed, delete 
./config.cache and re-run ./configure, specifying path to Qt headers and
libraries in options.
Switching off compilation of Qt utilities.

checking for jpeglib.h... no
checking for XF86DGAQueryExtension in -lXxf86dga... yes
checking for XF86VidModeSwitchMode in -lXxf86vm... yes
checking for DPMSQueryExtension in -lXdpms... yes
checking for XGetExtensionVersion in -lXi... yes
checking for X11/Xft/Xft.h... no
checking for X11/extensions/Xv.h... no
checking for sdl-config... /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
checking for nasm... yes
checking for decore in -ldivxdecore... no
checking for encore in -ldivxencore... no
checking for decore.h... no
checking for encore2.h... no
configure: warning:  
     For optimal DivX playback performance you should install latest divx4linux package to use divx4 plugin ( see http://www.projectmayo.com ) 
     
checking whether to build ac3 decoder module... no
checking whether to use --tag=CXX with libtool... yes
updating cache ./config.cache
creating ./config.status
creating ./Makefile
creating plugins/Makefile
creating lib/Makefile
creating plugins/libwin32/loader/Makefile
creating plugins/libwin32/loader/wine/Makefile
creating plugins/libwin32/videocodec/Makefile
creating plugins/libwin32/Makefile
creating plugins/libwin32/DirectShow/Makefile
creating plugins/libwin32/audiodec/Makefile
creating plugins/libaudiodec/Makefile
creating plugins/libmpeg_audiodec/Makefile
creating plugins/libffmpeg/Makefile
creating plugins/libffmpeg/libavcodec/Makefile
creating plugins/libffmpeg/libavcodec/i386/Makefile
creating plugins/libffmpeg/libavcodec/libac3/Makefile
creating plugins/libmp3lame_audioenc/Makefile
creating plugins/libdivx4/Makefile
creating plugins/libmp3lame_audioenc/lame3.70/Makefile
creating plugins/libmp3lamebin_audioenc/Makefile
creating lib/aviread/Makefile
creating lib/aviwrite/Makefile
creating lib/aviplay/Makefile
creating lib/common/Makefile
creating lib/subtitle/Makefile
creating player/Makefile
creating doc/Makefile
creating samples/Makefile
creating samples/misc/Makefile
creating samples/mjpeg_plugin/Makefile
creating samples/qtrecompress/Makefile
creating samples/qtvidcap/Makefile
creating include/Makefile
creating bin/Makefile
creating avifile-config
creating drivers/Makefile
creating avifile.spec
creating include/config.h

Building summary:
qt           no
sdl          yes
xft          no
oss audio    no
sun audio    no
mga_vid      no
runtime lame no
win32        yes
ffmpeg       no
divx4        no

As you can see "ffmmpeg" is not activate what probably causes the problem.

>How-To-Repeat:
cd pkgsrc/graphics/avifile-devel
make install
make check

>Fix:
None known.

>Release-Note:
>Audit-Trail:
>Unformatted: