Error Building From Source on Ubuntu Linux 22.04.3

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
trleith
Posts: 5
Joined: Sat Dec 09, 2023 2:18 pm

Error Building From Source on Ubuntu Linux 22.04.3

Post by trleith »

Description of problem or question:

Following Instructions for building from source on Ubuntu

Build fails saying ERROR: HandBrake is missing version information it needs to build properly.

What am I missing?

Steps to reproduce the problem (If Applicable):

Code: Select all

root@svr2:/plex/arm/Software/HandBrake-1.7.1/HandBrake# git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake

root@svr2:/plex/arm/Software/HandBrake-1.7.1/HandBrake# ./configure --launch-jobs=$(nproc) --launch --disable-gtk

HandBrake version: 1.7.1
Operating system and version: Ubuntu Linux 22.04.3


HandBrake Activity Log -- Well, Not Exactly

Code: Select all

root@svr2:/plex/arm/Software/HandBrake-1.7.1# git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake
Cloning into 'HandBrake'...
remote: Enumerating objects: 111337, done.
remote: Counting objects: 100% (4242/4242), done.
remote: Compressing objects: 100% (624/624), done.
remote: Total 111337 (delta 3730), reused 3925 (delta 3593), pack-reused 107095
Receiving objects: 100% (111337/111337), 106.39 MiB | 12.60 MiB/s, done.
Resolving deltas: 100% (83442/83442), done.

# Show list of files

root@svr2:/plex/arm/Software/HandBrake-1.7.1/HandBrake# ls -la
total 244
drwxr-xr-x 15 root arm   4096 Dec 13 11:09 .
drwxrwxr-x  3 arm  arm   4096 Dec 13 11:09 ..
-rw-r--r--  1 root arm   3669 Dec 13 11:09 AUTHORS.markdown
-rw-r--r--  1 root arm   3261 Dec 13 11:09 CODE_OF_CONDUCT.md
-rwxr-xr-x  1 root arm    399 Dec 13 11:09 configure
drwxr-xr-x 40 root arm   4096 Dec 13 11:09 contrib
-rw-r--r--  1 root arm    382 Dec 13 11:09 CONTRIBUTING.md
-rw-r--r--  1 root arm  18092 Dec 13 11:09 COPYING
drwxr-xr-x  8 root arm   4096 Dec 13 11:09 .git
drwxr-xr-x  4 root arm   4096 Dec 13 11:09 .github
-rw-r--r--  1 root arm    736 Dec 13 11:09 .gitignore
-rw-r--r--  1 root arm      0 Dec 13 11:09 .gitmodules
drwxr-xr-x  4 root arm   4096 Dec 13 11:09 graphics
drwxr-xr-x  6 root arm   4096 Dec 13 11:09 gtk
drwxr-xr-x  5 root arm   4096 Dec 13 11:09 libhb
-rw-r--r--  1 root arm   1029 Dec 13 11:09 LICENSE
drwxr-xr-x 21 root arm  12288 Dec 13 11:09 macosx
drwxr-xr-x  7 root arm   4096 Dec 13 11:09 make
-rw-r--r--  1 root arm 117713 Dec 13 11:09 NEWS.markdown
drwxr-xr-x  5 root arm   4096 Dec 13 11:09 pkg
drwxr-xr-x  2 root arm   4096 Dec 13 11:09 preset
-rw-r--r--  1 root arm   2935 Dec 13 11:09 README.markdown
drwxr-xr-x  3 root arm   4096 Dec 13 11:09 scripts
-rw-r--r--  1 root arm   1198 Dec 13 11:09 SECURITY.md
drwxr-xr-x  2 root arm   4096 Dec 13 11:09 test
-rw-r--r--  1 root arm   2842 Dec 13 11:09 THANKS.markdown
-rw-r--r--  1 root arm   2677 Dec 13 11:09 TRANSLATION.markdown
drwxr-xr-x  3 root arm   4096 Dec 13 11:09 win

# Do the build

root@svr2:/plex/arm/Software/HandBrake-1.7.1/HandBrake# ./configure --launch-jobs=$(nproc) --launch --disable-gtk
probe: build tuple...(pass) x86_64-pc-linux-gnu
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /usr/bin/cp
find: gm4...(pass) /usr/bin/m4
find: mkdir...(pass) /usr/bin/mkdir
find: gpatch...(pass) /usr/bin/patch
find: rm...(pass) /usr/bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /usr/bin/strip
find: gtar...(pass) /usr/bin/tar
find: python3...(pass) /usr/bin/python3
find: gcc...(pass) /usr/bin/gcc
find: gmake...(pass) /usr/bin/gmake
find: autoconf...(pass) /usr/bin/autoconf
find: automake...(pass) /usr/bin/automake
find: libtool...(pass) /usr/bin/libtool
find: lipo...(fail) not found
find: pkg-config...(pass) /usr/bin/pkg-config
find: meson...(pass) /usr/bin/meson
find: nasm...(pass) /usr/bin/nasm
find: ninja-build...(pass) /usr/bin/ninja
find: cargo...(fail) not found
find: cargo-cbuild...(fail) not found
find: xcodebuild...(fail) not found
probe: checking for -Oz...(fail) code 1
compute: available architectures...(pass) x86_64
probe: number of CPU cores...(pass) 8
probe: repo info...(fail) code 128
probe: version.txt...(fail)

ERROR: HandBrake is missing version information it needs to build properly.
Clone the official git repository at https://github.com/HandBrake/HandBrake.git
or download an official source archive from https://handbrake.fr

compute: project data...root@svr2:/plex/arm/Software/HandBrake-1.7.1/HandBrake# 
trleith
Posts: 5
Joined: Sat Dec 09, 2023 2:18 pm

Re: Error Building From Source on Ubuntu Linux 22.04.3

Post by trleith »

Figured it out -- I'm an idiot.
Post Reply