{"action":"created","issue":{"url":"https://api.github.com/repos/ascherer/debbuild/issues/42","repository_url":"https://api.github.com/repos/ascherer/debbuild","labels_url":"https://api.github.com/repos/ascherer/debbuild/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ascherer/debbuild/issues/42/comments","events_url":"https://api.github.com/repos/ascherer/debbuild/issues/42/events","html_url":"https://github.com/ascherer/debbuild/issues/42","id":161259662,"number":42,"title":"Unescaped left brace in regex","user":{"login":"glensc","id":199095,"avatar_url":"https://avatars.githubusercontent.com/u/199095?v=3","gravatar_id":"","url":"https://api.github.com/users/glensc","html_url":"https://github.com/glensc","followers_url":"https://api.github.com/users/glensc/followers","following_url":"https://api.github.com/users/glensc/following{/other_user}","gists_url":"https://api.github.com/users/glensc/gists{/gist_id}","starred_url":"https://api.github.com/users/glensc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glensc/subscriptions","organizations_url":"https://api.github.com/users/glensc/orgs","repos_url":"https://api.github.com/users/glensc/repos","events_url":"https://api.github.com/users/glensc/events{/privacy}","received_events_url":"https://api.github.com/users/glensc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ascherer/debbuild/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ascherer/debbuild/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-20T18:17:11Z","updated_at":"2016-06-21T16:50:59Z","closed_at":null,"body":"```\r\n[~/rpm/packages/debbuild(16.6.0) (master)⚡] ➔ debbuild -bb *.spec\r\nUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%\\{u2p:%{ <-- HERE tmpdir}/debbuild-16.6.0-root-glen}/ at /usr/bin/debbuild line 1734.\r\nCalling %prep script /var/tmp/deb-tmp.prep.99627...\r\n```\r\n\r\nmight be from one of:\r\n```\r\n➔ grep -r u2p /usr/lib/rpm\r\n/usr/lib/rpm/macros.rpmbuild:  RPM_SOURCE_DIR=\\\"%{u2p:%{_sourcedir}}\\\"\\\r\n/usr/lib/rpm/macros.rpmbuild:  RPM_BUILD_DIR=\\\"%{u2p:%{_builddir}}\\\"\\\r\n/usr/lib/rpm/macros.rpmbuild:  %{?buildroot:RPM_BUILD_ROOT=\\\"%{u2p:%{buildroot}}\\\"\\\r\n/usr/lib/rpm/macros.rpmbuild:  cd \"%{u2p:%{_builddir}}\"\\\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ascherer/debbuild/issues/comments/227501330","html_url":"https://github.com/ascherer/debbuild/issues/42#issuecomment-227501330","issue_url":"https://api.github.com/repos/ascherer/debbuild/issues/42","id":227501330,"user":{"login":"glensc","id":199095,"avatar_url":"https://avatars.githubusercontent.com/u/199095?v=3","gravatar_id":"","url":"https://api.github.com/users/glensc","html_url":"https://github.com/glensc","followers_url":"https://api.github.com/users/glensc/followers","following_url":"https://api.github.com/users/glensc/following{/other_user}","gists_url":"https://api.github.com/users/glensc/gists{/gist_id}","starred_url":"https://api.github.com/users/glensc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glensc/subscriptions","organizations_url":"https://api.github.com/users/glensc/orgs","repos_url":"https://api.github.com/users/glensc/repos","events_url":"https://api.github.com/users/glensc/events{/privacy}","received_events_url":"https://api.github.com/users/glensc/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T16:50:59Z","updated_at":"2016-06-21T16:50:59Z","body":"i added `warn` before the link which causes warning:\r\n\r\n```\r\n➔ ./debbuild/debbuild -bb *.spec\r\ns/%{u2p:/home/users/glen/debbuild/SOURCES}//home/users/glen/debbuild/SOURCES/g at ./debbuild/debbuild line 1734.\r\ns/%{u2p:/home/users/glen/debbuild/BUILD}//home/users/glen/debbuild/BUILD/g at ./debbuild/debbuild line 1734.\r\ns/%{u2p:%{tmpdir}/debbuild-16.6.0-root-glen}/%{tmpdir}/debbuild-16.6.0-root-glen/g at ./debbuild/debbuild line 1734.\r\nUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%\\{u2p:%{ <-- HERE tmpdir}/debbuild-16.6.0-root-glen}/ at ./debbuild/debbuild line 1735.\r\nCalling %prep script /var/tmp/deb-tmp.prep.19457...\r\n```\r\n\r\nthe perl warning comes from this line:\r\n```perl\r\ns/%{u2p:%{tmpdir}/debbuild-16.6.0-root-glen}/%{tmpdir}/debbuild-16.6.0-root-glen/g\r\n```\r\n\r\ncan be seen with plain Perl as well:\r\n\r\n\r\n```\r\n➔ perl -e 's/%{u2p:%{tmpdir}/debbuild-16.6.0-root-glen}/%{tmpdir}/debbuild-16.6.0-root-glen/g'\r\nUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE u2p:%{tmpdir}/ at -e line 1.\r\nUnescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{u2p:%{ <-- HERE tmpdir}/ at -e line 1.\r\nIllegal division by zero at -e line 1.\r\n[~/rpm/packages/debbuild(16.6.0) (master)⚡] ➔ perl --version\r\n\r\nThis is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-pld-linux-thread-multi\r\n```"}}
{"actor":{"display_login":"glensc"}}