Bug 176842 - sysutils/moreutils: can't apply patch (make patch error)
Summary: sysutils/moreutils: can't apply patch (make patch error)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
Depends on:
Reported: 2013-03-11 09:20 UTC by Lukasz Wasikowski
Modified: 2013-03-24 06:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Wasikowski 2013-03-11 09:20:00 UTC
moreutils cannot be installed if MANPAGES knob is turned off. With MANPAGES set to on port can be installed.

How-To-Repeat: [/usr/ports/sysutils/moreutils]
# make showconfig
===> The following configuration options are available for moreutils-0.47:
     MANPAGES=off: Build and/or install manual pages
===> Use 'make config' to modify these settings

# make patch
===>  Found saved configuration for moreutils-0.47
===>   moreutils-0.47 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for moreutils-0.47
=> SHA256 Checksum OK for moreutils_0.47.tar.gz.
===>   moreutils-0.47 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Patching for moreutils-0.47
===>   moreutils-0.47 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Applying FreeBSD patches for moreutils-0.47
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file ... target_directory
*** [post-patch] Error code 64

Stop in /usr/ports/sysutils/moreutils.
*** [patch] Error code 1

Stop in /usr/ports/sysutils/moreutils.
Comment 1 Lukasz Wasikowski 2013-03-11 09:21:26 UTC
I forgot to put it in ports-bugs, please move it there. TIA.

best regards,
Lukasz Wasikowski
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-03-11 10:39:13 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 3 Edwin Groothuis freebsd_committer 2013-03-11 10:39:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 4 dfilter service freebsd_committer 2013-03-24 06:17:01 UTC
Author: sunpoet
Date: Sun Mar 24 06:16:50 2013
New Revision: 315104
URL: http://svnweb.freebsd.org/changeset/ports/315104

  - Fix build with MANPAGES off
  PR:		ports/176842
  Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>


Modified: head/sysutils/moreutils/Makefile
--- head/sysutils/moreutils/Makefile	Sun Mar 24 06:14:36 2013	(r315103)
+++ head/sysutils/moreutils/Makefile	Sun Mar 24 06:16:50 2013	(r315104)
@@ -56,7 +56,9 @@ MAN1=		chronic.1 \
 	@${REINPLACE_CMD} -e 's|share/xml/docbook/schema/dtd/|local/share/xml/docbook/|' ${WRKSRC}/*.docbook
 	@cd ${FILESDIR}/ && ${CP} ${CANNED_MAN1} ${WRKSRC}/
svn-ports-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Po-Chuan Hsieh freebsd_committer 2013-03-24 06:18:13 UTC
State Changed
From-To: open->closed

Fixed. Thanks!