Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 15:41:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222666] sysutils/py3-iocage(base port) misc/py3-tdqm(sub port) ports compile failure
Message-ID:  <bug-222666-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222666
           Summary: sysutils/py3-iocage(base port) misc/py3-tdqm(sub port)
                    ports compile failure
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: araujo@FreeBSD.org
          Reporter: dizziepirh8@gmail.com
             Flags: maintainer-feedback?(araujo@FreeBSD.org)
          Assignee: araujo@FreeBSD.org

Installing sysutils/py3-iocage from ports yields the following python stack
trace error on invocation of `iocage fetch`:

# iocage fetch
***************************************************************************=
*****
fdescfs(5) is not mounted, performance  may suffer. Please run:
mount -t fdescfs fdesc /dev/fd
You can also permanently mount it in /etc/fstab with the following entry:
fdesc /dev/fd  fdescfs  rw  0  0
***************************************************************************=
*****

[0] 9.3-RELEASE (EOL)
[1] 10.1-RELEASE (EOL)
[2] 10.2-RELEASE (EOL)
[3] 10.3-RELEASE
[4] 11.0-RELEASE
[5] 11.1-RELEASE

Type the number of the desired RELEASE
Press [Enter] to fetch the default selection: (11.1)
Type EXIT to quit: 5
Fetching: 11.1-RELEASE

Traceback (most recent call last):
  File "/usr/local/bin/iocage", line 10, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in
__call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in
main
    rv =3D self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in
invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in
invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in
invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/iocage/cli/fetch.py", line 9=
5,
in cli
    ioc.IOCage().fetch(**kwargs)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line =
754,
in fetch
    ioc_fetch.IOCFetch(release, **kwargs).fetch_release()
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", li=
ne
264, in fetch_release
    self.fetch_ftp_release(eol, _list=3D_list)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", li=
ne
474, in fetch_ftp_release
    self.fetch_download(ftp_list, ftp=3DTrue)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_fetch.py", li=
ne
701, in fetch_download
    unit_scale=3D"mega")
  File "/usr/local/lib/python3.6/site-packages/tqdm/_tqdm.py", line 867, in
__init__
    self.postfix, unit_divisor))
  File "/usr/local/lib/python3.6/site-packages/tqdm/_tqdm.py", line 339, in
format_meter
    frac =3D n / total
TypeError: unsupported operand type(s) for /: 'str' and 'str

Tested on desktop, OVH VPS, and fresh install on a Vultr VPS. All FreeBSD
version 11.1-RELEASE-p1-amd64.

Steps to replicate:
iocage activate zroot
iocage fetch

I realize this might not be the best place to file this PR, however I'm
starting here first.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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