Failed to build bdist_wininst

Bug #787122 reported by IWATA Hidetaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
John A Meinel

Bug Description

In r5909, `python setup.py bdist_wininst` fails with error "invalid command 'build_mo'".

>python setup.py bdist_wininst
running bdist_wininst
running build
running build_mo
error: invalid command 'build_mo'

`python setup.py py2exe` also fails.

Related branches

Revision history for this message
John A Meinel (jameinel) wrote :

This is blocking me building the bzr-2.4b3 installers. I don't have a fix for this, but I believe this was a regression from the i18n changes.

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
John A Meinel (jameinel) wrote :

It looks like they added a new target "build_mo" which has to be passed into "cmdclass" variables. However both bdist_wininst and py2exe had their own setup() call, and it wasn't getting passed into that one.
It doesn't look hard to fix, but it is a bug in bzr's code.

Changed in bzr:
assignee: nobody → John A Meinel (jameinel)
status: Confirmed → In Progress
Revision history for this message
IWATA Hidetaka (hid-iwata) wrote :

I fixed it to build windows installer, but I don't know whether this is right or not.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 787122] Re: Failed to build bdist_wininst

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/26/2011 11:31 PM, iwata wrote:
> I fixed it to build windows installer, but I don't know whether this is
> right or not.
>
>
> ** Patch added: "setup.py.patch"
> https://bugs.launchpad.net/bzr/+bug/787122/+attachment/2144063/+files/setup.py.patch
>

I did it differently, though your fix looks like it would work, too.

Instead, I just made command_classes used in more places, since then we
don't have to track down updates as much.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3eyp4ACgkQJdeBCYSNAAOm2QCfWZe4xRklMcR9SZspkm+hHkVO
OOUAn2ucj62nJUmagK+sDT3PpoRmEw4v
=txwm
-----END PGP SIGNATURE-----

Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.4b4
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.