Welcome, Guest. Please login or register.
April 24, 2014, 11:10:52 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Pardus for beginners
| | |-+  Build Your Own Package (from independent source) guidelines
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Build Your Own Package (from independent source) guidelines  (Read 4036 times)
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #15 on: May 04, 2009, 18:31:56 PM »

Tried to build knazar from Wiki: http://en.pardus-wiki.org/Pisi_Package  Grin

Got the following errors:
Quote
lesha@lesha-pardus knazar $ sudo pisi build pspec.xml
Outputting packages in the working directory.
Building PiSi source package: knazar
Safety switch: system.devel is already installed
PartOf tag not defined, looking for component
System Error. Program Terminated.
Cannot find component.xml in upper directory
Indeed, optional (?) PartOf tag was missing. Not knowing what it's for, I supplied it with a dummy value 'PartOf'. Got this:
Quote
$ sudo pisi build pspec.xml
Outputting packages in the working directory.
Building PiSi source package: knazar
Safety switch: system.devel is already installed
Fetching source from: http://zzz.fisek.com.tr/files/sources/knazar-0.2_p21206.tar.bz2
knazar-0.2_p21206.tar.bz2 [cached]
Source archive is stored: /var/cache/pisi/archives/knazar-0.2_p21206.tar.bz2
Unpacking archive...
 unpacked (/var/pisi/knazar-0.2_p21206-7/work)
Setting up source...
Building source...
Sandbox enabled build...
Traceback (most recent call last):
  File "error", line 15, in build
  File "/usr/lib/pardus/pisi/actionsapi/scons.py", line 38, in make
    if system('scons %s' % parameters):
  File "/usr/lib/pardus/pisi/actionsapi/shelltools.py", line 249, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pardus/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "scons" failed, return value was 1.
Any suggestions?
« Last Edit: May 04, 2009, 18:33:41 PM by Llama » Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #16 on: May 04, 2009, 19:40:59 PM »

Unfortunately none of these wiki pages appears to be really complete, they all have an Under Construction message on top of the text, when you e.g. go to the french version of your wiki page, there is also a section on component.xml which appears missing in the english wiki and missing in your won efforts, see:

http://fr.pardus-wiki.org/Creer_un_paquet_pisi#component.xml
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #17 on: May 04, 2009, 19:47:25 PM »

The turkish version (of course) appears to be the most complete one on this.

http://tr.pardus-wiki.org/Pardus:PiSi_paketi_yap%C4%B1m%C4%B1

When you use Google Translate on this you can roughly convert it into your own language...
« Last Edit: May 04, 2009, 21:12:39 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #18 on: May 04, 2009, 21:04:36 PM »

I tried Turkish->Russian. Lots of fun, but hardly any gain  Grin ...
« Last Edit: May 04, 2009, 21:08:19 PM by Llama » Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #19 on: May 05, 2009, 09:34:33 AM »

component.xml took care of the PartOf tag problem, but the scons error remains. It looks like one must use some kind of debugger for stepping through pisi build. Any suggestions?
Logged
yasar
Newbie
*
Gender: Male
Posts: 15



View Profile
« Reply #20 on: May 05, 2009, 15:05:26 PM »

IsA tag ==> it is for adding your package in right category in package manager interface. Click here. Search for I<define name="IsA"> for all available categories.

PartOf tag ==> it is for adding your package to some component group. For example when you enter this code:

sudo pisi it -c desktop.kde4

it will install all kde4 components. To see all available components, open konsole and enter this:

pisi list-components

Have a nice day Wink
Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #21 on: May 05, 2009, 20:00:17 PM »

IsA tag ==> it is for adding your package in right category in package manager interface. Click here. Search for I<define name="IsA"> for all available categories.
RELAX NG? Please, no  Grin ! I've just congratulated myself on successful management of pisi-spec.dtd... So I'm back at square one  :'( .

By the way, have those tags (IsA and PartOf) anything to do with scons.make() failure? They still look optional.
« Last Edit: May 05, 2009, 20:22:54 PM by Llama » Logged
yasar
Newbie
*
Gender: Male
Posts: 15



View Profile
« Reply #22 on: May 05, 2009, 22:14:26 PM »

They still look optional.

You have to put at least one of them I guess.
Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #23 on: May 06, 2009, 00:09:14 AM »

You have to put at least one of them I guess.
IsA app:gui; it's always been there. There's more general question: there are action errors; they are quite natural, especially if I try to build a real life package. How am I supposed to tackle them?
Logged
yasar
Newbie
*
Gender: Male
Posts: 15



View Profile
« Reply #24 on: May 06, 2009, 00:32:38 AM »

Put your error messages here so that we can examine it.
Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #25 on: May 06, 2009, 05:46:51 AM »

They are already here; second quote at the top of this page holds.
Logged
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!