help with building a package

  • hello, i need some help since this is my first attempt to build a package to use with libreelec 8.2.5 (raspberry pi3).

    the program i am interested to have is a "fork" of mpd that has support for "sacd iso".

    since mpd (0.20) is already in libreelec, i'll try first to build that one, so that i know it should work. once i know i am able to build a package, i´ll move on to build the version i am interested in.

    the steps i am following are in here:

    Compile [LibreELEC.wiki]

    Adding a Package [LibreELEC.wiki]

    from a laptop with linux mint i did the following steps:

    Code
    sudo apt update && sudo apt upgrade
    sudo apt install gcc make git unzip wget xz-utils
    cd ~
    git clone https://github.com/LibreELEC/LibreELEC.tv.git
    cd ~/LibreELEC.tv
    git checkout 8.2.5

    after that, since i do not need to build libreelec, but just a package, i went on with the code to build the package (correct?)

    to build mpd 0.20 (the one that already comes with libreelec) i already have the package.mk into:

    ~/http://LibreELEC.tv/packages/addons/service/mpd

    so i typed this code:

    Code
    PROJECT=RPi2 ARCH=arm scripts/build mpd

    this took a long while, but eventually ended with not errors.

    the guide i am following now stops, so not sure how to continue.

    as far as I understand the package should be built (?).

    into this folder ~/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.2.5, which was empty before I run "script/build mpd", i now have many folders.

    one of them is "mpd-0.20.9" , and the other folders looks like they are dependencies for mpd.

    STEP1

    should i zip "mpd-0.20.9"? and install it from the raspberry?? some help on how to continue would be appreciated. thanks a lot!

    STEP2

    once i understand the last steps on how to build the package and i know "mpd-0.20.9" that i built works, i'll try to build the mpd-sacd.

    i'll create a package.mk for that, with url linked to master.zip.

    i'll have to check the dependences are same as mpd. then build the package. but i will ask for support once i tackled step 1.

    thanks

  • mpd is a (binary) addon, to create the addon zip with all the necessary metadata you have to run scripts/create_addon. eg

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd

    This will call scripts/build and then create the addon zip in target/addons/...

    Note that by default the addon ZIP won't be re-created if a ZIP with the same name and version number already exists in target/addons/... - which can be a bit annoying during development. But you can override that with ADDON_OVERWRITE="yes" (I added that to ~/.libreelec/options on my build PC).

    so long,

    Hias

  • package for mpd-manisiutkin:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    package for libupnp:
    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

  • thanks vpeter and HiassofT.

    that's what i am going to do:

    create a folder mpd-manisiutkin in ~/http://LibreELEC.tv/packages/addons/service

    create package.mk in that folder and copy the content "package for mpd-manisiutkin" that vpeter linked.

    do the same for package for libupnp.

    then

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon libupnp
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd-manisiutkin

    when fineshed i should have the 2 zip files in:

    ~/http://LibreELEC.tv/build.LibreELEC-RPi2.arm-8.2.5/addons

    install the 2 zip files in raspberry/libreelec

    i'll report back when finished.

    thanks a lot

  • i manage to build mpd 0.20.9 (the one that comes with libreelec 8.2.5) and have the package as zip file.

    next step is to try to build the mpd version i am interested in.

    just to recap i created two package.mk

    one in ~/http://LibreELEC.tv/packages/addons/service/mpd-manisiutkin containing the "package for mpd-manisiutkin" that vpeter linked above

    the other on in ~/http://LibreELEC.tv/packages/addons/service/libupnp (not sure this is a correct location) again containing the "package for libupnp" that vpeter linked above.

    the i run the code:

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd-manisiutkin

    this runs for a while (getting packages and building them).

    but it stops with this:

    checking for armv7ve-libreelec-linux-gnueabi-gperf... no

    checking for gperf... no

    configure: error: *** gperf not found

    since gperf is missing in linux mint i run code:

    Code
    sudo apt-get install gperf

    and the i start again the building process with

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd-manisiutkin

    the process goes on for a while and then stops again with this error:

    checking for Perl5 module JSON... no

    configure: error: perl module JSON not found - Cannot build Heimdal without perl module JSON

    i google the error and it seems to be fixed by running:

    Code
    sudo apt-get install libjson-perl

    after that i restart to build with:

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd-manisiutkin

    then again the process stops with an error, i guess one of the dependences (libmpdclient) is not found:

    libmpdclient: no package.mk file found

    so i create a package.mk in ~/http://LibreELEC.tv/packages/addons/service/libmpdclient (again, not sure about the location)

    and i write the following in the package.mk

    PKG_NAME="libmpdclient"

    PKG_VERSION="2.16"

    PKG_LICENSE="LGPL"

    PKG_URL="https://www.musicpd.org/download/libmpdclient/2/$PKG_NAME-$PKG_VERSION.tar.xz"

    PKG_DEPENDS_TARGET="toolchain"

    PKG_LONGDESC="libmpdclient"


    but if i run again scripts/create_addon i get the following error:

    BUILD libmpdclient (target)

    Executing (target): make

    make: *** No targets specified and no makefile found. Stop.

    the package.mk for libmpdclient is probably wrong. but i don't know how to fix it.

    same problem then happen with another dependency: "mpd-mpc"

    can anyone help on how the package.mk for libmpdclient and mpd-mpc should be written?

    thanks

    Edited once, last by ste976 (November 26, 2018 at 10:04 PM).

  • also, in case it is relevant and can create problems, that's gcc version i have installed on the computer i am using to build the package:

    $ gcc -v

    Using built-in specs.

    COLLECT_GCC=gcc

    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper

    Target: x86_64-linux-gnu

    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu

    Thread model: posix

    gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)

  • thanks vpeter.

    full recap of what i have done

    distro is linux mint. here some info:

    $ cat /etc/*-release

    DISTRIB_ID=LinuxMint

    DISTRIB_RELEASE=18.3

    DISTRIB_CODENAME=sylvia

    DISTRIB_DESCRIPTION="Linux Mint 18.3 Sylvia"

    NAME="Linux Mint"

    VERSION="18.3 (Sylvia)"

    ID=linuxmint

    ID_LIKE=ubuntu

    PRETTY_NAME="Linux Mint 18.3"

    VERSION_ID="18.3"

    HOME_URL="http://www.linuxmint.com/"

    SUPPORT_URL="http://forums.linuxmint.com/"

    BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"

    VERSION_CODENAME=sylvia

    UBUNTU_CODENAME=xenial

    cat: /etc/upstream-release: Is a directory

    i started with this code:

    Code
    sudo apt update && sudo apt upgrade
    sudo apt install gcc make git unzip wget xz-utils

    then additionally installed these programs:

    Code
    sudo apt-get install gperf libjson-perl meson

    then:

    Code
    cd ~
    git clone https://github.com/LibreELEC/LibreELEC.tv.git
    cd ~/LibreELEC.tv
    git checkout 8.2.5


    recap of some of installed programs:

    $ apt-cache policy gcc

    gcc:

    Installed: 4:5.3.1-1ubuntu1

    Candidate: 4:5.3.1-1ubuntu1

    Version table:

    *** 4:5.3.1-1ubuntu1 500

    500 http://it-mirrors.evowise.com/ubuntu xenial/main amd64 Packages

    100 /var/lib/dpkg/status

    $ apt-cache policy meson

    meson:

    Installed: 0.40.1-1~ubuntu16.04.1

    Candidate: 0.40.1-1~ubuntu16.04.1

    Version table:

    *** 0.40.1-1~ubuntu16.04.1 500

    500 http://it-mirrors.evowise.com/ubuntu xenial-backports/universe amd64 Packages

    500 http://it-mirrors.evowise.com/ubuntu xenial-backports/universe i386 Packages

    100 /var/lib/dpkg/status

    0.29.0-1 500

    500 http://it-mirrors.evowise.com/ubuntu xenial/universe amd64 Packages

    500 http://it-mirrors.evowise.com/ubuntu xenial/universe i386 Packages

    $ apt-cache policy ninja-build

    ninja-build:

    Installed: 1.7.1-1~ubuntu16.04.1

    Candidate: 1.7.1-1~ubuntu16.04.1

    Version table:

    *** 1.7.1-1~ubuntu16.04.1 500

    500 http://it-mirrors.evowise.com/ubuntu xenial-backports/universe amd64 Packages

    100 /var/lib/dpkg/status

    1.5.1-0.1ubuntu1 500

    500 http://it-mirrors.evowise.com/ubuntu xenial/universe amd64 Packages

    -then a package.mk is created in ~/http://LibreELEC.tv/packages/addons/service/mpd-manisiutkin as vpeter linked

    -a package.mk is create in ~/http://LibreELEC.tv/packages/addons/addon-depends/libupnp with:

    -a package.mk is create in ~/http://LibreELEC.tv/packages/addons/addon-depends/libmpdclient with (taken from LE rpi):

    -a package.mk is created in ~/http://LibreELEC.tv/packages/addons/addon-depends/mpd-mpc with (taken from LE rpi):


    then:

    Code
    PROJECT=RPi2 ARCH=arm scripts/create_addon mpd-manisiutkin

    and after a while... it ends in tears with:

    GET libmpdclient

    --2018-11-27 14:57:37-- https://github.com/MusicPlayerDaemon/libmpdclient/archive/v2.13.tar.gz

    Resolving github.com (github.com)... 140.82.118.4, 140.82.118.3

    Connecting to github.com (github.com)|140.82.118.4|:443... connected.

    HTTP request sent, awaiting response... 302 Found

    Location: https://codeload.github.com/MusicPlayerDaemon/libmpdclient/tar.gz/v2.13 [following]

    --2018-11-27 14:57:38-- https://codeload.github.com/MusicPlayerDaemon/libmpdclient/tar.gz/v2.13

    Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121

    Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: unspecified [application/x-gzip]

    Saving to: 'sources/libmpdclient/libmpdclient-2.13.tar.gz'

    sources/libmpdclient/libmpdclient-2.13 [ <=> ] 71.73K 240KB/s in 0.3s

    2018-11-27 14:57:39 (240 KB/s) - 'sources/libmpdclient/libmpdclient-2.13.tar.gz' saved [73449]

    INFO Calculated checksum is: e1583fbcae89ad543a6cc44caeaf16b31e709831f5b7eac4413f78c54a21db95

    UNPACK libmpdclient

    BUILD libmpdclient (target)

    Executing (target): make

    make: *** No targets specified and no makefile found. Stop.

    i tried also with libmpdclient 2.14, but same results. is the package.mk not properly configured? or is the content of libmpdclient source that creates problems?

    any advice is muchly appreciated!

    thanks

    Edited once, last by ste976 (November 27, 2018 at 3:00 PM).

  • process terminated with error. again a problem with one of the dependences: libupnp.

    #error libupnp uses large file support, so users must do that, too


    Making all in sample

    make[3]: Entering directory '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/.armv7ve-libreelec-linux-gnueabi/upnp/sample'

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample -I../.. -I../../upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/ixml/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/ -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/tvctrlpt -pthread -march=armv7ve -mtune=cortex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -MT common/tv_ctrlpt-sample_util.o -MD -MP -MF common/.deps/tv_ctrlpt-sample_util.Tpo -c -o common/tv_ctrlpt-sample_util.o `test -f 'common/sample_util.c' || echo '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/'`common/sample_util.c

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample -I../.. -I../../upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/ixml/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/ -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/tvctrlpt -pthread -march=armv7ve -mtune=cortex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -MT common/tv_ctrlpt-tv_ctrlpt.o -MD -MP -MF common/.deps/tv_ctrlpt-tv_ctrlpt.Tpo -c -o common/tv_ctrlpt-tv_ctrlpt.o `test -f 'common/tv_ctrlpt.c' || echo '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/'`common/tv_ctrlpt.c

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample -I../.. -I../../upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/ixml/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/ -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/tvctrlpt -pthread -march=armv7ve -mtune=cortex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -MT linux/tv_ctrlpt-tv_ctrlpt_main.o -MD -MP -MF linux/.deps/tv_ctrlpt-tv_ctrlpt_main.Tpo -c -o linux/tv_ctrlpt-tv_ctrlpt_main.o `test -f 'linux/tv_ctrlpt_main.c' || echo '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/'`linux/tv_ctrlpt_main.c

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample -I../.. -I../../upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/ixml/inc -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/ -I/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/tvcombo -pthread -march=armv7ve -mtune=cortex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -MT common/tv_combo-sample_util.o -MD -MP -MF common/.deps/tv_combo-sample_util.Tpo -c -o common/tv_combo-sample_util.o `test -f 'common/sample_util.c' || echo '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/'`common/sample_util.c

    In file included from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/upnp.h:402,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.h:49,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.c:42:

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

    #error libupnp uses large file support, so users must do that, too

    ^~~~~

    In file included from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/upnp.h:402,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.h:49,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/tv_ctrlpt.h:51,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/tv_ctrlpt.c:44:

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

    #error libupnp uses large file support, so users must do that, too

    ^~~~~

    In file included from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/upnp.h:402,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.h:49,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/linux/tv_ctrlpt_main.c:32:

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

    #error libupnp uses large file support, so users must do that, too

    ^~~~~

    make[3]: *** [Makefile:594: common/tv_ctrlpt-sample_util.o] Error 1

    make[3]: *** Waiting for unfinished jobs....

    make[3]: *** [Makefile:608: common/tv_ctrlpt-tv_ctrlpt.o] Error 1

    make[3]: *** [Makefile:622: linux/tv_ctrlpt-tv_ctrlpt_main.o] Error 1

    In file included from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/upnp.h:402,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.h:49,

    from /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/sample/common/sample_util.c:42:

    /home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

    #error libupnp uses large file support, so users must do that, too

    ^~~~~

    make[3]: *** [Makefile:538: common/tv_combo-sample_util.o] Error 1

    make[3]: Leaving directory '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/.armv7ve-libreelec-linux-gnueabi/upnp/sample'

    make[2]: *** [Makefile:1648: all-recursive] Error 1

    make[2]: Leaving directory '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/.armv7ve-libreelec-linux-gnueabi/upnp'

    make[1]: *** [Makefile:498: all-recursive] Error 1

    make[1]: Leaving directory '/home/stefano/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libupnp-1.8.4/.armv7ve-libreelec-linux-gnueabi'

    make: *** [Makefile:399: all] Error 2

    ADDON FAILED mpd-manisiutkin


    any advice?

  • i tried to install in on raspberry pi3/LE9

    the package installs, but does not seem to run or install properly.

    that's the folder on LE9/rpi3:

    LibreELEC:~/.kodi/addons/service.multimedia.mpd-manisiutkin # ls

    addon.xml bin lib resources

    while this is the original mpd in pi3/9:

    LibreELEC:~/.kodi/addons/service.multimedia.mpd # ls

    addon.xml default.py settings-default.xml

    bin lib sleep.d

    config resources system.d

    a few folders are missing...

  • I'm not sure what you did but in my zip file there are all files and folders.

    But now I saw that if you use package name mpd-manisiutkin then you also need to change few other files to reflect new service name. It would be easier if you change package.mk in mpd folder.