---------- Forwarded message ----------
From: fadi al-katout <[EMAIL PROTECTED]>
Date: 2008/5/24
Subject: Re: [Ubuntume.team] bulding debian package???
To: أحمد المحمودي <[EMAIL PROTECTED]>


assalam alaykom,
Thanks for the replay.
but when I run the command
 sudo pbuilder build monajat_1.0-0ubuntu1~ppa7.dsc

Here is the output, knowing that if I build it the old way
(i.e dpkg build-package -rfakeroot)
it works??!!
also for the msttcorefonts it faild to install offline I have it on a
AptOnCD
but it gave me an error.
wassalam.

W: /home/fadi/.pbuilderrc does not exist
I: using fakeroot in build.
Current time: Sat May 24 16:50:10 EEST 2008
pbuilder-time-stamp: 1211637010
Building the build Environment
 -> extracting base tarball [/var/cache/pbuilder/base.tgz]
 -> creating local configuration
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team <[EMAIL PROTECTED]>
Description: Dummy package to satisfy dependencies with aptitude - created
by pbuilder
 This package was created automatically by pbuilder and should
Depends: ant, debhelper (>> 5), javahelper, libdom4j-java,
libswt-gtk-3.4-java, openjdk-6-jdk
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in
`/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists... Done
Building dependency tree
Reading state information... Done
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12190 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from
.../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of
pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on ant; however:
  Package ant is not installed.
 pbuilder-satisfydepends-dummy depends on debhelper (>> 5); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on javahelper; however:
  Package javahelper is not installed.
 pbuilder-satisfydepends-dummy depends on libdom4j-java; however:
  Package libdom4j-java is not installed.
 pbuilder-satisfydepends-dummy depends on libswt-gtk-3.4-java; however:
  Package libswt-gtk-3.4-java is not installed.
 pbuilder-satisfydepends-dummy depends on openjdk-6-jdk; however:
  Package openjdk-6-jdk is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are BROKEN:
  pbuilder-satisfydepends-dummy
The following NEW packages will be automatically installed:
  ant antlr debhelper defoma ecj ecj-gcj fastjar file fontconfig
  fontconfig-config gappletviewer-4.2 gcj-4.2 gcj-4.2-base gettext gij
  gij-4.2 gjdoc html2text intltool-debian java-common java-gcj-compat
  java-gcj-compat-dev java-gcj-compat-headless libasound2 libatk1.0-0
  libbcel-java libcairo2 libcupsys2 libdatrie0 libecj-java libecj-java-gcj
  libexpat1 libfontconfig1 libfreetype6 libgcj-bc libgcj-common libgcj8-1
  libgcj8-1-awt libgcj8-dev libgcj8-jar libglib2.0-0 libgtk2.0-0
  libgtk2.0-common libice6 libjaxp1.3-java libjpeg62 liblog4j1.2-java
  libmagic1 libmx4j-java libpango1.0-0 libpango1.0-common libpcre3
  libpixman-1-0 libpng12-0 libregexp-java libsm6 libthai-data libthai0
  libtiff4 libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1 libxcomposite1
  libxcursor1 libxdamage1 libxdmcp6 libxerces2-java libxext6 libxfixes3
  libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 po-debconf
  python-central ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ucf x11-common
  zlib1g-dev
The following NEW packages will be installed:
  ant antlr debhelper defoma ecj ecj-gcj fastjar file fontconfig
  fontconfig-config gappletviewer-4.2 gcj-4.2 gcj-4.2-base gettext gij
  gij-4.2 gjdoc html2text intltool-debian java-common java-gcj-compat
  java-gcj-compat-dev java-gcj-compat-headless libasound2 libatk1.0-0
  libbcel-java libcairo2 libcupsys2 libdatrie0 libecj-java libecj-java-gcj
  libexpat1 libfontconfig1 libfreetype6 libgcj-bc libgcj-common libgcj8-1
  libgcj8-1-awt libgcj8-dev libgcj8-jar libglib2.0-0 libgtk2.0-0
  libgtk2.0-common libice6 libjaxp1.3-java libjpeg62 liblog4j1.2-java
  libmagic1 libmx4j-java libpango1.0-0 libpango1.0-common libpcre3
  libpixman-1-0 libpng12-0 libregexp-java libsm6 libthai-data libthai0
  libtiff4 libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1 libxcomposite1
  libxcursor1 libxdamage1 libxdmcp6 libxerces2-java libxext6 libxfixes3
  libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 po-debconf
  python-central ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ucf x11-common
  zlib1g-dev
0 packages upgraded, 85 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.9MB/50.4MB of archives. After unpacking 152MB will be used.
The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy: Depends: javahelper which is a virtual
package.
                                 Depends: libdom4j-java which is a virtual
package.
                                 Depends: libswt-gtk-3.4-java which is a
virtual package.
                                 Depends: openjdk-6-jdk which is a virtual
package.
Resolving dependencies...
The following actions will resolve these dependencies:

Remove the following packages:
pbuilder-satisfydepends-dummy

Score is -9850

The following NEW packages will be automatically installed:
  file libmagic1 libpng12-0
The following packages will be automatically REMOVED:
  pbuilder-satisfydepends-dummy
The following NEW packages will be installed:
  file libmagic1 libpng12-0
The following packages will be REMOVED:
  pbuilder-satisfydepends-dummy
0 packages upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/561kB of archives. After unpacking 2318kB will be used.
Writing extended state information... Done
(Reading database ... 12190 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Selecting previously deselected package libmagic1.
(Reading database ... 12190 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.21-3_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.21-3_i386.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.15~beta5-3_i386.deb) ...
Setting up libmagic1 (4.21-3) ...

Setting up file (4.21-3) ...
Setting up libpng12-0 (1.2.15~beta5-3) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
Copying back the cached apt archive contents
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//23839 and its
subdirectories




On Sat, May 24, 2008 at 12:38 PM, أحمد المحمودي <
[EMAIL PROTECTED]> wrote:

> as-salamu alaykom,
>
> On Fri, May 23, 2008 at 11:45:20AM +0300, fadi al-katout wrote:
> > am having a trouble building monajat debian package
> > using the diff file that brother Ahmad created...
> > it is not the same as the one for wcc ?!
> ---end quoted text---
>
> Sorry I was busy last week, I didn't answer your email.
> Here's the story of making a debian package:
>
> 1. Some programmer makes a nice program (such as thwab-lib,
> monajat,...). He makes an archive (.tar.gz or .tar.bz2, .zip, ...) file
> that contains the source code of his program and puts that on some
> website. This archive usually targets any linux system (not just Debian
> or Ubuntu), sometimes it can target other than linux, such as monajat
> that can work in windows.
>
> 2. Some packager decides to make a debian/ubuntu package for that
> program, so he downloads that archive and converts it to a .tar.gz
> archive with the following naming convention:
> package_version.orig.tar.gz. That's called the upstream tarball.
>
> 3. Then this packager unpacks that upstream tarball, and creates a
> debian/ folder in the extracted directory. In this debian folder, he
> puts scripts needed to build the binary debian package for the program.
>
> 4. When done, the packager runs: debuild -S -sa -rfakeroot
> to create the debian source package, the source package consists of
> three files:
>
> package_version-revision.dsc
> package_version-revision.diff.gz
> package_version.orig.tar.gz
>
> Where revision is the version of packaging work itself.
>
> The diff.gz file is a patch against the upstream tarball, this patch
> contians the work that the packager did in the debian/ folder.
>
> 5. To build this package, one can run:
>
> sudo pbuilder build package_version-revision.dsc
>
> And yes, of course the diff file for monajat is not the same as the one
> for wcc.
>
> --
>  أحمد المحمودي (Ahmed El-Mahmoudy)
>  Digital design engineer
>  SySDSoft, Inc.
>  GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
>  GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C  156E D325 C3C8 9DCA 0B27
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~ubuntume.team<https://launchpad.net/%7Eubuntume.team>
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/people/+me/+editemails
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~ubuntume.team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/people/+me/+editemails
More help   : https://help.launchpad.net/ListHelp

رد على