You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ar doesn't like an option being passed to it, this is from the latest version in MASTER
HandBrake version (e.g., 1.0.0)
Latest from MASTER branch.
Operating system and version (e.g., Ubuntu 18.04 LTS, macOS 10.14 Mojave, Windows 10 1809)
Debian Sid (Unstable).
Error message text or screenshot
cd ./contrib/x265/x265_3.1.2/; /bin/rm -rf libx265.a
/bin/rm -f ./contrib/x265/.stamp.x265.build
touch contrib/x265/.stamp.x265.build
for a in ./contrib/x265/x265_3.1.2//8bit/libx265_main.a ./contrib/x265/x265_3.1.2//10bit/libx265_main10.a ./contrib/x265/x265_3.1.2//12bit/libx265_main12.a; do (/bin/rm -rf "$a"_o && /bin/mkdir -p "$a"_o && /usr/bin/ar x "$a" && mv .o "$a"_o && /usr/bin/ar cq contrib/x265/x265_3.1.2//libx265.a "$a"_o/.o); done
/usr/bin/ar s contrib/x265/x265_3.1.2//libx265.a
-s: invalid option -- 'n'
Usage: /usr/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin ] [member-name] [count] archive-file file...
/usr/bin/ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
s - act as ranlib
t[O][v] - display contents of the archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[D] - use zero for timestamps and uids/gids (default)
[U] - use actual timestamps and uids/gids
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[O] - display offsets of files in the archive
[u] - only replace files that are newer than current archive contents
generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[T] - make a thin archive
[v] - be verbose
[V] - display the version number
@ - read options from
--target=BFDNAME - specify the target object format as BFDNAME
optional:
--plugin
~$ /usr/bin/ar --version
GNU ar (GNU Binutils for Debian) 2.32.51.20190821
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
What's weird about this one is the failing command is ar s .... No "n" option is used. Perhaps a bug in recent versions of ar. The fix is to use ranlib ... instead, which is equivalent to ar s ....
Description of the problem
Building the HandbrakeCLI binary.
/usr/bin/ar doesn't like an option being passed to it, this is from the latest version in MASTER
HandBrake version (e.g., 1.0.0)
Latest from MASTER branch.
Operating system and version (e.g., Ubuntu 18.04 LTS, macOS 10.14 Mojave, Windows 10 1809)
Debian Sid (Unstable).
Error message text or screenshot
cd ./contrib/x265/x265_3.1.2/; /bin/rm -rf libx265.a
/bin/rm -f ./contrib/x265/.stamp.x265.build
touch contrib/x265/.stamp.x265.build
for a in ./contrib/x265/x265_3.1.2//8bit/libx265_main.a ./contrib/x265/x265_3.1.2//10bit/libx265_main10.a ./contrib/x265/x265_3.1.2//12bit/libx265_main12.a; do (/bin/rm -rf "$a"_o && /bin/mkdir -p "$a"_o && /usr/bin/ar x "$a" && mv .o "$a"_o && /usr/bin/ar cq contrib/x265/x265_3.1.2//libx265.a "$a"_o/.o); done
/usr/bin/ar s contrib/x265/x265_3.1.2//libx265.a
-s: invalid option -- 'n'
Usage: /usr/bin/ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin ] [member-name] [count] archive-file file...
/usr/bin/ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
s - act as ranlib
t[O][v] - display contents of the archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[D] - use zero for timestamps and uids/gids (default)
[U] - use actual timestamps and uids/gids
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[O] - display offsets of files in the archive
[u] - only replace files that are newer than current archive contents
generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[T] - make a thin archive
[v] - be verbose
[V] - display the version number
@ - read options from
--target=BFDNAME - specify the target object format as BFDNAME
optional:
--plugin
- load the specified plugin
emulation options:
No emulation specific options
/usr/bin/ar: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big pe-x86-64 pe-bigobj-x86-64 pe-i386 srec symbolsrec verilog tekhex binary ihex plugin
make: *** [../contrib/x265/module.rules:5: contrib/x265/x265_3.1.2//libx265.a] Error 1
make: *** Deleting file 'contrib/x265/x265_3.1.2//libx265.a'
HandBrake Activity Log (see https://handbrake.fr/docs/en/latest/help/activity-log.html)
The text was updated successfully, but these errors were encountered: