Posts by saen

    Thanks for trying to help me, but it isn't working.... when i try your command i get this:


    Code
    tvh@TVServer:~/docker-tvheadend$ git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca
    fatal: bad object 7b95ba4cf9113ae8808b3e4a9425010b607dbaca

    Do you have any other idea ?

    You need to GIT PULL/CLONE and then GIT REVERT

    Hey


    can anybody help i get this message wenn i build the docker image with patched files =/

    I used chris guide in this post Guide


    Remove this commit


    Code
    git revert 7b95ba4cf9113ae8808b3e4a9425010b607dbaca

    Avoid breaking strict aliasing in IP_AS_V{4,6} · tvheadend/tvheadend@7b95ba4
    GCC complains (one example, more in tcp.h): In file included from src/main.c:41: src/tcp.h: In function ‘ip_check_equal_v4’: src/tcp.h:29:31: error:…
    github.com

    This is a normal for not only this CAID

    The reason I mention it is because I think its fair to assume people will be building on the same machine they intend to run it on.

    If this is the case then its also fair to assume it could be more than just a TVH server... It could be file sharing, Plex, router/DNS, surveillance, downloads, etc.

    Didn't want people upset when there servers lock up/crash

    Let's imagine that they have dual core cpu without hyper-treading
    what is difference?

    Using all cores might not be such a good idea?

    2 is low but then it doesn't take a long time anyways.

    If have more treads doesn't matter, load on all tread is less concentrated.
    Peak load is shorter and cannot interrupt near anything, even Turbo-boost is not activated (depend on system)


    so to be safer let's make compromise


    Code
    make -j$(nproc --ignore=1) && \

    the following error occurs

    Code
    CT101:/tmp/tvheadend#  make -j 2
    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 '/tmp/tvheadend'
    make -f Makefile.webui WEBUI=std   compile-std
    make[2]: Entering directory '/tmp/tvheadend'
    CC              src/uuid.o
    CC              src/main.o
    stat: unrecognized option: printf=%-35n %7s\n


    Do you have an idea how to solve this?

    This is because not installed package "coreutils"


    p.s.

    If dont want to wait compilation to take hours

    edit

    Code
     make -j 2 && \

    wherever you found it

    to

    Code
     make -j$(nproc) && \

    This will use all available CPU treads of host for compilation, not just 2 of them.