Skip to content

Issues building using nonfree.Dockerfile #8

@systemmonkey42

Description

@systemmonkey42

A number of issues occurred with the build.

1 - missing --enable-nonfree option which is now required during builds containing libfdk
2 - missing ${ARTIFACT_DIR} before ${PREFIX} in nonfree.Dockerfile
3 - cp: target '/build/lib' is not a directory needed to create /build/lib directory
4 - rm -f /build/lib/libva-x11.so* failed because the files were not found
5 - error during configure because the command ./configure \cat ${PREFIX}/ffmpeg_configure_options` ` results in the following option

 --nvccflags="-gencode arch=compute_52,code=sm_52"

being split into

  • --nvccflags="-gencode
  • arch=compute_52,code=sm_52"

This helped

   readarray -t opts < <(xargs -n1 bash -c 'printf -- "%s\n" "$@"' _ < file)
  ./configure "${opts[@]}" \

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