units python reqs (was: ATTN maintainers python 3.12 is now default)
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Sat Sep 5 22:06:19 GMT 2026
On 2026-09-05 13:38, Brian Inglis wrote:
> On 2026-09-05 11:04, Jon Turney via Cygwin-apps wrote:
>> On 04/09/2026 05:15, Brian Inglis via Cygwin-apps wrote:
>> [...]
>>>
>>> Hi Jon,
>>>
>>> python39-nghttp2 nghttp2 1.51.0-1 vaulted also 1.46.0-1 - python no longer built
>>>
>>> units_cur units always run from source - I can change #! to
>>> python3 (already linked to 3.12 here) rather than explicit 3.9 or 3.12 to
>>> avoid this in future?
>>
>> Yes, if it doesn't install anything into /usr/lib/python3.NN/site-packages/
>> (like this) packages which contain a python script can (usually) be made
>> python- version neutral.
>>
>> (You could probably do this by dropping the inherit python3 and just
>> configuring with PYTHON=python3)
>>
>> You might want to double check the dependencies, to make sure that python3 and
>> python3-requests are added, cygport might need some help with that.
>
> Thanks Jon,
>
> Timely hints, as I am having a problem dropping require: python312-requests, as
> explicit REQUIRES with REQUIRES_EXCLUDE_FROM=.../site-packages/ seems to have no
> effect with various deps_prune paths, so I will move onto the playground branch,
> check in the current approach, drop the inherit and try some more tweaks.
Hi folks,
I specify require python3-requests for desired generic match!
Problems with cygport deps & pkg list_deps always finding python312-requests
despite exclusions.
See attached deps debug log and my recent GH Scallywag CI units playground jobs.
Any ideas other than renaming or blowing away the site-packages? ;^>
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
-------------- next part --------------
+ shift
+ true
+ case ${1} in
+ break
+ argv=('/usr/bin/cygport' 'units' 'deps')
+ declare -ar argv
+ declare -ir argc=3
+ defined 'argv[1]'
+ (( 1 != 1 ))
+ '[' -n units ']'
+ return 0
+ defined 'argv[2]'
+ (( 1 != 1 ))
+ '[' -n deps ']'
+ return 0
+ source /usr/share/cygport/lib/check_funcs.cygpart
++ readonly -f check_prog check_prog_req check_tool check_target_tool check_pkg_config check_girepository_module check_lua_module check_ocaml_module check_perl_module check_php_module check_python_module check_python2_module check_python3_module check_pypy_module check_R_module check_ruby_module check_tcl_module check_tex_module check_vala_module __check_depends __check_function __check_function_ro __check_unstable __version_at_least
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog bzip2
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v bzip2
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog cat
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v cat
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog chmod
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v chmod
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog cp
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v cp
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog date
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v date
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog diff
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v diff
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog diffstat
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v diffstat
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog dos2unix
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v dos2unix
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog file
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v file
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog find
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v find
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog gawk
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v gawk
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog grep
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v grep
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog gzip
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v gzip
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog install
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v install
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog ln
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v ln
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog mkdir
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v mkdir
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog mv
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v mv
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog patch
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v patch
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog rm
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v rm
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog rsync
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v rsync
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog sed
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v sed
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog sort
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v sort
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog tar
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v tar
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog touch
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v touch
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog which
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v which
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog xargs
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v xargs
+ return 0
+ for _myprog in bzip2 cat chmod cp date diff diffstat dos2unix file find gawk grep gzip install ln mkdir mv patch rm rsync sed sort tar touch which xargs xz
+ check_prog xz
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v xz
+ return 0
+ unset _myprog
+ check_prog pbzip2
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v pbzip2
+ return 0
+ readonly '_tar_bz2_flag=-I pbzip2'
+ _tar_bz2_flag='-I pbzip2'
++ nproc
+ declare 'MAKEOPTS=-j 5 '
+ for conf in "${_privsysconfdir}/cygport.conf" "${HOME}/.config/cygport.conf" "${HOME}/.cygport/cygport.conf" "${HOME}/.cygport.conf" "${HOME}/.cygportrc"
+ '[' -e /etc/cygport.conf ']'
+ source /etc/cygport.conf
+ for conf in "${_privsysconfdir}/cygport.conf" "${HOME}/.config/cygport.conf" "${HOME}/.cygport/cygport.conf" "${HOME}/.cygport.conf" "${HOME}/.cygportrc"
+ '[' -e /home/BWI/.config/cygport.conf ']'
+ for conf in "${_privsysconfdir}/cygport.conf" "${HOME}/.config/cygport.conf" "${HOME}/.cygport/cygport.conf" "${HOME}/.cygport.conf" "${HOME}/.cygportrc"
+ '[' -e /home/BWI/.cygport/cygport.conf ']'
+ for conf in "${_privsysconfdir}/cygport.conf" "${HOME}/.config/cygport.conf" "${HOME}/.cygport/cygport.conf" "${HOME}/.cygport.conf" "${HOME}/.cygportrc"
+ '[' -e /home/BWI/.cygport.conf ']'
+ source /home/BWI/.cygport.conf
++ DISTDIR=/var/cache/cygport/upstream
++ SSH_KEY=/home/BWI/.ssh/id_rsa_b-i_ssw-a-c
++ SMTP_SENDER='Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>'
++ SMTP_SERVER=mail.hover.com
++ SMTP_SERVER_PORT=465
++ SMTP_ENCRYPTION=ssl
++ SMTP_USER=Brian.Inglis@SystematicSW.ab.ca
++ SMTP_PASS=C3CHOver+Postie
++ mirror_apache=https://dlcdn.apache.org
++ mirror_cpan=https://cpan.metacpan.org/
++ mirror_debian=https://mirrors.kernel.org/debian
++ mirror_fedora=https://mirrors.kernel.org/fedora
++ mirror_gcc=https://mirrors.kernel.org/sourceware/gcc
++ mirror_gentoo=http://mirrors.tera-byte.com/pub/gentoo
++ mirror_gnome=https://mirrors.kernel.org/gnome
++ mirror_gnu+='
https://ftpmirror.gnu.org/gnu
https://ftp.gnu.org/gnu
https://mirrors.kernel.org/gnu
http://ftp.gnu.org/gnu
ftp://ftp.gnu.org/gnu
'
++ mirror_portage=http://mirrors.tera-byte.com/pub/gentoo-portage
++ mirror_sourceware=https://mirrors.kernel.org/sourceware
++ VCS_COMPRESSION_EXT=zst
+ for conf in "${_privsysconfdir}/cygport.conf" "${HOME}/.config/cygport.conf" "${HOME}/.cygport/cygport.conf" "${HOME}/.cygport.conf" "${HOME}/.cygportrc"
+ '[' -e /home/BWI/.cygportrc ']'
+ source /home/BWI/.cygportrc
+ unset conf
+ source /usr/share/cygport/lib/config_registry.cygpart
++ readonly -f __config_equals __config_get __config_set
+ source /usr/share/cygport/lib/inheritance.cygpart
++ readonly -f inherit inherited
+ source /usr/share/cygport/lib/src_fetch.cygpart
++ VCS_COMPRESSION_EXT=zst
++ readonly -f fetch __mirror_fetch __src_fetch
+ source /usr/share/cygport/mirrors
++ mirror_apache+=' https://downloads.apache.org'
++ mirror_cpan+=' https://cpan.metacpan.org'
++ mirror_cran+=' https://cran.r-project.org'
++ mirror_ctan+=' http://mirror.ctan.org/'
++ mirror_debian+=' http://deb.debian.org/debian'
++ mirror_gcc+='
https://gcc.gnu.org/pub/gcc
ftp://gcc.gnu.org/pub/gcc
'
++ mirror_gentoo+=' https://gentoo.osuosl.org/distfiles'
++ mirror_gnome+='
https://download.gnome.org
'
++ mirror_gnu+='
https://ftpmirror.gnu.org
https://ftp.gnu.org/gnu
'
++ mirror_gnustep+='
http://ftp.gnustep.org/pub/gnustep
ftp://ftp.gnustep.org/pub/gnustep
'
++ mirror_invisibleisland+='
https://invisible-mirror.net/archives
https://invisible-island.net/archives
'
++ mirror_kde+=' https://download.kde.org'
++ mirror_mplayer+=' http://www1.mplayerhq.hu/MPlayer'
++ mirror_mysql+='
https://mirrors.dotsrc.org/mysql
ftp://mirrors.dotsrc.org/mysql
https://ftp.gwdg.de/pub/misc/mysql
ftp://ftp.gwdg.de/pub/misc/mysql
https://www.mirrorservice.org/sites/ftp.mysql.com
ftp://ftp.mirrorservice.org/sites/ftp.mysql.com
'
++ mirror_portage+=' https://gitweb.gentoo.org/repo/gentoo.git/plain'
++ mirror_savannah+=' https://download.savannah.nongnu.org/releases'
++ mirror_sourceforge+=' http://downloads.sourceforge.net'
++ mirror_sourceware+='
https://ftp.sourceware.org/pub
ftp://ftp.sourceware.org/pub
'
++ mirror_qt+=' http://download.qt-project.org'
++ mirror_tlpretest+='
http://ftp.math.utah.edu/pub/texlive/tlpretest
ftp://ftp.math.utah.edu/pub/texlive/tlpretest
http://ftp.cstug.cz/pub/tex/local/tlpretest
ftp://ftp.cstug.cz/pub/tex/local/tlpretest
http://ctan.ijs.si/mirror/tlpretest
'
++ mirror_trolltech+=' http://download.qt-project.org'
++ mirror_vim+=' http://ftp.vim.org/pub/vim'
++ mirror_xfce+=' https://archive.xfce.org'
+ source /usr/share/cygport/lib/src_prep.cygpart
++ readonly -f __cpio_gz_extract __gem_extract __srpm_extract unpack __gpg_verify __mkdirs cygpatch __src_prep
+ source /usr/share/cygport/lib/compilers.cygpart
++ declare -x CC=gcc
++ declare -x 'CFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4'
++ declare -x CPPFLAGS=
++ declare -x CXX=g++
++ declare -x 'CXXFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type'
++ declare -x F77=gfortran
++ declare -x 'FFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4'
++ declare -x FC=gfortran
++ declare -x 'FCFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4'
++ declare -x GOC=gccgo
++ declare -x 'GOFLAGS=-ggdb -O2 -pipe'
++ declare -x OBJC=gcc
++ declare -x 'OBJCFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4'
++ declare -x OBJCXX=g++
++ declare -x 'OBJCXXFLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type'
++ declare -x LDFLAGS=
++ declare -x LIBS=
++ AR=ar
++ DLLTOOL=dlltool
++ NM=nm
++ OBJDUMP=objdump
++ RANLIB=ranlib
++ RC=windres
++ STRIP=strip
++ PKG_CONFIG=pkg-config
++ declare CC_SYSROOT=
+++ /usr/share/cygport/config.guess
++ declare CBUILD=x86_64-pc-cygwin
++ case ${CBUILD} in
++ CHOST=x86_64-pc-cygwin
++ unset _host_arch
++ declare CTARGET=x86_64-pc-cygwin
++ declare CROSS_HOST=
++ declare CROSS_SYSROOT=
++ declare TOOLCHAIN_TARGET=
++ declare ARCH=x86_64
++ declare ARCH_x86_64=1
++ '[' x86_64-pc-cygwin '!=' x86_64-pc-cygwin ']'
+ source /usr/share/cygport/lib/src_compile.cygpart
++ readonly -f lndirs cygmake
+ source /usr/share/cygport/lib/src_test.cygpart
++ readonly -f cygtest
+ source /usr/share/cygport/lib/src_install.cygpart
++ readonly -f __doinstall __fix_shebang dodir keepdir dobin newbin docinto dodoc newdoc exeinto doexe newexe insinto doins newins doicon newicon dolib doman newman domenu newmenu dosbin newsbin dosym make_autostart_entry make_desktop_entry make_etc_defaults update_etc_shells __prepinstalldirs cyginstall
+ source /usr/share/cygport/lib/src_postinst.cygpart
++ readonly -f __prep_fonts_dir __prep_freedesktop_mime __prep_gconf_schemas __prep_gdk_pixbuf_modules __prep_gtk2_modules __prep_gtk3_modules __prep_gtk_icon_theme __prep_python_bytecompile __prep_texlive __prep_xsessions __prepdoc __prepemacs __prepetc __prepman __prepinfo __prepperl __prepvargames __prep_empty_dirs __prepstrip __prepstrip_one __prepdebugsrc __prep_symlinks __prep_libtool_modules __src_postinst
+ source /usr/share/cygport/lib/pkg_info.cygpart
++ readonly -f __list_files __list_debug_files __list_deps __show_deps __show_info __show_web __pager __show_vars
+ source /usr/share/cygport/lib/pkg_pkg.cygpart
++ TAR_COMPRESSION_EXT=xz
++ readonly -f __pkg_binpkg __pkg_diff __gpg_sign __pkg_srcpkg __pkg_dist __pkg_repro_build __pkg_repro_diff __pkg_repro_finish __squeeze_whitespace __tar __tar_compress_opt
+ source /usr/share/cygport/lib/pkg_upload.cygpart
++ readonly -f __pkg_upload __pkg_announce
+ source /usr/share/cygport/lib/pkg_cleanup.cygpart
++ readonly -f __finish
+ _autotools_CYGCLASS_stage1_=1
+ inherit autotools
+ local class
+ local classname
+ for class in "$@"
+ classname=autotools
+ '[' '!' -f /usr/share/cygport/cygclass/autotools.cygclass ']'
+ defined _autotools_CYGCLASS_
+ (( 1 != 1 ))
+ '[' -n '' ']'
+ return 1
+ export _autotools_CYGCLASS_=1
+ _autotools_CYGCLASS_=1
+ INHERITED='autotools '
+ source /usr/share/cygport/cygclass/autotools.cygclass
++ defined _autotools_CYGCLASS_stage1_
++ (( 1 != 1 ))
++ '[' -n 1 ']'
++ return 0
+ unset _autotools_CYGCLASS_ _autotools_CYGCLASS_stage1_
+ unset NAME VERSION RELEASE
+ declare cygportfile=units.cygport
+ '[' -f units.cygport ']'
++ grep '^NAME=' units.cygport
+ eval NAME=units
++ NAME=units
++ grep '^VERSION=' units.cygport
+ eval VERSION=2.27
++ VERSION=2.27
++ grep '^RELEASE=' units.cygport
+ eval RELEASE=2
++ RELEASE=2
+ '[' yyy = yyy ']'
+ declare -r PN=units
+ declare PV=2.27
+ declare -r PR=2
+ declare -r PF=units-2.27-2
+ declare -r cygportfile=units.cygport
+ declare -r P=units-2.27
+ declare -r PVR=2.27-2
+ PVP=('2' '27')
+ declare -ar PVP
+ PV=('2.27' '2' '27')
+ declare -r PV
+ declare -r PV_MAJ=2
+ declare -r PV_MAJ_MIN=2.27
+ declare -rx CYGPORT_PACKAGE_NAME=units
+ declare -rx CYGPORT_PACKAGE_VERSION=2.27
+ declare -rx CYGPORT_PACKAGE_RELEASE=2
+ _topdir=units
+ '[' xunits = xunits ']'
+ '[' -f ./units.cygport ']'
+ _topdir=.
++ cd .
++ pwd
+ declare -r top=/usr/src/units
+ unset _topdir
+ '[' '!' -e /usr/src/units/units.cygport ']'
+ declare -i n
+ declare -a VALUE
+ ARCHES=("i686" "x86_64" "noarch")
+ for VAR in "SRC_URI" "PATCH_URI"
+ n=0
+ (( n < 3 ))
+ read -r
++ declare ARCH=i686
++ declare ARCH_i686=1
++ source /usr/src/units/units.cygport
++ eval echo '$SRC_URI}'
+++ echo mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz '}'
+ VALUE[$n]='mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }'
+ (( n > 0 ))
+ n+=1
+ (( n < 3 ))
+ read -r
++ declare ARCH=x86_64
++ declare ARCH_x86_64=1
++ source /usr/src/units/units.cygport
++ eval echo '$SRC_URI}'
+++ echo mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz '}'
+ VALUE[$n]='mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }'
+ (( n > 0 ))
+ '[' 'xmirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }' '!=' 'xmirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }' ']'
+ n+=1
+ (( n < 3 ))
+ read -r
++ declare ARCH=noarch
++ declare ARCH_noarch=1
++ source /usr/src/units/units.cygport
++ eval echo '$SRC_URI}'
+++ echo mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz '}'
+ VALUE[$n]='mirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }'
+ (( n > 0 ))
+ '[' 'xmirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }' '!=' 'xmirror://gnu/units/units-2.27.tar.gz mirror://gnu/units/units-2.27.tar.gz.sig https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz }' ']'
+ n+=1
+ (( n < 3 ))
+ for VAR in "SRC_URI" "PATCH_URI"
+ n=0
+ (( n < 3 ))
+ read -r
++ declare ARCH=i686
++ declare ARCH_i686=1
++ source /usr/src/units/units.cygport
++ eval echo '$PATCH_URI}'
+++ echo '}'
+ VALUE[$n]='}'
+ (( n > 0 ))
+ n+=1
+ (( n < 3 ))
+ read -r
++ declare ARCH=x86_64
++ declare ARCH_x86_64=1
++ source /usr/src/units/units.cygport
++ eval echo '$PATCH_URI}'
+++ echo '}'
+ VALUE[$n]='}'
+ (( n > 0 ))
+ '[' 'x}' '!=' 'x}' ']'
+ n+=1
+ (( n < 3 ))
+ read -r
++ declare ARCH=noarch
++ declare ARCH_noarch=1
++ source /usr/src/units/units.cygport
++ eval echo '$PATCH_URI}'
+++ echo '}'
+ VALUE[$n]='}'
+ (( n > 0 ))
+ '[' 'x}' '!=' 'x}' ']'
+ n+=1
+ (( n < 3 ))
+ unset n VALUE ARCHES VAR
++ unset ARCH
++ source /usr/src/units/units.cygport
++ echo ''
+ PROBE_ARCH=
+ '[' -z '' ']'
+ declare -r ARCHES=all
+ unset PROBE_ARCH
+ source /usr/src/units/units.cygport
++ NAME=units
++ VERSION=2.27
++ RELEASE=2
++ CATEGORY=Math
++ SUMMARY='Console unit converter'
++ DESCRIPTION='The Units program converts quantities expressed in various scales
to their equivalents in other scales. The units program can handle
multiplicative scale changes as well as nonlinear conversions such as
Fahrenheit to Celsius or wire gauge. Units comes with an annotated,
extendable database defining over seven thousand units, including 134
nonlinear units, and 125 prefixes, using ten systems of units including
SI, 189 currencies, bitcoin and precious metals prices, plus US CPI
Consumer Price Index, all of which may be updated using units_cur.'
++ HOMEPAGE=https://www.gnu.org/software/units/
++ SRC_URI=https://alpha.gnu.org/gnu/units/units-2.27.tar.gz
++ SRC_URI=mirror://gnu/units/units-2.27.tar.gz
++ SRC_URI+='
mirror://gnu/units/units-2.27.tar.gz.sig
https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz
https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz
'
++ PATCH_URI=
++ REQUIRES=python3-requests
++ REQUIRES_EXCLUDE_FROM='usr/lib/python3.12/site-packages:usr/lib/python3.12/site-packages/*:usr/lib/python3.*/site-packages:usr/lib/python3.*/site-packages/*:*/site-packages:*/site-packages/*'
++ sharedstatedir=/var/lib
++ CYGCONF_ARGS='PYTHON=python3 sharedstatedir=/var/lib'
++ BUILD_REQUIRES='
cygwin-devel libreadline-devel libncurses-devel
python3-devel python3-requests python3
autoconf binutils coreutils findutils gcc-core
gawk grep perl_base sed texinfo
'
++ DIFF_EXCLUDES=install-sh
++ LICENSE='GPL-3.0-only AND GFDL-1.3-only'
++ LICENSE_SPDX='SPDX-License-Identifier: GPL-3.0-only AND GFDL-1.3-only'
++ LICENSE_URI='COPYING fdl-1.3.texi'
++ CYGWIN_MAINTAINER=Brian%20Inglis
++ CYGWIN_MAINTAINER_EMAIL=Brian.Inglis@SystematicSW.ab.ca
++ UPSTREAM_MAINTAINER=Adrian%20Mariano
++ UPSTREAM_MAINTAINER_EMAIL=radian@cox.net
++ GNU_MAINTAINER=Adrian%20Mariano
++ GNU_MAINTAINER_EMAIL=AdrianM@GNU.org
++ SUBJECT=Cygwin%20Package%20units%202.27
++ MAILTO='mailto:Adrian%20Mariano%20%3Cradian@cox.net%3E,Adrian%20Mariano%20%3CAdrianM@GNU.org%3E,?from=Brian%20Inglis%20%3CBrian.Inglis@SystematicSW.ab.ca%3E&subject=Cygwin%20Package%20units%202.27&body=Hi%20Adrian%20Mariano,%20Cygwin%20Package%20units%202.27'
+ case ${ARCH} in
+ defined CYGPORT_DEPEND
+ (( 1 != 1 ))
+ '[' -n '' ']'
+ return 1
+ for VAR in "HOMEPAGE" "LICENSE"
+ '[' '!' -v HOMEPAGE ']'
+ for VAR in "HOMEPAGE" "LICENSE"
+ '[' '!' -v LICENSE ']'
+ unset restrict
+ '[' '' = y ']'
+ declare -r workdir=/usr/src/units/units-2.27-2.x86_64
+ declare -r srcdir=/usr/src/units/units-2.27-2.x86_64/src
+ declare -r origsrcdir=/usr/src/units/units-2.27-2.x86_64/origsrc
+ declare -r configdir=/usr/src/units/units-2.27-2.x86_64/config
+ declare -r logdir=/usr/src/units/units-2.27-2.x86_64/log
+ declare -r patchdir=/usr/src/units/units-2.27-2.x86_64/patch
+ declare -r spkgdir=/usr/src/units/units-2.27-2.x86_64/spkg/units-2.27-2.src
+ declare -r distdir=/usr/src/units/units-2.27-2.x86_64/dist
+ SRC_DIR=units-2.27
+ defined SRC_URI
+ (( 1 != 1 ))
+ '[' -n 'mirror://gnu/units/units-2.27.tar.gz
mirror://gnu/units/units-2.27.tar.gz.sig
https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz
https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz
' ']'
+ return 0
+ '[' xunits-2.27 = x. ']'
+ declare -r S=/usr/src/units/units-2.27-2.x86_64/src/units-2.27
+ declare -r B=/usr/src/units/units-2.27-2.x86_64/build
+ declare -r D=/usr/src/units/units-2.27-2.x86_64/inst
+ declare -r T=/usr/src/units/units-2.27-2.x86_64/temp
+ declare -r C=/usr/src/units/units-2.27-2.x86_64/src/units-2.27/CYGWIN-PATCHES
+ declare -rx CYGPORT_ARCH=x86_64
+ declare -rx CYGPORT_OS=Cygwin
+ declare -rx CYGPORT_BUILD_ROOT=/usr/src/units/units-2.27-2.x86_64/inst
+ declare -rx 'CYGPORT_OPT_FLAGS=-ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4'
+ declare -r compilelog=/usr/src/units/units-2.27-2.x86_64/log/units-2.27-2-compile.log
+ declare -r checklog=/usr/src/units/units-2.27-2.x86_64/log/units-2.27-2-check.log
+ declare -r installlog=/usr/src/units/units-2.27-2.x86_64/log/units-2.27-2-install.log
+ declare -r pkglog=/usr/src/units/units-2.27-2.x86_64/log/units-2.27-2-pkg.log
+ declare -r uploadlog=/usr/src/units/units-2.27-2.x86_64/log/units-2.27-2-upload.log
+ for _src_uri in ${SRC_URI}
+ '[' -f /usr/src/units/mirror://gnu/units/units-2.27.tar.gz ']'
+ _src_uri=mirror://gnu/units/units-2.27.tar.gz
+ _src_uri=mirror://gnu/units/units-2.27.tar.gz
+ _src_orig_pkgs+=' units-2.27.tar.gz'
+ for _src_uri in ${SRC_URI}
+ '[' -f /usr/src/units/mirror://gnu/units/units-2.27.tar.gz.sig ']'
+ _src_uri=mirror://gnu/units/units-2.27.tar.gz.sig
+ _src_uri=mirror://gnu/units/units-2.27.tar.gz.sig
+ _src_orig_pkgs+=' units-2.27.tar.gz.sig'
+ for _src_uri in ${SRC_URI}
+ '[' -f /usr/src/units/https://gnu.org/software/units/manual/units.html.gz#/units-2.27.html.gz ']'
+ _src_uri=units-2.27.html.gz
+ _src_uri=units-2.27.html.gz
+ _src_orig_pkgs+=' units-2.27.html.gz'
+ for _src_uri in ${SRC_URI}
+ '[' -f /usr/src/units/https://gnu.org/software/units/manual/units.html_node.tar.gz#/units-2.27.html_node.tar.gz ']'
+ _src_uri=units-2.27.html_node.tar.gz
+ _src_uri=units-2.27.html_node.tar.gz
+ _src_orig_pkgs+=' units-2.27.html_node.tar.gz'
+ readonly _src_orig_pkgs
+ unset _src_uri
+ readonly _src_orig_patches
+ unset _patch_uri
+ declare -r cygwin_patchfile=units-2.27-2.cygwin.patch
+ declare -r src_patchfile=units-2.27-2.src.patch
+ pkg_name=('units')
+ declare -ar pkg_name
+ declare -r pkg_count=1
+ '[' '!' -d /usr/src/units/units-2.27-2.x86_64 ']'
+ __probe_case_sensitivity
+ mkdir -p /usr/src/units/units-2.27-2.x86_64
+ rm -f /usr/src/units/units-2.27-2.x86_64/.probe_case_sensitivity
+ touch /usr/src/units/units-2.27-2.x86_64/.PROBE_CASE_SENSITIVITY
++ '[' -f /usr/src/units/units-2.27-2.x86_64/.probe_case_sensitivity ']'
++ echo 0
+ local probe=0
+ rm -f /usr/src/units/units-2.27-2.x86_64/.PROBE_CASE_SENSITIVITY
+ return 0
+ defined _CYGPORT_RESTRICT_debuginfo_
+ (( 1 != 1 ))
+ '[' -n '' ']'
+ return 1
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'CFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'CFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'CXXFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'CXXFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'FFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'FFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'FCFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'FCFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'GOFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'GOFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'OBJCFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'OBJCFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ for flags in {C,CXX,F,FC,GO,OBJC,OBJCXX}FLAGS
+ declare 'OBJCXXFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/build=/usr/src/debug/units-2.27-2'
+ declare 'OBJCXXFLAGS+= -ffile-prefix-map=/usr/src/units/units-2.27-2.x86_64/src/units-2.27=/usr/src/debug/units-2.27-2'
+ unset flags map
+ '[' '!' -e /usr/src/units/units-2.27-2.cygwin.patch ']'
+ '[' -f /usr/src/units/README ']'
+ '[' -f /usr/src/units/units.README ']'
+ CYGWIN_FILES=units.README
+ export GIT_CEILING_DIRECTORIES+=:
+ GIT_CEILING_DIRECTORIES+=:
+ declare -i arg_n=2
+ declare _pkg_tag=
+ (( arg_n < argc ))
+ case ${argv[${arg_n}]} in
+ __show_deps
+ pushd /usr/src/units/units-2.27-2.x86_64/inst
+ builtin pushd /usr/src/units/units-2.27-2.x86_64/inst
+ __list_deps usr var
+ local d f ext
+ local alldeps expldeps shdep girdep jar jpkg ladep luadep luapaths pcdep pctgt pidep
+ local mldep mldir mllib
+ local phpdep phpmoddir pldep pldirs plver
+ local pydep pydirs pyexts pyscr pysite pyver
+ local rbdep rbdirs rbver gemdir gemextdir gemspecdir
+ local tcldep tclpkgs vapidep vapidir
+ local tcgcclibdir tcgccsysroot
+ local dlltool=dlltool
+ local 'os_path=/home/BWI/bin:/mnt/c/Users/BWI/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/usr/i686-w64-mingw32/bin:/usr/x86_64-pc-cygwin/bin:/usr/x86_64-w64-mingw32/bin:/mnt/c/usr/local/bin:/mnt/c/usr/local/sbin:/mnt/c/usr/local/ast/bin:/mnt/c/$Recycle.Bin:/mnt/c/bin:/mnt/c/sbin:/mnt/c/Program Files (x86)/NTP/bin:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files/dotnet:/mnt/c/Program Files (x86)/BitKeeper:/mnt/c/Program Files/gs/gs9.56.0/bin:/mnt/c/Program Files/GnuPG/bin:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Users/BWI/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/GNU/units:/proc/cygdrive/c/Program Files/Vim/vim91'
+ local deps_prune
+ local objdump=objdump
+ (( 2 > 0 ))
+ __host_is_embedded
+ local ret=1
+ case ${CHOST} in
+ return 1
+ cross_compiling
+ sort -fu
++ test x86_64-pc-cygwin '!=' x86_64-pc-cygwin
+ return
+ pushd /usr/src/units/units-2.27-2.x86_64/inst
+ builtin pushd /usr/src/units/units-2.27-2.x86_64/inst
+ unset PATH
+ sed '/^units-[0-9].*$/d'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path usr/lib/python3.12/site-packages -prune'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path usr/lib/python3.12/site-packages/* -prune'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path usr/lib/python3.*/site-packages -prune'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path usr/lib/python3.*/site-packages/* -prune'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path */site-packages -prune'
+ for d in ${REQUIRES_EXCLUDE_FROM//:/ }
+ deps_prune+=' -o -path */site-packages/* -prune'
+ inherited toolchain
+ local class
+ local classname
+ for class in "$@"
+ classname=toolchain
+ defined _toolchain_CYGCLASS_
+ (( 1 != 1 ))
+ '[' -n '' ']'
+ return 1
+ return 1
++ __host_prefix
++ local prefix
++ __host_is_embedded
+ __pager
++ local ret=1
++ case ${CHOST} in
++ return 1
+ local pager
++ [[ x86_64-pc-cygwin =~ -mingw32 ]]
+ defined PAGER
+ (( 1 != 1 ))
++ inherited cross
+ '[' -n /usr/bin/less ']'
++ local class
+ return 0
++ local classname
+ pager=/usr/bin/less
++ for class in "$@"
+ '[' -t 1 ']'
+ cat
++ classname=cross
++ defined _cross_CYGCLASS_
++ (( 1 != 1 ))
++ '[' -n '' ']'
++ return 1
++ return 1
++ prefix=/usr
++ echo -n /usr
+ export 'PATH+=/usr/src/units/units-2.27-2.x86_64/inst/usr/bin:/home/BWI/bin:/mnt/c/Users/BWI/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/usr/i686-w64-mingw32/bin:/usr/x86_64-pc-cygwin/bin:/usr/x86_64-w64-mingw32/bin:/mnt/c/usr/local/bin:/mnt/c/usr/local/sbin:/mnt/c/usr/local/ast/bin:/mnt/c/$Recycle.Bin:/mnt/c/bin:/mnt/c/sbin:/mnt/c/Program Files (x86)/NTP/bin:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files/dotnet:/mnt/c/Program Files (x86)/BitKeeper:/mnt/c/Program Files/gs/gs9.56.0/bin:/mnt/c/Program Files/GnuPG/bin:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Users/BWI/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/GNU/units:/proc/cygdrive/c/Program Files/Vim/vim91'
+ PATH+='/usr/src/units/units-2.27-2.x86_64/inst/usr/bin:/home/BWI/bin:/mnt/c/Users/BWI/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/usr/i686-w64-mingw32/bin:/usr/x86_64-pc-cygwin/bin:/usr/x86_64-w64-mingw32/bin:/mnt/c/usr/local/bin:/mnt/c/usr/local/sbin:/mnt/c/usr/local/ast/bin:/mnt/c/$Recycle.Bin:/mnt/c/bin:/mnt/c/sbin:/mnt/c/Program Files (x86)/NTP/bin:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files/dotnet:/mnt/c/Program Files (x86)/BitKeeper:/mnt/c/Program Files/gs/gs9.56.0/bin:/mnt/c/Program Files/GnuPG/bin:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Users/BWI/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/GNU/units:/proc/cygdrive/c/Program Files/Vim/vim91'
+ check_prog /bin/cygpath
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v /bin/cygpath
+ return 0
++ /bin/cygpath -S
+ PATH+=:/mnt/c/Windows/System32
+ cross_compiling
++ test x86_64-pc-cygwin '!=' x86_64-pc-cygwin
+ return
+ '[' x86_64-pc-cygwin '!=' x86_64-pc-cygwin ']'
++ LC_ALL=C
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -type f -executable '(' -name '*.exe' -o -name '*.dll' -o -name '*.so' -o -name '*.oct' -o -name '*.mex' -o -name '*.cmxs' ')' -exec objdump -p '{}' +
++ grep 'DLL Name:'
++ sort -u
++ awk '{print $3}'
++ xargs -r which
+ alldeps+=' /mnt/c/WINDOWS/system32/KERNEL32.dll
/usr/bin/cygreadline8.dll
/usr/bin/cygwin1.dll'
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/lib/perl/*' -prune -o -path 'usr/lib/python[23].*' -prune -o -path 'usr/share/gems/*' -prune -o -path 'usr/share/help/*' -prune -o -type f -executable '!' -name '*.exe' '!' -name '*.dll' '!' -name '*.so' '!' -name '*.cmxs' '!' -name '*.oct' '!' -name '*.mex' -print
++ xargs -r sed -sne '1{/^#!/s|/env *|/|g;s|^#! *\([^ ]*\).*|\1|gp}'
++ sort -u
+ for shdep in $(find "${@//^_^/ }" -path 'usr/share/doc/*' -prune ${deps_prune} -o -path 'usr/lib/perl/*' -prune -o -path 'usr/lib/python[23].*' -prune -o -path 'usr/share/gems/*' -prune -o -path 'usr/share/help/*' -prune -o -type f -executable ! -name '*.exe' ! -name '*.dll' ! -name '*.so' ! -name '*.cmxs' ! -name '*.oct' ! -name '*.mex' -print | xargs -r sed -sne '1{/^#!/s|/env *|/|g;s|^#! *\([^ ]*\).*|\1|gp}' | sort -u)
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/bin/python3 ']'
+ '[' -f /usr/bin/python3 ']'
+ case ${shdep} in
+ expldeps+=' python3'
+ alldeps+=' /usr/bin/python3'
++ find usr var -type f -name '*.dll.a' -exec dlltool -I '{}' ';'
++ sort -u
++ xargs -r which
+ alldeps+=' '
++ find usr var -type f -name '*.la'
++ xargs -r sed -ne 's|^dependency_libs='\''\(.*\)'\''|\1|gp'
++ sed -e 's| -[LR][^ ]*||g;s| -l\([^ ]*\)| lib\1|g'
++ find usr var -type f -name '*.pc'
++ find usr var -type f -name '*.pc'
++ xargs -r grep -h '^Requires'
++ cut '-d ' -f2-
++ sed -e 's/,/ /g'
++ find usr var -type f -name '*.pc'
++ xargs -r grep -h '^Libs:'
++ sed -e 's|^[^ ]*||g;s| \+-[^l][^ ]*||g;s| *-l\([^ ]*\)| lib\1|g'
+ check_prog monodis
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v monodis
+ return 1
++ find usr var -path 'usr/share*/gir-1.0/*.gir'
++ xargs -r sed -n -e '/shared-library/s/,/ /g;s/.*shared-library="\([^"]*\).*/\1/gp'
++ xargs -r which
++ sort -u
+ alldeps+=' '
++ find usr var -path 'usr/share*/gir-1.0/*.gir'
++ xargs -r sed -n -e 's/.*<include *name="\([^"]*\)" *version="\([^"]*\)".*/\1-\2.gir/gp'
++ sort -u
+ vapidir=/usr/share/vala/vapi
+ '[' -d /usr/src/units/units-2.27-2.x86_64/inst/usr/share/vala/vapi ']'
++ find usr var -type f -name '*.jar'
++ wc -l
+ '[' 0 -gt 0 ']'
+ check_prog lua
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v lua
+ return 0
+ luapaths=($(lua -e 'print(package.path..";"..package.cpath)' | tr '\;' ' '))
++ lua -e 'print(package.path..";"..package.cpath)'
++ tr '\;' ' '
+ luapaths+=' '
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/share/help/*' -prune -o -name '*.lua' -print -o -type f '!' -name '*.*' -executable -exec sed -sne '1{/^#!.*lua/F}' '{}' +
++ xargs -r sed -ne 's|^[^#]*require[( ]*['\''"]\([^'\''"]*\)['\''"].*|\1|gp'
++ sort -u
+ check_prog ocamlc.opt
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v ocamlc.opt
+ return 0
++ ocamlc.opt -where
+ mldir=/usr/lib/ocaml
+ sys_mldir=/usr/lib/ocaml
+ '[' '!' -d /usr/lib/ocaml ']'
+ '[' -d /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/ocaml ']'
++ find usr var -type f -name '*.cmxa'
+ check_prog ocamlfind
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v ocamlfind
+ return 1
+ check_prog perl
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v perl
+ return 0
+ pldirs=($(perl -e 'my $inc=(exists $ENV{PERL_NO_VENDOR_DEPS}?"(vendor|site)":"(site)")."_perl";print join(" ",reverse grep !/$inc/,@INC)'))
++ perl -e 'my $inc=(exists $ENV{PERL_NO_VENDOR_DEPS}?"(vendor|site)":"(site)")."_perl";print join(" ",reverse grep !/$inc/,@INC)'
+ pldirs+=' '
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/share/help/*' -prune -o '(' -name '*.pl' -o -name '*.pm' ')' -print -o -type f '!' -name '*.*' -executable -exec sed -sne '1{/^#!.*perl.*/F}' '{}' +
++ xargs -r sed -ne 's/^[^#]*use \(base\|parent\) ['\''"]*\(qw( *\)*\([A-Z][^-)'\''";]*\).*/\3/gp;s/^[^#]*\(use\|require\) ['\''"]*\([A-Z][^ '\''";]*\).*/\2/gp'
++ sort -u
+ plver=($(find "${@//^_^/ }" -path "usr/*/perl5/vendor_perl/5.[0-9][0-9]/*" | sed -E 's!usr/.*/perl5/vendor_perl/5.([0-9][0-9])/.*!perl5_0\1!' | sort -ru))
++ find usr var -path 'usr/*/perl5/vendor_perl/5.[0-9][0-9]/*'
++ sed -E 's!usr/.*/perl5/vendor_perl/5.([0-9][0-9])/.*!perl5_0\1!'
++ sort -ru
+ '[' 0 -gt 1 ']'
+ '[' 0 -gt 0 ']'
+ check_prog php-config
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v php-config
+ return 0
++ php-config --extension-dir
+ phpmoddir=/usr/lib/php/20210902
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/share/help/*' -prune -o -name '*.php' -print -o -type f '!' -name '*.*' -executable -exec sed -sne '1{/^#!.*php*/F}' '{}' +
++ xargs -r sed -ne 's/^ *\(include\|require\)\(_once\)* '\''\([^'\''"]*\).*\;/\3/gp;s/.*loadExtension *( *[^$]\([^)'\''"]*\).*/\1.dll/gp'
++ sort -u
+ for pysite in ${D}/usr/lib/python[23].*/site-packages
+ '[' -d '/usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python[23].*/site-packages' ']'
+ continue
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/lib/pypy/*' -prune -o -path 'usr/lib/python3.*' -prune -o -path 'usr/lib/python[23].*' -prune -o -path 'usr/share/gdb/*' -prune -o -name '*-gdb.py' -prune -o -path 'usr/share/help/*' -prune -o -type f -executable -exec sed -sne '1{/^#!.*python/F}' '{}' +
+ for pyscr in $(find "${@//^_^/ }" -path 'usr/share/doc/*' -prune ${deps_prune} -o -path 'usr/lib/pypy/*' -prune -o -path 'usr/lib/python3.*' -prune -o -path 'usr/lib/python[23].*' -prune -o -path 'usr/share/gdb/*' -prune -o -name '*-gdb.py' -prune -o -path 'usr/share/help/*' -prune -o -type f -executable -exec sed -sne '1{/^#!.*python/F}' '{}' +)
+++ sed -sne '1{/^#!/s|/env *|/|g;s|^#! *\([^ ]*\).*|\1|gp}' usr/bin/units_cur
++ /usr/bin/python3 -c 'from distutils.sysconfig import get_python_version; print(get_python_version())'
+ pyver=3.12
+ case ${pyver} in
++ python3.12 -s -c 'import importlib.machinery; print(*importlib.machinery.all_suffixes())'
+ pyexts='.py .pyc .cpython-312-x86_64-cygwin.dll .abi3.dll .dll'
+ tkimp=
+ pydirs=($(python${pyver} -s -c 'import sys; print("\n".join(sys.path))' | grep 'site-packages'))
++ python3.12 -s -c 'import sys; print("\n".join(sys.path))'
++ grep site-packages
+ pydirs+=' '
++ grep -h '^[^#]*import ' usr/bin/units_cur
++ sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d'
++ sort -u
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/argparse/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/argparse/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/collections/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/collections/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/datetime/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/datetime/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/io/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/io/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/json/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/json/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/os/path/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/os/path/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/re/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/re/__init__.pyc ']'
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/requests/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/requests/__init__.py ']'
+ alldeps+=' /usr/lib/python3.12/site-packages/requests/__init__.py'
+ break 2
+ for pydep in $(grep -h '^[^#]*import ' $pyscr | sed -e 's/^from \([^ ]*\) import .*/\1/g;s/^import //g;s/ as [^ ]*//g;s/, */\n/g;s/ *#.*//g;/ /d' | sort -u)
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/src/units/units-2.27-2.x86_64/inst/usr/lib/python3.12/site-packages/sys/__init__.pyc ']'
+ for d in ${pydirs[*]/\//${D}/} ${pydirs[*]} ${tkimp%/*}
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys.pyc ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys.cpython-312-x86_64-cygwin.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys.abi3.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys.dll ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys/__init__.py ']'
+ for ext in ${pyexts} /__init__.py /__init__.pyc
+ '[' -f /usr/lib/python3.12/site-packages/sys/__init__.pyc ']'
+ '[' units '!=' ruby ']'
+ check_prog ruby
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v ruby
+ return 0
+ check_prog gem
+ local _prog
+ (( 1 < 1 ))
+ for _prog in "$@"
+ command -v gem
+ return 0
+ rbdirs=($(ruby -e 'print($:.join(" "))'))
++ ruby -e 'print($:.join(" "))'
+ rbdirs+=' '
++ ruby -e 'print Gem.default_dirs[:system][:gem_dir]'
+ gemdir=/usr/share/gems
++ ruby -e 'print Gem.default_dirs[:system][:ext_dir]'
+ gemextdir=/usr/lib/gems
+ gemspecdir=/usr/share/gems/specifications
+ '[' '!' -d /usr/src/units/units-2.27-2.x86_64/inst/usr/share/gems/specifications ']'
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/activesupport-5.0.7.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/activesupport-5.1.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/addressable-2.8.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/backports-3.24.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/builder-3.2.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/coffee-script-2.4.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/coffee-script-source-1.10.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/coffee-script-source-1.12.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/concurrent-ruby-1.0.5/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/concurrent-ruby-1.2.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/contracts-0.13.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/crass-1.0.4/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/did_you_mean-1.2.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/dotenv-2.8.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/erubi-1.7.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/erubis-2.7.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/execjs-2.5.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/execjs-2.8.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/fastimage-2.2.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/hamster-3.0.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/hashie-3.6.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/i18n-0.9.5/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/kramdown-1.17.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/liquid-5.3.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/listen-3.0.8/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/memoist-0.16.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/method_source-0.9.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/middleman-4.3.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/middleman-cli-4.3.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/middleman-core-4.3.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/mini_portile2-2.8.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/mini_portile2-2.8.9/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/minitest-5.10.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/minitest-5.18.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/nicinfo-1.5.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/padrino-helpers-0.13.3.4/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/padrino-support-0.13.3.4/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/parallel-1.22.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/public_suffix-5.0.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rack-2.0.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rack-2.2.6.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rack-test-0.8.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rails-deprecated_sanitizer-1.0.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rake-13.4.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rake-compiler-0.9.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rb-fsevent-0.11.2/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rb-inotify-0.10.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/rdoc-6.7.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/sass-3.5.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/sass-listen-4.0.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/servolux-0.13.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/temple-0.10.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/thor-0.20.3/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/thor-1.2.1/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/thread_safe-0.3.6/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/tilt-2.0.11/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/tilt-2.0.8/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/tzinfo-1.2.11/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/tzinfo-1.2.5/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/uglifier-3.1.13/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/uglifier-3.2.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/share/gems/gems/yajl-ruby-1.3.0/lib
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.3.0/yajl-ruby-1.3.0
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/fast_blank-1.0.1
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/ffi-1.15.5
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/haml-6.1.1
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/nokogiri-1.13.10
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/racc-1.6.2
+ for d in ${gemdir}/gems/*/lib ${gemextdir}/ruby/*/*
+ rbdirs[${#rbdirs[*]}]=/usr/lib/gems/ruby/2.6/sassc-2.4.0
++ find usr var -path 'usr/share/gems/specifications/*.gemspec' -print
++ xargs -r sed -ne 's|.*add_runtime_dependency(%q<\([^>]*\)>.*|/usr/share/gems/specifications/\1-[0-9]*.gemspec|gp'
+ alldeps+=' '
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/share/help/*' -prune -o -path 'usr/share/gems/*' -prune -o -name '*.rb' -print -o -type f '!' -name '*.*' -executable -exec sed -sne '1{/^#!.*ruby/F}' '{}' +
++ xargs -r sed -ne 's|^[^#]*require ['\''"]\([^'\''"]*\)['\''"].*|\1|gp'
++ sort -u
+ rbver=($(find "${@//^_^/ }" -path "usr/*/ruby/vendor_ruby/[0-9].[0-9]/*" | sed -E 's!usr/.*/ruby/vendor_ruby/([0-9]).([0-9])/.*!ruby_\1\2!' | sort -ru))
++ find usr var -path 'usr/*/ruby/vendor_ruby/[0-9].[0-9]/*'
++ sed -E 's!usr/.*/ruby/vendor_ruby/([0-9]).([0-9])/.*!ruby_\1\2!'
++ sort -ru
+ '[' 0 -gt 1 ']'
+ '[' 0 -gt 0 ']'
++ find usr var -path 'usr/share/doc/*' -prune -o -path usr/lib/python3.12/site-packages -prune -o -path 'usr/lib/python3.12/site-packages/*' -prune -o -path 'usr/lib/python3.*/site-packages' -prune -o -path 'usr/lib/python3.*/site-packages/*' -prune -o -path '*/site-packages' -prune -o -path '*/site-packages/*' -prune -o -path 'usr/share/help/*' -prune -o -type f -name '*.tcl' '!' -name pkgIndex.tcl -print -o -type f '!' -name '*.*' -executable -exec sed -sne '1{/^#!.*\(tcl\|wi\)sh*/F};1,5{/^[[:space:]]*exec[[:space:]]\+\(tcl\|wi\)sh*/F}' '{}' +
++ wc -l
+ '[' 0 -gt 0 ']'
++ find usr var -path 'etc/postinstall/*.sh' -o -path 'etc/preremove/*.sh'
++ xargs -r sed -ne 's|^\(/[^ ]*\).*|\1|gp'
++ sort -u
++ find usr var -type l
++ xargs -r readlink -f
+ alldeps+=' /var/lib/units/cpi.units
/var/lib/units/crypto.units
/var/lib/units/currency.units
/var/lib/units/metal_prices.units'
++ echo /mnt/c/WINDOWS/system32/KERNEL32.dll /usr/bin/cygreadline8.dll /usr/bin/cygwin1.dll /usr/bin/python3 /usr/lib/python3.12/site-packages/requests/__init__.py /var/lib/units/cpi.units /var/lib/units/crypto.units /var/lib/units/currency.units /var/lib/units/metal_prices.units
++ tr '\n' ' '
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ for dll in $(echo ${alldeps} | tr \\n ' ')
+ case "${dll##*/}" in
+ '[' cygwin = cygwin ']'
+ '[' -n ' python3' ']'
+ echo python3
+ sort -u
+ echo /mnt/c/WINDOWS/system32/KERNEL32.dll /usr/bin/cygreadline8.dll /usr/bin/cygwin1.dll /usr/bin/python3 /usr/lib/python3.12/site-packages/requests/__init__.py /var/lib/units/cpi.units /var/lib/units/crypto.units /var/lib/units/currency.units /var/lib/units/metal_prices.units
+ sort -u
+ xargs -r /bin/cygcheck -f
+ find /usr/src/units/units-2.27-2.x86_64/temp -maxdepth 1 -name '.*.lst'
+ sort -u
+ sed -e 's|/usr/src/units/units-2.27-2.x86_64/temp/\.\(.*\)\.lst|\1-2.27-2|'
++ echo /mnt/c/WINDOWS/system32/KERNEL32.dll /usr/bin/cygreadline8.dll /usr/bin/cygwin1.dll /usr/bin/python3 /usr/lib/python3.12/site-packages/requests/__init__.py /var/lib/units/cpi.units /var/lib/units/crypto.units /var/lib/units/currency.units /var/lib/units/metal_prices.units
++ sed -e 's|/usr/src/units/units-2.27-2.x86_64/inst/\([^ ]*\)|\1|g;s| /[^ ]*||g;s/\([^ ]*\)/-e ^\1$/g'
+ xargs -r grep -l -e '^/mnt/c/WINDOWS/system32/KERNEL32.dll$'
+ popd
+ builtin popd
+ PATH='/home/BWI/bin:/mnt/c/Users/BWI/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/usr/i686-w64-mingw32/bin:/usr/x86_64-pc-cygwin/bin:/usr/x86_64-w64-mingw32/bin:/mnt/c/usr/local/bin:/mnt/c/usr/local/sbin:/mnt/c/usr/local/ast/bin:/mnt/c/$Recycle.Bin:/mnt/c/bin:/mnt/c/sbin:/mnt/c/Program Files (x86)/NTP/bin:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files/dotnet:/mnt/c/Program Files (x86)/BitKeeper:/mnt/c/Program Files/gs/gs9.56.0/bin:/mnt/c/Program Files/GnuPG/bin:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Users/BWI/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/GNU/units:/proc/cygdrive/c/Program Files/Vim/vim91'
cygwin-3.6.10-1
libreadline8-8.3-1
python3
python312-requests-2.32.5-1-noarch
+ popd
+ builtin popd
+ _status=0
+ (( _status != 0 ))
+ arg_n+=1
+ (( arg_n < argc ))
+ exit 0
More information about the Cygwin-apps
mailing list