Bug 278344 - misc/deco cannot be reinstalled with portmaster
Summary: misc/deco cannot be reinstalled with portmaster
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 09:21 UTC by Andriy Mayevskyy
Modified: 2024-05-04 15:20 UTC (History)
1 user (show)

See Also:


Attachments
Fix the port build failure after incomplete staging support (1.78 KB, patch)
2024-05-04 15:20 UTC, Vadim Ostranitsyn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Mayevskyy 2024-04-13 09:21:12 UTC
Port misc/deco cannot be reinstalled with portmaster. 

The error is:
===>   Generating temporary packing list
install  -s -m 555 deco /usr/ports/misc/deco/work/stage/usr/local/bin
cd help; for f in *.general *.edit *.view *.hexview; do install  -m 0644 $f /usr/ports/misc/deco/work/stage/usr/local/share/deco/help/$f; done
install: /usr/ports/misc/deco/work/stage/usr/local/share/deco/help/d.general: No such file or directory
*** Error code 71

Folders deco and deco/help do not exist in work/stage/usr/local/share/ so install fails.

Looks like make targets were not executed
$(libdir)/deco:
		mkdir $(libdir)/deco 
$(libdir)/deco/help:
		mkdir $(libdir)/deco/help  

At the same time "make reinstall" from port directory works ok.
Just install when no misc/deco was installed also works ok.

Reproduce steps: run "portmaster misc/deco" two times.
Comment 1 Vadim Ostranitsyn 2024-05-04 15:20:08 UTC
Created attachment 250370 [details]
Fix the port build failure after incomplete staging support