*** sgw has quit IRC | 00:50 | |
*** sgw has joined #starlingx | 04:09 | |
*** OutBackDingo has quit IRC | 05:16 | |
*** changcheng has quit IRC | 05:43 | |
*** changcheng has joined #starlingx | 05:47 | |
*** OutBackDingo has joined #starlingx | 05:56 | |
*** changcheng has quit IRC | 07:30 | |
*** changcheng has joined #starlingx | 07:34 | |
*** OutBackDingo has quit IRC | 07:50 | |
*** OutBackDingo has joined #starlingx | 08:09 | |
*** OutBackDingo has quit IRC | 08:12 | |
*** sgw has quit IRC | 08:39 | |
*** zhubx has quit IRC | 10:06 | |
*** zhubx has joined #starlingx | 10:07 | |
*** zhubx has quit IRC | 10:08 | |
*** zhubx has joined #starlingx | 10:08 | |
*** zhubx has quit IRC | 10:09 | |
*** zhubx has joined #starlingx | 10:10 | |
*** oponcea has joined #starlingx | 11:16 | |
*** ijolliffe has joined #starlingx | 12:41 | |
*** zhubx has quit IRC | 13:46 | |
*** zhubx has joined #starlingx | 13:46 | |
*** ericbarrett has joined #starlingx | 13:49 | |
*** Samiam1999 has quit IRC | 14:28 | |
*** Samiam1999 has joined #starlingx | 15:11 | |
*** Samiam1999 has quit IRC | 15:14 | |
*** sgw has joined #starlingx | 15:37 | |
*** Samiam1999 has joined #starlingx | 15:45 | |
*** lcastell has joined #starlingx | 16:06 | |
*** lcastell has quit IRC | 16:08 | |
*** jsun3 has joined #starlingx | 17:03 | |
sgw | Morning all | 19:35 |
---|---|---|
dpenney | :) | 19:36 |
sgw | Is anyone seeing a "NameError: global name 'FileNotFoundError' is not defined" doing a build? I am using the Ubuntu Docker container | 19:36 |
sgw | It does not seem to be blocking the build | 19:37 |
dpenney | I haven't seen it, but I'm building on a centos host | 19:38 |
dpenney | this is during build-pkgs? | 19:38 |
*** jsun3 has quit IRC | 19:45 | |
*** ericbarrett has quit IRC | 19:45 | |
*** jsun3 has joined #starlingx | 19:45 | |
*** jsun3 has quit IRC | 19:48 | |
mthebeau | exception FileNotFoundError is not available in python 2.7; | 19:50 |
sgw | dpenney: yes, during build-pkgs | 19:53 |
sgw | mthebeau: so this is a python3'ism, so the build tools are now supposed to use python3 by default? | 19:54 |
mthebeau | sgw, I don't know yet. But, that's a theory I think is reasonable. I do not find FileNotFoundError in the build-tools directly. I'm not sure where it comes from. | 19:55 |
dpenney | there's not a lot of python code in the build tools, so I'm definitely curious where it's coming from | 19:55 |
mthebeau | git/kubernetes/vendor/github.com/spf13/viper/viper.go | 19:56 |
mthebeau | git/python-glanceclient/glanceclient/common/https.py | 19:56 |
sgw | dpenney: I think it's coming from mock | 19:57 |
sgw | 19:55:41 File "/usr/lib/python2.7/site-packages/mockbuild/package_manager.py", line 162, in builddep | 19:58 |
sgw | 19:55:41 except (FileNotFoundError) as error: | 19:58 |
sgw | 19:55:41 NameError: global name 'FileNotFoundError' is not defined | 19:58 |
sgw | that's the tail end of the exception, there is more | 19:58 |
dpenney | what version of mock are you running with? | 20:00 |
mthebeau | https://bugzilla.redhat.com/show_bug.cgi?id=1686107 | 20:00 |
openstack | bugzilla.redhat.com bug 1686107 in mock "Dirty exception when failing dependencies of a build" [Unspecified,New] - Assigned to msuchy | 20:00 |
dpenney | my build server has 1.3.4 | 20:00 |
mthebeau | new March 6 | 20:01 |
*** ijolliffe has quit IRC | 20:02 | |
sgw | dpenney: looks like 1.3.4 also here, strange that you don't see it unless your python is 3.x by default | 20:03 |
sgw | mthebeau: thanks | 20:03 |
dpenney | I don't see that in the code | 20:03 |
dpenney | line 162: raise Exception("""Command {0} is not available. Either install package containing this command | 20:04 |
dpenney | No FileNotFoundError anywhere under /usr/lib/python2.7/site-packages/mockbuild | 20:05 |
sgw | dpenney: maybe centos patched it already? | 20:05 |
dpenney | looks like that FileNotFound was added in 1.4.14-1: https://github.com/rpm-software-management/mock/commit/eb6da09ea370cf6c96003922191c09735cdb6e22 | 20:07 |
mthebeau | rpm -qp --requires mock-1.4.14-1.fc29.noarch.rpm | 20:12 |
mthebeau | python3 <snip> | 20:12 |
mthebeau | my build host has mock mock-1.4.14-2.el7.noarch (?) requiring python >= 2.7 | 20:14 |
*** kbujold has quit IRC | 20:15 | |
mthebeau | lol# $ grep FileNotFound /usr/lib/python2.7/site-packages/mockbuild/package_manager.py | 20:23 |
mthebeau | except (FileNotFoundError) as error: | 20:23 |
sgw | Well that's weird, the build reports Mock Version 1.3.4, but when I run mock --version I get 1.4.14! | 20:26 |
sgw | 20:25:01 INFO: Mock Version: 1.3.4 | 20:26 |
dpenney | handy :) | 20:27 |
*** ijolliffe has joined #starlingx | 23:47 | |
*** OutBackDingo has joined #starlingx | 23:51 | |
*** OutBackDingo has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!