Thank guys for the help!
Finally, it wasn't some sort of old code version or branch. The problem was...
Quote
First of all don't build as root user.
Thank guys for the help!
Finally, it wasn't some sort of old code version or branch. The problem was...
Quote
First of all don't build as root user.
Hi guys,
I'm trying to build LibreELEC [libreelec-8.0] for the RPi 2. Unfortunately it keeps failing after some time...
/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -B/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/ -march=armv7ve -mtune=cortex-a7 -nostdlib -nostartfiles -r -o /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/libc_pic.os \
-Wl,-d -Wl,--whole-archive /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/libc_pic.a -o /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/libc_pic.os
/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -B/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/ -march=armv7ve -mtune=cortex-a7 -nostdlib -nostartfiles -r -o /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/elf/librtld.map.o '-Wl,-(' /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/elf/dl-allobjs.os /libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/glibc-2.24/.armv7ve-libreelec-linux-gnueabi/elf/librtld.mapT
/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/../../../../armv7ve-libreelec-linux-gnueabi/bin/ld: warning: library search path "/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin" is unsafe for cross-compilation, ignore it
/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/../../../../armv7ve-libreelec-linux-gnueabi/bin/ld: warning: library search path "/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0" is unsafe for cross-compilation, ignore it
/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/../../../../armv7ve-libreelec-linux-gnueabi/bin/ld: warning: library search path "/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/../../../../armv7ve-libreelec-linux-gnueabi/lib" is unsafe for cross-compilation, ignore it
[b]/libreelec/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/../../../../armv7ve-libreelec-linux-gnueabi/bin/ld: cannot find -lgcc[/b]
I'm running the compiling process in this Docker-Image:
[color=#000080]FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update && \
apt-get install -y \
git \
sudo \
make \
bc \
build-essential \
gawk \
gperf \
libncurses5-dev \
libxml-parser-perl \
openjdk-9-jre-headless \
texinfo \
u-boot-tools \
unzip \
wget \
xfonts-utils \
xmlstarlet \
xsltproc \
patchutils \
lzop \
zip && \
apt-get clean[/color]
Display More
At last the command:
I would be more than happy if someone could point me in the right direction
Thanks
Soran
Awesome! Thank you, will do it right now!
Hello,
I'm trying to build LibreELEC for the RPi 2 and created a Docker-Image for this purpose. My problem is, when it comes to install "lirc" the build fails while applying the patches.
APPLY PATCH (common) /LibreELEC.tv/packages/sysutils/lirc/patches/lirc-0001-always-enable-uinput.patch
patching file configure.ac
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
rm -rf build.*/* build.*/.stamps
Just for completeness - this is the Dockerfile, which I use to build the Image:
FROM ubuntu:16.04
RUN apt-get update
ENV DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
# Get general dependencies
RUN apt-get install -y debconf-utils git sudo
# Get and configure make
RUN apt-get install -y make
RUN echo "dash dash/sh boolean false" >> debconf_dash && \
debconf-set-selections debconf
RUN dpkg-reconfigure -f noninteractive dash
# Get build dependencies
# General packages
RUN apt-get install -y wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf zip unzip diffutils texinfo lzop xz-utils cmake acl
# General files
RUN apt-get install -y libc6-dev libncurses5-dev
# Ubuntu specific packages
RUN apt-get install -y g++ xfonts-utils xfonts-utils xfonts-utils xsltproc default-jre libgettextpo-dev
VOLUME /LibreELEC.tv
# Copy build_script
COPY build_script.sh .
RUN chmod +x build_script.sh
# Run script
CMD ["./build_script.sh"]
Display More
And this is the simple build_script.sh
#!/bin/bash
# Get LibreELEC source
git clone https://github.com/LibreELEC/LibreELEC.tv.git
# Build
cd LibreELEC.tv
PROJECT=RPi2 ARCH=arm tools/download-tool
PROJECT=RPi2 ARCH=arm make image
# Clean up
make clean
Display More
Maybe someone knows what I'm doing wrong and can point out my mistake
Thanks
S.