Bug 217285 - net/freebsd-uucp: installation fails if port option VAR_LOG is set
Summary: net/freebsd-uucp: installation fails if port option VAR_LOG is set
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 01:20 UTC by wolfgang
Modified: 2017-02-24 06:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dinoex)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgang 2017-02-22 01:20:56 UTC
When option VAR_LOG is set in the ports configuration, the port fails during installation with message:

[...]
===>  Installing for freebsd-uucp-1.07.4
===>  Checking if freebsd-uucp already installed
===>   Registering installation for freebsd-uucp-1.07.4
pkg-static: lstat(/usr/ports/net/freebsd-uucp/work/stage/var/log/uucp/): No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/net/freebsd-uucp
*** Error code 1

Stop.
make: stopped in /usr/ports/net/freebsd-uucp

===>>> Installation of freebsd-uucp-1.07.4 (net/freebsd-uucp) failed
Comment 1 Walter Schwarzenfeld freebsd_triage 2017-02-22 02:54:58 UTC
Makefile:
post-install:
+   ${MKDIR} ${STAGEDIR}/var/log/uucp
Comment 2 wolfgang 2017-02-22 06:56:54 UTC
I confirm the suggested change to Makefile fixes the problem.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-02-22 20:59:33 UTC
A commit references this bug:

Author: dinoex
Date: Wed Feb 22 20:58:38 UTC 2017
New revision: 434641
URL: https://svnweb.freebsd.org/changeset/ports/434641

Log:
  - fix option VAR_LOG
  PR:		217285

Changes:
  head/net/freebsd-uucp/Makefile