Instructions on how to build Debian packages from SVN repository
Paul Menzel <[email protected]> Sun, 22 Jan 2012 23:48:05 +0100
| Newsgroups | gmane.comp.lib.libchipcard.devel |
|---|---|
| Message-ID | <1327272485.28312.25.camel@mattotaupa> |
--===============6688911491302351911==
Content-Type: multipart/signed; micalg="pgp-sha1";
protocol="application/pgp-signature";
boundary="=-Dv4klJe5WFCk53SwiRbF"
--=-Dv4klJe5WFCk53SwiRbF
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Dear Libchipcard folks,
I am failing to build Debian packages from the SVN repository.
$ aptitude build-dep=20
$ git svn clone http://devel.aqbanking.de/svn/libchipcard/trunk lib=
chipcard
$ cd /tmp/
$ debcheckout libchipcard # does not work due to wrong URL informat=
ion
$ apt-get source libchipcard
$ cd /path/to/libchipcard
$ cp -a /tmp/libchipcard-5.0.2/debian ~/src/libchipcard/
$ git checkout -b debian
$ git add debian
$ git commit -m "Debian folder"
$ dch -v5.0.2-1+svn611 Inofficial release updated to SVN r611
$ git commit -m "Add changelog entry"
$ make -f Makefile.cvs
$ dpkg-buildpackage -uc -us -b
[=E2=80=A6]
## ----------- ##
## confdefs.h. ##
## ----------- ##
=20
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
=20
configure: exit 1
dh_auto_configure: ./configure --build=3Di486-linux-gnu --prefix=3D=
/usr --includedir=3D${prefix}/include --mandir=3D${prefix}/share/man --info=
dir=3D${prefix}/share/info --sysconfdir=3D/etc --localstatedir=3D/var --lib=
execdir=3D${prefix}/lib/libchipcard --disable-maintainer-mode --disable-dep=
endency-tracking returned exit code 1
make: *** [build] Fehler 25
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build=
war 2
Running that command manually returns.
configure: error: cannot find install-sh, install.sh, or shtool in =
"." "./.." "./../.."
So it looks like that Debhelper is cleaning the tree beforehand. Issuing
all above commands and in the end
$ dpkg-buildpackage -uc -us -b -nc
and that luckily worked.
Thanks,
Paul
--=-Dv4klJe5WFCk53SwiRbF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEABECAAYFAk8ckiUACgkQPX1aK2wOHVhdAQCeOAA7nFVmL1JE/zycyxcWJaXK
7P8AnApLXvDgfMkdmYbAnWKwi+ChkX3o
=ZiYJ
-----END PGP SIGNATURE-----
--=-Dv4klJe5WFCk53SwiRbF--
--===============6688911491302351911==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
--===============6688911491302351911==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
--===============6688911491302351911==--