Bug 184306 - lang/ruby20: package build fails because of wrong lines in the pkg-plist
Summary: lang/ruby20: package build fails because of wrong lines in the pkg-plist
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-26 12:30 UTC by Alexey Markov
Modified: 2013-11-26 15:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.01 KB, patch)
2013-11-26 12:30 UTC, Alexey Markov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Markov 2013-11-26 12:30:00 UTC
tar: lib/ruby/2.0/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Cannot stat: No such file or directory
tar: lib/ruby/2.0/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem: Cannot stat: No such file or directory
tar: lib/ruby/2.0/rubygems/ssl_certs/GeoTrust_Global_CA.pem: Cannot stat: No such file or directory
tar: lib/ruby/2.0/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem: Cannot stat: No such file or directory
tar: lib/ruby/2.0/rubygems/ssl_certs/ca-bundle.pem: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: Update ports tree and try to make a package of lang/ruby20.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-26 12:30:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-26 15:11:29 UTC
Responsible Changed
From-To: ruby->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-26 15:45:07 UTC
Author: sunpoet
Date: Tue Nov 26 15:45:00 2013
New Revision: 334948
URL: http://svnweb.freebsd.org/changeset/ports/334948

Log:
  - Fix PLIST
  - While I'm here:
    - Remove leading indefinite article from COMMENT
    - Convert to new LIB_DEPENDS format
  
  PR:		ports/184306
  Submitted by:	Alexey Markov <redrat@mail.ru>

Modified:
  head/lang/ruby20/Makefile
  head/lang/ruby20/pkg-plist

Modified: head/lang/ruby20/Makefile
==============================================================================
--- head/lang/ruby20/Makefile	Tue Nov 26 15:43:20 2013	(r334947)
+++ head/lang/ruby20/Makefile	Tue Nov 26 15:45:00 2013	(r334948)
@@ -12,11 +12,11 @@ DISTNAME=	${RUBY_DISTNAME}
 DIST_SUBDIR=	ruby
 
 MAINTAINER=	ruby@FreeBSD.org
-COMMENT?=	An object-oriented interpreted scripting language
+COMMENT?=	Object-oriented interpreted scripting language
 
-LIB_DEPENDS=	ffi:${PORTSDIR}/devel/libffi \
-		yaml-0.2:${PORTSDIR}/textproc/libyaml \
-		execinfo.1:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
+		libffi.so:${PORTSDIR}/devel/libffi \
+		libyaml.so:${PORTSDIR}/textproc/libyaml
 
 GNU_CONFIGURE=	yes
 WRKSRC=		${RUBY_WRKSRC}

Modified: head/lang/ruby20/pkg-plist
==============================================================================
--- head/lang/ruby20/pkg-plist	Tue Nov 26 15:43:20 2013	(r334947)
+++ head/lang/ruby20/pkg-plist	Tue Nov 26 15:45:00 2013	(r334948)
@@ -927,15 +927,10 @@ include/ruby-2.0/ruby.h
 %%RUBY_LIBDIR%%/rubygems/source_specific_file.rb
 %%RUBY_LIBDIR%%/rubygems/spec_fetcher.rb
 %%RUBY_LIBDIR%%/rubygems/specification.rb
-%%RUBY_LIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot.pem
 %%RUBY_LIBDIR%%/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
 %%RUBY_LIBDIR%%/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
-%%RUBY_LIBDIR%%/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem
 %%RUBY_LIBDIR%%/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
 %%RUBY_LIBDIR%%/rubygems/ssl_certs/GeoTrustGlobalCA.pem
-%%RUBY_LIBDIR%%/rubygems/ssl_certs/GeoTrust_Global_CA.pem
-%%RUBY_LIBDIR%%/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem
-%%RUBY_LIBDIR%%/rubygems/ssl_certs/ca-bundle.pem
 %%RUBY_LIBDIR%%/rubygems/syck_hack.rb
 %%RUBY_LIBDIR%%/rubygems/test_case.rb
 %%RUBY_LIBDIR%%/rubygems/test_utilities.rb
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-26 15:45:12 UTC
State Changed
From-To: open->closed

Committed. Thanks!