Package Details: rockchip-mpp 20171218-4

Git Clone URL: https://aur.archlinux.org/rockchip-mpp.git (read-only, click to copy)
Package Base: rockchip-mpp
Description: Rockchip Media Process Platform (MPP)
Upstream URL: https://github.com/rockchip-linux/mpp/
Licenses: Apache
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 15
Popularity: 0.046786
First Submitted: 2017-10-24 19:30
Last Updated: 2020-05-25 15:44

Latest Comments

dbermond commented on 2020-05-25 15:46

@bobpaul This is an issue with gcc10. I've added a patch to fix it and now the package is building fine.

bobpaul commented on 2020-05-25 01:21

Not building for me:

[ 89%] Building C object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/vpu.c.o
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/legacy/vpu.c: In function ‘VPUClientInit’:
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/legacy/vpu.c:106:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  106 |         type = VPU_DEC;
      |         ~~~~~^~~~~~~~~
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/legacy/vpu.c:107:5: note: here
  107 |     case VPU_DEC:
      |     ^~~~
[ 90%] Building CXX object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/vpu_api.cpp.o
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/mpp.cpp: In member function ‘MPP_RET Mpp::init(MppCtxType, MppCodingType)’:
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/mpp.cpp:83:36: warning: cast between incompatible function types from ‘MPP_RET (*)(void**)’ to ‘node_destructor’ {aka ‘void* (*)(void*)’} [-Wcast-function-type]
   83 |         mPackets    = new MppQueue((node_destructor)mpp_packet_deinit);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/mpp.cpp:84:36: warning: cast between incompatible function types from ‘MPP_RET (*)(void**)’ to ‘node_destructor’ {aka ‘void* (*)(void*)’} [-Wcast-function-type]
   84 |         mFrames     = new mpp_list((node_destructor)mpp_frame_deinit);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bobpaul/.cache/yay/rockchip-mpp/src/mpp-release_20171218/mpp/mpp.cpp:118:36: warning: cast between incompatible function types from ‘MPP_RET (*)(void**)’ to ‘node_destructor’ {aka ‘void* (*)(void*)’} [-Wcast-function-type]
  118 |         mPackets    = new MppQueue((node_destructor)mpp_packet_deinit);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 91%] Building CXX object mpp/CMakeFiles/rockchip_mpp.dir/mpi.cpp.o
[ 92%] Building CXX object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/vpu_api_legacy.cpp.o
[ 92%] Building C object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/vpu_mem_legacy.c.o
[ 93%] Building CXX object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/rk_list.cpp.o
[ 94%] Linking CXX shared library librockchip_mpp.so
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_parse.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_slice.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_sps.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_pps.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_scalist.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_dpb.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_init.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: codec/dec/h264/libcodec_h264d.a(h264d_fill.c.o):(.bss+0x0): multiple definition of `ScalingListLength'; codec/dec/h264/libcodec_h264d.a(h264d_api.c.o):(.bss+0x4): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv.c.o):(.rodata+0x4c0): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv.c.o):(.rodata+0x540): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv.c.o):(.rodata+0x560): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_dpb.c.o):(.rodata+0x160): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_dpb.c.o):(.rodata+0x1e0): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_dpb.c.o):(.rodata+0x200): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_stream.c.o):(.rodata+0x120): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_stream.c.o):(.rodata+0x1a0): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_stream.c.o):(.rodata+0x1c0): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_utils.c.o):(.rodata+0x40): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_utils.c.o):(.rodata+0xc0): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_utils.c.o):(.rodata+0xe0): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_nal.c.o):(.rodata+0x180): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_nal.c.o):(.rodata+0x1a0): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/rkenc/h264e/libhal_h264e_rkv.a(hal_h264e_rkv_nal.c.o):(.rodata+0x100): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu2.c.o):(.rodata+0x680): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu2.c.o):(.rodata+0x700): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu2.c.o):(.rodata+0x720): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu1.c.o):(.rodata+0x760): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu1.c.o):(.rodata+0x7e0): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_vepu1.c.o):(.rodata+0x800): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_header.c.o):(.rodata+0x3bc0): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_header.c.o):(.rodata+0x3c40): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/vpu/h264e/libhal_h264e_vpu.a(hal_h264e_header.c.o):(.rodata+0x3c60): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
/usr/bin/ld: hal/common/h264/libhal_h264e.a(hal_h264e_com.c.o):(.rodata+0x280): multiple definition of `h264e_zigzag_scan8'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x0): first defined here
/usr/bin/ld: hal/common/h264/libhal_h264e.a(hal_h264e_com.c.o):(.rodata+0x300): multiple definition of `h264e_zigzag_scan4'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0x80): first defined here
/usr/bin/ld: hal/common/h264/libhal_h264e.a(hal_h264e_com.c.o):(.data.rel.ro.local+0x0): multiple definition of `h264e_cqm_jvt'; hal/common/h264/libhal_h264e.a(hal_h264e_api.c.o):(.rodata+0xa0): first defined here
[ 94%] Building CXX object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/ppOp.cpp.o
[ 95%] Building CXX object mpp/legacy/CMakeFiles/rockchip_vpu_static.dir/__/mpp_info.cpp.o
collect2: error: ld returned 1 exit status
make[2]: *** [mpp/CMakeFiles/rockchip_mpp.dir/build.make:188: mpp/librockchip_mpp.so.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1146: mpp/CMakeFiles/rockchip_mpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Linking CXX static library librockchip_vpu_static.a
[ 95%] Built target rockchip_vpu_static
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: rockchip-mpp

Trollwut commented on 2018-01-03 15:10

You, sir, are correct. Built fine for me now

dbermond commented on 2018-01-03 12:58

@Trollwut Source file is downloading fine for me.

Probably you had a partial download, and it seems that download resume is no more supported by github. Please delete any '.part' files in the PKGBUILD directory and try again.

Trollwut commented on 2018-01-03 12:49

For now it won't build for me, as it can't download:

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. ==> ERROR: Failure while downloading https://github.com/rockchip-linux/mpp/archive/release_20170811.tar.gz

The link itself works, but downloading fails with this error. Any fixes to that?

dbermond commented on 2017-11-09 16:56

@FallenSnow
Sorry, but I cannot support this architecture.

FallenSnow commented on 2017-11-06 00:18

Please add aarch64 to supported architectures.