{"action":"opened","issue":{"url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/492","repository_url":"https://api.github.com/repos/Alexpux/MSYS2-packages","labels_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/492/comments","events_url":"https://api.github.com/repos/Alexpux/MSYS2-packages/issues/492/events","html_url":"https://github.com/Alexpux/MSYS2-packages/issues/492","id":139306242,"number":492,"title":"perl: patch perl-5.22.0-msys2.patch breaks ExtUtils::CBuilder module","user":{"login":"mabreedlove","id":2964510,"avatar_url":"https://avatars.githubusercontent.com/u/2964510?v=3","gravatar_id":"","url":"https://api.github.com/users/mabreedlove","html_url":"https://github.com/mabreedlove","followers_url":"https://api.github.com/users/mabreedlove/followers","following_url":"https://api.github.com/users/mabreedlove/following{/other_user}","gists_url":"https://api.github.com/users/mabreedlove/gists{/gist_id}","starred_url":"https://api.github.com/users/mabreedlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabreedlove/subscriptions","organizations_url":"https://api.github.com/users/mabreedlove/orgs","repos_url":"https://api.github.com/users/mabreedlove/repos","events_url":"https://api.github.com/users/mabreedlove/events{/privacy}","received_events_url":"https://api.github.com/users/mabreedlove/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-08T15:30:48Z","updated_at":"2016-03-08T15:30:48Z","closed_at":null,"body":"The patch (perl-5.22.0-msys2.patch) introduces the \"msys\" configuration type into the build.  Consequently, trying to build modules which rely on CBuilder functioning properly will fail as a check is performed to find its build environment file which resolves to /usr/share/perl5/core_perl/ExtUtils/CBuilder/Platform/msys.pm\r\n\r\nThis file naturally does not exist.  As a workaround, I have been making a copy of the cygwin.pm file and altering the lines:\r\n\r\n```\r\npackage ExtUtils::CBuilder::Platform::cygwin;\r\n$ExtUtils::CBuilder::Platform::cygwin::VERSION = '0.280221';\r\n```\r\n\r\nTo:\r\n\r\n```\r\npackage ExtUtils::CBuilder::Platform::msys;\r\n$ExtUtils::CBuilder::Platform::msys::VERSION = '0.280221';\r\n```\r\n\r\nWhich has not shown any issues.  It would be easy to handle this on packaging, but I'm open to other suggestions."}}