Skip to content

Docker build errors #69

@abcnorio

Description

@abcnorio

Hij,

there were some errors in the Docker build:

(1)

363c365
<   CFLAGS=-fPIC meson setup -Dlink_static=true build && CFLAGS=-fPIC ninja -C build && ninja -C build install
---
>   CFLAGS=-fPIC meson setup build && CFLAGS=-fPIC ninja -C build && ninja -C build install

-> the '-DLink_static=true' does not exist, should it be '-Ddefault_library=static' but using that it does not seem to build properly, because the *.so file is missing. For the time being just remove the static switch, but that's not a real solution, right?

(2)

804c806
<   /workspace/Python-3.11.3/libpython3.so /usr/lib
---
>   /workspace/Python-3.11.3/libpython3.so /usr/lib/

-> error: to copy files target should be directory

(3)

822c824
< COPY --from=bestsource-lsmash-ffms2-vs /workspace/L-SMASH-Works/VapourSynth/build/libvslsmashsource.so /workspace/bestsource/build/libbestsource.so /usr/local/lib/vapoursynth
---
> COPY --from=bestsource-lsmash-ffms2-vs /workspace/L-SMASH-Works/VapourSynth/build/libvslsmashsource.so /workspace/bestsource/build/libbestsource.so /usr/local/lib/vapoursynth/

-> error: to copy files target should be directory

(4)

842c844,845
< COPY --from=TensorRT-ubuntu /usr/local/tensorrt/lib/libnvinfer_plugin.so* /usr/local/tensorrt/lib/libnvinfer_vc_plugin.so* /usr/local/tensorrt/lib/libnvonnxparser.so* /usr/lib/x86_64-linux-gnu/

-> error: COPY failed: no source files were specified
-> that's unclear to me what is missing - is this related to 'libnvinfer_plugin.so.*' that were previously deleted? Around line 743:

  rm -rf /root/.cache/ /usr/local/lib/python3.11/site-packages/tensorrt_libs/libnvinfer.so.* /usr/local/lib/python3.11/site-packages/tensorrt_libs/libnvinfer_builder_resource.so.* \
    /usr/local/lib/python3.11/site-packages/tensorrt_libs/libnvinfer_plugin.so.* /usr/local/lib/python3.11/site-packages/tensorrt_libs/libnvonnxparser.so.*

But leaving this out does not resolve the problem.

(5)

901c904
< COPY --from=base /workspace/hotfix/* /workspace
---
> COPY --from=base /workspace/hotfix/* /workspace/

-> error: to copy files target should be directory

(6)

A warning can be added that parallel buildkit builds do not work. Could try that out on a 2x CPU xeon and it failed at several spots but had no time to find out how to prevent the failures.

Please correct, esp. (1) and (4).

Thanks!f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions