Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Mar 2024 17:58:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class
Message-ID:  <bug-277395-21402-NLHTzN67Kw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277395-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277395-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277395

--- Comment #7 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Fabian Wenk from comment #5)

portupgrade has some complexity on install.
Some file, including portsclean, belongs to bin/ on source tarball and build
phase, but installede to sbin/ on staging and instalation.

stage directory after `make` is as folows.

% tree /usr/ports/ports-mgmt/portupgrade-devel/work/stage/
/usr/ports/ports-mgmt/portupgrade-devel/work/stage/
|  |  |  |  |  |  |--usr
|  |  |  |  |  |  |  |--local
|  |  |  |  |  |  |  |  |--bin
|  |  |  |  |  |  |  |  |--etc
|  |  |  |  |  |  |  |  |  |--devd
|  |  |  |  |  |  |  |  |  |--libmap.d
|  |  |  |  |  |  |  |  |  |--man.d
|  |  |  |  |  |  |  |  |  |--newsyslog.conf.d
|  |  |  |  |  |  |  |  |  |--pam.d
|  |  |  |  |  |  |  |  |  |--pkgtools.conf.sample
|  |  |  |  |  |  |  |  |  |--pkgtools.status-pkg.sh
|  |  |  |  |  |  |  |  |  |--rc.conf.d
|  |  |  |  |  |  |  |  |  |--rc.d
|  |  |  |  |  |  |  |  |--include
|  |  |  |  |  |  |  |  |  |--X11
|  |  |  |  |  |  |  |  |--lib
|  |  |  |  |  |  |  |  |  |--compat
|  |  |  |  |  |  |  |  |  |  |--pkg
|  |  |  |  |  |  |  |  |  |--debug
|  |  |  |  |  |  |  |  |  |--ruby
|  |  |  |  |  |  |  |  |  |  |--site_ruby
|  |  |  |  |  |  |  |  |  |  |  |--3.2
|  |  |  |  |  |  |  |  |  |  |  |  |--pkgtools
|  |  |  |  |  |  |  |  |  |  |  |  |--pkgtools.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkg.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgdb.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgdbtools.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkginfo.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgmisc.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgtools.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgtsort.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--pkgversion.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--portinfo.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--ports.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--portsdb.rb
|  |  |  |  |  |  |  |  |  |  |  |  |  |--revision.rb
|  |  |  |  |  |  |  |  |  |--X11
|  |  |  |  |  |  |  |  |  |  |--app-defaults
|  |  |  |  |  |  |  |  |--libdata
|  |  |  |  |  |  |  |  |  |--ldconfig
|  |  |  |  |  |  |  |  |  |  |--portupgrade-devel
|  |  |  |  |  |  |  |  |  |--ldconfig32
|  |  |  |  |  |  |  |  |  |--pkgconfig
|  |  |  |  |  |  |  |  |--libexec
|  |  |  |  |  |  |  |  |--man

     (snip)

|  |  |  |  |  |  |  |  |  |--man1
|  |  |  |  |  |  |  |  |  |  |--pkg_deinstall.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkg_fetch.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkg_glob.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkg_sort.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkg_which.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkgdb.1.gz
|  |  |  |  |  |  |  |  |  |  |--pkgdu.1.gz
|  |  |  |  |  |  |  |  |  |  |--portcvsweb.1.gz
|  |  |  |  |  |  |  |  |  |  |--portinstall.1.gz
|  |  |  |  |  |  |  |  |  |  |--ports_glob.1.gz
|  |  |  |  |  |  |  |  |  |  |--portsclean.1.gz
|  |  |  |  |  |  |  |  |  |  |--portsdb.1.gz
|  |  |  |  |  |  |  |  |  |  |--portsvnweb.1.gz
|  |  |  |  |  |  |  |  |  |  |--portupgrade.1.gz
|  |  |  |  |  |  |  |  |  |  |--portversion.1.gz

     (snip)

|  |  |  |  |  |  |  |  |  |--man5
|  |  |  |  |  |  |  |  |  |  |--pkgtools.conf.5.gz

     (snip)

|  |  |  |  |  |  |  |  |--sbin
|  |  |  |  |  |  |  |  |  |--pkg_deinstall
|  |  |  |  |  |  |  |  |  |--pkg_fetch
|  |  |  |  |  |  |  |  |  |--pkg_glob
|  |  |  |  |  |  |  |  |  |--pkg_sort
|  |  |  |  |  |  |  |  |  |--pkg_which
|  |  |  |  |  |  |  |  |  |--pkgdb
|  |  |  |  |  |  |  |  |  |--pkgdu
|  |  |  |  |  |  |  |  |  |--portcvsweb
|  |  |  |  |  |  |  |  |  |--portinstall
|  |  |  |  |  |  |  |  |  |--ports_glob
|  |  |  |  |  |  |  |  |  |--portsclean
|  |  |  |  |  |  |  |  |  |--portsdb
|  |  |  |  |  |  |  |  |  |--portsvnweb
|  |  |  |  |  |  |  |  |  |--portupgrade
|  |  |  |  |  |  |  |  |  |--portversion
|  |  |  |  |  |  |  |  |--share
|  |  |  |  |  |  |  |  |  |--aclocal
|  |  |  |  |  |  |  |  |  |--applications
|  |  |  |  |  |  |  |  |  |--bash-completion
|  |  |  |  |  |  |  |  |  |  |--completions
|  |  |  |  |  |  |  |  |  |--dict
|  |  |  |  |  |  |  |  |  |--doc
|  |  |  |  |  |  |  |  |  |  |--ja
|  |  |  |  |  |  |  |  |  |  |--pkgtools
|  |  |  |  |  |  |  |  |  |  |  |--NEWS.md
|  |  |  |  |  |  |  |  |  |  |  |--README.md
|  |  |  |  |  |  |  |  |  |--emacs
|  |  |  |  |  |  |  |  |  |  |--site-lisp
|  |  |  |  |  |  |  |  |  |--examples
|  |  |  |  |  |  |  |  |  |  |--pkgtools
|  |  |  |  |  |  |  |  |  |  |  |--bash
|  |  |  |  |  |  |  |  |  |  |  |  |--complete.sample
|  |  |  |  |  |  |  |  |  |  |  |--tcsh
|  |  |  |  |  |  |  |  |  |  |  |  |--complete.sample
|  |  |  |  |  |  |  |  |  |--fish
|  |  |  |  |  |  |  |  |  |  |--vendor_completions.d

     (snip)

|  |  |  |  |  |  |  |  |  |--licenses
|  |  |  |  |  |  |  |  |  |  |--portupgrade-devel-20180309_1,3
|  |  |  |  |  |  |  |  |  |  |  |--BSD3CLAUSE
|  |  |  |  |  |  |  |  |  |  |  |--catalog.mk
|  |  |  |  |  |  |  |  |  |  |  |--LICENSE
|  |  |  |  |  |  |  |  |  |--locale
|  |  |  |  |  |  |  |  |  |  |--af
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--am
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ar
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--az
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--be
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--bg
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--bn
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--br
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--bs
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ca
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--cs
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--cy
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--da
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--de
|  |  |  |  |  |  |  |  |  |  |--de_AT
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--dk
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ee
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--el
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--en
|  |  |  |  |  |  |  |  |  |  |--en_AU
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--en_CA
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--en_GB
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--eo
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--es
|  |  |  |  |  |  |  |  |  |  |--es_ES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--es_MX
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--et
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--eu
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--fa
|  |  |  |  |  |  |  |  |  |  |--fa_IR
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--fi
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--fr
|  |  |  |  |  |  |  |  |  |  |--fr_FR
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ga
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--gl
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--gu
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--he
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--hi
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--hr
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--hu
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--id
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--is
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--it
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ja
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ka
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--kn
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ko
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--li
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--lt
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--lv
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--mk
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ml
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--mn
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ms
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--mt
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--nb
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ne
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--nl
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--nn
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--no
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--or
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--pa
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--pl
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--pt
|  |  |  |  |  |  |  |  |  |  |--pt_BR
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--pt_PT
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ro
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ru
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--sk
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--sl
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--sq
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--sr
|  |  |  |  |  |  |  |  |  |  |--sr@Latn
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--sv
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--ta
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--tg
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--th
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--tk
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--tr
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--uk
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--uz
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--vi
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--wa
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--zh
|  |  |  |  |  |  |  |  |  |  |--zh_CN
|  |  |  |  |  |  |  |  |  |  |--zh_CN.GB2312
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |--zh_TW
|  |  |  |  |  |  |  |  |  |  |--zh_TW.Big5
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES
|  |  |  |  |  |  |  |  |  |  |  |--LC_MESSAGES

     (snip)

|  |  |  |  |  |  |  |  |  |--zsh
|  |  |  |  |  |  |  |  |  |  |--site-functions
|  |  |  |  |  |  |  |  |  |  |  |--_pkgtools
|  |  |  |  |  |  |  |  |--tests
|  |  |  |  |  |  |  |  |--www

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277395-21402-NLHTzN67Kw>