Skip to content

Update FFmpeg to 3.1.4 #158

Merged
merged 17 commits into from
Nov 22, 2016
Merged

Update FFmpeg to 3.1.4 #158

merged 17 commits into from
Nov 22, 2016

Conversation

david
Copy link
Collaborator

@david david commented Oct 20, 2016

No description provided.

@pmenzel pmenzel changed the title Update ffmpeg Update FFmpeg Oct 20, 2016
@pmenzel pmenzel changed the title Update FFmpeg Update FFmpeg to 3.1.4 Oct 20, 2016
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=${D}/${PREFIX} \
-DENABLE_STATIC=OFF \
${S}/source
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary? Can’t you just pass this to bee_configure?

@david
Copy link
Collaborator Author

david commented Nov 15, 2016

don't merge problems with package numactl

@david
Copy link
Collaborator Author

david commented Nov 15, 2016

package numactl is fixed

@donald
Copy link
Collaborator

donald commented Nov 18, 2016

bee update numactl-2.0.11-0
bee install x265-2.1-0
bee update ffmpeg-3.1.4-0
bee update alsa-plugins-1.1.1-1
bee update gegl-0.2.0-2
bee update java-1.8.0_102-1
bee update vlc-2.2.4-3
bee update xine-lib-1.2.6-0

@donald
Copy link
Collaborator

donald commented Nov 18, 2016

  
+ bee update numactl-2.0.11-0
installing /src/mariux/beeroot/packages/numactl-2.0.11-0.x86_64.bee.tar.bz2 ..
    Conflicts with installed package found: man-pages-4.04-0.x86_64:
        /usr/share/man/man2/move_pages.2
removing numactl-2.0.7-0.x86_64 ..

I guess this is right and the page should be excluded from man-pages

@donald
Copy link
Collaborator

donald commented Nov 18, 2016

MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/access/libdtv_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/access/libdvb_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/demux/libts_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/mux/libmux_ts_plugin.so

Maybe this is not relevant. Basic vlc works.

@david
Copy link
Collaborator Author

david commented Nov 18, 2016

yes this work when the branch add-libdvbpsi is merged

I have build this revision with installed libdvbpsi

On 11/18/16 13:06, Donald Buczek wrote:

MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/access/libdtv_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/access/libdvb_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/demux/libts_plugin.so
MISS libdvbpsi.so.10 /usr/lib/vlc/plugins/mux/libmux_ts_plugin.so

Maybe this is not relevant. Basic vlc works.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub Enterprise
#158 (comment),
or mute the thread
https://github.molgen.mpg.de/notifications/unsubscribe/AAAAkDWLY_9juWDJ9FfKrbhwzePVW7Qeks5q_ZTFgaJpZM0Hzg==.

IT-Abteilung
Max-Planck-Institut fuer Molekulare Genetik
Fon: -1105
Email: schrader@molgen.mpg.de

@donald
Copy link
Collaborator

donald commented Nov 18, 2016

tested on theinternet. 👍

@david
Copy link
Collaborator Author

david commented Nov 18, 2016

this are only typo and spelling changes

On 11/18/16 12:56, Donald Buczek wrote:

  • bee update numactl-2.0.11-0 installing
    /src/mariux/beeroot/packages/numactl-2.0.11-0.x86_64.bee.tar.bz2
    .. Conflicts with installed package found:
    man-pages-4.04-0.x86_64: /usr/share/man/man2/move_pages.2


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub Enterprise
#158 (comment),
or mute the thread
https://github.molgen.mpg.de/notifications/unsubscribe/AAAAkCSwpMxFM2tdvSGiVQPKLIKNJXpJks5q_ZKAgaJpZM0Hzg==.

IT-Abteilung
Max-Planck-Institut fuer Molekulare Genetik
Fon: -1105
Email: schrader@molgen.mpg.de

@david
Copy link
Collaborator Author

david commented Nov 18, 2016

ok I have excluded this man-page

the newer version need for x265
exclude move_pages.2 from man-pages
@@ -15,7 +15,8 @@ SRCURL[0]="http://ftp.gtk.org/pub/gegl/${PKGVERSION[2]}/gegl-${PKGVERSION}.tar.b
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

PATCHURL="http://www.linuxfromscratch.org/patches/blfs/7.9/gegl-0.2.0-ffmpeg2-1.patch"
PATCHURL[0]="http://www.linuxfromscratch.org/patches/blfs/7.9/gegl-0.2.0-ffmpeg2-1.patch"
PATCHURL[1]="/src/mariux/beeroot/downloads/gegl-without-exiv2.patch"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In der Vorlage wird PATCHURL+=() vorgeschlagen. Damit muss sich nicht um die Indexe gekümmert werden.

@pmenzel
Copy link
Collaborator

pmenzel commented Nov 18, 2016

Als Nutzer kann ich x265.be0 noch nicht bauen.

pmenzel@sigint:~/bee-files> time BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j' ./x265.be0
BEE v1.2.11 2009-2016
  by  Marius Tolzmann <marius@mariux.de>
      Matthias Ruester <ruester@molgen.mpg.de>
      Tobias Dreyer <dreyer@molgen.mpg.de>

[BEE]   BEE_SKIPLIST           /etc/bee/skiplist
[BEE]   BEE_REPOSITORY_PREFIX  /home/pmenzel/.local/src/bee
[BEE]   BEE_METADIR            /home/pmenzel/.local/share/bee
[BEE]   BEE_TMP_TMPDIR         /dev/shm
[BEE]   BEE_TMP_BUILDROOT      /dev/shm/bee-root
[BEE] current working directory: /home/pmenzel/bee-files
[BEE] ==> initializing build environment ..
[BEE]  -> creating source dir /dev/shm/bee-root/x265/x265-2.1-0/source
[BEE]  -> creating image dir /dev/shm/bee-root/x265/x265-2.1-0/image
[BEE] ==> checking repositories ..
[BEE] ==> building x265-2.1-0.x86_64 ..
[BEE] => entering bee_getsources() ..
[BEE] fetching https://bitbucket.org/multicoreware/x265/downloads/x265_2.1.tar.gz
--2016-11-18 14:32:28--  https://bitbucket.org/multicoreware/x265/downloads/x265_2.1.tar.gz
Resolving bitbucket.org (bitbucket.org)... 104.192.143.3, 104.192.143.2, 104.192.143.1, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.143.3|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://bbuseruploads.s3.amazonaws.com/b8d6bf3b-c76e-4683-87c4-31459ce32bdd/downloads/0d2b036e-b4d5-4b75-b5d0-c82c86a67908/x265_2.1.tar.gz?Signature=ruNmOKpdK7o0vAjxOzKzo3Bl9uk%3D&Expires=1479477749&AWSAccessKeyId=AKIAIVFPT2YJYYZY3H4A&versionId=j86UX.uZtdl6FtKo.gau9NMtZDFkZdkE&response-content-disposition=attachment%3B%20filename%3D%22x265_2.1.tar.gz%22 [following]
--2016-11-18 14:32:29--  https://bbuseruploads.s3.amazonaws.com/b8d6bf3b-c76e-4683-87c4-31459ce32bdd/downloads/0d2b036e-b4d5-4b75-b5d0-c82c86a67908/x265_2.1.tar.gz?Signature=ruNmOKpdK7o0vAjxOzKzo3Bl9uk%3D&Expires=1479477749&AWSAccessKeyId=AKIAIVFPT2YJYYZY3H4A&versionId=j86UX.uZtdl6FtKo.gau9NMtZDFkZdkE&response-content-disposition=attachment%3B%20filename%3D%22x265_2.1.tar.gz%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.226.88
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.226.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1036921 (1013K) [application/x-tar]
Saving to: ‘/dev/shm/bee-root/x265/files/x265_2.1.tar.gz’

/dev/shm/bee-root/x265/files/x265_2.1.tar.gz         100%[=======================================================================================================================>]   1013K   879KB/s   in 1.2s   

2016-11-18 14:32:32 (879 KB/s) - ‘/dev/shm/bee-root/x265/files/x265_2.1.tar.gz’ saved [1036921/1036921]

-rw-r--r-- 1 pmenzel pmenzel 1036921 Oct  5 08:00 /dev/shm/bee-root/x265/files/x265_2.1.tar.gz
[BEE] fetching http://www.linuxfromscratch.org/patches/blfs/svn/x265_2.1-enable_static-1.patch
--2016-11-18 14:32:32--  http://www.linuxfromscratch.org/patches/blfs/svn/x265_2.1-enable_static-1.patch
Resolving www.linuxfromscratch.org (www.linuxfromscratch.org)... 192.155.86.174, 2600:3c01::f03c:91ff:fe70:25e8
Connecting to www.linuxfromscratch.org (www.linuxfromscratch.org)|192.155.86.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3492 (3.4K) [text/x-diff]
Saving to: ‘/dev/shm/bee-root/x265/files/x265_2.1-enable_static-1.patch’

/dev/shm/bee-root/x265/files/x265_2.1-enable_static- 100%[=======================================================================================================================>]   3.41K  --.-KB/s   in 0s     

2016-11-18 14:32:32 (511 MB/s) - ‘/dev/shm/bee-root/x265/files/x265_2.1-enable_static-1.patch’ saved [3492/3492]

-rw-r--r-- 1 pmenzel pmenzel 3492 Nov 18 11:48 /dev/shm/bee-root/x265/files/x265_2.1-enable_static-1.patch
[BEE] <= leaving bee_getsources() ..
[BEE] => entering bee_extract() ..
[BEE]  -> extracting main source /dev/shm/bee-root/x265/files/x265_2.1.tar.gz ..
[BEE] tar xof /dev/shm/bee-root/x265/files/x265_2.1.tar.gz -C /dev/shm/bee-root/x265/x265-2.1-0/source --strip-components 1
[BEE]  -> all sources extracted to: /dev/shm/bee-root/x265/x265-2.1-0/source ..
[BEE] <= leaving bee_extract() ..
[BEE] changing to source directory: /dev/shm/bee-root/x265/x265-2.1-0/source
[BEE] => entering bee_patch() ..
[BEE] bee_patch(): x265_2.1-enable_static-1.patch: guessed patch striplevel of 1 ..
[BEE] patch -N -p1 -i /dev/shm/bee-root/x265/files/x265_2.1-enable_static-1.patch
patching file source/CMakeLists.txt
Hunk #1 succeeded at 471 (offset 52 lines).
Hunk #2 succeeded at 549 (offset 54 lines).
Hunk #3 succeeded at 614 (offset 54 lines).
[BEE] <= leaving bee_patch() ..
[BEE]  -> creating build dir /dev/shm/bee-root/x265/x265-2.1-0/build
[BEE] changing to build directory: /dev/shm/bee-root/x265/x265-2.1-0/build
[BEE] => entering mee_configure() ..
/usr/bin/beesh: line 501: [: too many arguments
[BEE] action 'bee_configure' is not defined: skipping..
[BEE] <= leaving mee_configure() ..
[BEE] => entering bee_build() ..
[BEE] action 'bee_build' is not defined: skipping..
[BEE] <= leaving bee_build() ..
[BEE] => entering bee_install() ..
[BEE] action 'bee_install' is not defined: skipping..
[BEE] <= leaving bee_install() ..
[BEE] changing to image directory: /dev/shm/bee-root/x265/x265-2.1-0/image
[BEE] ERROR: empty image directory

real    0m4.073s
user    0m0.093s
sys     0m0.020s

@david
Copy link
Collaborator Author

david commented Nov 18, 2016

ich kann nicht nach vollziehen was du gemacht hast bei mir gehts

schrader@heulsuse:~/ffmpeg
# time BEE_MAKEFLAGS='-j80' ./x265.be0 -c
BEE v1.2.11 2009-2016
  by  Marius Tolzmann <marius@mariux.de>
      Matthias Ruester <ruester@molgen.mpg.de>
      Tobias Dreyer <dreyer@molgen.mpg.de>

[BEE]   BEE_SKIPLIST           /etc/bee/skiplist
[BEE]   BEE_REPOSITORY_PREFIX  /home/schrader/.local/src/bee
[BEE]   BEE_METADIR            /home/schrader/.local/share/bee
[BEE]   BEE_TMP_TMPDIR         /scratch/local
[BEE]   BEE_TMP_BUILDROOT      /scratch/local/bee-schrader
[BEE] current working directory: /home/schrader/ffmpeg
[BEE] ==> initializing build environment ..
[BEE]  -> cleaning work dir /scratch/local/bee-schrader/x265/x265-2.1-0 ..
[BEE]  -> creating source dir /scratch/local/bee-schrader/x265/x265-2.1-0/source
[BEE]  -> creating image dir /scratch/local/bee-schrader/x265/x265-2.1-0/image
[BEE] ==> checking repositories ..
[BEE] ==> building x265-2.1-0.x86_64 ..
[BEE] => entering bee_getsources() ..
[BEE] fetching https://bitbucket.org/multicoreware/x265/downloads/x265_2.1.tar.gz
File `/scratch/local/bee-schrader/x265/files/x265_2.1.tar.gz' already there; not retrieving.
-rw-r--r-- 1 schrader schrader 1036921 Oct  5 08:00 /scratch/local/bee-schrader/x265/files/x265_2.1.tar.gz
[BEE] fetching http://www.linuxfromscratch.org/patches/blfs/svn/x265_2.1-enable_static-1.patch
File `/scratch/local/bee-schrader/x265/files/x265_2.1-enable_static-1.patch' already there; not retrieving.
-rw-r--r-- 1 schrader schrader 3492 Nov 18 11:48 /scratch/local/bee-schrader/x265/files/x265_2.1-enable_static-1.patch
[BEE] <= leaving bee_getsources() ..
[BEE] => entering bee_extract() ..
[BEE]  -> extracting main source /scratch/local/bee-schrader/x265/files/x265_2.1.tar.gz ..
[BEE] tar xof /scratch/local/bee-schrader/x265/files/x265_2.1.tar.gz -C /scratch/local/bee-schrader/x265/x265-2.1-0/source --strip-components 1
[BEE]  -> all sources extracted to: /scratch/local/bee-schrader/x265/x265-2.1-0/source ..
[BEE] <= leaving bee_extract() ..
[BEE] changing to source directory: /scratch/local/bee-schrader/x265/x265-2.1-0/source/source
[BEE] => entering mee_patch() ..
[BEE] bee_patch(): x265_2.1-enable_static-1.patch: guessed patch striplevel of 2 ..
[BEE] patch -N -p2 -i /scratch/local/bee-schrader/x265/files/x265_2.1-enable_static-1.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 471 (offset 52 lines).
Hunk #2 succeeded at 549 (offset 54 lines).
Hunk #3 succeeded at 614 (offset 54 lines).
[BEE] <= leaving mee_patch() ..
[BEE] using magic buildtype 'cmake' from '/usr/libexec/bee/beesh.d/cmake.sh' ..
[BEE]  -> creating build dir /scratch/local/bee-schrader/x265/x265-2.1-0/build
[BEE] changing to build directory: /scratch/local/bee-schrader/x265/x265-2.1-0/build
[BEE] => entering mee_configure() ..
[BEE] cmake -DCMAKE_INSTALL_PREFIX=/usr -G Unix Makefiles -DENABLE_STATIC=OFF /scratch/local/bee-schrader/x265/x265-2.1-0/source/source
-- cmake version 3.6.2
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/X11R6/bin/cc
-- Check for working C compiler: /usr/X11R6/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/X11R6/bin/c++
-- Check for working CXX compiler: /usr/X11R6/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected x86_64 target processor
-- Found NUMA: /usr  
-- Looking for numa_node_of_cpu
-- Looking for numa_node_of_cpu - found
-- libnuma found, building with support for NUMA nodes
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Performing Test CC_HAS_NO_STRICT_OVERFLOW
-- Performing Test CC_HAS_NO_STRICT_OVERFLOW - Success
-- Performing Test CC_HAS_NO_NARROWING
-- Performing Test CC_HAS_NO_NARROWING - Success
-- Performing Test CC_HAS_NO_ARRAY_BOUNDS
-- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success
-- Performing Test CC_HAS_FAST_MATH
-- Performing Test CC_HAS_FAST_MATH - Success
-- Performing Test CC_HAS_STACK_REALIGN
-- Performing Test CC_HAS_STACK_REALIGN - Success
-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG
-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success
-- Found yasm: /usr/X11R6/bin/yasm (found version "1.2.0") 
-- Found Yasm 1.2.0 to build assembly primitives
-- x265 version 2.1
-- The ASM_YASM compiler identification is unknown
-- Found assembler: /usr/X11R6/bin/yasm
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /scratch/local/bee-schrader/x265/x265-2.1-0/build
[BEE] <= leaving mee_configure() ..
[BEE] => entering mee_build() ..
[BEE] make -j80
Scanning dependencies of target encoder
Scanning dependencies of target common
[  2%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o
[  2%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.o
[  3%] Building CXX object encoder/CMakeFiles/encoder.dir/bitcost.cpp.o
[  5%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.o
[  6%] Building CXX object encoder/CMakeFiles/encoder.dir/slicetype.cpp.o
[  7%] Building CXX object encoder/CMakeFiles/encoder.dir/frameencoder.cpp.o
[  8%] Building CXX object encoder/CMakeFiles/encoder.dir/framefilter.cpp.o
[ 10%] Building CXX object encoder/CMakeFiles/encoder.dir/level.cpp.o
[ 11%] Building CXX object encoder/CMakeFiles/encoder.dir/nal.cpp.o
[ 12%] Building CXX object encoder/CMakeFiles/encoder.dir/sei.cpp.o
[ 15%] Building CXX object encoder/CMakeFiles/encoder.dir/sao.cpp.o
[ 15%] Building CXX object encoder/CMakeFiles/encoder.dir/entropy.cpp.o
[ 16%] Building CXX object encoder/CMakeFiles/encoder.dir/ratecontrol.cpp.o
[ 18%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.o
[ 20%] Building CXX object encoder/CMakeFiles/encoder.dir/dpb.cpp.o
[ 20%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.o
[ 21%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.o
[ 22%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.o
[ 24%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.o
[ 26%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/ssd-a.asm.o
[ 26%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/const-a.asm.o
[ 27%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.o
[ 29%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/blockcopy8.asm.o
[ 30%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/dct8.asm.o
[ 31%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/mc-a2.asm.o
[ 32%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixel-util8.asm.o
[ 34%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/intrapred8.asm.o
[ 36%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixeladd8.asm.o
[ 36%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/mc-a.asm.o
[ 37%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/sad-a.asm.o
[ 39%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/intrapred8_allangs.asm.o
[ 40%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/ipfilter8.asm.o
[ 41%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/loopfilter.asm.o
[ 43%] Building CXX object common/CMakeFiles/common.dir/primitives.cpp.o
[ 44%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse3.cpp.o
[ 48%] Building CXX object common/CMakeFiles/common.dir/vec/vec-primitives.cpp.o
[ 48%] Building CXX object common/CMakeFiles/common.dir/x86/asm-primitives.cpp.o
[ 48%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse41.cpp.o
[ 49%] Building CXX object common/CMakeFiles/common.dir/dct.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/pixel.cpp.o
[ 51%] Building CXX object common/CMakeFiles/common.dir/vec/dct-ssse3.cpp.o
[ 53%] Building CXX object common/CMakeFiles/common.dir/ipfilter.cpp.o
[ 54%] Building CXX object common/CMakeFiles/common.dir/intrapred.cpp.o
[ 55%] Building CXX object common/CMakeFiles/common.dir/loopfilter.cpp.o
[ 56%] Building CXX object common/CMakeFiles/common.dir/constants.cpp.o
[ 58%] Building CXX object common/CMakeFiles/common.dir/cpu.cpp.o
[ 60%] Building CXX object common/CMakeFiles/common.dir/version.cpp.o
[ 60%] Building CXX object common/CMakeFiles/common.dir/threading.cpp.o
[ 62%] Building CXX object common/CMakeFiles/common.dir/threadpool.cpp.o
[ 63%] Building CXX object common/CMakeFiles/common.dir/wavefront.cpp.o
[ 64%] Building CXX object common/CMakeFiles/common.dir/md5.cpp.o
[ 65%] Building CXX object common/CMakeFiles/common.dir/bitstream.cpp.o
[ 67%] Building CXX object common/CMakeFiles/common.dir/yuv.cpp.o
[ 69%] Building CXX object common/CMakeFiles/common.dir/shortyuv.cpp.o
[ 69%] Building CXX object common/CMakeFiles/common.dir/picyuv.cpp.o
[ 72%] Building CXX object common/CMakeFiles/common.dir/framedata.cpp.o
[ 73%] Building CXX object common/CMakeFiles/common.dir/param.cpp.o
[ 73%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o
[ 74%] Building CXX object common/CMakeFiles/common.dir/frame.cpp.o
[ 75%] Building CXX object common/CMakeFiles/common.dir/cudata.cpp.o
[ 77%] Building CXX object common/CMakeFiles/common.dir/slice.cpp.o
[ 78%] Building CXX object common/CMakeFiles/common.dir/lowres.cpp.o
[ 79%] Building CXX object common/CMakeFiles/common.dir/piclist.cpp.o
[ 81%] Building CXX object common/CMakeFiles/common.dir/predict.cpp.o
[ 82%] Building CXX object common/CMakeFiles/common.dir/scalinglist.cpp.o
[ 83%] Building CXX object common/CMakeFiles/common.dir/quant.cpp.o
[ 84%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o
[ 84%] Built target encoder
[ 84%] Built target common
Scanning dependencies of target x265-shared
[ 86%] Linking CXX shared library libx265.so
[ 86%] Built target x265-shared
Scanning dependencies of target cli
[ 88%] Building CXX object CMakeFiles/cli.dir/input/input.cpp.o
[ 88%] Building CXX object CMakeFiles/cli.dir/input/yuv.cpp.o
[ 89%] Building CXX object CMakeFiles/cli.dir/input/y4m.cpp.o
[ 91%] Building CXX object CMakeFiles/cli.dir/output/output.cpp.o
[ 92%] Building CXX object CMakeFiles/cli.dir/output/reconplay.cpp.o
[ 93%] Building CXX object CMakeFiles/cli.dir/output/yuv.cpp.o
[ 94%] Building CXX object CMakeFiles/cli.dir/output/y4m.cpp.o
[ 96%] Building CXX object CMakeFiles/cli.dir/output/raw.cpp.o
[ 98%] Building CXX object CMakeFiles/cli.dir/x265.cpp.o
[ 98%] Building CXX object CMakeFiles/cli.dir/x265-extras.cpp.o
[100%] Linking CXX executable x265
[100%] Built target cli
[BEE] <= leaving mee_build() ..
[BEE] => entering mee_install() ..
[BEE] make -j80 install DESTDIR=/scratch/local/bee-schrader/x265/x265-2.1-0/image
[ 22%] Built target encoder
[ 84%] Built target common
[ 86%] Built target x265-shared
[100%] Built target cli
Install the project...
-- Install configuration: "Release"
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/include/x265.h
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/include/x265_config.h
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/lib/libx265.so.95
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/lib/libx265.so
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/lib/pkgconfig/x265.pc
-- Installing: /scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/bin/x265
-- Set runtime path of "/scratch/local/bee-schrader/x265/x265-2.1-0/image/usr/bin/x265" to ""
[BEE] <= leaving mee_install() ..
[BEE] changing to image directory: /scratch/local/bee-schrader/x265/x265-2.1-0/image
mkdir: created directory ‘/scratch/local/bee-schrader/x265/x265-2.1-0/image/PATCHES’
[BEE]  -> creating package x265-2.1-0.x86_64.bee.tar.bz2 ..
[BEE] /home/schrader/.local/src/bee/packages/x265-2.1-0.x86_64.bee.tar.bz2
-rw-r--r-- schrader/schrader 1084 2016-11-18 14:45 CONTENT
-rwxr-xr-x schrader/schrader 1104 2016-11-18 14:45 BUILD
-rw-r--r-- schrader/schrader  428 2016-11-18 14:45 META
drwxr-xr-x schrader/schrader    0 2016-11-18 14:45 PATCHES/
-rw-r--r-- schrader/schrader 3492 2016-11-18 14:45 PATCHES/x265_2.1-enable_static-1.patch
-rw-r--r-- schrader/schrader 74609 2016-09-22 12:23 /usr/include/x265.h
-rw-r--r-- schrader/schrader  1414 2016-11-18 14:40 /usr/include/x265_config.h
-rwxr-xr-x schrader/schrader 4964304 2016-11-18 14:45 /usr/lib/libx265.so.95
lrwxrwxrwx schrader/schrader       0 2016-11-18 14:45 /usr/lib/libx265.so -> libx265.so.95
-rw-r--r-- schrader/schrader     245 2016-11-18 14:40 /usr/lib/pkgconfig/x265.pc
-rwxr-xr-x schrader/schrader  110872 2016-11-18 14:45 /usr/bin/x265
[BEE] -> saving bee-file x265.be0 ..
[BEE] /home/schrader/.local/src/bee/bee-files/x265-2.1-0.bee
‘/home/schrader/ffmpeg/./x265.be0’ -> ‘/home/schrader/.local/src/bee/bee-files/x265-2.1-0.bee’
[BEE]  -> saving build environment..
[BEE] /home/schrader/.local/src/bee/build-archives/x265-2.1-0.x86_64.beebuild.tar.bz2

[BEE] ===================================================================
[BEE] build summary:
[BEE]  
[BEE] download directory ${F}: /scratch/local/bee-schrader/x265/files
[BEE]   source directory ${S}: /scratch/local/bee-schrader/x265/x265-2.1-0/source/source
[BEE]    build directory ${B}: /scratch/local/bee-schrader/x265/x265-2.1-0/build
[BEE]    image directory ${D}: /scratch/local/bee-schrader/x265/x265-2.1-0/image
[BEE]  
[BEE]      bee-file: /home/schrader/.local/src/bee/bee-files/x265-2.1-0.bee
[BEE]      pkg-file: /home/schrader/.local/src/bee/packages/x265-2.1-0.x86_64.bee.tar.bz2
[BEE] build-archive: /home/schrader/.local/src/bee/build-archives/x265-2.1-0.x86_64.beebuild.tar.bz2
[BEE] ===================================================================


real    5m37.271s
user    7m47.010s
sys 0m3.054s

depend on ffmpeg
depend on ffmpeg
depend on ffmpeg
depend on ffmpeg
--enable-libxvid \
--enable-swscale
sed -i 's/-lflite"/-lflite -lasound"/' ${S}/configure
bee_configure \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion to use bee_configure was wrong, as FFmpeg does not use GNU Autotools, but a configure script written by themselves. Sorry.

@david
Copy link
Collaborator Author

david commented Nov 18, 2016

now the old ffmpeg bee-file is back

@pmenzel
Copy link
Collaborator

pmenzel commented Nov 18, 2016

Der Schalter --mandir muss dem Skript noch übergeben werden.

$ time BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j' ./ffmpeg.be0 -c
[…]
INSTALL doc/libavfilter.3
install: cannot remove ‘/usr/share/man/man1/ffmpeg.1’: Permission denied
install: cannot create regular file ‘/usr/share/man/man1/ffplay.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffprobe.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffserver.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-all.1’: Permission denied
install: cannot create regular file ‘/usr/share/man/man1/ffplay-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffprobe-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffserver-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-utils.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-scaler.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-resampler.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-codecs.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-bitstream-filters.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-formats.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-protocols.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-devices.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-filters.1’: Permission denied
doc/Makefile:152: recipe for target 'install-man' failed
make: *** [install-man] Error 1
make: *** Waiting for unfinished jobs....
INSTALL libavdevice/libavdevice.so
[…]

Eigentlich sollte das aber standardmäßig verwendet werden.

--mandir=DIR             install man page in DIR [PREFIX/share/man]

@pmenzel
Copy link
Collaborator

pmenzel commented Nov 18, 2016

The line below (prepended start_cmd) is currently run.

[BEE] /dev/shm/bee-root/ffmpeg/ffmpeg-3.1.4-0/source/configure --prefix=/usr --enable-gpl --enable-version3 --disable-static --enable-shared --disable-debug --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-x11grab --docdir=/usr/share/doc/ffmpeg

@pmenzel
Copy link
Collaborator

pmenzel commented Nov 18, 2016

@david, it now works for me. Sorry for suggesting bee_install in the first place. (At least I think I did that.)

In my opinion, just remove the broken files from /src/mariux, and rebuild, or – if you don’t want to do that – increment the revision and rebuild.

```
$ bee --print-config | grep DOCDIR
DOCDIR=${DATAROOTDIR}/doc/${PKGNAME}
```
That way, the actual command is printed on the screen.
`cc` is the generic command for the compiler, and uses the default one,
which might be Clang on some systems.
Currently, files are saved in the wrong directory, and the
image/destination directory is ignored.

Building FFmpeg as a normal user shows this problem.

```
[…]
[BEE] make -j install PREFIX=/usr EPREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin LIBEXECDIR=/usr/libexec SYSCONFDIR=/etc SHAREDSTATEDIR=/var LOCALSTATEDIR=/var LIBDIR=/usr/lib INCLUDEDIR=/usr/include DATAROOTDIR=/usr/share DATADIR=/usr/share INFODIR=/usr/share/info LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man DOCDIR=/usr/share/doc/ffmpeg DESTDIR=/dev/shm/bee-root/ffmpeg/ffmpeg-3.1.4-0/image
[…]
INSTALL doc/libavfilter.3
install: cannot remove ‘/usr/share/man/man1/ffmpeg.1’: Permission denied
install: cannot create regular file ‘/usr/share/man/man1/ffplay.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffprobe.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffserver.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-all.1’: Permission denied
install: cannot create regular file ‘/usr/share/man/man1/ffplay-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffprobe-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffserver-all.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-utils.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-scaler.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-resampler.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-codecs.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-bitstream-filters.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-formats.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-protocols.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-devices.1’: Permission denied
install: cannot remove ‘/usr/share/man/man1/ffmpeg-filters.1’: Permission denied
doc/Makefile:152: recipe for target 'install-man' failed
make: *** [install-man] Error 1
make: *** Waiting for unfinished jobs....
INSTALL libavdevice/libavdevice.so
[…]
```

FFmpeg saves the environment variables into `config.mak`, and directly
puts the destination directory in there.

```
prefix=/usr
LIBDIR=$(DESTDIR)${prefix}/lib
SHLIBDIR=$(DESTDIR)${prefix}/lib
INCDIR=$(DESTDIR)${prefix}/include
BINDIR=$(DESTDIR)${prefix}/bin
DATADIR=$(DESTDIR)${prefix}/share/ffmpeg
DOCDIR=$(DESTDIR)/usr/share/doc/ffmpeg
MANDIR=$(DESTDIR)${prefix}/share/man
PKGCONFIGDIR=$(DESTDIR)${prefix}/lib/pkgconfig
```

That doesn’t work with the way `bee_install` does it, which is known
from GNU Autotools. It sets these without `DESTDIR`, and the Makefile
takes care of that.

Therefore, don’t use `bee_install`.

Also remove the unnecessary manual operations to install the binaries.
```
build/configure:  --docdir=DIR             install documentation in DIR [PREFIX/share/doc/ffmpeg]
```
@david
Copy link
Collaborator Author

david commented Nov 20, 2016

@pmenzel Ok I have removed the broken files and x265 and ffmpeg are rebuilded

@pmenzel
Copy link
Collaborator

pmenzel commented Nov 22, 2016

@donald, any objections? If not, I’d merge this in the afternoon.

@pmenzel pmenzel merged commit 734126b into master Nov 22, 2016
@donald
Copy link
Collaborator

donald commented Nov 22, 2016

Hurray!

@wwwutz
Copy link
Collaborator

wwwutz commented Nov 22, 2016

Re: [mariux64/bee-files] Update FFmpeg to 3.1.4 (#158)

3.1.4 #158

3.14158

0.00001 an PI .... 8-)

Am 22.11.2016 um 17:46 schrieb Donald Buczek:

Hurray!

@donald donald deleted the update-ffmpeg branch November 22, 2016 20:59
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants