Project

General

Profile

Bug #5922

Building on Clear Linux OS fail

Added by saen acro 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2020-07-07
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3.xxxx
Affected Versions:

Description

I tried to satisfy dependencies maximal and reduce functions of TVH but same errot

system info

# uname -a
Linux flamingoxl 5.2.15-834.native #1 SMP Mon Sep 16 00:12:31 PDT 2019 x86_64 GNU/Linux
# cat /etc/os-release
NAME="Clear Linux OS" 
VERSION=1
ID=clear-linux-os
ID_LIKE=clear-linux-os
VERSION_ID=33470
PRETTY_NAME="Clear Linux OS" 
ANSI_COLOR="1;35" 
HOME_URL="https://clearlinux.org" 
SUPPORT_URL="https://clearlinux.org" 
BUG_REPORT_URL="mailto:[email protected]" 
PRIVACY_POLICY_URL="http://www.intel.com/privacy" 
BUILD_ID=33470

configuration result

./configure --disable-constcw --disable-capmt --disable-cccam --disable-cwc \
--disable-hdhomerun_client --disable-hdhomerun_static --enable-bundle \
--disable-ffmpeg_static --disable-libx264 --disable-libx265 --disable-libvpx \
--disable-libtheora --disable-libvorbis --disable-libfdkaac --disable-libopus \
--disable-libx264_static --disable-libx265_static --disable-libvpx_static \
--disable-libtheora_static --disable-libvorbis_static --disable-libfdkaac_static \
--disable-libopus_static --enable-cclang_threadsan --disable-libav

Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         ok
  checking for cc -msse2 ...                        ok
  checking for cc -Wunused-result ...               ok
  checking for cc -fstack-protector ...             ok
  checking for cc -fstack-protector-strong ...      ok
  checking for cc -fstack-check ...                 ok
  checking for cc -fPIE ...                         ok
  checking for cc strlcat ...                       fail
  checking for cc strlcpy ...                       fail
  checking for cc fdatasync ...                     ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic32 ...                      ok
  checking for cc atomic64 ...                      ok
  checking for cc atomic_time_t ...                 ok
  checking for cc atomic_ptr ...                    ok
  checking for cc bitops64 ...                      ok
  checking for cc lockowner ...                     ok
  checking for cc qsort_r ...                       ok
  checking for cc stime ...                         fail
  checking for cc gmtoff ...                        ok
  checking for cc recvmmsg ...                      ok
  checking for cc sendmmsg ...                      ok
  checking for cc libiconv ...                      fail
    ^ using build-in glibc iconv routines
  checking for cc ifnames ...                       ok
  checking for cc cclang_threadsan ...              fail
  checking for py module gzip ...                   ok
  checking for pkg-config ...                       ok
  checking for xgettext ...                         ok
  checking for msgmerge ...                         ok
  checking for gzip ...                             ok
  checking for bzip2 ...                            ok
  checking for pkg openssl  ...                     ok (detected 1.1.1g)
  checking for cc linux/dvb/version.h ...           ok
  checking for pkg zlib  ...                        ok (detected 1.2.11.1-motley)
  checking for pkg libpcre2-8  ...                  ok (detected 10.35)
  checking for pkg liburiparser  ...                fail (detected <none>)
  checking for pkg avahi-client  ...                ok (detected 0.8)
  checking for cc sys/inotify.h ...                 ok
  checking for cc inotify_init1 ...                 ok
  fetching dvb-scan files ...                       ok
  checking for cc epoll_create1 ...                 ok
  checking for pkg dbus-1  ...                      ok (detected 1.12.16)

Compiler:
  Using C compiler:                        gcc
  Using C flags:                           -g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -Wl,-sort-common -Wl,--enable-new-dtags -mtune=skylake -Wa,-mbranches-within-32B-boundaries
  Build for arch:                          x86_64

Binaries:
  Using PYTHON:                            python
  Using GZIP:                              gzip
  Using BZIP2:                             bzip2

Options:
  pie                                      yes
  ccdebug                                  no
  cardclient                               no
  cwc                                      no
  cccam                                    no
  capmt                                    no
  constcw                                  no
  linuxdvb                                 yes
  satip_server                             yes
  satip_client                             yes
  hdhomerun_client                         no
  hdhomerun_static                         no
  iptv                                     yes
  tsfile                                   yes
  dvbscan                                  yes
  timeshift                                yes
  trace                                    yes
  avahi                                    yes
  zlib                                     yes
  libav                                    no
  ffmpeg_static                            no
  libx264                                  no
  libx264_static                           no
  libx265                                  no
  libx265_static                           no
  libvpx                                   no
  libvpx_static                            no
  libtheora                                no
  libtheora_static                         no
  libvorbis                                no
  libvorbis_static                         no
  libfdkaac                                no
  libfdkaac_static                         no
  libopus                                  no
  libopus_static                           no
  nvenc                                    no
  vaapi                                    no
  mmal                                     no
  omx                                      no
  inotify                                  yes
  epoll                                    yes
  pcre                                     no
  pcre2                                    yes
  uriparser                                no
  ccache                                   no
  tvhcsa                                   no
  bundle                                   yes
  pngquant                                 no
  kqueue                                   no
  dbus_1                                   yes
  android                                  no
  gtimer_check                             no
  slow_memoryinfo                          no
  libsystemd_daemon                        no
  pcloud_cache                             yes
  ddci                                     yes
  cclang_threadsan                         yes
  gperftools                               no
  execinfo                                 yes
  mmx                                      yes
  sse2                                     yes
  W_unused_result                          yes
  f_stack_protector                        yes
  f_stack_protector_strong                 yes
  f_stack_check                            yes
  f_PIE                                    yes
  fdatasync                                yes
  getloadavg                               yes
  atomic32                                 yes
  atomic64                                 yes
  atomic_time_t                            yes
  atomic_ptr                               yes
  bitops64                                 yes
  lockowner                                yes
  qsort_r                                  yes
  gmtoff                                   yes
  recvmmsg                                 yes
  sendmmsg                                 yes
  ifnames                                  yes
  py_gzip                                  yes
  bin_pkg_config                           yes
  bin_xgettext                             yes
  bin_msgmerge                             yes
  bin_gzip                                 yes
  bin_bzip2                                yes
  ssl                                      yes
  linuxdvbapi                              yes
  linuxdvb_ca                              yes
  upnp                                     yes
  inotify_h                                yes
  inotify_init1                            yes
  epoll_create1                            yes
  mpegts                                   yes
  mpegts_dvb                               yes

Packages:
  openssl                                  1.1.1g
  zlib                                     1.2.11.1-motley
  libpcre2-8                               10.35
  avahi-client                             0.8
  dbus-1                                   1.12.16

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

Final Binary:
  /root/tvheadend/build.linux/tvheadend

Tvheadend Data Directory:
  /usr/local/share/tvheadend

and compilation

# make
Receiving data/dvb-scan from https://github.com/tvheadend/dtv-scan-tables.git#tvheadend
make -f Makefile.webui LANGUAGES="ach ady ar bg cs da de en_US en_GB es et fa fi fr he hr hu it ko lv lt nl no pl pt ro ru sl sk sq sv tr uk zh zh-Hans" all
make[1]: Entering directory '/root/tvheadend'
make -f Makefile.webui WEBUI=std   compile-std
make[2]: Entering directory '/root/tvheadend'
src/webui/static/tvh.js.gz.tmp      1365906
src/webui/static/tvh.js.gz.tmp2     1079001
src/webui/static/tvh.js.gz           298289
src/webui/static/tvh-tv.js.gz.tmp    749487
src/webui/static/tvh-tv.js.gz.tmp2   739368
src/webui/static/tvh-tv.js.gz        211676
src/webui/static/tvh-tv.css.gz.tmp     3442
src/webui/static/tvh-tv.css.gz.tmp2    2585
src/webui/static/tvh-tv.css.gz          836
WEBUI std finished
make[2]: Leaving directory '/root/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make[2]: Entering directory '/root/tvheadend'
WEBUI debug finished
make[2]: Leaving directory '/root/tvheadend'
make[1]: Leaving directory '/root/tvheadend'
CC              src/version.o
CC              src/uuid.o
CC              src/main.o
CC              src/tvhlog.o
CC              src/tprofile.o
CC              src/idnode.o
In file included from src/tvheadend.h:39,
                 from src/idnode.h:23,
                 from src/idnode.c:28:
In function ‘idnode_find0’,
    inlined from ‘save_thread’ at src/idnode.c:1998:14:
src/tvhlog.h:214:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  214 |       _tvhlog(__FILE__, __LINE__, LOG_TRACE, subsys, fmt, ##__VA_ARGS__); \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/idnode.c:652:3: note: in expansion of macro ‘tvhtrace’
  652 |   tvhtrace(LS_IDNODE, "find node %s class %s",
      |   ^~~~~~~~
src/idnode.c: In function ‘save_thread’:
src/idnode.c:652:43: note: format string is defined here
  652 |   tvhtrace(LS_IDNODE, "find node %s class %s",
      |                                           ^~
In file included from src/tvheadend.h:39,
                 from src/idnode.h:23,
                 from src/idnode.c:28:
In function ‘idnode_find0’,
    inlined from ‘save_thread’ at src/idnode.c:2006:14:
src/tvhlog.h:214:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  214 |       _tvhlog(__FILE__, __LINE__, LOG_TRACE, subsys, fmt, ##__VA_ARGS__); \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/idnode.c:652:3: note: in expansion of macro ‘tvhtrace’
  652 |   tvhtrace(LS_IDNODE, "find node %s class %s",
      |   ^~~~~~~~
src/idnode.c: In function ‘save_thread’:
src/idnode.c:652:43: note: format string is defined here
  652 |   tvhtrace(LS_IDNODE, "find node %s class %s",
      |                                           ^~
cc1: all warnings being treated as errors
make: *** [Makefile:717: /root/tvheadend/build.linux/src/idnode.o] Error 1

Also available in: Atom PDF