{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/4829","labels_url":"https://api.github.com/repos/scipy/scipy/issues/4829/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4829/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/4829/events","html_url":"https://github.com/scipy/scipy/issues/4829","id":74126133,"number":4829,"title":"Build issue with mingw32 for lapack f2pywrappers","user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/Build%20issues","name":"Build issues","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scipy/scipy/milestones/24","html_url":"https://github.com/scipy/scipy/milestones/0.16.0","labels_url":"https://api.github.com/repos/scipy/scipy/milestones/24/labels","id":792277,"number":24,"title":"0.16.0","description":"","creator":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":351,"state":"open","created_at":"2014-09-16T21:15:40Z","updated_at":"2015-05-08T17:03:19Z","due_on":"2015-05-30T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-05-07T20:59:07Z","updated_at":"2015-05-08T20:33:41Z","closed_at":null,"body":"It's that time of the year again:\r\n\r\n    g77.exe:f77: build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f: In subroutine `f2pywrapslange':\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:29: \r\n             real work(MAX(m,1))\r\n                       ^\r\n    Invalid declaration of or reference to symbol `max' at (^) [initially seen at (^)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:22: \r\n            &a, work)\r\n                1\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:31: (continued):\r\n             slangef2pywrap = wslange(norm, m, n, a, lda, work)\r\n             2\r\n    Invalid declaration of or reference to symbol `work' at (2) [initially seen at (1)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f: In subroutine `f2pywrapdlange':\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:43: \r\n             double precision work(MAX(m,1))\r\n                                   ^\r\n    Invalid declaration of or reference to symbol `max' at (^) [initially seen at (^)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:36: \r\n            &a, work)\r\n                1\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:45: (continued):\r\n             dlangef2pywrap = dlange(norm, m, n, a, lda, work)\r\n             2\r\n    Invalid declaration of or reference to symbol `work' at (2) [initially seen at (1)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f: In subroutine `f2pywrapclange':\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:57: \r\n             real work(MAX(m,1))\r\n                       ^\r\n    Invalid declaration of or reference to symbol `max' at (^) [initially seen at (^)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:50: \r\n            &a, work)\r\n                1\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:59: (continued):\r\n             clangef2pywrap = wclange(norm, m, n, a, lda, work)\r\n             2\r\n    Invalid declaration of or reference to symbol `work' at (2) [initially seen at (1)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f: In subroutine `f2pywrapzlange':\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:71: \r\n             double precision work(MAX(m,1))\r\n                                   ^\r\n    Invalid declaration of or reference to symbol `max' at (^) [initially seen at (^)]\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:64: \r\n            &a, work)\r\n                1\r\n    build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f:73: (continued):\r\n             zlangef2pywrap = zlange(norm, m, n, a, lda, work)\r\n             2\r\n    Invalid declaration of or reference to symbol `work' at (2) [initially seen at (1)]\r\n    error: Command \"C:\\MinGW\\bin\\g77.exe -g -Wall -fno-second-underscore -mno-cygwin -O3 -funroll-loops -DNO_ATLAS_INFO=1 -Ibuild\\src.win32-2.7 -IC:\\Python27\\lib\\site-packages\\numpy\\core\\include -IC:\\Python27\\include -IC:\\Python27\\PC -c -c build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.f -o build\\temp.win32-2.7\\Release\\build\\src.win32-2.7\\build\\src.win32-2.7\\scipy\\linalg\\_flapack-f2pywrappers.o\" failed with exit status 1\r\n\r\n\r\n    Captured Task Output:\r\n    ---------------------\r\n\r\n    ---> pavement.bdist_wininst_simple\r\n    ---> pavement.clean\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/lib/python2.7/dist-packages/paver/tasks.py\", line 195, in _run_task\r\n        return do_task()\r\n      File \"/usr/local/lib/python2.7/dist-packages/paver/tasks.py\", line 192, in do_task\r\n        return func(**kw)\r\n      File \"pavement.py\", line 446, in bdist_wininst_simple\r\n        _bdist_wininst(options.bdist_wininst_simple.python_version, env)\r\n      File \"pavement.py\", line 460, in _bdist_wininst\r\n        subprocess.check_call(cmd, env=cfg_env)\r\n      File \"/usr/lib/python2.7/subprocess.py\", line 511, in check_call\r\n        raise CalledProcessError(retcode, cmd)\r\n    CalledProcessError: Command '['/home/vagrant/.wine/drive_c/Python27/python.exe', 'setup.py', 'build', '-c', 'mingw32', 'bdist_wininst']' returned non-zero exit status 1\r\n\r\nWill look at this more tomorrow; if someone more versed in Fortran 77 build issues with g77 wants to fix this or point out what the right way to fix it should be, that would be much appreciated."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/100354752","html_url":"https://github.com/scipy/scipy/issues/4829#issuecomment-100354752","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4829","id":100354752,"user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T20:33:41Z","updated_at":"2015-05-08T20:33:41Z","body":"I did a build of ATLAS 3.10.1 for SSE2 on 32 and 64 bit here:\r\n\r\nhttp://nipy.bic.berkeley.edu/scipy_installers/atlas_builds/\r\n\r\nI see that we are now down to less than 1 percent of Windows machines without SSE2 for Firefox crash reports:\r\n\r\n```\r\n$ python analyze_crashes.py 20150507-pub-crashdata.csv.gz \r\n20150507-pub-crashdata.csv.gz: 0.81\r\n```\r\n\r\nSee: https://gist.github.com/matthew-brett/9cb5274f7451a3eb8fc0\r\n\r\nI wonder if we can get away with just the SSE2 build now?"}}