cd /usr/ports/editors/emacs && make FLAVOR=nox install clean produces at the end: ====> Compressing man pages (compress-man) ===> Installing for emacs-nox-26.1,3 ===> Checking if emacs-nox already installed ===> Registering installation for emacs-nox-26.1,3 pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/lcms.c:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/module-env-25.h:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/module-env-26.h:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/sheap.h:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/systhread.c:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/systhread.h:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/thread.c:No such file or directory pkg-static: Unable to access file /usr/ports/editors/emacs/work-nox/stage/usr/local/share/emacs/26.1/src/thread.h:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/editors/emacs *** Error code 1 Stop. make: stopped in /usr/ports/editors/emacs make FLAVOR=nox showconfig ===> The following configuration options are available for emacs-nox-26.1,3: ACL=off: Access control list support GNUTLS=off: SSL/TLS support via GnuTLS MAILUTILS=off: Mail framework via GNU Mailutils MODULES=on: Dynamic modules support SOURCES=off: Install sources XML=on: XML format or parser support ====> File notification support: you can only select none or one of them KQUEUE=on: File notification via kqueue ===> Use 'make config' to modify these settings uname -a FreeBSD SagaBOX 11.2-PRERELEASE FreeBSD 11.2-PRERELEASE #0 r333393: Wed May 9 15:14:27 CEST 2018 root@SagaBOX:/usr/obj/usr/src/sys/SagaBOX amd64
Could you provide a full build log and the output of `pkg info -l`? My best guess is that this is related to something auto-detecting during the configure stage, since it builds successfully in a clean environment. http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2018-05-31_07h28m08s/logs/emacs-nox-26.1,3.log
Sorry, `pkg info` without the `-l` to list all installed packages (as we discussed on irc).
Created attachment 193865 [details] full build log Build log
Created attachment 193866 [details] pkg info -pq The output of pkg info -pq
OK. I think that I narrowed it down. The port builds and installs with: ===> The following configuration options are available for emacs-nox-26.1,3: ACL=off: Access control list support GNUTLS=off: SSL/TLS support via GnuTLS MAILUTILS=off: Mail framework via GNU Mailutils MODULES=on: Dynamic modules support SOURCES=on: Install sources XML=on: XML format or parser support ====> File notification support: you can only select none or one of them KQUEUE=on: File notification via kqueue ===> Use 'make config' to modify these settings In other words disabling SOURCES breaks the port.
Created attachment 193870 [details] diff to fix plist issue when SOURCES knob is off
Great. Thanks. The attached diff should fix things.
The patch worked for me. emacs 26.1 FLAVOR=nox is building and installing both with and without SOURCES. Thanks for your time! :)
A commit references this bug: Author: jrm Date: Thu May 31 15:35:18 UTC 2018 New revision: 471213 URL: https://svnweb.freebsd.org/changeset/ports/471213 Log: editors/emacs: Fix plist issue when SOURCES knob is off PR: 228626 Reported by: Simeon Simeonov <blackmore@pichove.org> Changes: head/editors/emacs/pkg-plist
Thanks!