{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/7979","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/7979/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/7979/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/7979/events","html_url":"https://github.com/scipy/scipy/issues/7979","id":263086429,"number":7979,"title":"scipy 1.0.0rc1 doesn't build under fink build system as fink-bld user","user":{"login":"jwhowarth","id":3018986,"avatar_url":"https://avatars2.githubusercontent.com/u/3018986?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhowarth","html_url":"https://github.com/jwhowarth","followers_url":"https://api.github.com/users/jwhowarth/followers","following_url":"https://api.github.com/users/jwhowarth/following{/other_user}","gists_url":"https://api.github.com/users/jwhowarth/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhowarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhowarth/subscriptions","organizations_url":"https://api.github.com/users/jwhowarth/orgs","repos_url":"https://api.github.com/users/jwhowarth/repos","events_url":"https://api.github.com/users/jwhowarth/events{/privacy}","received_events_url":"https://api.github.com/users/jwhowarth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-05T11:12:13Z","updated_at":"2017-10-05T11:18:48Z","closed_at":null,"author_association":"NONE","body":"The scipy-1.0.0rc1 release fails to build under the fink packaging system as the fink-bld user...\r\n\r\n```\r\ncreating build/src.macosx-10.13-x86_64-3.6/scipy/_lib\r\ncustomize Gnu95FCompiler\r\nFound executable /sw/lib/gcc6/bin/gfortran\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 418, in <module>\r\n    setup_package()\r\n  File \"setup.py\", line 414, in setup_package\r\n    setup(**metadata)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/core.py\", line 169, in setup\r\n    return old_setup(**new_attr)\r\n  File \"/sw/lib/python3.6/distutils/core.py\", line 148, in setup\r\n    dist.run_commands()\r\n  File \"/sw/lib/python3.6/distutils/dist.py\", line 955, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/sw/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n    cmd_obj.run()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/build.py\", line 47, in run\r\n    old_build.run(self)\r\n  File \"/sw/lib/python3.6/distutils/command/build.py\", line 135, in run\r\n    self.run_command(cmd_name)\r\n  File \"/sw/lib/python3.6/distutils/cmd.py\", line 313, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/sw/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n    cmd_obj.run()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/build_src.py\", line 148, in run\r\n    self.build_sources()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/build_src.py\", line 165, in build_sources\r\n    self.build_extension_sources(ext)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/build_src.py\", line 324, in build_extension_sources\r\n    sources = self.generate_sources(sources, ext)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/build_src.py\", line 377, in generate_sources\r\n    source = func(extension, build_dir)\r\n  File \"scipy/_lib/setup.py\", line 32, in get_messagestream_config\r\n    if config_cmd.check_func('open_memstream', decl=True, call=True):\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/config.py\", line 312, in check_func\r\n    self._check_compiler()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/command/config.py\", line 83, in _check_compiler\r\n    self.fcompiler.customize(self.distribution)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/__init__.py\", line 502, in customize\r\n    get_flags('opt', oflags)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/__init__.py\", line 493, in get_flags\r\n    flags.extend(getattr(self.flag_vars, tag))\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/environment.py\", line 39, in __getattr__\r\n    return self._get_var(name, conf_desc)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/environment.py\", line 53, in _get_var\r\n    var = self._hook_handler(name, hook)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/__init__.py\", line 700, in _environment_hook\r\n    return hook()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/gnu.py\", line 364, in get_flags_opt\r\n    return GnuFCompiler.get_flags_opt(self)\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/gnu.py\", line 212, in get_flags_opt\r\n    v = self.get_version()\r\n  File \"/sw/lib/python3.6/site-packages/numpy/distutils/fcompiler/__init__.py\", line 434, in get_version\r\n    raise CompilerNotFound()\r\nnumpy.distutils.fcompiler.CompilerNotFound\r\n### execution of /tmp/fink.i4sZ8 failed, exit code 1\r\n### execution of /tmp/fink.n22cf failed, exit code 1\r\n```\r\n\r\n### Reproducing code example:\r\n```\r\nThe current fink scipy-py.info packaging file can be used to reproduce the issue with the change...\r\n\r\nIndex: scipy-py.info\r\n===================================================================\r\nRCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/scipy-py.info,v\r\nretrieving revision 1.12\r\ndiff -u -r1.12 scipy-py.info\r\n--- scipy-py.info\t23 Jun 2017 20:34:52 -0000\t1.12\r\n+++ scipy-py.info\t5 Oct 2017 11:10:00 -0000\r\n@@ -1,9 +1,10 @@\r\n Info2: <<\r\n Package: scipy-py%type_pkg[python]\r\n-Version: 0.19.1\r\n+Version: 1.0.0rc1\r\n Epoch: 1\r\n Revision: 1\r\n Maintainer: None <fink-devel@lists.sourceforge.net>\r\n+BuildAsNobody: true\r\n Type: python (2.7 3.4 3.5 3.6), gcc (6)\r\n Depends: <<\r\n \tcython-py%type_pkg[python],\r\n@@ -23,7 +24,7 @@\r\n <<\r\n #Source: mirror:sourceforge:scipy/scipy-%v.tar.gz\r\n Source: http://github.com/scipy/scipy/releases/download/v%v/scipy-%v.tar.xz\r\n-Source-MD5: cad6bac0638b176f72c00fe81ed54d19\r\n+Source-MD5: ed1da4d65cc16706665aa5f8fdc97b1b\r\n PatchScript: <<\r\n #!/bin/bash -ev\r\n   cat <<EOF > site.cfg\r\n@@ -81,7 +82,7 @@\r\n  fi\r\n <<\r\n InfoTest: <<\r\n-TestDepends: nose-py%type_pkg[python]\r\n+TestDepends: nose-py%type_pkg[python], pytest-py%type_pkg[python]\r\n TestScript: touch %b/INSTALL_MAKE_CHECK\r\n <<\r\n DocFiles: INSTALL.rst.txt LICENSE.txt\r\n```\r\n\r\n### Error message:\r\n```\r\nnumpy.distutils.fcompiler.CompilerNotFound\r\n```\r\n\r\n### Scipy/Numpy/Python version information:\r\n```\r\nscipy 1.0.0rc1, numpy 1.13.3 and python 3.6.2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/334435585","html_url":"https://github.com/scipy/scipy/issues/7979#issuecomment-334435585","issue_url":"https://api.github.com/repos/scipy/scipy/issues/7979","id":334435585,"user":{"login":"jwhowarth","id":3018986,"avatar_url":"https://avatars2.githubusercontent.com/u/3018986?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhowarth","html_url":"https://github.com/jwhowarth","followers_url":"https://api.github.com/users/jwhowarth/followers","following_url":"https://api.github.com/users/jwhowarth/following{/other_user}","gists_url":"https://api.github.com/users/jwhowarth/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhowarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhowarth/subscriptions","organizations_url":"https://api.github.com/users/jwhowarth/orgs","repos_url":"https://api.github.com/users/jwhowarth/repos","events_url":"https://api.github.com/users/jwhowarth/events{/privacy}","received_events_url":"https://api.github.com/users/jwhowarth/received_events","type":"User","site_admin":false},"created_at":"2017-10-05T11:18:48Z","updated_at":"2017-10-05T11:18:48Z","author_association":"NONE","body":"It appears the problem its that the build is attempted to write the  _configtest.c file into a directory that the fink-bld user doesn't have write permission for but I have been unable to get python to spew the details of where exactly the source and compiled files during the configuration tests are being placed."}}
{"actor":{"display_login":"jwhowarth"}}