Package Base Details: distccd-alarm

Git Clone URL: (read-only, click to copy)
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 28
Popularity: 0.63
First Submitted: 2017-09-14 21:47
Last Updated: 2020-01-05 23:34

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

kprkpr commented on 2018-09-02 10:26

+petronny Thanks for pointing me, and sorry for delay

Updated to 8.2.0 and now in /opt :)

graysky commented on 2018-08-28 20:34

@petronny - That change won't do anything as 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:32

Hi thanks for providing these packages.
8.2.0 is out, please upgrade them.

And how about placing the files into /opt rather than /usr ?

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

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

to < > ${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.