In case you're updating from 1.3.162 or smaller: The data directory has moved from /opt/dcc to /var/lib/dcc
if you disagree with this change set the '_dstdir' variable in the PKGBUILD to "/opt/${pkgname}"
Git Clone URL: | https://aur.archlinux.org/dcc.git (read-only, click to copy) |
---|---|
Package Base: | dcc |
Description: | Distributed Checksum Clearinghouse spam tool |
Upstream URL: | http://www.rhyolite.com/anti-spam/dcc |
Licenses: | |
Submitter: | None |
Maintainer: | suthernfriend |
Last Packager: | suthernfriend |
Votes: | 9 |
Popularity: | 0.000005 |
First Submitted: | 2006-07-15 19:03 |
Last Updated: | 2019-07-03 23:21 |
In case you're updating from 1.3.162 or smaller: The data directory has moved from /opt/dcc to /var/lib/dcc
if you disagree with this change set the '_dstdir' variable in the PKGBUILD to "/opt/${pkgname}"
updated to version 1.3.162
sha256sum for LICENSE needs updating.
currently: 76b7e929d601d6451a72ea56fa45d810b0740ab15c7c2cd505f5d321dbc30f96
The PKGBUILD is out-of-date. LICENSE needs to be an array. It will build fine if you change:
---
license="custom"
---
to:
---
license=("custom")
---
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.
PKGBUILD updated
@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?
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?
Updated with working PKGBUILD.
Updated with version that builds.
Pinned Comments
suthernfriend commented on 2019-04-24 18:50
In case you're updating from 1.3.162 or smaller: The data directory has moved from /opt/dcc to /var/lib/dcc
if you disagree with this change set the '_dstdir' variable in the PKGBUILD to "/opt/${pkgname}"