Package Details: dcc 1.3.158-1

Git Clone URL: https://aur.archlinux.org/dcc.git (read-only)
Package Base: dcc
Description: Distributed Checksum Clearinghouse spam tool
Upstream URL: http://www.rhyolite.com/anti-spam/dcc/
Licenses: custom
Submitter: None
Maintainer: starfry
Last Packager: starfry
Votes: 7
Popularity: 0.216794
First Submitted: 2006-07-15 19:03
Last Updated: 2015-06-09 16:26

Latest Comments

Magotchi commented on 2016-10-06 15:04

The PKGBUILD is out-of-date. LICENSE needs to be an array. It will build fine if you change:
---
license="custom"
---
to:
---
license=("custom")
---

zmeYski commented on 2014-10-18 17:40

Hi starfry,

sorry was away for some time. Anyhow you are right that the problem occurs during install and your solution to modify the package() function seems more appropriate.
Thanks for taking care of this.

starfry commented on 2014-10-17 16:18

PKGBUILD updated

starfry commented on 2014-10-15 08:43

@zmeYski - thanks for the feedback. I've reproduced this myself, thank you.

Can you just confirm what I have found? It isn't that it needs to be built with "-j1" (I build it fine with -j6), but it needs to be packaged with "-j1" because the error occurs in the packaging stage.

I propose adding "MAKEFLAGS="$MAKEFLAGS -j1" to the "package()" function.

Can you confirm that's what you're seeing too?

zmeYski commented on 2014-10-14 17:57

Hi,

justa a heds up - this has to be built with -j1 othrwise you may encounter some weird errors like:

==> homedir
../autoconf/install-sh -c -c -o root -g bin -m 755 -d /home/azhelev/ne-work/local-abs/dcc/pkg/dcc/opt/dcc
../autoconf/install-sh -c -c -o root -g bin -m 710 -d /home/azhelev/ne-work/local-abs/dcc/pkg/dcc/opt/dcc/log
mkdir: cannot create directory ‘/home/azhelev/ne-work/local-abs/dcc/pkg/dcc/opt/dcc’: File exists
Makefile:89: recipe for target '/home/azhelev/ne-work/local-abs/dcc/pkg/dcc/opt/dcc' failed
make[1]: *** [/home/azhelev/ne-work/local-abs/dcc/pkg/dcc/opt/dcc] Error 1
make[1]: *** Waiting for unfinished jobs....
gmake.inc:48: recipe for target 'install' failed
make: *** [install] Error 2
==> ERROR: A failure occurred in package().

Can this be incorporated in the PKGBUILD?

starfry commented on 2014-06-15 08:59

Updated with working PKGBUILD.

starfry commented on 2014-06-15 08:58

Updated with version that builds.

starfry commented on 2014-06-13 15:55

Yes, that does appear to be the case. I have a patched PKGBUILD that unsets CPPFLAGS in the build() function and it complies successfully. If this qualifies as a solution then I will upload a new package revision with this change. However, I am not sure if this is the best way to fix it. I'll ask for advice on the forums to see where to go from here.

Svenw commented on 2014-06-13 15:07

Seems to have to do with Fortify_source. In /etc/makepkg.conf comment out the following:
CPPFLAGS="-D_FORTIFY_SOURCE=2"
and try to makepkg again, it should work.

starfry commented on 2014-06-12 09:07

PLEASE NOTE: Although the PKGBUILD has been updated to the latest version (1.3.154), it does not build on a system with the current GCC toolchain (4.8.2.8). It does, however, build on a system with GCC 4.6.3. I have not tried other versions of GCC.

I will raise this on the DCC mailing list and provide any updates here.

All comments