On Mon 04/08 13:27, Stuart Henderson wrote:
On 2014-08-03, Alessandro DE LAURENZIS just22@gmail.com wrote:
Hello misc@,
Just tried to compile SLiM (in order to remove the ConsoleKit depend),
but ended-up with the following error:
just22@poseidon:[slim] sudo make package
`/usr/obj/ports/slim-1.3.6/fake-amd64/.fake_done' is up to date.
=== Building package for slim-1.3.6p2
Create /usr/ports/packages/amd64/all/slim-1.3.6p2.tgz
Error: weird mode for /usr/local/share/doc/pkg-readmes/slim-1.3.6p2: 640
Error: modes don't match for /usr/local/share/doc/pkg-readmes/slim-1.3.6p2
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1878
'/usr/ports/packages/amd64/all/slim-1.3.6p2.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2426
'_internal-package')
*** Error 1 in /usr/ports/mystuff/x11/slim
(/usr/ports/infrastructure/mk/bsd.port.mk:2406 'package')
Maybe related to [1]?
Any hints?
[1]: http://openbsd.7691.n7.nabble.com/ports-to-fix-td241546.html
Hello Stuart,
Thanks for your feedback.
For now, chmod 644 /usr/ports/mystuff/x11/slim/pkg/README -
I will send espie a diff to fix this in bsd.port.mk.
I confirm that changing file's permissions to 644 is a valid workaround.
BTW normal method is not to use sudo make [..] but to set SUDO=sudo in
/etc/mk.conf, which runs fewer parts of the build as root (and naddy has been
looking at some possibilities to further reduce this in the future).
I know; that has been run on a new install, without port tree
trimming... I read on undeadly about C. Weisgerber's work and hope to see
some improvements soon.
All the best
--
Alessandro DE LAURENZIS
[mailto:just22@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis