[REL - 10i386-default][multimedia/ffmpeg2theora] Failed for ffmpeg2theora-0.29 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Oct 24 10:10:35 UTC 2013


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports at FreeBSD.org
Last committer: bapt at FreeBSD.org
Ident:          $FreeBSD: head/multimedia/ffmpeg2theora/Makefile 329144 2013-10-03 06:42:21Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-default/2013-10-24_02h52m55s/logs/ffmpeg2theora-0.29.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-default/2013-10-24_02h52m55s
Log:

====>> Building multimedia/ffmpeg2theora
build started at Thu Oct 24 10:10:24 UTC 2013
port directory: /usr/ports/multimedia/ffmpeg2theora
building for: FreeBSD 10i386-default-job-18 10.0-BETA1 FreeBSD 10.0-BETA1 r256420 i386
maintained by: ports at FreeBSD.org
Makefile ident:      $FreeBSD: head/multimedia/ffmpeg2theora/Makefile 329144 2013-10-03 06:42:21Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000500
UNAME_v=FreeBSD 10.0-BETA1 r256420
UNAME_r=10.0-BETA1
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref
PKG_EXT=txz
tpid=87766
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=ffmpeg2theora-0.29
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=10i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
APPEND_CCFLAGS="-I/usr/local/include " APPEND_LINKFLAGS=" -L/usr/local/lib -pthread" TMPDIR="/tmp" PKGCONFIGDIR=""  CCFLAGS="-O2 -pipe -fno-strict-aliasing" LINKFLAGS=" -L/usr/local/lib -pthread"  LIBPATH="/usr/local/lib" CPPPATH="/usr/local/include" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include "  LDFLAGS=" -L/usr/local/lib -pthread"  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/ffmpeg2theora
DOCSDIR=/usr/local/share/doc/ffmpeg2theora
EXAMPLESDIR=/usr/local/share/examples/ffmpeg2theora
WWWDIR=/usr/local/www/ffmpeg2theora
ETCDIR=/usr/local/etc/ffmpeg2theora
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for ffmpeg2theora-0.29
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ffmpeg2theora-0.29 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.1.4_8.txz
Installing pkg-1.1.4_8... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ffmpeg2theora-0.29
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ffmpeg2theora-0.29 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ffmpeg2theora-0.29 for building
=> SHA256 Checksum OK for ffmpeg2theora-0.29.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ffmpeg2theora-0.29 for building
===>  Extracting for ffmpeg2theora-0.29
=> SHA256 Checksum OK for ffmpeg2theora-0.29.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ffmpeg2theora-0.29
===>  Applying FreeBSD patches for ffmpeg2theora-0.29
===========================================================================
=======================<phase: build-depends  >============================
===>   ffmpeg2theora-0.29 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.3.txz
Installing pkgconf-0.9.3... done
===>   Returning to build of ffmpeg2theora-0.29
===>   ffmpeg2theora-0.29 depends on file: /usr/local/bin/scons - not found
===>    Verifying install for /usr/local/bin/scons in /usr/ports/devel/scons
===>   Installing existing package /packages/All/scons-2.3.0.txz
Installing scons-2.3.0...Installing gettext-0.18.3.1... done
Installing python27-2.7.5_3... done
Installing python2-2_1... done
Installing python-2.7_1,2... done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
===>   Returning to build of ffmpeg2theora-0.29
===========================================================================
=======================<phase: lib-depends    >============================
===>   ffmpeg2theora-0.29 depends on shared library: libavcodec.so - not found
===>    Verifying for libavcodec.so in /usr/ports/multimedia/ffmpeg
===>   Installing existing package /packages/All/ffmpeg-2.0.2,1.txz
Installing ffmpeg-2.0.2,1...Installing ca_root_nss-3.15.1_1... done
Installing expat-2.1.0... done
Installing fontconfig-2.10.95,1...Installing freetype2-2.5.0.1... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/db/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
 done
Installing gmp-5.1.3... done
Installing gnutls-2.12.23_1...Installing p11-kit-0.16.3...Installing libtasn1-2.14... done
 done
Installing nettle-2.7.1... done
Installing libgpg-error-1.12... done
 done
Installing gpac-libgpac-0.4.5_7,1...Installing jpeg-8_4... done
Installing png-1.5.17... done
 done
Installing libogg-1.3.1,4... done
Installing libtheora-1.1.1_3...Installing libvorbis-1.3.3_1,3... done
 done
Installing libvpx-1.1.0... done
Installing opencv-core-2.3.1_8... done
Installing orc-0.4.18... done
Installing schroedinger-1.0.11_1... done
Installing x264-0.136.2358... done
Installing xvid-1.3.2,1... done
 done
===>   Returning to build of ffmpeg2theora-0.29
===>   ffmpeg2theora-0.29 depends on shared library: libkate.so - not found
===>    Verifying for libkate.so in /usr/ports/multimedia/libkate
===>   Installing existing package /packages/All/libkate-0.4.1_2.txz
Installing libkate-0.4.1_2... done
===>   Returning to build of ffmpeg2theora-0.29
===>   ffmpeg2theora-0.29 depends on shared library: libtheora.so - found
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ffmpeg2theora-0.29
===========================================================================
=======================<phase: build          >============================
===>  Building for ffmpeg2theora-0.29
scons: Reading SConscript files ...
Checking for pkg-config... (cached) yes
Checking for ogg >= 1.1... (cached) yes
Checking for vorbis... (cached) yes
Checking for vorbisenc... (cached) yes
Checking for theoraenc >= 1.1.0... (cached) yes
Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes
Checking for libavdevice libavformat libavfilter libavcodec >= 52.30.0 libpostproc libswscale libavutil... (cached) yes
Checking for C header file libavformat/framehook.h... no
Checking for oggkate... (cached) yes
Checking for C header file iconv.h... yes
Checking for C library iconv... no
scons: done reading SConscript files.
scons: Building targets ...
cc -o src/index.o -c -O2 -pipe -fno-strict-aliasing -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/include src/index.c
cc -o src/subtitles.o -c -O2 -pipe -fno-strict-aliasing -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/include src/subtitles.c
src/subtitles.c:287:19: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    if (iconv(cd, &inptr, &insz, &outptr, &outsz) < 0) {
                  ^~~~~~
/usr/include/iconv.h:63:47: note: passing argument to parameter here
size_t  iconv(iconv_t, const char ** __restrict,
                                               ^
src/subtitles.c:287:51: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (iconv(cd, &inptr, &insz, &outptr, &outsz) < 0) {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
2 warnings generated.
cc -o src/theorautils.o -c -O2 -pipe -fno-strict-aliasing -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/include src/theorautils.c
cc -o src/iso639.o -c -O2 -pipe -fno-strict-aliasing -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/include src/iso639.c
src/iso639.c:200:10: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)'
    if (!strcasecmp(iso639_2,iso639[n].iso639_2t) || (iso639[n].iso639_2b && !strcasecmp(iso639_2,iso639[n].iso639_2b))) {
         ^
src/iso639.c:200:10: note: please include the header <strings.h> or explicitly provide a declaration for 'strcasecmp'
1 warning generated.
cc -o src/ffmpeg2theora.o -c -O2 -pipe -fno-strict-aliasing -DPACKAGE_VERSION=\"0.29\" -DPACKAGE_STRING=\"ffmpeg2theora-0.29\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/include src/ffmpeg2theora.c
src/ffmpeg2theora.c:888:49: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
        this->frame_x_offset = this->frame_width-this->picture_width>>1&~1;
                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:888:49: note: place parentheses around the '-' expression to silence this warning
        this->frame_x_offset = this->frame_width-this->picture_width>>1&~1;
                                                ^
                               (                                    )
src/ffmpeg2theora.c:889:50: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
        this->frame_y_offset = this->frame_height-this->picture_height>>1&~1;
                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/ffmpeg2theora.c:889:50: note: place parentheses around the '-' expression to silence this warning
        this->frame_y_offset = this->frame_height-this->picture_height>>1&~1;
                                                 ^
                               (                                      )
src/ffmpeg2theora.c:963:44: warning: 'av_audio_resample_init' is deprecated [-Wdeprecated-declarations]
                this->audio_resample_ctx = av_audio_resample_init(this->channels,    aenc->channels,
                                           ^
/usr/local/include/libavcodec/avcodec.h:4216:18: note: 'av_audio_resample_init' declared here
ReSampleContext *av_audio_resample_init(int output_channels, int input_channels,
                 ^
src/ffmpeg2theora.c:1071:40: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
        int16_t *audio_buf=av_malloc(4*AVCODEC_MAX_AUDIO_FRAME_SIZE);
                                       ^
src/ffmpeg2theora.c:1072:40: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
        int16_t *resampled=av_malloc(4*AVCODEC_MAX_AUDIO_FRAME_SIZE);
                                       ^
src/ffmpeg2theora.c:1427:33: warning: passing 'uint8_t *[8]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
                                frame->data, frame->linesize, 0, display_height,
                                ^~~~~~~~~~~
/usr/local/include/libswscale/swscale.h:226:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
src/ffmpeg2theora.c:1437:37: warning: 'avpicture_deinterlace' is deprecated [-Wdeprecated-declarations]
                                if (avpicture_deinterlace((AVPicture *)output,(AVPicture *)output_tmp,this->pix_fmt,display_width,display_height)<0) {
                                    ^
/usr/local/include/libavcodec/avcodec.h:4345:5: note: 'avpicture_deinterlace' declared here
int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
    ^
src/ffmpeg2theora.c:1452:56: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations]
                                               output->qscale_table, output->qstride,
                                                       ^
/usr/local/include/libavutil/frame.h:195:13: note: 'qscale_table' declared here
    int8_t *qscale_table;
            ^
src/ffmpeg2theora.c:1452:78: warning: 'qstride' is deprecated [-Wdeprecated-declarations]
                                               output->qscale_table, output->qstride,
                                                                             ^
/usr/local/include/libavutil/frame.h:200:9: note: 'qstride' declared here
    int qstride;
        ^
src/ffmpeg2theora.c:1471:37: warning: passing 'uint8_t *[8]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
                                    output_cropped->data,
                                    ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/libswscale/swscale.h:226:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
src/ffmpeg2theora.c:1533:39: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
                    int data_size = 4*AVCODEC_MAX_AUDIO_FRAME_SIZE;
                                      ^
src/ffmpeg2theora.c:1537:32: warning: 'avcodec_decode_audio3' is deprecated [-Wdeprecated-declarations]
                        len1 = avcodec_decode_audio3(astream->codec, audio_buf, &data_size, &avpkt);
                               ^
/usr/local/include/libavcodec/avcodec.h:3682:26: note: 'avcodec_decode_audio3' declared here
attribute_deprecated int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples,
                         ^
src/ffmpeg2theora.c:1548:47: warning: 'audio_resample' is deprecated [-Wdeprecated-declarations]
                                samples_out = audio_resample(this->audio_resample_ctx, resampled, audio_buf, samples);
                                              ^
/usr/local/include/libavcodec/avcodec.h:4224:5: note: 'audio_resample' declared here
int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples);
    ^
src/ffmpeg2theora.c:1643:24: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  utf8 = pkt.data;
                       ^ ~~~~~~~~
src/ffmpeg2theora.c:1651:24: warning: assigning to 'const char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  utf8 = pkt.data;
                       ^ ~~~~~~~~
src/ffmpeg2theora.c:1752:17: warning: 'audio_resample_close' is deprecated [-Wdeprecated-declarations]
                audio_resample_close(this->audio_resample_ctx);
                ^
/usr/local/include/libavcodec/avcodec.h:4233:6: note: 'audio_resample_close' declared here
void audio_resample_close(ReSampleContext *s);
     ^
src/ffmpeg2theora.c:1932:25: warning: implicit declaration of function 'toupper' is invalid in C99 [-Wimplicit-function-declaration]
            uc_key[i] = toupper(tag->key[i]);
                        ^
14 warnings and 3 errors generated.
scons: *** [src/ffmpeg2theora.o] Error 1
scons: building terminated because of errors.
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/ffmpeg2theora
===>  Cleaning for ffmpeg2theora-0.29


More information about the freebsd-pkg-fallout mailing list