[MacPorts] #26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'"
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" ----------------------------------+----------------------------------------- Reporter: arc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: compile_catalog | Port: trac ----------------------------------+----------------------------------------- Mac mini, Intel Core Solo 1.6GHz Mac OSX Snow Leopard MacPorts 1.9.1 with the newest package list The command fails with messages shown below: {{{ mashiro:~ arc$ sudo port -v install trac @0.12.1 ---> Computing dependencies for trac. ---> Building trac /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'message_extractors' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running build running compile_catalog_js compiling catalog 'trac/locale/ca/LC_MESSAGES/messages-js.po' to 'trac/locale/ca/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/de/LC_MESSAGES/messages-js.po' to 'trac/locale/de/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/en_GB/LC_MESSAGES/messages-js.po' to 'trac/locale/en_GB/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/en_US/LC_MESSAGES/messages-js.po' to 'trac/locale/en_US/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/eo/LC_MESSAGES/messages-js.po' to 'trac/locale/eo/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/es/LC_MESSAGES/messages-js.po' to 'trac/locale/es/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/es_AR/LC_MESSAGES/messages-js.po' to 'trac/locale/es_AR/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/fr/LC_MESSAGES/messages-js.po' to 'trac/locale/fr/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/he/LC_MESSAGES/messages-js.po' to 'trac/locale/he/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/hu/LC_MESSAGES/messages-js.po' to 'trac/locale/hu/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/hy/LC_MESSAGES/messages-js.po' to 'trac/locale/hy/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/it/LC_MESSAGES/messages-js.po' to 'trac/locale/it/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/ja/LC_MESSAGES/messages-js.po' to 'trac/locale/ja/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/nb/LC_MESSAGES/messages-js.po' to 'trac/locale/nb/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/nl/LC_MESSAGES/messages-js.po' to 'trac/locale/nl/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/pt_BR/LC_MESSAGES/messages-js.po' to 'trac/locale/pt_BR/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/ru/LC_MESSAGES/messages-js.po' to 'trac/locale/ru/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/sl/LC_MESSAGES/messages-js.po' to 'trac/locale/sl/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/sv/LC_MESSAGES/messages-js.po' to 'trac/locale/sv/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/tr/LC_MESSAGES/messages-js.po' to 'trac/locale/tr/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/zh_CN/LC_MESSAGES/messages-js.po' to 'trac/locale/zh_CN/LC_MESSAGES/messages-js.mo' compiling catalog 'trac/locale/zh_TW/LC_MESSAGES/messages-js.po' to 'trac/locale/zh_TW/LC_MESSAGES/messages-js.mo' running generate_messages_js generating messages javascript 'trac/locale/ca/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/ca.js' generating messages javascript 'trac/locale/de/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/de.js' generating messages javascript 'trac/locale/en_GB/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/en_GB.js' generating messages javascript 'trac/locale/en_US/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/en_US.js' generating messages javascript 'trac/locale/eo/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/eo.js' generating messages javascript 'trac/locale/es/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/es.js' generating messages javascript 'trac/locale/es_AR/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/es_AR.js' generating messages javascript 'trac/locale/fr/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/fr.js' generating messages javascript 'trac/locale/he/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/he.js' generating messages javascript 'trac/locale/hu/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/hu.js' generating messages javascript 'trac/locale/hy/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/hy.js' generating messages javascript 'trac/locale/it/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/it.js' generating messages javascript 'trac/locale/ja/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/ja.js' generating messages javascript 'trac/locale/nb/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/nb.js' generating messages javascript 'trac/locale/nl/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/nl.js' generating messages javascript 'trac/locale/pt_BR/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/pt_BR.js' generating messages javascript 'trac/locale/ru/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/ru.js' generating messages javascript 'trac/locale/sl/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/sl.js' generating messages javascript 'trac/locale/sv/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/sv.js' generating messages javascript 'trac/locale/tr/LC_MESSAGES/messages-js.mo' to 'trac/htdocs/js/messages/tr.js' generating messages javascript 'trac/locale/zh_CN/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/zh_CN.js' generating messages javascript 'trac/locale/zh_TW/LC_MESSAGES/messages- js.mo' to 'trac/htdocs/js/messages/zh_TW.js' running compile_catalog error: invalid command 'compile_catalog' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_trac/work/Trac-0.12.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1 Error: Target org.macports.build returned: shell command failed Warning: the following items did not execute (for trac): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for trac is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_trac/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} All dependent packages were successfully installed but building trac itself always fails with these messages. -- Ticket URL: <https://trac.macports.org/ticket/26921> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" ----------------------------------+----------------------------------------- Reporter: arc@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: compile_catalog | Port: trac ----------------------------------+----------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => dluke@… Comment: Please remember to cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/26921#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" ----------------------------------+----------------------------------------- Reporter: arc@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: compile_catalog | Port: trac ----------------------------------+----------------------------------------- Changes (by dluke@…): * status: new => assigned Comment: Replying to [ticket:26921 arc@…]:
mashiro:~ arc$ sudo port -v install trac @0.12.1
This is harmless, but macports doesn't know how to install specific versions, so that @0.12.1 isn't really valid.
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'message_extractors'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
This is very strange, I don't see it when I build trac. Can you try removing and reinstalling py26-distribute? (It looks like python26 isn't seeing it)
running build running compile_catalog error: invalid command 'compile_catalog'
... and this looks like py26-babel isn't installed correctly. Can you run: sudo port -f uninstall py26-babel py26-distribute sudo port clean --all py26-babel py26-distribute trac sudo port -dv install trac and attach the log if it fails? -- Ticket URL: <https://trac.macports.org/ticket/26921#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" ----------------------------------+----------------------------------------- Reporter: arc@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: compile_catalog | Port: trac ----------------------------------+----------------------------------------- Comment(by arc@…): Replying to [comment:1 jmr@…]: Ok, I'll remember it. Replying to [comment:2 dluke@…]:
Can you run:
sudo port -f uninstall py26-babel py26-distribute sudo port clean --all py26-babel py26-distribute trac sudo port -dv install trac
and attach the log if it fails? Sorry for the late reply. I ran the command you gave me and attached the log file. It seems py26-distribute could be successfully installed though build process of trac could not be completed.
-- Ticket URL: <https://trac.macports.org/ticket/26921#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" ----------------------------------+----------------------------------------- Reporter: arc@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: compile_catalog | Port: trac ----------------------------------+----------------------------------------- Comment(by dluke@…): That log file doesn't show a new install of the py26 modules I asked you to reinstall: {{{ sudo port -f uninstall py26-babel py26-distribute sudo port clean --all py26-babel py26-distribute trac sudo port -dv install trac }}} Three commands there - the log file you attach should include building and installing py26-distribute and py26-babel as dependencies of trac... -- Ticket URL: <https://trac.macports.org/ticket/26921#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26921: port install trac @0.12.1 fails with "invalid command 'compile_catalog'" -----------------------------------+---------------------------------------- Reporter: arc@… | Owner: dluke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: worksforme | Keywords: compile_catalog Port: trac | -----------------------------------+---------------------------------------- Changes (by dluke@…): * status: assigned => closed * resolution: => worksforme Comment: closing due to lack of response -- Ticket URL: <https://trac.macports.org/ticket/26921#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts