multimedia/tvheadend fails under FreeBSD 9.2-stable

Torfinn Ingolfsen tingox at
Sun Feb 9 19:49:35 UTC 2014

The port multimedia/tvheadend fails to compile under FreeBSD 9.2-stable.
root at kg-f4# uname -a
FreeBSD 9.2-STABLE FreeBSD 9.2-STABLE #3 r261516: Wed Feb
 5 22:38:36 CET 2014
root at  amd64

root at kg-f4# make showconfig
===> The following configuration options are available for
     AVAHI=off: Zeroconf support via Avahi
     DVBCSA=on: Replace internal ffdecsa with dvbcsa
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
===> Use 'make config' to modify these settings

root at kg-f4# make
/!\ WARNING /!\
pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng
If you do not want to see this message again set
NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf

===>  License GPLv3 accepted by the user
===>  Found saved configuration for tvheadend-
===> Fetching all distfiles required by tvheadend-
for building
===>  Extracting for tvheadend-
=> SHA256 Checksum OK for tvheadend-
=> SHA256 Checksum OK for dvb-scan-tables-20130714.tar.gz.
===>  Patching for tvheadend-
===>  Applying FreeBSD patches for tvheadend-
===>   tvheadend- depends on executable: bash - found
===>   tvheadend- depends on file:
/usr/local/include/linux/videodev2.h - found
===>   tvheadend- depends on file:
/usr/local/bin/python2.7 - found
===>   tvheadend- depends on executable: pkgconf - found
===>   tvheadend- depends on executable: gmake - found
===>   tvheadend- depends on shared library: - found
===>   tvheadend- depends on shared library: - found
===>  Configuring for tvheadend-
Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic64 ...                      ok
  checking for py module gzip ...                   ok
  checking for bzip2 ...                            ok
  checking for pkg avahi-client  ...                ok
  checking for pkg libavcodec <=55.0.0 ...          fail
  checking for cc sys/inotify.h ...                 fail
  checking for pkg libcurl  ...                     ok

  Using C compiler:                        cc
  Using C flags:                           -O2 -pipe
-I/usr/local/include -Wno-conversion -Wno-int-to-pointer-cast
  Build for arch:                          amd64

  Using PYTHON:                            /usr/local/bin/python2.7

  cwc                                      yes
  v4l                                      yes
  linuxdvb                                 yes
  dvbscan                                  no
  timeshift                                yes
  trace                                    yes
  imagecache                               yes
  avahi                                    yes
  zlib                                     no
  libav                                    no
  inotify                                  no
  bundle                                   no
  dvbcsa                                   no
  epoll                                    no
  kqueue                                   yes
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  getloadavg                               yes
  atomic64                                 yes
  py_gzip                                  yes
  bin_bzip2                                yes
  ssl                                      yes

  avahi-client                             0.6.31
  libcurl                                  7.34.0

Installation paths:
  Prefix:                                  /usr/local
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               /usr/local/man

Final Binary:

Tvheadend Data Directory:

===>  Building for tvheadend-
CC              src/version.o
CC              src/main.o
CC              src/tvhlog.o
CC              src/utils.o
CC              src/wrappers.o
CC              src/access.o
CC              src/dtable.o
CC              src/tcp.o
CC              src/http.o
CC              src/notify.o
CC              src/file.o
CC              src/epg.o
CC              src/epgdb.o
CC              src/epggrab.o
CC              src/spawn.o
CC              src/packet.o
CC              src/streaming.o
CC              src/teletext.o
CC              src/channels.o
CC              src/subscriptions.o
CC              src/service.o
CC              src/psi.o
CC              src/parsers.o
CC              src/parser_h264.o
CC              src/parser_latm.o
CC              src/tsdemux.o
CC              src/bitstream.o
CC              src/htsp_server.o
CC              src/serviceprobe.o
CC              src/htsmsg.o
CC              src/htsmsg_binary.o
CC              src/htsmsg_json.o
CC              src/htsmsg_xml.o
CC              src/misc/dbl.o
CC              src/misc/json.o
CC              src/settings.o
CC              src/htsbuf.o
CC              src/trap.o
CC              src/avg.o
CC              src/htsstr.o
CC              src/rawtsinput.o
CC              src/iptv_input.o
CC              src/avc.o
CC              src/huffman.o
CC              src/filebundle.o
CC              src/config2.o
CC              src/lang_codes.o
CC              src/lang_str.o
CC              src/imagecache.o
CC              src/tvhtime.o
CC              src/tvhpoll.o
CC              src/epggrab/module.o
CC              src/epggrab/channel.o
CC              src/epggrab/module/pyepg.o
CC              src/epggrab/module/xmltv.o
CC              src/plumbing/tsfix.o
CC              src/plumbing/globalheaders.o
CC              src/dvr/dvr_db.o
CC              src/dvr/dvr_rec.o
CC              src/dvr/dvr_autorec.o
CC              src/webui/webui.o
CC              src/webui/comet.o
CC              src/webui/extjs.o
CC              src/webui/simpleui.o
CC              src/webui/statedump.o
CC              src/webui/html.o
CC              src/muxer.o
CC              src/muxer/muxer_pass.o
CC              src/muxer/muxer_tvh.o
CC              src/muxer/tvh/ebml.o
CC              src/muxer/tvh/mkmux.o
CC              src/epggrab/otamux.o
CC              src/epggrab/module/eit.o
CC              src/epggrab/module/opentv.o
CC              src/epggrab/support/freesat_huffman.o
CC              src/timeshift.o
CC              src/timeshift/timeshift_filemgr.o
CC              src/timeshift/timeshift_writer.o
CC              src/timeshift/timeshift_reader.o
CC              src/dvb/dvb.o
CC              src/dvb/dvb_support.o
CC              src/dvb/dvb_charset.o
CC              src/dvb/dvb_fe.o
CC              src/dvb/dvb_tables.o
CC              src/dvb/diseqc.o
CC              src/dvb/dvb_adapter.o
CC              src/dvb/dvb_multiplex.o
CC              src/dvb/dvb_service.o
CC              src/dvb/dvb_preconf.o
CC              src/dvb/dvb_satconf.o
CC              src/dvb/dvb_input_filtered.o
CC              src/dvb/dvb_input_raw.o
CC              src/webui/extjs_dvb.o
CC              src/muxes.o
CC              src/v4l.o
CC              src/webui/extjs_v4l.o
CC              src/avahi.o
CC              src/cwc.o
CC              src/capmt.o
CC              src/ffdecsa/ffdecsa_interface.o
CC              src/ffdecsa/ffdecsa_int.o
CC              src/ffdecsa/ffdecsa_mmx.o
CC              src/ffdecsa/ffdecsa_sse2.o
In file included from src/ffdecsa/ffdecsa_sse2.c:2:
src/ffdecsa/FFdecsa.c: In function 'block_decypher_group':
src/ffdecsa/FFdecsa.c:407: note: use -flax-vector-conversions to
permit conversions between vectors with differing element types or
numbers of subparts
src/ffdecsa/FFdecsa.c:407: error: incompatible type for argument 1 of
src/ffdecsa/FFdecsa.c:407: error: incompatible type for argument 1 of
src/ffdecsa/FFdecsa.c:407: error: incompatible type for argument 1 of
gmake: *** [/usr/ports/multimedia/tvheadend/work/decke-tvheadend-8a8c1a8/build.freebsd/src/ffdecsa/ffdecsa_sse2.o]
Error 1
*** [do-build] Error code 1

Stop in /usr/ports/multimedia/tvheadend.
*** [build] Error code 1

Stop in /usr/ports/multimedia/tvheadend.

FWIW, the port compiles and install without problems on a 10.0-release box
Torfinn Ingolfsen

More information about the freebsd-ports mailing list