Project

General

Profile

Actions

Bug #1984

closed

Can not make debian packages directly with files from git repo

Added by Jean Remond about 13 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

- git clone git://github.com/Normation/rudder-packages.git
- cd rudder-packages/rudder-agent/
- dpkg-buildpackage

cd SOURCES && ./perl-prepare.sh
/home/jremond/packages/rudder-packages/rudder-agent/SOURCES/files/perl-5.12.1.tar.gz
I did not find the perl sources directory. It either means something failed during the download, or you are trying something funny.
make: *** [configure-stamp] Erreur 1
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2

- Patch1 (see files attached)

- dpkg-buildpackage

cd SOURCES && make && ./perl-prepare.sh
make1: entrant dans le répertoire « /home/sky/packages/rudder-packages/rudder-agent/SOURCES »
cd /tmp/tmp.ZpPXZfgAeS && git clone --depth 1 :Normation/rudder-policy-templates.git
Cloning into rudder-policy-templates...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
make1: * [initial-promises] Erreur 128
make1: quittant le répertoire « /home/sky/packages/rudder-packages/rudder-agent/SOURCES »
make: *
[configure-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2

- Patch2

- dpkg-buildpackage

dh_install --SOURCEDIR=/home/sky/packages/rudder-packages/rudder-agent/SOURCES/perl-custom/opt rudder /opt
dh_install --SOURCEDIR=/home/sky/packages/rudder-packages/rudder-agent/SOURCES run-inventory /opt/rudder/bin
dh_install --SOURCEDIR=/home/sky/packages/rudder-packages/rudder-agent/SOURCES initial-promises /opt/rudder/share
cp: impossible d'évaluer « debian/tmp/initial-promises »: Aucun fichier ou dossier de ce type
dh_install: cp -a debian/tmp/initial-promises debian/rudder-agent//opt/rudder/share/ returned exit code 1
make: *** [binary-arch] Erreur 2
dpkg-buildpackage: erreur: fakeroot debian/rules binary a produit une erreur de sortie de type 2

Any idea ?


Files

debian-rules.patch1 (596 Bytes) debian-rules.patch1 Patch1 Jean Remond, 2011-11-02 19:24
debian-rules.patch2 (801 Bytes) debian-rules.patch2 Patch2 Jean Remond, 2011-11-02 19:24
Actions

Also available in: Atom PDF