Package Details: distccd-alarm-armv8 8.2.0-3

Git Clone URL: https://aur.archlinux.org/distccd-alarm.git (read-only)
Package Base: distccd-alarm
Description: Toolchain for Arch ARM builds via distcc on x86_64 slaves
Upstream URL: https://archlinuxarm.org/wiki/Distcc_Cross-Compiling
Licenses: GPL
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 10
Popularity: 0.650157
First Submitted: 2017-09-14 21:47
Last Updated: 2018-08-31 19:07

Latest Comments

1 2 3 Next › Last »

graysky commented on 2018-10-25 19:41

@muesli4 - What are you talking about wrt uncommenting? Are you building with makepkg or with an AUR helper?

muesli4 commented on 2018-10-25 08:29

Doesn't work at all. First I had to uncomment the BUILDDIR variable, otherwise it wouldn't find files.

Then makepkg finished building the package with error messages that files are missing (but apparently still succesful).

When I tried building with it I get something like this in the log:

distccd[25549] (dcc_execvp) ERROR: failed to exec armv7l-unknown-linux-gnueabihf-g++: No such file or directory

graysky commented on 2018-08-28 20:34

@petronny - That change won't do anything as readme.in just creates a user message. The script you referenced is for building x86_64 on x86_64. This toolchain is for using x86_64 as a slave machine for an armxxx master.

I have no idea what you're wanting to achieve with your other post. I recommend against using AUR helpers in general.

petronny commented on 2018-08-28 10:04

Thanks for providing these packages.
Could you help me solve a problem I get when I'm trying to build a armv7h version of unzip?
I list steps to re-produce my problem as follow:

  1. yaourt -Syua
    sudo reboot
  2. Build distccd-alarm-armv7h with extra-x86_84-build and install it with pacman -U
    sudo systemctl start distccd-armv7h
  3. Copy the original /etc/makepkg.conf to ~/makepkg-armv7h.conf.
    Change CARCH to armv7h.
    Remove -march=x86-64 -mtune=generic from CFLAGS and CXXFLAGS.
    Change !distcc to armv7h in BUILDENV.
    Set DISTCC_HOSTS to localhost:3635.
  4. yaourt -G unzip
    cd unzip
    Add armv7h to arch in PKGBUILD.
  5. makepkg --config ~/makepkg-armv7h.conf -Cf

I'm sure that distcc is working and everything are built with the arm gcc.
It will produce different outputs than the native gcc.

The problem is

cc -o unzip  -Lbzip2 unzip.o crc32.o  crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -lbz2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
/usr/bin/ld: unzip.o: relocations in generic ELF (EM: 40)
/usr/bin/ld: unzip.o: relocations in generic ELF (EM: 40)
/usr/bin/ld: unzip.o: relocations in generic ELF (EM: 40)
/usr/bin/ld: unzip.o: error adding symbols: file in wrong format
collect2: Error:ld returned 1
distcc[5349] ERROR: compile (null) on localhost failed

It's still using the native ld rather than the arm one.
I can't figure out why this happens. Please help.

petronny commented on 2018-08-28 09:08

Please change

<readme.in >../"${_subarchs[$i]}".install

to <readme.in > ${startdir}/"${_subarchs[$i]}".install.

This will make the package working with the official packaging tool extra-x86_84-build.

pa314159 commented on 2018-06-04 23:08

Build fails with

==> Creating package "distccd-alarm-armv5"...

-> Generating .PKGINFO file...

-> Generating .BUILDINFO file...

-> Adding install file...

cp: cannot stat '...../armv5.install': No such file or directory

==> ERROR: Failed to add install file to package.

sehraf commented on 2018-05-25 22:11

You can tell makepkg to build everything under a specific path (/tmp/makepkg/ in my case). When doing so the build process fails because if incorrect paths inside the PKGBUILD file.

graysky commented on 2018-05-25 19:28

@sehraf - Perhaps I misunderstood... I am unfamiliar building as you describe.

sehraf commented on 2018-05-25 19:11

@graysky, thx for the answer though i don't see how it is related to my question. My problem is that the path' used are wrong. (the root thing is no problem)

graysky commented on 2018-05-20 10:58

@sehraf - I can't help you with that... even building with makepkg results in a $srcdir that cannot be removed without root privileges due to settings in the upstream tarballs.