Skip to content
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

enable copy and paste of command run by flatpak-builder #236

Closed
muelli opened this issue Aug 4, 2016 · 0 comments
Closed

enable copy and paste of command run by flatpak-builder #236

muelli opened this issue Aug 4, 2016 · 0 comments

Comments

@muelli
Copy link
Member

muelli commented Aug 4, 2016

I'm playing around with flatpak-builder and it failed to compile a module.


========================================================================
Building module zbar in /home/muelli/myapp/.flatpak-builder/build/zbar-4
========================================================================
Running: flatpak build --nofilesystem=host --filesystem=/home/muelli/myapp/.flatpak-builder/build/zbar-4 --bind-mount=/run/build/zbar=/home/muelli/myapp/.flatpak-builder/build/zbar-4 --build-dir=/run/build/zbar --env=V=1 --env=CFLAGS=-O2 -g --env=CXXFLAGS=-O2 -g /tmp/fpbuilder ./configure --prefix=/app --disable-video
...
...
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for PYGTK... configure: error: Package requirements (pygtk-2.0) were not met:

No package 'pygtk-2.0' found

Fair enough.

I copied and pasted the "Running" line, but it failed:


$ flatpak build --nofilesystem=host --filesystem=/home/muelli/myapp/.flatpak-builder/build/zbar-4 --bind-mount=/run/build/zbar=/home/muelli/myapp/.flatpak-builder/build/zbar-4 --build-dir=/run/build/zbar --env=V=1 --env=CFLAGS=-O2 -g --env=CXXFLAGS=-O2 -g /tmp/fpbuilder ./configure --prefix=/app --disable-video
error: Unknown option -g
$

I expected copy and paste to work.

I guess it's missing quotes around the CFLAGS and CXXFLAGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants