How to build a project on Build Service

I have developed a program in Python (PyQt) which, at the moment, is
just a folder with all those source, icon, xml etc. files. I zipped it
in a *.tar.gz. Then I created a project in the OBS, uploaded the
*.tar.gz in the Sources, selected repositories. And it shows the build
status is broken.

Has anyone built an rpm on OBS before? I just want to make an rpm of my
program and make it available from my project repository. Please help me
build it. What else do I need to do? I've read the OBS tutorial and
guidelines but they don't really tell you step by step what you need to
do after you add repositories and how to fix the broken build errors.

The only dependencies for my program are Python and Qt.

Thank you.


-- 
openSUSE 11.3 | KDE 4.6 | AMD Phenom II X4 965 | Gigabyte GA-870A-UD3 |
MSI N460GTX Cyclone nVidia
------------------------------------------------------------------------



0
linuxoidoz
3/30/2011 12:06:02 AM
opensuse.org.help.applications 21533 articles. 1 followers. Follow

5 Replies
733 Views

Similar Articles

[PageSpeed] 6

On Wed, 2011-03-30 at 00:06 +0000, linuxoidoz wrote:
> I have developed a program in Python (PyQt) which, at the moment, is
> just a folder with all those source, icon, xml etc. files. I zipped it
> in a *.tar.gz. Then I created a project in the OBS, uploaded the
> *.tar.gz in the Sources, selected repositories. And it shows the build
> status is broken.
>=20
> Has anyone built an rpm on OBS before? I just want to make an rpm of my
> program and make it available from my project repository. Please help me
> build it. What else do I need to do? I've read the OBS tutorial and
> guidelines but they don't really tell you step by step what you need to
> do after you add repositories and how to fix the broken build errors.
>=20
> The only dependencies for my program are Python and Qt.
>=20
> Thank you.
>=20
>=20
Hi
You need to make a spec file as well as add a setup.py to build your
application in your sources, the setup file will place the individual
files into the respective directories of the linux FHS.

What's your home directory on OBS and I will branch and have a look for
you.

--=20
Cheers Malcolm =B0=BF=B0 (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
up 9 days 2:03, 2 users, load average: 0.15, 0.18, 0.18
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26

0
malcolmlewis
3/30/2011 12:48:37 AM
I don't know what that spec file was doing but after some more research
I came up with this:
> 
> Summary: Test Program
> Name: qt-test
> Version: 1.0.0
> Release: 1
> Source: 
> URL: 
> License: GPL3
> Group: Utilities/Engineering
> %description
> Qt-based program.
> %prep
> %setup
> %build
> %install
> rm -rf $RPM_BUILD_ROOT
> make DESTDIR=$RPM_BUILD_ROOT install
> %clean
> rm -rf $RPM_BUILD_ROOT
> %files
> %defattr(-,root,root)
> %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO
> %{_prefix}/bin/qt-test
> %{_prefix}/info/qt-test.info
> %{_prefix}/lib/charset.alias
> %{_prefix}/man/man1/*
> %{_prefix}/share/locale/*/LC_MESSAGES/qt-test.mo
> %{_prefix}/share/locale/locale.alias
> %changelog
> * Fri Apr 1 2011 Linuxoidoz
> - First draft of the spec file
> 

Is it correct to build an rpm from my Python program?

Thank you.


-- 
openSUSE 11.3 | KDE 4.6 | AMD Phenom II X4 965 | Gigabyte GA-870A-UD3 |
MSI N460GTX Cyclone nVidia
------------------------------------------------------------------------
linuxoidoz's Profile: http://forums.opensuse.org/member.php?userid=1335
View this thread: http://forums.opensuse.org/showthread.php?t=457002

0
linuxoidoz
3/30/2011 1:06:01 AM
On 2011-03-30 02:06, linuxoidoz wrote:

Please move this to the build-service subforum.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.2 x86_64 "Emerald" at Telcontar)
0
Carlos
3/30/2011 1:20:10 AM
malcolmlewis, I've sent you a PM

Where is the Build sub-forum?


-- 
openSUSE 11.3 | KDE 4.6 | AMD Phenom II X4 965 | Gigabyte GA-870A-UD3 |
MSI N460GTX Cyclone nVidia
------------------------------------------------------------------------
linuxoidoz's Profile: http://forums.opensuse.org/member.php?userid=1335
View this thread: http://forums.opensuse.org/showthread.php?t=457002

0
linuxoidoz
3/30/2011 3:36:01 AM
linuxoidoz;2314461 Wrote: 
> malcolmlewis, I've sent you a PM
> 
> Where is the Build sub-forum?
Hi
It's here; 'openSUSE Build Service (OBS)' (http://tinyurl.com/4bd8u55)

Locking thread until it syncs, then will move and reopen on the build
service forum.


-- 
Cheers Malcolm ��� (Linux Counter #276890)
openSUSE Global Moderator and Novell Knowledge Partner
ASUS eeePC 1000HE GPU Mobile 945 - Gnome openSUSE 11.4 (i586)
Desktop AMD X2 4400+ GPU NVidia GTS8600 - Gnome SLED 11 SP1 (x86_64)
------------------------------------------------------------------------
malcolmlewis's Profile: http://forums.opensuse.org/member.php?userid=740
View this thread: http://forums.opensuse.org/showthread.php?t=457002

0
malcolmlewis
3/30/2011 4:06:02 AM
Reply:

Similar Artilces:

VS Builds, and Builds, and Builds
Hello, Has anyone else had this problem?  After a while of developing, and I go to compile, VS takes forever to build and I have to end-task it.  It's definitely after I've been working for a while, then it finally has "had it" and just takes forever to build.  It's annoying as I know its not the machine (2.8 GHZ processor and 1GB RAM).  Has anyone else experienced this problem?  By the way, I do have SP1 installed. Also, after minimizing and switching around screens, when it does this, the building icon in the status bar doesn't show.  And, for more informati...

help building out this project
I found this sample code on site wwwcoder.com. It refrences towards working with Active Directory, which I need to build my project base on. What settings and how woudl I go about getting this code implemented into a VS 2005 project (Web Application, ASP.NET Website or another project type). Is this code actually VB and not VB.net [CODE] Private Const _FILTER As String = "(&(ObjectClass={0})(sAMAccountName={1}))"Private Const _FOREST = 5                       &...

To build or not to build, that is the question
Hello, ever since I found out that VS.NET could upload all of your pages for you, I have used that method for uploading. However when using the Copy Project option, it seems to restart the aspnet service and the sessions clear. What I'm asking is when is it OK just to manually copy/paste some pages into the website directory w/out actually re-building the site? Right now, I have to wait until there are no users logged into my site to do updates, which are very minor, but include code-behind changes. Can I just upload the updated pages w/out building?In this world there are 10 types of pe...

Building web deployment project: error building ResolveVCProjectReferences.
Hello All, I am trying to get nightly build for all web application projects in complete solution. One of the projects when executed gives the error and fails the build. For the web project, I used web deployment proj file to build with MSbuild. Error is:Target ResolveVCProjectReferences:            C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1159,9): error : MSBuild cannot resolve the reference to the VisualC++ project '..\ManagedHLImageProcess\ManagedHLImageProcess.vcproj' when building a stand-a...

Building web application help
Hey there, just trying to build a simple web application, has nothing special about it.However when  I go to build, it opens up IE and just sits there loading for ages, and does nothing. Any help?   Thanx in advance. Did you mean the web was loading and never done? Do you have some code that does something in the Page_Load function?Welcome to my SQL/ASPNET forum for Chinese http://51up.org/bbs/forumdisplay.php?fid=38 Have you set any break point? Can you access the page directly without using debug mode? Debugging is fine. The problem is, after it debugs and opens up Inter...

Help Building COM project
I am using PB7. Wish I could move forward, but not an option according to mgt. I am trying to create a simple COM object project that has 1 non visual with 1 method call TEST. Regens work fine. When I run the project builder, I am getting the following error. CGEN: Compiling 'c:\development\bepb\6.0\worksheet\_tmpguid.cpp' CGEN: Compiling 'c:\development\bepb\6.0\worksheet\_tmpclas.cpp' CGEN: Compiling 'c:\development\bepb\6.0\worksheet\_tmpserv.cpp' CGEN: Linking... cannot open _tmpguid.obj : No such file or directory cannot open _tmpclas.obj : No such f...

Build Error while building mozilla-central. Please Help !
I had built firefox successfully many times earlier, but today I tried building it using "./mach build" and got this : 51.71 make[6]: *** [nsMemoryReporterManager.o] Error 1 51.71 make[5]: *** [libs] Error 2 51.71 make[4]: *** [libs_tier_platform] Error 2 51.71 make[3]: *** [tier_platform] Error 2 51.71 make[2]: *** [default] Error 2 51.71 make[1]: *** [realbuild] Error 2 51.71 make: *** [build] Error 2 Error running mach: ['build'] The error occured in code that was called by the mach command. This is either a bug in the called code itself or in the way ...

Application terminated when building project
I get a 'application terminated' dialog box when I try to build a project. The full error: Cannot assign object of type m_-8 to variable of type m_ancestor `m_-8 at line 16 in create event of object m_file of m_ancestor. This occurs after I have added a couple items to an ancestor menu. I have regenerated all menus that are derived from this ancestor menu. No luck. Any way to work around this? thx. It sounds like when you added m_-8 to your ancestor, it's name matched (and therefore conflicts) with a menu item in one of your descendents. Try renaming m_-8 ...

Building Multi-Project Applications
Hi All,Maybe someone can advise.  I am building a multi-project application.  It has, so far, two aspx pages and one dll.  Do all of the dll's get put into the bin the high-level project, or do they need be put into each pages bin directory?  Regards, PaulAlways pursuing Excellence ... ! The \bin directory is per project, not per page.  If you are using ASP.NET 2.0, you don't even need a \bin directory.Matt BrownMetalReview.com - Metal music community and reviewsHaulix - Easy promotional media distribution for the music industry As I am building thi...

Build Error while building B2G for armani. Please Help Me
make: *** No rule to make target `out/target/product/armani/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes', n eeded by `out/target/product/armani/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop Manifest: https://github.com/b2g-armani/manifest/blob/master/armani.xml ...

Cannot change the application after project build.
I'm using PB 7.02 Build 8030, Jaguar 3.5. This started to become a problem after converting to PB 7.02. When we build a component project in the server .pbl and then try to change application objects we get an error message. "Cannot change the application when a window, menu, function, or user object painter is open." All of the above are closed. Does anyone else get this? Is there a workaround or a fix? ---== Posted via the PFCGuide Web Newsreader ==--- http://www.pfcguide.com/_newsgroups/group_list.asp I had some clients that got that because they applied the post...

Help me. My Synchronization Application does not work. MobileLink has no response.How to build a comminucation betwon my Palm Application and PC's MobileLink?
My develop environment: ASA 80. CodeWarrior 7.0 PalmOS 3.5 The example CustDB is working. I create a new database, Start a MobileLink service with it. It's working too. Then I create a new project, use Embedden SQL. I try Synchronize it by this way: ////////////////////////////////// bool TRacerDB::PalmExit( void ) { bool ret = false; ul_synch_info info; ULInitSynchInfo( &info ); info.stream = NULL; info.stream_parms = STREAM_PARAM; info.user_name = USER_NAME; info.password = USER_PASSWORD; ...

help using 'build' to build rpms and rpmbuild
hello all, when i use rpmbuild it basically tells me to move the source package to a certain page, and when i use build it asks me about some .conf file; i'm a bit lost there, but would be nice if someone explains to me how those tools works. thanks in advance. -- sombriks ------------------------------------------------------------------------ ...

Please tell me how to change the project build configration to build mode?
 I have a big asp.net solution with dll, but when I want to debug the solution, it said:the module was built with optimization or without debug information. Please tell me how to change the project build configration to build mode?I appreciate your help.  You would need to recompile the application and explicitly select DEBUG build or choose to create PDB files when doing a RELEASE build.You can also try updating the web.config to DEBUG=TRUE to see if that helps. ...

Web resources about - How to build a project on Build Service - opensuse.org.help.applications

Project - Wikipedia, the free encyclopedia
For the urban low-income housing buildings called projects, see public housing . For other uses, see Project (disambiguation) . The word project ...

The Project Shrink - Welcome To Shrinkonia.
... about the importance of the environment we work in and the stories we tell, we should have a Set Designer and a Storyteller on our projects. ...

Better Projects
I think this book by Tobias is beautifully written. There is real craftmanship in the prose here. The book is made up of independent self contained ...

Microsoft Office 365 now offers a project management app
Microsoft has announced the release of a preview and testing version of its new lightweight project management application Planner. The application ...

"Middle-class and higher-income parents see their children as projects in need of careful cultivation..." ...
"They try to develop their skills through close supervision and organized activities, and teach children to question authority figures and navigate ...

Kelly Rowland is working on her first music project in years — here's what to expect
Kelly Rowland exclusively told INSIDER that she's working on her first music video in two and half years. "I haven’t said that to anybody, but ...

Divers work to clean up failed Florida reef project from the '70s
Up to two million tires, bundled by metal clips, were dumped to create an artificial reef; but now they're damaging it

Sustainable Projects From Hamburg Wasser
Originally published on the ECOreport This was to have been an article about the urban waste water and energy project for a new subdivision in ...

Fortune Feimster Upped To Regular On ‘The Mindy Project’
Fortune Feimster , who joined the fourth season of comedy series The Mindy Project as a recurring, has been promoted to series regular. Feimster ...

ConneXionONE to carry out capital expansion project in 1Q16
Interactive marketing platform operator ConneXionONE plans to raise new funds to expand its products and services in the first quarter of 2016, ...

Resources last updated: 12/18/2015 10:19:34 PM