Opened 14 years ago

Closed 14 years ago

#26921 closed defect (worksforme)

port install trac @0.12.1 fails with "invalid command 'compile_catalog'"

Reported by: arc@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: compile_catalog Cc:
Port: trac

Description

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.

Attachments (2)

main.log (40.3 KB) - added by arc@… 14 years ago.
log file for "sudo port -v install trac @0.12.1"
main.2.log (41.8 KB) - added by arc@… 14 years ago.
log file for "sudo port -v install trac @0.12.1"

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by arc@…

Attachment: main.log added

log file for "sudo port -v install trac @0.12.1"

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dluke@…

Please remember to cc the maintainer.

comment:2 in reply to:  description ; Changed 14 years ago by danielluke (Daniel J. Luke)

Status: newassigned

Replying to 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?

Changed 14 years ago by arc@…

Attachment: main.2.log added

log file for "sudo port -v install trac @0.12.1"

comment:3 in reply to:  2 Changed 14 years ago by arc@…

Replying to jmr@…: Ok, I'll remember it.

Replying to 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.

comment:4 Changed 14 years ago by danielluke (Daniel J. Luke)

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...

comment:5 Changed 14 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: assignedclosed

closing due to lack of response

Note: See TracTickets for help on using tickets.