help, error with debian/tmp
Hello all Please, help me, what i do wrong? I try build debian package, but see error: [EMAIL PROTECTED]:/data/soft/pkg/astral/libastral-0.4% dpkg-buildpackage ... install -s libastral.so /data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/ install: указанная цель `/data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/' не является каталогом: Нет такого файла или каталога This is a small test library from http://sourceforge.net/projects/libastralso i run dh_make, select type library, unpack source code from tgz, fix prefix in Makefile: PREFIX = $(DESTDIR)/usr install section is: install: install -s libastral.so ${PREFIX}/lib/ install -s astral_test ${PREFIX}/bin/ my control file is: Source: libastral Priority: extra Maintainer: Ivan Borzenkov [EMAIL PROTECTED] Build-Depends: debhelper (= 7) Standards-Version: 3.7.3 Section: libs Homepage: insert the upstream URL, if relevant Package: libastral-dev Section: libdevel Architecture: any Depends: libastral (= ${binary:Version}) Description: insert up to 60 chars description insert long description, indented with spaces Package: libastral Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: insert up to 60 chars description insert long description, indented with spaces I only remove BROKEN from Package: libastralBROKEN files: debian/dirs: usr/lib usr/include libastral-dev.dirs: usr/lib usr/include libastral.dirs: usr/lib debian/rules is default: install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install I try insert sleep 100 after dh_installdirs and i not see tmp dir in debian I uncomment export DH_VERBOSE=1 and not see create debian/tmp directory \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) dh_installdirs install -d debian/libastral-dev install -d debian/libastral-dev/usr/lib debian/libastral-dev/usr/include install -d debian/libastral install -d debian/libastral/usr/lib # Add here commands to install the package into debian/tmp /usr/bin/make DESTDIR=/data/soft/pkg/astral/libastral-0.4/debian/tmp install i try found in google, but everewere talks - debian tmp create by default. my version of dh-make is 0.46 - from testing signature.asc Description: This is a digitally signed message part.
Re: help, error with debian/tmp
On Sun, Oct 5, 2008 at 2:35 PM, ivan [EMAIL PROTECTED] wrote: I try build debian package, but see error: [EMAIL PROTECTED]:/data/soft/pkg/astral/libastral-0.4% dpkg-buildpackage ... install -s libastral.so /data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/ install: указанная цель `/data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/' не является каталогом: Нет такого файла или каталога Most of us do not understand Russian, so please either set LANG=C before gathering errors. -- bye, pabs http://wiki.debian.org/PaulWise
Re: help, error with debian/tmp
ivan wrote: Hello all Please, help me, what i do wrong? I try build debian package, but see error: [EMAIL PROTECTED]:/data/soft/pkg/astral/libastral-0.4% dpkg-buildpackage ... install -s libastral.so /data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/ install: указанная цель `/data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/' не является каталогом: Нет такого файла или каталога [snip] IANADD Have you debian/dirs file, with usr/lib entry in it? -- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer. signature.asc Description: OpenPGP digital signature
Re: help, error with debian/tmp
Sorry for russian error in english: [EMAIL PROTECTED]:/data/soft/pkg/astral/libastral-0.4% LANG=C dpkg-buildpackage ... \) -exec rm -f {} \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \) dh_installdirs install -d debian/libastral-dev install -d debian/libastral-dev/usr/lib debian/libastral-dev/usr/include install -d debian/libastral install -d debian/libastral/usr/lib # Add here commands to install the package into debian/tmp /usr/bin/make DESTDIR=/data/soft/pkg/astral/libastral-0.4/debian/tmp install make[1]: Entering directory `/data/soft/pkg/astral/libastral-0.4' install -s libastral.so /data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/ install: target `/data/soft/pkg/astral/libastral-0.4/debian/tmp/usr/lib/' is not a directory: No such file or directory make[1]: *** [install] Error 1 ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: help, error with debian/tmp
On Sunday 05 October 2008 11:10:54 Eugene V. Lyubimkin wrote: Have you debian/dirs file, with usr/lib entry in it? Yes debian/dirs file contents 2 strings: usr/lib usr/include files libastral.dirs and libastral-dev.dirs work fine, but file dirs not work. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: help, error with debian/tmp
ivan wrote: On Sunday 05 October 2008 12:40:29 Eugene V. Lyubimkin wrote: ivan wrote: On Sunday 05 October 2008 11:10:54 Eugene V. Lyubimkin wrote: Have you debian/dirs file, with usr/lib entry in it? Yes debian/dirs file contents 2 strings: usr/lib usr/include Ah, sorry, didn't see it. Then simply mkdir usr/lib subdirectory in debian/tmp, it seems that dh_installdirs don't create it, its aim to create all needed subdirectories in package install dirs, not tmp. It's my assuming, it may be wrong. Hmmm, wery strange... I find in Dh_Lib.pm code: elsif (compat(1) $package eq $dh{MAINPACKAGE}) { # This is for back-compatibility with the debian/tmp tradition. return debian/tmp; } and may build package when write in debian/compat 1, but write dh_builddeb: Compatibility levels before 4 are deprecated. You should not build package with compat 5 nowadays. why default make file generate: install: build .. # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install install to debian/tmp ? I guess because most 'install' targets create needed subdirectories themselves. -- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer. signature.asc Description: OpenPGP digital signature
Re: help, error with debian/tmp
On Sunday 05 October 2008 13:59:54 Eugene V. Lyubimkin wrote: and may build package when write in debian/compat 1, but write dh_builddeb: Compatibility levels before 4 are deprecated. You should not build package with compat 5 nowadays. I understand this, i only try it. why default make file generate: install: build .. # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install install to debian/tmp ? I guess because most 'install' targets create needed subdirectories themselves. And what do file debian/dirs if it not work? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: help, error with debian/tmp
ivan wrote: On Sunday 05 October 2008 11:10:54 Eugene V. Lyubimkin wrote: Have you debian/dirs file, with usr/lib entry in it? Yes debian/dirs file contents 2 strings: usr/lib usr/include Ah, sorry, didn't see it. Then simply mkdir usr/lib subdirectory in debian/tmp, it seems that dh_installdirs don't create it, its aim to create all needed subdirectories in package install dirs, not tmp. It's my assuming, it may be wrong. -- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer. signature.asc Description: OpenPGP digital signature
Re: help, error with debian/tmp
On Sunday 05 October 2008 12:40:29 Eugene V. Lyubimkin wrote: ivan wrote: On Sunday 05 October 2008 11:10:54 Eugene V. Lyubimkin wrote: Have you debian/dirs file, with usr/lib entry in it? Yes debian/dirs file contents 2 strings: usr/lib usr/include Ah, sorry, didn't see it. Then simply mkdir usr/lib subdirectory in debian/tmp, it seems that dh_installdirs don't create it, its aim to create all needed subdirectories in package install dirs, not tmp. It's my assuming, it may be wrong. Hmmm, wery strange... I find in Dh_Lib.pm code: elsif (compat(1) $package eq $dh{MAINPACKAGE}) { # This is for back-compatibility with the debian/tmp tradition. return debian/tmp; } and may build package when write in debian/compat 1, but write dh_builddeb: Compatibility levels before 4 are deprecated. why default make file generate: install: build .. # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install install to debian/tmp ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: help, error with debian/tmp
ivan wrote: On Sunday 05 October 2008 13:59:54 Eugene V. Lyubimkin wrote: and may build package when write in debian/compat 1, but write dh_builddeb: Compatibility levels before 4 are deprecated. You should not build package with compat 5 nowadays. I understand this, i only try it. why default make file generate: install: build .. # Add here commands to install the package into debian/tmp $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install install to debian/tmp ? I guess because most 'install' targets create needed subdirectories themselves. And what do file debian/dirs if it not work? Installs dirs in case there is only one binary package. Otherwise package.dirs are needed. -- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer. signature.asc Description: OpenPGP digital signature
Re: help, error with debian/tmp
On Sunday 05 October 2008 14:37:03 Eugene V. Lyubimkin wrote: Installs dirs in case there is only one binary package. Otherwise package.dirs are needed. Thanks, all work fine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RFS: lunar (NMU)
Dear mentors, I am looking for a sponsor for the new version 2.2-3.1 of package lunar. lunar is a converter program between Chinese calendar and the normal calendar. package lunar is marked as LowNMU[1], in this upload, I fix a algorithm which will generate wrong result in 2033. I did not touch the lintian warning issues, because this is only a NMU. please help upload, thanks. [1] http://packages.qa.debian.org/l/lunar.html It builds these binary packages: lunar - Chinese Lunar Calendar conversion utility The upload would fix these bugs: 366918 The package can be found on mentors.debian.net: - URL: http://mentors.debian.net/debian/pool/main/l/lunar - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - dget http://mentors.debian.net/debian/pool/main/l/lunar/lunar_2.2-3.1.dsc I would be glad if someone uploaded this package for me. Kind regards LI Daobing -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RFS: dhcp-probe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear mentors, I am looking for a sponsor for my package dhcp-probe. * Package name: dhcp-probe * Version : 1.2.2a-1 * Upstream Author : Irwin Tillman (irwin AT princeton DOT edu) * URL : http://www.net.princeton.edu/software/dhcp_probe/ * License : Specific. * Section : net It builds these binary packages: dhcp-probe - network dhcp or bootp server discover The upload would fix these bugs: 495959 The package can be found on mentors.debian.net: - - URL: http://mentors.debian.net/debian/pool/main/d/dhcp-probe - - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - - dget http://mentors.debian.net/debian/pool/main/d/dhcp-probe/dhcp-probe_1.2.2a-1.dsc dhcp_probe license respects all free-software requirements and it seems that the GPL is the more restrictive license. This version of dhcp_probe is an alpha version (but running with all features) due to several patch introduction (like some source code update needed to GNU/Linux port). I would be glad if someone uploaded this package for me. Kind regards Laurent Guignard - -- Laurent Guignard, Registered as user #301590 with the Linux Counter Site : http://www.famille-guignard.org Blog : http://blog.famille-guignard.org Projet : http://sicontact.sourceforge.net GULL de Villefranche sur Saône : http://www.cagull.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI6LLQjcKpXFc/7oYRAmyHAJ4qxelpxBgxk0Y5sQOS1n7tz9zNoQCgzZla ztbvogNfQylRPvyjr8bm48c= =Mis2 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Packaging with CMake
Hi, I try to build the package kio-ftps, but the 0.2 version (for KDE 4) uses CMake. What is the procedure to build a Debian package with CMake ? Thank you, -- Laurent Léonard signature.asc Description: This is a digitally signed message part.
Re: RFS: dhcp-probe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Heya Laurent, Your package is not lintian clean. In your debian/ folder if you need to remove all files that end in .ex that you will not be using, if you are using them you need to rename them to remove the .ex extension. You should run lintian against your package and fix all the errors that it states. IE: In your debian/control you need to set Standards-Version: 3.8.0 You should create a watch file for you package so that DEHS and various QA scripts can check if the package is up-to-date automagically. In your debian/rules you should remove the fluff and unneeded comments. You need to rename the tar.gz file to dhcp-probe_1.2.2a-1.orig.tar.gz These are just a few of the problems i found with a cursory glance at your package. Regards, Chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjpY2AACgkQLpNUoan9SCE9KACfUde6grpC/YlnJEELK+NfuSDB hoAAoIcVPo+CuEBu1Frw8hjeizOL61B1 =RWbX -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: dhcp-probe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Taylor wrote: You need to rename the tar.gz file to dhcp-probe_1.2.2a-1.orig.tar.gz Sorry, i typoed that line. You should rename the file to dhcp-probe_1.2.2a.orig.tar.gz Ciao, Chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjpZOsACgkQLpNUoan9SCEsYACfeZQpZadNGi/M+423wv0lQiV9 3/YAnjWhAcamHoHyesuQ3u6QcmrKIY3S =M3bp -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Packaging with CMake
On Mon, Oct 06, 2008 at 01:45:10AM +0200, Laurent Léonard wrote: I try to build the package kio-ftps, but the 0.2 version (for KDE 4) uses CMake. What is the procedure to build a Debian package with CMake ? It's no different to any other package. You put cmake in the build-deps, run it to build and install the software, then use dh_install to shuffle the files where they need to go. - Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Packaging with CMake
Hi, Laurent Léonard wrote: Hi, I try to build the package kio-ftps, but the 0.2 version (for KDE 4) uses CMake. What is the procedure to build a Debian package with CMake ? Thank you, If your question is how to compile the package sources (not how to build the package), you should create an empty directory (the binary directory where the program will be built), then from there invoke ccmake path_to_sources. The path is where the top CMakeLists.txt file is. You can also try cmake-gui if you have it. If your question is how to build a Debian package... I don't know about any standard procedure. I had to do such one package and I created a dummy configure scripts which in turn calls cmake with some proper variables set. Apart from that configure, the rest is using the standard Debian packaging tools. If anyone knows about a more elegant way than the dummy configure file, I'd be also interested in it :-) JL -- ___ Jose-Luis Blanco-Claraco Phone: +34 952 132848 Dpto. Ingenieria de Sistemas y Automatica E.T.S.I. Telecomunicacion Fax: +34 952 133361 Universidad de Malaga Campus Universitario de Teatinos 29071 Malaga, Spain http://www.isa.uma.es/jlblanco ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Packaging with CMake
Jose Luis Blanco [EMAIL PROTECTED] writes: If your question is how to build a Debian package... I don't know about any standard procedure. I had to do such one package and I created a dummy configure scripts which in turn calls cmake with some proper variables set. Apart from that configure, the rest is using the standard Debian packaging tools. If anyone knows about a more elegant way than the dummy configure file, I'd be also interested in it :-) Why not take the commands in your dummy configure script and just put them directly into debian/rules? -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]