[Bug 278554] lang/ruby33: /usr/bin/install: ChangeLog: Inappropriate file type or format
Date: Wed, 24 Apr 2024 18:13:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278554
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch 2024Q2 references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=d4e0df85317bd23b887c4c61817bd4b1ffebb274
commit d4e0df85317bd23b887c4c61817bd4b1ffebb274
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-04-24 18:07:09 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-04-24 18:13:07 +0000
lang/ruby33: Fix build with latest -CURRENT
post-install-DOCS-on copies all files/directories under ${WRKSRC}/doc/
into ${STAGEDIR}${RUBY_DOCDIR}/, then installs ${WRKSRC}/ChangeLog to
same directory. But there is ChangeLog directory under ${WRKSRC}/doc/.
As a result there is already ${STAGEDIR}${RUBY_DOCDIR}/ChangeLog
directory when ${WRKSRC}/ChangeLog is tried to be installed as
${WRKSRC}/doc/ChangeLog. Previously install(1) regards it as non-fatal
and build continues. But on latest -CURRENT the command regards it as
fatal and results in build error. So fix it by moving
${WRKSRC}/ChangeLog to ${WRKSRC}/doc/ChangeLog/ChangeLog at extract
phase.
Bump PORTREVISION as plist is changed.
PR: 278554
Reported by: Siva Mahadevan
MFH: 2024Q2
(cherry picked from commit 8f7dac72c518bd1de867e78af351a4a7cf02d799)
Mk/Uses/ruby.mk | 2 +-
lang/ruby33/Makefile | 4 +++-
lang/ruby33/pkg-plist | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.