odoriod-c2 ; handbrake ( limit of aur )

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

odoriod-c2 ; handbrake ( limit of aur )

Postby hatahata50 » Wed May 11, 2016 8:44 pm

hi all .
my PC is odoroid-c2 .
i use aur , but all my trials fail including aarch64 & armv7h .
so i give up to use aur for installing handbrake .
i shall make it from source .

so i follow http://d.hatena.ne.jp/kt_hiro/20141217/1418821696 ,
source code is https://handbrake.fr/rotation.php?file= ... .5.tar.bz2

other than handbrake , i use pacman .

make takes long time , and for long period only one CPU is used ;
namely Cpu2
%Cpu0 : 3.4/2.0 5[||| ]
%Cpu1 : 0.0/0.0 0[ ]
%Cpu2 : 92.7/3.3 96[||||||||||||||||||||||||||||||||||||||||||||||||||| ]
%Cpu3 : 0.7/0.7 1[ ]
GiB Mem : 10.0/1.678 [ ]
GiB Swap: 0.1/0.500 [

when finished
ls -l /usr/local/bin/HandBrakeCLI
-rwxr-xr-x 1 root root 10042056 May 12 04:28 /usr/local/bin/HandBrakeCLI

and
cat /etc/ld.so.conf
#
# /etc/ld.so.conf
#
include /etc/ld.so.conf.d/*.conf
# End of file

---
regards
hatahata50
 
Posts: 47
Joined: Tue Dec 29, 2015 6:04 am

Re: odoriod-c2 ; handbrake ( limit of aur )

Postby moonman » Wed May 11, 2016 10:36 pm

1. Please use code tags
2. Be it AUR or if building by hand - you are compiling it either way with the only difference being that if built from AUR now pacman tracks the files you have installed.
3. To use all cores you can use -j <# of cores yu want to use> e.g. make -j4. Same goes for AUR packages, you need to uncomment a line in /etc/makepkg.conf that reads MAKEFLAGS=-j<CORE #>

What was the error when building from AUR?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: odoriod-c2 ; handbrake ( limit of aur )

Postby hatahata50 » Thu May 12, 2016 3:01 am

for example , handbrake-git.tar.gz

$this->bbcode_second_pass_code('', '
cat PKGBUILD | grep arch
# Contributor: graysky <graysky AT archlinux DOT us>
arch=('aarch64')
')

when
$this->bbcode_second_pass_code('', ' makepkg ')

then
$this->bbcode_second_pass_code('', ' libAACenc/src/aacEnc_rom.cpp:681:1: error: narrowing conversion of '4096822497u' from 'unsigned int' to 'FIXP_DBL {aka int}' inside { } [-Wnarrowing]
Makefile:1409: recipe for target 'libAACenc/src/aacEnc_rom.lo' failed
make[1]: *** [libAACenc/src/aacEnc_rom.lo] Error 1
make[1]: Leaving directory '/home/yuma/builds/handbrake-git/src/HandBrake/build/contrib/fdkaac/fdk-aac-0.1.4'
../contrib/fdk-aac/module.rules:2: recipe for target 'contrib/fdkaac/.stamp.build' failed
make: *** [contrib/fdkaac/.stamp.build] Error 2
make: Leaving directory '/home/yuma/builds/handbrake-git/src/HandBrake/build'
==> ERROR: A failure occurred in build().
Aborting...
')

so i give up to use aur in case of handbrake
handbrake is a essential tool for treating videos .

---
regards
hatahata50
 
Posts: 47
Joined: Tue Dec 29, 2015 6:04 am

Re: odoriod-c2 ; handbrake ( limit of aur )

Postby moonman » Thu May 12, 2016 3:27 am

Git may not be the best version to install at the moment. There is a bug, which is revealed now since we just migrated to gcc 6. You need this patch. https://patchwork.ozlabs.org/patch/617155/
Report it to the package maintainer in AUR
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 6 guests