Re: FreeBSD package build failure with Emacs 26.1
Joseph Mingrone <[email protected]> Wed, 14 Nov 2018 12:51:00 -0400
| Newsgroups | gmane.emacs.bbdb.user |
|---|---|
| Message-ID | <[email protected]> |
Greg Troxel <[email protected]> writes: > I don't know specifically about FreeBSD, but I use NetBSD and maintain > various things in pkgsrc, which is similar (and has long-ago shared > ancestry) with the FreeBSD package system. > These comments are mostly for Joseph; debugging needs to be done within > the freebsd environment to see what is going on. > 1) Do this again with all concurrency (e.g. make -j8) turned off. The > multiple jobs make it hard to follow. > 2) Looking at the log, I see a complaint about bbdb-ispell and > permissions, and the same thing for 8 others. Is the packaging system > adding any checks. (NetBSD's pkgsrc adds checks for executable bits on > regular files, and so on, but the messages are clear, so I'm guessing > it's not a ports thing here.) > 3) When you try to build the bbdb package by hand, outside of ports, > with that version of emacs, how does it go? If that works and the ports > build doesn't, that narrows it down. And if it fails, you can report a > much simpler error. Thanks for this. I have narrowed down the problem. Under emacs 26.1, commands like this are failing. /usr/local/bin/emacs-26.1 --batch --no-init-file --no-site-file -L . \ --eval '(setq byte-compile-dest-file-function (lambda (_) "bbdb.elc"))' \ -f batch-byte-compile 'bbdb.el' If I change it to /usr/local/bin/emacs-26.1 --batch --no-init-file --no-site-file -L . \ --eval '(setq byte-compile-dest-file-function (lambda (_) "/full/path/of/pwd/bbdb.elc"))' \ -f batch-byte-compile 'bbdb.el' or /usr/local/bin/emacs-26.1 --batch --no-init-file --no-site-file -L . \ -f batch-byte-compile 'bbdb.el' there are no errors. The problem is isolated to our package building tool, poudriere. To get (more) reproducible builds, it uses things like nullfs mounts and clean jails. Something about this setup is triggering a problem in 26.1 that appears to have been fixed in the master branch. In any case, I have patched the Makefile to remove the --eval '(setq byte-compile-dest-file-function (lambda (_) "bbdb.elc"))' \ and the package is building again. Unless anyone has a less ad-hoc solution, I will commit this change to get the packages out again. -- Joseph
signature.asc
(application/pgp-signature, 962 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlvsUnRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 756F2A//TInmD/8gDl5I1X4IBeKGr+LrripSUDMZH3BfBbdRZD5AhXFC2q+9bite vbf9dwDRJwBDCHAGSIIrwgrpK1c3yZQh+FtP6Ww7wLOdR8vagDmkYhcM0vDUVW5U xS1g9S5vsYaHb9mcCR53CYYQ+bH9IoPDEPgr7kLeYeVAlilNMCa+CGJ0uE8sbysU n1uggWXRD9HjCj1cpJektrQEjVe3XmzVv8rokP7im8iL8Sn3Wp+18rKfRVt+6Gb0 w2h+V//bS0TL+mAHe5xn9NNOeJ3tCnZM/JPWsNUPeLWIBHkClH4Umjr98O51ticV GxOQpF3mCA0o83JGDEmKcEkuSqzvTfs53rG5lOY8sPzsInUsyFyj+VxE0UOsb94F reLYUc822q9RyylbOcUReup1ix1hLJEdLcjAX3hic0lopGFKBgd7bP8eUgCppuwT jw1htjaxVEz/LNXlofRm39sKzjFtjQkz82PsZcrq3LzIV1WEMjpbI+QsQAhuCJIz R67Np9NSV68FGVVBb7q3eZRnY1F8ctFApFOpLK2FtKxaVwYyuaYzw02/xpwDzLL3 6eRajfq6Emjakbkq6Wd3mRFFd3OkoqYtSxHQcbBo3a70dXntovfESGKLeUUELwGa R88mAh7N9D7Xqo2PhbCcr3J+GfrAZ3jcLivJYkvSy8c6ux1RrO8= =7qIY -----END PGP SIGNATURE-----