|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I was trying to create a package for MyPaint 0.7.1 and I'm having problems with gcc. The build starts fine but then some of the parameters get extra spaces in them and the build fails. Can anybody give a little help? Thanks in advance. Sample build log: + scons scons: Reading SConscript files ... /usr/lib64/python2.6/site-packages/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 /usr/lib64/python2.6/site-packages/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Building for python2.6 swig -o mypaintlib_wrap.cpp -python -c++ mypaintlib.i python generate.py Writing brushsettings.hpp scons: done reading SConscript files. scons: Building targets ... g++ -o lib/mypaintlib_wrap.os -c " " - W a l l " " - W n o - s i g n - c o m p a r e " " - W n o - w r i t e - s t r i n g s -fno-strict-aliasing -fmessage-length=0 -O2 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 lib/mypaintlib_wrap.cpp g++: : No such file or directory g++: W: No such file or directory g++: a: No such file or directory g++: l: No such file or directory g++: l: No such file or directory g++: : No such file or directory g++: W: No such file or directory g++: n: No such file or directory g++: o: No such file or directory g++: s: No such file or directory g++: i: No such file or directory g++: g: No such file or directory g++: n: No such file or directory g++: c: No such file or directory g++: o: No such file or directory g++: m: No such file or directory g++: p: No such file or directory g++: a: No such file or directory g++: r: No such file or directory g++: e: No such file or directory g++: : No such file or directory g++: W: No such file or directory g++: n: No such file or directory g++: o: No such file or directory g++: w: No such file or directory g++: r: No such file or directory g++: i: No such file or directory g++: t: No such file or directory g++: e: No such file or directory g++: s: No such file or directory g++: t: No such file or directory g++: r: No such file or directory g++: i: No such file or directory g++: n: No such file or directory g++: g: No such file or directory g++: s: No such file or directory |
|
|||
|
Hi, I tried uploading the package but I still get the same error.
The bolded text in my first post keeps appearing (the g++ parameters have spaces in them). |
|
||||
|
Quote:
Have you been working on it in a windows environment? If so it may need running though dos2unix, or use wordpad not notepad. -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default up 21:29, 2 users, load average: 0.12, 0.20, 0.16 GPU GeForce 8600 GTS Silent - Driver Version: 190.18 |
|
|||
|
Hi,
No, I got directly from the application's site. I tried the exact same procedure on my machine (openSUSE 11.1) and it worked perfectly. I also suspect there is something wrong with the charset since it seems that part of the parameters are being outputted in UTF-16. Is there anyawy I can further debug this? These parameters are generated by scons, can it be related to some environment variable? Thanks. |
|
||||
|
Quote:
Yes it is the env variable, have build a i586 version on the OBS, 64bit has some further issues, plus have never used scons before If youlogin to the OBS and have a look here; mypaint OBS -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default up 1 day 16:46, 2 users, load average: 2.40, 2.56, 2.81 GPU GeForce 8600 GTS Silent - Driver Version: 190.18 |
|
||||
|
Quote:
Ugh, also noted whilst it builds I had some leftovers in the mypaint/desktop dir so it worked, but the built rpm on OBS won't there still needs some tweaking in the SConstruct file ![]() -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default up 1 day 18:35, 2 users, load average: 0.11, 0.52, 1.23 GPU GeForce 8600 GTS Silent - Driver Version: 190.18 |
|
|||
|
Hi again,
Stupid beginners question: how did you create the spec file? I did mine old-school: by hand... :-) |
|
||||
|
Quote:
Same here I use medit (see my repo) as it has a shell terminal aswell. Also make sure you install suse-brp-check on your build system as it will highlight errors before placing on the OBS. -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default up 1 day 21:04, 2 users, load average: 0.17, 0.20, 0.18 GPU GeForce 8600 GTS Silent - Driver Version: 190.18 |
|
||||
|
Quote:
Have a look now, it's all built, but there are some warnings on the 64bit version, but both appear to run ok. It needs further investigation for sure ![]() -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default up 1 day 23:10, 2 users, load average: 0.14, 0.37, 0.44 GPU GeForce 8600 GTS Silent - Driver Version: 190.18 |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|