From owner-freebsd-ports@freebsd.org Mon Nov 23 06:10:10 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC08B4A1A4A for ; Mon, 23 Nov 2020 06:10:10 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CfcFZ4gb6z3CSy for ; Mon, 23 Nov 2020 06:10:10 +0000 (UTC) (envelope-from kiri@truefc.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9E65D4A1BB0; Mon, 23 Nov 2020 06:10:10 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E2B64A1D84 for ; Mon, 23 Nov 2020 06:10:10 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CfcFY2n8tz3CHT for ; Mon, 23 Nov 2020 06:10:08 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.15.2/8.15.2) with ESMTP id 0AN69wnQ085176; Mon, 23 Nov 2020 15:09:58 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202011230609.0AN69wnQ085176@kx.truefc.org> Date: Mon, 23 Nov 2020 15:09:58 +0900 From: KIRIYAMA Kazuhiko To: "ports@freebsd.org" Cc: kiri@truefc.org Subject: devel/ruby-gems strange ? User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4CfcFY2n8tz3CHT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kiri@truefc.org has no SPF policy when checking 36.52.212.1) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [-0.90 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[kiri]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[36.52.212.1:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[truefc.org]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[36.52.212.1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ONE(0.00)[1]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[ports]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2020 06:10:10 -0000 Hi all, devel/ruby-gems can't install because of rack of stuffs: ------------------------------------------------------------------------------ RubyGems installed the following executables: /var/ports/work/usr/ports/devel/ruby-gems/work/stage/usr/local/bin/gem30 /bin/ln -sf gem30 /var/ports/work/usr/ports/devel/ruby-gems/work/stage/usr/local/bin/gem cd /var/ports/work/usr/ports/devel/ruby-gems/work/stage/usr/local/ && /usr/bin/find -ds lib/ruby/gems/3.0/doc/rubygems-3.0.8/ ! -type d >> /var/ports/work/usr/ports/devel/ruby-gems/work/.PLIST.mktmp find: lib/ruby/gems/3.0/doc/rubygems-3.0.8/: No such file or directory *** Error code 1 Stop. make[3]: stopped in /var/ports/msrvkxb/devel/ruby-gems *** Error code 1 Stop. make[2]: stopped in /var/ports/msrvkxb/textproc/rubygem-asciidoctor *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/git *** Error code 1 Stop. So remove those from pkg-plist and post-install-DOCS-on disenabled: diff -ruN /usr/ports/devel/ruby-gems/Makefile ruby-gems/Makefile --- /usr/ports/devel/ruby-gems/Makefile 2020-11-16 17:03:31.471756000 +0900 +++ ruby-gems/Makefile 2020-11-19 10:01:53.966094000 +0900 @@ -36,19 +36,8 @@ RUBY_SETUP_OPTIONS= --destdir=${STAGEDIR} --no-regenerate-binstubs RUBY_VER_SHORT= ${RUBY_VER:S/.//} -GEMS_DIR= ${GEMS_VER_DIR}/gems -DOC_DIR= ${GEMS_VER_DIR}/doc -CACHE_DIR= ${GEMS_VER_DIR}/cache -SPEC_DIR= ${GEMS_VER_DIR}/specifications -EXT_DIR= ${GEMS_VER_DIR}/extensions - PLIST_SUB= DISTNAME="${DISTNAME}" \ - RUBY_VER_SHORT="${RUBY_VER_SHORT}" \ - GEMS_DIR="${GEMS_DIR}" \ - DOC_DIR="${DOC_DIR}" \ - CACHE_DIR="${CACHE_DIR}" \ - SPEC_DIR="${SPEC_DIR}" \ - EXT_DIR="${EXT_DIR}" + RUBY_VER_SHORT="${RUBY_VER_SHORT}" OPTIONS_DEFINE= DOCS @@ -63,6 +52,8 @@ # Find all RDOC and RI files # post-install-DOCS-on: - cd ${STAGEDIR}${PREFIX}/ && ${FIND} -ds ${GEMS_DOC_DIR}/ ! -type d >> ${TMPPLIST} + if [ -d ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR} ]; then \ + cd ${STAGEDIR}${PREFIX}/ && ${FIND} -ds ${GEMS_DOC_DIR}/ ! -type d >> ${TMPPLIST}; \ + fi .include diff -ruN /usr/ports/devel/ruby-gems/pkg-plist ruby-gems/pkg-plist --- /usr/ports/devel/ruby-gems/pkg-plist 2020-11-16 17:03:31.470232000 +0900 +++ ruby-gems/pkg-plist 2020-11-19 10:01:53.965136000 +0900 @@ -187,9 +187,3 @@ %%RUBY_SITELIBDIR%%/rubygems/version.rb %%RUBY_SITELIBDIR%%/rubygems/version_option.rb %%RUBY_SITELIBDIR%%/ubygems.rb -@dir lib/ruby/gems/%%RUBY_VER%%/build_info -@dir %%EXT_DIR%% -@dir %%CACHE_DIR%% -@dir %%GEMS_DIR%% -@dir %%SPEC_DIR%% -@dir %%DOC_DIR%% Then restart package-recursive, gem could not run at textproc/rubygem-asciidoctor with the error: ------------------------------------------------------------------------------ RubyGems installed the following executables: /var/ports/work/var/ports/msrvkxb/devel/ruby-gems/work/stage/usr/local/bin/gem30 /bin/ln -sf gem30 /var/ports/work/var/ports/msrvkxb/devel/ruby-gems/work/stage/usr/local/bin/gem if [ -d /var/ports/work/var/ports/msrvkxb/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/3.0/doc/rubygems-3.0.8 ]; then cd /var/ports/work/var/ports/msrvkxb/devel/ruby-gems/work/stage/usr/local/ && /usr/bin/find -ds lib/ruby/gems/3.0/doc/rubygems-3.0.8/ ! -type d >> /var/ports/work/var/ports/msrvkxb/devel/ruby-gems/work/.PLIST.mktmp; fi ====> Compressing man pages (compress-man) ===> Installing for ruby30-gems-3.0.8 ===> Checking if ruby30-gems is already installed ===> Registering installation for ruby30-gems-3.0.8 as automatic Installing ruby30-gems-3.0.8... ===> rubygem-asciidoctor-2.0.10 depends on file: /usr/local/bin/gem30 - found ===> Returning to build of rubygem-asciidoctor-2.0.10 ERROR: While executing gem ... (Gem::Package::FormatError) package is corrupt, exception while verifying: wrong number of arguments (given 2, expected 1) (ArgumentError) in /var/ports/distfiles/rubygem/asciidoctor-2.0.10.gem *** Error code 1 Stop. make[2]: stopped in /var/ports/msrvkxb/textproc/rubygem-asciidoctor *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/git *** Error code 1 Stop. Is this ruby-gems corrupted ? Regards. --- Kazuhiko Kiriyama