leandromoreira / leandromoreira/ffmpeg-libav-tutorial

Dockerfile build fails on Xvid Core

Open Beginner friendly
#137 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

The URL for xvidcore-1.3.4.tar.gz is no longer reachable.

The corresponding site url returns:

<html>
  <head>
    <link href="http://fonts.bunny.net/css?family=Rubik:300,400,500,700,900" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://bunnycdn.b-cdn.net/assets/landingpage/css/unconfigured.css">
    <title>BunnyCDN Node ASB1-925</title>
  </head>
  <body>
    <div id="header"> <a rel="nofollow" href="https://bunny.net"><img style="vertical-align:middle; image-rendering: -webkit-optimize-contrast;" src="https://bunny.net/v2/images/bunnynet-logo.svg"/></a></div>
    <div id="content">
      <h2>Domain suspended or not configured</h2>
      <p>If you are the administrator and believe this is an error on our side, please check your BunnyCDN account configuration or contact customer support. </p>
    </div>
  </body>
</html>

Associated Info


 => ERROR [build 13/36] RUN         DIR=/tmp/xvid &&         mkdir -p ${DIR} &&         cd ${DIR} &&         curl -sLO http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz &&         echo 4e9fd627  0.6s
------
 > [build 13/36] RUN         DIR=/tmp/xvid &&         mkdir -p ${DIR} &&         cd ${DIR} &&         curl -sLO http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz &&         echo 4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f xvidcore-1.3.4.tar.gz | sha256sum --check &&         tar -zx -f xvidcore-1.3.4.tar.gz &&         cd xvidcore/build/generic &&         ./configure --prefix="/opt/ffmpeg" --bindir="/opt/ffmpeg/bin" &&         make &&         make install &&         rm -rf ${DIR}:
0.460 sha256sum: WARNING: 1 computed checksum did NOT match
0.460 xvidcore-1.3.4.tar.gz: FAILED
------
Dockerfile:241
--------------------
 240 |     ### xvid https://www.xvid.com/
 241 | >>> RUN \
 242 | >>>         DIR=/tmp/xvid && \
 243 | >>>         mkdir -p ${DIR} && \
 244 | >>>         cd ${DIR} && \
 245 | >>>         curl -sLO http://downloads.xvid.org/downloads/xvidcore-${XVID_VERSION}.tar.gz && \
 246 | >>>         echo ${XVID_SHA256SUM} | sha256sum --check && \
 247 | >>>         tar -zx -f xvidcore-${XVID_VERSION}.tar.gz && \
 248 | >>>         cd xvidcore/build/generic && \
 249 | >>>         ./configure --prefix="${PREFIX}" --bindir="${PREFIX}/bin" && \
 250 | >>>         make && \
 251 | >>>         make install && \
 252 | >>>         rm -rf ${DIR}
 253 |     ### fdk-aac https://github.com/mstorsjo/fdk-aac
--------------------
ERROR: failed to solve: process "/bin/sh -c DIR=/tmp/xvid &&         mkdir -p ${DIR} &&         cd ${DIR} &&         curl -sLO http://downloads.xvid.org/downloads/xvidcore-${XVID_VERSION}.tar.gz &&         echo ${XVID_SHA256SUM} | sha256sum --check &&         tar -zx -f xvidcore-${XVID_VERSION}.tar.gz &&         cd xvidcore/build/generic &&         ./configure --prefix=\"${PREFIX}\" --bindir=\"${PREFIX}/bin\" &&         make &&         make install &&         rm -rf ${DIR}" did not complete successfully: exit code: 1

A new url can be used instead. I confirmed the matching SHA-256 sum:

echo 4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f xvidcore-1.3.4.tar.gz | sha256sum --check
xvidcore-1.3.4.tar.gz: OK

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Xvid build block in Dockerfile lines 240-252, especially the download command on line 245, and run the documented Docker build to reproduce the checksum failure. Done means the Xvid archive downloads from the working URL, its SHA-256 check passes, and the Docker build completes this step successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.