Re: [Mypaint-discuss] Last git master - scons error

2014-04-06 Thread José Américo Gobbo
well, I'm a common user with some skills but for me is a bit complex the
new approach to create the git master on my box... ;-)
Now with git submodule update --init is need the public key... in past
I've tried to implement this but for me is a bit confuse these tasks, sorry.
Normally I've used the git clone in a old style without problems... Now I'm
not capable to resolve this step:

jag@ubuntugnome:~/installs/mypaint-git-master-new$ git submodule update
--initCloning into 'brushlib'...
The authenticity of host 'gitorious.org (87.238.52.168)' can't be
established.
RSA key fingerprint is 7e:af:8d:ec:f0:39:5e:ba:52:16:ce:19:fa:d4:b8:7d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitorious.org,87.238.52.168' (RSA) to the list
of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'g...@gitorious.org:mypaint/libmypaint.git' into submodule path
'brushlib' failed


 ... 

J. Americo Gobbo [Painter and Illustrator]
Website http://americogobbo.com.br | Bloghttp://americogobbo.blogspot.com|
Flickr http://flickr.com/rabisco | Twitter http://twitter.com/rabisco |
Facebook http://www.facebook.com/americogobbo



On Sun, Apr 6, 2014 at 6:35 PM, Jon Nordby jono...@gmail.com wrote:

 Hi Jose,

 did you do git submodule update --init?
 This is required as of the latest couple of commits which moved the
 brushlib into its own subdirectory.
 Let us know if this fixes the issue or not!

 On 6 April 2014 22:25, José Américo Gobbo jag.rabi...@gmail.com wrote:
  Hi all,
  I've update my git master clone via git pull --rebase and I had this
 error
  during scons process:
 
  jag@ubuntugnome:~/installs/mypaint-git-master$ scons
  scons: Reading SConscript files ...
  building for 'python2.7' (use scons python_binary=xxx to change)
  using 'python2.7-config' (use scons python_config=xxx to change)
  rm -f libmypaint-tests.so libmypaint.so libmypaintlib.so
  Enabling i18n for brushlib in full application build
 
  scons: warning: Ignoring missing SConscript 'brushlib/SConscript'
  File /home/jag/installs/mypaint-git-master/SConstruct, line 201, in
  module
  swig -Wall -o mypaintlib_wrap.cpp -noproxydel -python -c++ mypaintlib.i
  rm -f _mypaintlib.so
  set umask to 0022 (was 0022)
  scons: done reading SConscript files.
  scons: Building targets ...
  g++ -o lib/mypaintlib_wrap.os -c -Wall -Wno-sign-compare
 -Wno-write-strings
  -fopenmp -O3 -pthread -fno-strict-aliasing -fstack-protector
  --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -fwrapv -O2
  -Wall -Wstrict-prototypes -Xlinker -export-dynamic -fPIC -DHAVE_GTK3
  -D_FORTIFY_SOURCE=2 -Ibrushlib -Ibrushlib/tests -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng12
  -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
 -I/usr/include/at-spi2-atk/2.0
  -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo
  -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz
  -I/usr/include/freetype2 -I/usr/include/pixman-1
  -I/usr/include/pygobject-3.0
  -I/usr/lib/python2.7/dist-packages/numpy/core/include
  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
  lib/mypaintlib_wrap.cpp
  cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
  C/ObjC but not for C++ [enabled by default]
  In file included from lib/mypaintlib.hpp:13:0,
   from lib/mypaintlib_wrap.cpp:3086:
  lib/mapping.hpp:20:21: fatal error: mapping.h: No such file or directory
   #include mapping.h
   ^
  compilation terminated.
  scons: *** [lib/mypaintlib_wrap.os] Error 1
  scons: building terminated because of errors.
 
   ... 
 
  J. Americo Gobbo [Painter and Illustrator]
  Website | Blog | Flickr | Twitter | Facebook
 
 
  ___
  Mypaint-discuss mailing list
  Mypaint-discuss@gna.org
  https://mail.gna.org/listinfo/mypaint-discuss
 



 --
 Jon Nordby - www.jonnor.com

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] Last git master - scons error

2014-04-06 Thread Jon Nordby
Hi Jose,
that was due to a bug of mine, sorry. The public key is not supposed
to be required.
Fixed now in master, but you will probably need a quick mod to fix the
error locally. See commit message below for how:

commit 44551e6cd1dc0322194f4a36825b4e7704595902
Author: Jon Nordby jono...@gmail.com
Date:   Mon Apr 7 00:56:59 2014 +0200

Use relative path for brushlib git submodule

This way the same protocol (git/https/ssh) is used for submodule
as the top-level repo, avoiding problems with fetching if you
don't have a ssh account on gitorious.
If you fetched before, you may need to delete the two lines in
.git/config which says:
[submodule brushlib]
url = g...@gitorious.org:mypaint/libmypaint.git

before re-running git submodule update --init




On 7 April 2014 00:07, José Américo Gobbo jag.rabi...@gmail.com wrote:
 well, I'm a common user with some skills but for me is a bit complex the new
 approach to create the git master on my box... ;-)
 Now with git submodule update --init is need the public key... in past
 I've tried to implement this but for me is a bit confuse these tasks, sorry.
 Normally I've used the git clone in a old style without problems... Now I'm
 not capable to resolve this step:

 jag@ubuntugnome:~/installs/mypaint-git-master-new$ git submodule update
 --initCloning into 'brushlib'...
 The authenticity of host 'gitorious.org (87.238.52.168)' can't be
 established.
 RSA key fingerprint is 7e:af:8d:ec:f0:39:5e:ba:52:16:ce:19:fa:d4:b8:7d.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'gitorious.org,87.238.52.168' (RSA) to the list
 of known hosts.
 Permission denied (publickey).
 fatal: Could not read from remote repository.

 Please make sure you have the correct access rights
 and the repository exists.
 Clone of 'g...@gitorious.org:mypaint/libmypaint.git' into submodule path
 'brushlib' failed


  ... 

 J. Americo Gobbo [Painter and Illustrator]
 Website | Blog | Flickr | Twitter | Facebook



 On Sun, Apr 6, 2014 at 6:35 PM, Jon Nordby jono...@gmail.com wrote:

 Hi Jose,

 did you do git submodule update --init?
 This is required as of the latest couple of commits which moved the
 brushlib into its own subdirectory.
 Let us know if this fixes the issue or not!

 On 6 April 2014 22:25, José Américo Gobbo jag.rabi...@gmail.com wrote:
  Hi all,
  I've update my git master clone via git pull --rebase and I had this
  error
  during scons process:
 
  jag@ubuntugnome:~/installs/mypaint-git-master$ scons
  scons: Reading SConscript files ...
  building for 'python2.7' (use scons python_binary=xxx to change)
  using 'python2.7-config' (use scons python_config=xxx to change)
  rm -f libmypaint-tests.so libmypaint.so libmypaintlib.so
  Enabling i18n for brushlib in full application build
 
  scons: warning: Ignoring missing SConscript 'brushlib/SConscript'
  File /home/jag/installs/mypaint-git-master/SConstruct, line 201, in
  module
  swig -Wall -o mypaintlib_wrap.cpp -noproxydel -python -c++ mypaintlib.i
  rm -f _mypaintlib.so
  set umask to 0022 (was 0022)
  scons: done reading SConscript files.
  scons: Building targets ...
  g++ -o lib/mypaintlib_wrap.os -c -Wall -Wno-sign-compare
  -Wno-write-strings
  -fopenmp -O3 -pthread -fno-strict-aliasing -fstack-protector
  --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -fwrapv
  -O2
  -Wall -Wstrict-prototypes -Xlinker -export-dynamic -fPIC -DHAVE_GTK3
  -D_FORTIFY_SOURCE=2 -Ibrushlib -Ibrushlib/tests -I/usr/include/glib-2.0
  -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng12
  -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
  -I/usr/include/at-spi2-atk/2.0
  -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0
  -I/usr/include/cairo
  -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz
  -I/usr/include/freetype2 -I/usr/include/pixman-1
  -I/usr/include/pygobject-3.0
  -I/usr/lib/python2.7/dist-packages/numpy/core/include
  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
  lib/mypaintlib_wrap.cpp
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
  C/ObjC but not for C++ [enabled by default]
  In file included from lib/mypaintlib.hpp:13:0,
   from lib/mypaintlib_wrap.cpp:3086:
  lib/mapping.hpp:20:21: fatal error: mapping.h: No such file or directory
   #include mapping.h
   ^
  compilation terminated.
  scons: *** [lib/mypaintlib_wrap.os] Error 1
  scons: building terminated because of errors.
 
   ... 
 
  J. Americo Gobbo [Painter and Illustrator]
  Website | Blog | Flickr | Twitter | Facebook
 
 
  ___
  Mypaint-discuss mailing list
  Mypaint-discuss@gna.org
  https://mail.gna.org/listinfo/mypaint-discuss
 



 --
 Jon Nordby - www.jonnor.com





-- 
Jon Nordby - www.jonnor.com

___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org