Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

make[1]: Cannot open `.' (Permission denied)



Hi!

I was doing a limited bulk build on today's current/amd64, and only
libreoffice was left, when it failed like this:

[build HPX] zh-TW/helpcontent2/source/text/swriter/guide
[build HPX] zh-TW/helpcontent2/source/text/swriter/librelogo
[build HPX] zh-TW/helpcontent2/source/text/swriter/menu
[build HIX] scalc/en-US
[build HEJ] scalc/en-US
[build HIX] schart/en-US
[build HEJ] schart/en-US
Error reading directory file:///scratch/misc/libreoffice/work/libreoffice-7.5.5.2/workdir/HelpTarget/scalc/en-US/content
gmake[1]: *** [/scratch/misc/libreoffice/work/libreoffice-7.5.5.2/solenv/gbuild/HelpTarget.mk:460: /scratch/misc/libreoffice/work/libreoffice-7.5.5.2/workdir/HelpIndexTarget/scalc/en-US.done] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Error reading directory file:///scratch/misc/libreoffice/work/libreoffice-7.5.5.2/workdir/HelpTarget/schart/en-US/content
gmake[1]: *** [/scratch/misc/libreoffice/work/libreoffice-7.5.5.2/solenv/gbuild/HelpTarget.mk:460: /scratch/misc/libreoffice/work/libreoffice-7.5.5.2/workdir/HelpIndexTarget/schart/en-US.done] Error 1
gmake: *** [Makefile:289: build] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/misc/libreoffice
make[1]: Cannot open `.' (Permission denied)
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/misc/libreoffice

I'm used to gmake rarely failing randomly, but this usually looks
different.

There is nothing in /var/log/messages, and the permissions of
/usr/pkgsrc/misc/libreoffice are fine for the pbulk user (otherwise
the build wouldn't have started anyway).

I had such a make(1) problem before:

http://gnats.netbsd.org/42484

but there were fixes committed for that in 2013. Perhaps they were not
sufficient.

The bulk build clients are in sandboxes that look like this:

tmpfs on /archive/sandboxes/client3 type tmpfs (local)
ptyfs on /archive/sandboxes/client3/dev/ptyfs type ptyfs (local)
procfs on /archive/sandboxes/client3/proc type procfs (local)
/bin on /archive/sandboxes/client3/bin type null (read-only, local)
/sbin on /archive/sandboxes/client3/sbin type null (read-only, local)
/lib on /archive/sandboxes/client3/lib type null (read-only, local)
/libexec on /archive/sandboxes/client3/libexec type null (read-only, local)
/usr/bin on /archive/sandboxes/client3/usr/bin type null (read-only, local)
/usr/games on /archive/sandboxes/client3/usr/games type null (read-only, local)
/usr/include on /archive/sandboxes/client3/usr/include type null (read-only, local)
/usr/lib on /archive/sandboxes/client3/usr/lib type null (read-only, local)
/usr/libdata on /archive/sandboxes/client3/usr/libdata type null (read-only, local)
/usr/libexec on /archive/sandboxes/client3/usr/libexec type null (read-only, local)
/usr/share on /archive/sandboxes/client3/usr/share type null (read-only, local)
/usr/sbin on /archive/sandboxes/client3/usr/sbin type null (read-only, local)
/usr/X11R7 on /archive/sandboxes/client3/usr/X11R7 type null (read-only, local)
/var/mail on /archive/sandboxes/client3/var/mail type null (read-only, local)
/usr/src on /archive/sandboxes/client3/usr/src type null (read-only, local)
/usr/pkgsrc on /archive/sandboxes/client3/usr/pkgsrc type null (local)
/disk/scratch_ssd/client3 on /archive/sandboxes/client3/scratch type null (local)
/usr/xsrc on /archive/sandboxes/client3/usr/xsrc type null (read-only, local)
/packages on /archive/sandboxes/client3/packages type null (local)
/distfiles on /archive/sandboxes/client3/distfiles type null (local)

Worth a PR, or re-opening the old one?

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index