Bug 237467 - www/emacs-w3m: Fails to package (isntall)
Summary: www/emacs-w3m: Fails to package (isntall)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-22 12:22 UTC by emss
Modified: 2019-04-29 20:05 UTC (History)
1 user (show)

See Also:
nobutaka: maintainer-feedback+


Attachments
make install script (33.86 KB, text/plain)
2019-04-22 12:22 UTC, emss
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description emss 2019-04-22 12:22:18 UTC
Created attachment 203895 [details]
make install script

make install on /usr/ports/www/emacs-w3m fails with the following error :

===>   Registering installation for emacs-w3m-emacs26-1.4.632.b.20181110
pkg-static: Unable to access file /storage/work/ports/build/usr/ports/www/emacs-w3m/work-full/stage/usr/local/share/emacs/26.2/site-lisp/w3m/mime-w3m.elc:No such file or directory
pkg-static: Unable to access file /storage/work/ports/build/usr/ports/www/emacs-w3m/work-full/stage/usr/local/share/emacs/26.2/site-lisp/w3m/octet.elc:No such file or directory
*** Error code 74

Typescript attached
Comment 1 Herbert J. Skuhra 2019-04-22 12:56:57 UTC
Comment on attachment 203895 [details]
make install script

Have you disabled default option(s) SHIMBUN (and OCTET_VIEWER)? editors/apel and editors/flim are required to byte-compile mime-w3m.el and octet.el.
Comment 2 emss 2019-04-22 13:12:54 UTC
Hi,

emss@srvbsdfenssv:/usr/ports/www/emacs-w3m % pkg info | grep apel
apel-emacs26-10.8_17           Portable Emacs Library
emss@srvbsdfenssv:/usr/ports/www/emacs-w3m % pkg info | grep flim
flim-emacs26-1.14.9_20,1       Message representation or encoding elisp library for emacs

I've disabled both SHIMBUN & OCTET_VIEWER (the latter removes one error line)
===>   Registering installation for emacs-w3m-emacs26-1.4.632.b.20181110
pkg-static: Unable to access file /storage/work/ports/build/usr/ports/www/emacs-w3m/work-full/stage/usr/local/share/emacs/26.2/site-lisp/w3m/mime-w3m.elc:No such file or directory
*** Error code 74

Regards
Comment 3 emss 2019-04-24 18:09:57 UTC
Hi,

Some more context.
emacs had been upgraded from 26.1 to 26.2
Removing then building semi, flim, apel & emacs-w3m solved the issue (SHIMBUN & OCTET-VIEWER enabled)
It may deserve an entry in UPDATING.
Comment 4 MANTANI Nobutaka freebsd_committer freebsd_triage 2019-04-28 09:33:26 UTC
Hi, thank you for reporting.

Emacs lisp files of apel, flim and semi are installed under /usr/local/share/emacs/26.x/site-lisp/. So you need to reinstall these files to let them work correctly if you upgrade emacs from 26.1 to 26.2.

Generally PORTREVISION of emacs lips ports are bumped to automatically reinstall them at the same time of editors/emacs upgrade, but PORTREVISION is not bumped in this time of upgrade.
Comment 5 MANTANI Nobutaka freebsd_committer freebsd_triage 2019-04-29 18:38:39 UTC
Just FYI, jrm bumped PORTREVISION of emacs lisp ports that install files under %%EMACS_VERSION_SITE_LISPDIR%% in ports r500319 to encourage reinstallation.
Comment 6 emss 2019-04-29 20:05:12 UTC
Thanks for your heads up & fix.
Regards