{"action":"opened","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/1945","labels_url":"https://api.github.com/repos/openwrt/packages/issues/1945/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/1945/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/1945/events","html_url":"https://github.com/openwrt/packages/issues/1945","id":116350461,"number":1945,"title":"python-psycopg2 build (install) error - probably latest changes/upgrade python-setuptools","user":{"login":"build000","id":8260154,"avatar_url":"https://avatars.githubusercontent.com/u/8260154?v=3","gravatar_id":"","url":"https://api.github.com/users/build000","html_url":"https://github.com/build000","followers_url":"https://api.github.com/users/build000/followers","following_url":"https://api.github.com/users/build000/following{/other_user}","gists_url":"https://api.github.com/users/build000/gists{/gist_id}","starred_url":"https://api.github.com/users/build000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/build000/subscriptions","organizations_url":"https://api.github.com/users/build000/orgs","repos_url":"https://api.github.com/users/build000/repos","events_url":"https://api.github.com/users/build000/events{/privacy}","received_events_url":"https://api.github.com/users/build000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T14:56:30Z","updated_at":"2015-11-11T14:56:30Z","closed_at":null,"body":"make[3]: Entering directory '/home/openwrt/trunk/feeds/packages/lang/python-psycopg2'\r\ninstall -d -m0755 /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\r\n(\texport PYTHONPATH=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib/python2.7:/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11//usr/lib/python2.7/site-packages:/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\"; export PYTHONOPTIMIZE=\"\"; export PYTHONDONTWRITEBYTECODE=1; export _python_sysroot=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11\"; export _python_prefix=\"/usr\"; export _python_exec_prefix=\"/usr\";  cd /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/.; CC=\"mips-openwrt-linux-musl-gcc\" CCSHARED=\"mips-openwrt-linux-musl-gcc -fpic\" CXX=\"mips-openwrt-linux-musl-g++\" LD=\"mips-openwrt-linux-musl-gcc\" LDSHARED=\"mips-openwrt-linux-musl-gcc -shared\" CFLAGS=\"-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16 -mno-interlink-mips16\" CPPFLAGS=\"-I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include/fortify -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include/python2.7\" LDFLAGS=\"-L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/lib -znow -zrelro -lpython2.7\" _PYTHON_HOST_PLATFORM=linux2 __PYVENV_LAUNCHER__=\"/usr/bin/python2.7\"   /home/openwrt/trunk/staging_dir/host/bin/python2  ./setup.py build_py ; )\r\nrunning build_py\r\nwarning: build_py: byte-compiling is disabled, skipping.\r\n\r\nfind /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install -name \"*\\.pyc\" -o -name \"*\\.pyo\" | xargs rm -f\r\ninstall -d -m0755 /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\r\n(\texport PYTHONPATH=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib/python2.7:/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11//usr/lib/python2.7/site-packages:/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\"; export PYTHONOPTIMIZE=\"\"; export PYTHONDONTWRITEBYTECODE=1; export _python_sysroot=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11\"; export _python_prefix=\"/usr\"; export _python_exec_prefix=\"/usr\";  cd /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/; CC=\"mips-openwrt-linux-musl-gcc\" CCSHARED=\"mips-openwrt-linux-musl-gcc -fpic\" CXX=\"mips-openwrt-linux-musl-g++\" LD=\"mips-openwrt-linux-musl-gcc\" LDSHARED=\"mips-openwrt-linux-musl-gcc -shared\" CFLAGS=\"-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16 -mno-interlink-mips16\" CPPFLAGS=\"-I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include/fortify -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include/python2.7\" LDFLAGS=\"-L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/lib -znow -zrelro -lpython2.7\" _PYTHON_HOST_PLATFORM=linux2 __PYVENV_LAUNCHER__=\"/usr/bin/python2.7\"   /home/openwrt/trunk/staging_dir/host/bin/python2  ./setup.py build_ext --pg-config=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/bin/pg_config\" ; )\r\nrunning build_ext\r\nfind /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install -name \"*\\.pyc\" -o -name \"*\\.pyo\" | xargs rm -f\r\ninstall -d -m0755 /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\r\n(\texport PYTHONPATH=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib/python2.7:/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11//usr/lib/python2.7/site-packages:/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install//usr/lib/python2.7/site-packages\"; export PYTHONOPTIMIZE=\"\"; export PYTHONDONTWRITEBYTECODE=1; export _python_sysroot=\"/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11\"; export _python_prefix=\"/usr\"; export _python_exec_prefix=\"/usr\";  cd /home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/.; CC=\"mips-openwrt-linux-musl-gcc\" CCSHARED=\"mips-openwrt-linux-musl-gcc -fpic\" CXX=\"mips-openwrt-linux-musl-g++\" LD=\"mips-openwrt-linux-musl-gcc\" LDSHARED=\"mips-openwrt-linux-musl-gcc -shared\" CFLAGS=\"-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16 -mno-interlink-mips16\" CPPFLAGS=\"-I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/include -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include/fortify -I/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/include -I/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/include/python2.7\" LDFLAGS=\"-L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/lib -znow -zrelro -lpython2.7\" _PYTHON_HOST_PLATFORM=linux2 __PYVENV_LAUNCHER__=\"/usr/bin/python2.7\"   /home/openwrt/trunk/staging_dir/host/bin/python2  ./setup.py install --prefix=/usr --root=/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/ipkg-install ; )\r\nrunning install\r\nrunning build\r\nrunning build_py\r\nwarning: build_py: byte-compiling is disabled, skipping.\r\n\r\nrunning build_ext\r\nError: pg_config executable not found.\r\n\r\nPlease add the directory containing pg_config to the PATH\r\nor specify the full executable path with the option:\r\n\r\n    python setup.py build_ext --pg-config /path/to/pg_config build ...\r\n\r\nor with the pg_config option in 'setup.cfg'.\r\nMakefile:55: recipe for target '/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/.built' failed\r\nmake[3]: *** [/home/openwrt/trunk/build_dir/target-mips_34kc_musl-1.1.11/psycopg2-2.6.1/.built] Error 1\r\nmake[3]: Leaving directory '/home/openwrt/trunk/feeds/packages/lang/python-psycopg2'\r\npackage/Makefile:191: recipe for target 'package/feeds/packages/python-psycopg2/compile' failed\r\nmake[2]: *** [package/feeds/packages/python-psycopg2/compile] Error 2\r\nmake[2]: Leaving directory '/home/openwrt/trunk'\r\npackage/Makefile:188: recipe for target '/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/stamp/.package_compile' failed\r\nmake[1]: *** [/home/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/stamp/.package_compile] Error 2\r\nmake[1]: Leaving directory '/home/openwrt/trunk'\r\n/home/openwrt/trunk/include/toplevel.mk:177: polecenia dla obiektu 'world' nie powiodły się\r\nmake: *** [world] Błąd 2\r\n"}}