On Sunday 28 December 2008, Shlomi Fish wrote:
> Hi all!
>
> When I try to run "python setup.py bdist_rpm" on the PySolFC trunk:
>
> https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk/
>
> I'm getting the following errors:
>

Found it!

Had to do "make rpm" instead of "python setup.py bdist_rpm".

Now I was able to build an .rpm.

Sorry for the noise.

Regards,

        Shlomi Fish

> {{{{{{{{{{{
> running build_scripts
> creating build/scripts-2.6
> copying and adjusting pysol.py -> build/scripts-2.6
> changing mode of build/scripts-2.6/pysol.py from 644 to 755
> + exit 0
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HLXT3V
> + umask 022
> +
> cd
> /home/shlomi/Download/unpack/games/PySolFC/trunk/build/bdist.linux-i686/rpm
>/BUILD + cd PySolFC-1.1.1
> + '[' 1 -eq 1 ']'
> + python setup.py
> install
> --root=/home/shlomi/Download/unpack/games/PySolFC/trunk/build/bdist.linux-i
>686/rpm/BUILDROOT/PySolFC-1.1.1-1.i386 --record=INSTALLED_FILES running
> install
> running build
> running build_py
> running build_scripts
> running install_lib
> running install_scripts
> copying
> build/scripts-2.6/pysol.py ->
> /home/shlomi/Download/unpack/games/PySolFC/trunk/build/bdist.linux-i686/rpm
>/BUILDROOT/PySolFC-1.1.1-1.i386/usr/bin changing mode
> of
> /home/shlomi/Download/unpack/games/PySolFC/trunk/build/bdist.linux-i686/rpm
>/BUILDROOT/PySolFC-1.1.1-1.i386/usr/bin/pysol.py to 755
> running install_data
> error: can't copy 'locale/ru/LC_MESSAGES/pysol.mo': doesn't exist or not a
> regular file
> error: Bad exit status from /var/tmp/rpm-tmp.HLXT3V (%install)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.HLXT3V (%install)
> error: command 'rpmbuild' failed with exit status 1
> }}}}}}}}}}}
>
> It worked fine on python-2.5, but now I have python-2.6 here on Mandriva
> Linux Cooker.
>
> How can I fix it?
>
> Regards,
>
>       Shlomi Fish



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://xrl.us/bjn7t

Shlomi, so what are you working on? Working on a new wiki about unit testing 
fortunes in freecell? -- Ran Eilam

=================================================================
To unsubscribe, send mail to [email protected] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [email protected]

Reply via email to