New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure check for empy3 with 0.116 fails with Fedora 32 #882
Comments
|
Thanks for reporting this. I wouldn't have noticed.
Please make that change and test on Fedora 32? |
|
This appears to be a shortcoming of something within the sugar build system. The build system is looking for a binary named For what it's worth, this same issue occurs when installing |
|
Excellent, thanks. That makes two distributions that don't provide a binary, and one that does. Does the change in my earlier comment work? python3 -m em - -p $$ -D scaling=100 < gtkrc.em > sugar-100.gtkrc |
|
Here's a workaround patch https://pastebin.com/raw/9JEa6tic |
|
@quozl, can you please clarify what the command you've pasted in your previous comment is supposed to accomplish? It does not execute at a CLI, and fails with ":6: error: <class 'NameError'>: name 'scaling' is not defined" Is it expected to? |
|
Thanks for testing. This use of empy can be found in the first ten lines of Makefile.am in the data directory., and in several other makefiles in sugar-artwork, see sugarlabs/sugar-artwork#111 (comment) for a diff. The command is a replacement for what is there. The command runs empy during build. |
|
On arch, it provides python-empy which does not create a executable, |
|
Thanks @srevinsaju. I'm just curious; on Arch Linux, does the em.py file have execute bits set? I ask because the empy README gives two examples of use that would require execute bits. |
|
The |
This goes against the Empy documentation, which gives a clear expectation that Empy is executable. Please report this bug against Arch Linux or Empy?
This is very frustrating. I gave a complete reply to this in the thread Initial Release: Sugar packages 0.116 for Arch Linux. Did you miss it? |
Fixes sugarlabs#882 sugarlabs#896 Fix makefile dependency on /usr/bin/empy for Linux distributions which do not package a empy binary executable.
Fixes sugarlabs#882 sugarlabs#896 Fix makefile dependency on /usr/bin/empy for Linux distributions which do not package a empy binary executable.
Fixes sugarlabs#882 sugarlabs#896 Fix makefile dependency on /usr/bin/empy for Linux distributions which do not package a empy binary executable.
Fixes sugarlabs#882 sugarlabs#896 Fix makefile dependency on /usr/bin/empy for Linux distributions which do not package a empy binary executable.
@quozl , back in August, you committed a fix for configure.ac (d47694d) which now fails under Fedora 32.
When running configure, the empy test fails, even when the python3-empy package is installed.
You can successfully complete a build by simply commenting out the offending AC_PATH_PROGS([EMPY], [empy empy3]) test condition, or, by using the following hack:
AC_PATH_PROGS([EMPY], [empy empy3], [/usr/lib/python3.8/site_packages/em.py])
...but we should probably be using the AX_PYTHON_MODULE M4 macro instead: https://www.gnu.org/software/autoconf-archive/ax_python_module.html
This needs to be corrected in the configure.ac file for all python release tarballs.
The text was updated successfully, but these errors were encountered: