Backports and debhelper 3 for potato (was: Tool to generate an override file from packages?)
On Tue, 25 Sep 2001 13:42:59 +1000, Anthony Towns aj@azure.humbug.org.au wrote: On Mon, Sep 24, 2001 at 09:08:32PM +0200, Marc Haber wrote: Most sid packages have Build-Depends: debhelper 3 and DH_COMPAT=3 in debian/rules. find pool/main -type f | grep '/.*/.*.diff.gz' | while read a; do zgrep -l DH_COMPAT=3 $a; done | sed 's,/[^/]*$,,' | uniq | wc 933 933 13697 find pool/main -type f | grep '/.*/.*.diff.gz' | sed 's,/[^/]*$,,' | uniq | wc 35423542 49523 Seems a lot less than most packages. Make that most packages I happen to backport. I am surely only using a small fraction of Debian, because I mostly run servers that don't have X or any nifty stuff installed, but I frequently encounter packages that need debhelper 3. I am not complaining about this, though. It is good to have new stuff developed. In any case, though, wanting new packages to be written and uploaded, and then expecting them somehow to suddenly work on a potato box without any backporting doesn't make any sense either. You're right. But backporting can be easy, and it can be hard. And it is quite frustrating that a basic tool like debhelper is such a beast to backport. debhelper depends on debconf-utils which is only in later debconfs. And debconf's perl scripts use a lot of perl 5.6 features like our, and I don't think that there is any other way to get current debconf running on potato than backporting perl 5.6, which is _definetely_ something beyond my knowledge. Is it _really_ that hard to get debhelper 3 for potato? Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: Backports and debhelper 3 for potato (was: Tool to generate an override file from packages?)
On Tue, Sep 25, 2001 at 03:14:09PM +0200, Marc Haber [EMAIL PROTECTED] was heard to say: Seems a lot less than most packages. Make that most packages I happen to backport. I am surely only using a small fraction of Debian, because I mostly run servers that don't have X or any nifty stuff installed, but I frequently encounter packages that need debhelper 3. I am not complaining about this, though. It is good to have new stuff developed. How many of them actually use debhelper 3 features? I know I've been guilty of gratuitously setting DH_COMPAT=3 now and then (and I know dh_make defaults to it, which doesn't help) In at least some cases, changing that to DH_COMPAT=2 and maybe making a few other small tweaks should get a decent backport. It looks like the only v3 features of interest [0] are globbing in config files, automagic insertion of ldconfig by dh_makeshlibs, and automagic conffile-tagging by dh_installdeb. Depending on the package you're compiling, these might not even matter.. Daniel [0] from debhelper(1) -- / Daniel Burrows [EMAIL PROTECTED] ---\ | Of course you can't see the guards. They DON'T EXIST! | | Oh my god, we're surrounded! Run away, run away! | | -- Fluble | \ News without the $$ -- National Public Radio -- http://www.npr.org /
Re: Backports and debhelper 3 for potato (was: Tool to generate an override file from packages?)
MH == Marc Haber [EMAIL PROTECTED] writes: [...] Is it _really_ that hard to get debhelper 3 for potato? I did a backport 3 months ago (3.0.31). Only a little bug, you need to call dh_perl with -d. Except that, I never received any bug report http://marillat.free.fr/dists/stable/main/binary-i386/index.html Christian
Re: Tool to generate an override file from packages?
On Mon, Sep 24, 2001 at 07:56:05PM +0800, Lindsay Allen wrote: I have need of the script which generates .../dists/sid/Release. AFAIKT it is not in apt-ftparchives. Can anyone help here, please? Try ziyi, at http://cvs.debian.org/dak/ziyi?cvsroot=dak. -- Colin Watson [EMAIL PROTECTED]
Re: Tool to generate an override file from packages?
On Sun, 23 Sep 2001, Admar Schoonen wrote: On Sun, Sep 23, 2001 at 03:05:59PM +0200, Marc Haber wrote: Hi, quite a few people maintain their own aptable archives of packages - whether for internal use or for publication. In that environment, override files don't serve a purpose since the ftp maintainer is also the package maintainer. However dpkg-scanpackages complains about every package it doesn't find in the override file. apt-ftparchive doesn't complain about it. AFAIK apt-ftparchive is the successor of dpkg-scanpackages and contains more functionality (if you only want to use apt-ftparchive just like dpkg-scanpackages, use 'apt-ftparchive packages') apt-ftparchive is in the apt-utils package I have need of the script which generates .../dists/sid/Release. AFAIKT it is not in apt-ftparchives. Can anyone help here, please? TIA Lindsay -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Lindsay Allen [EMAIL PROTECTED]Perth, Western Australia voice +61 8 9316 2486, 0403 272 564 32.0125S 115.8445E Debian Linux =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: Tool to generate an override file from packages?
On Sun, Sep 23, 2001 at 10:15:06PM +0200, Marc Haber wrote: On Mon, 24 Sep 2001 03:55:45 +1000, Anthony Towns aj@azure.humbug.org.au wrote: On Sun, Sep 23, 2001 at 07:34:34PM +0200, Marc Haber wrote: On Sun, 23 Sep 2001 16:43:05 +0200, Admar Schoonen [EMAIL PROTECTED] wrote: apt-ftparchive is in the apt-utils package But not in potato. The mirror server is a potato box. Any new tool that hypothetically gets written or packages isn't going to get put in potato either. Having spent four hours last night to try getting a debhelper 3 (unsuccessfully) backported to potato makes me wince at _any_ backporting effort. This might differ tomorrow. I have apt 0.5.4 for potato; not all of apt's documentation is in the package (had some problems with them). Anyway, if you want them, I can upload them somewhere. Cheers, Admar Schoonen
Re: Tool to generate an override file from packages?
On 23 Sep 2001 21:36:12 +0100, James Troup [EMAIL PROTECTED] wrote: Marc Haber [EMAIL PROTECTED] writes: Any new tool that hypothetically gets written or packages isn't going to get put in potato either. Having spent four hours last night to try getting a debhelper 3 (unsuccessfully) backported to potato makes me wince at _any_ backporting effort. 'any'? What on earth are you talking about? This is a misunderstanding. I've back ported any number of unstable things for potato and not once been affected by debhelper 3. Most sid packages have Build-Depends: debhelper 3 and DH_COMPAT=3 in debian/rules. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: Tool to generate an override file from packages?
On Mon, Sep 24, 2001 at 09:08:32PM +0200, Marc Haber wrote: I've back ported any number of unstable things for potato and not once been affected by debhelper 3. Most sid packages have Build-Depends: debhelper 3 and DH_COMPAT=3 in debian/rules. find pool/main -type f | grep '/.*/.*.diff.gz' | while read a; do zgrep -l DH_COMPAT=3 $a; done | sed 's,/[^/]*$,,' | uniq | wc 933 933 13697 find pool/main -type f | grep '/.*/.*.diff.gz' | sed 's,/[^/]*$,,' | uniq | wc 35423542 49523 Seems a lot less than most packages. In any case, though, wanting new packages to be written and uploaded, and then expecting them somehow to suddenly work on a potato box without any backporting doesn't make any sense either. Cheers, aj -- Anthony Towns [EMAIL PROTECTED] http://azure.humbug.org.au/~aj/ I don't speak for anyone save myself. GPG signed mail preferred. ``Freedom itself was attacked this morning by faceless cowards. And freedom will be defended.'' Condolences to all involved.
Tool to generate an override file from packages?
Hi, quite a few people maintain their own aptable archives of packages - whether for internal use or for publication. In that environment, override files don't serve a purpose since the ftp maintainer is also the package maintainer. However dpkg-scanpackages complains about every package it doesn't find in the override file. Is there a tool to generate an override file that simply contains the section/subsection/priority settings from the packages in the archive? Any hints will be appreciated. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: Tool to generate an override file from packages?
On Sun, Sep 23, 2001 at 03:05:59PM +0200, Marc Haber wrote: Hi, quite a few people maintain their own aptable archives of packages - whether for internal use or for publication. In that environment, override files don't serve a purpose since the ftp maintainer is also the package maintainer. However dpkg-scanpackages complains about every package it doesn't find in the override file. apt-ftparchive doesn't complain about it. AFAIK apt-ftparchive is the successor of dpkg-scanpackages and contains more functionality (if you only want to use apt-ftparchive just like dpkg-scanpackages, use 'apt-ftparchive packages') apt-ftparchive is in the apt-utils package cheers, Admar Schoonen
Re: Tool to generate an override file from packages?
On Sun, 23 Sep 2001 16:43:05 +0200, Admar Schoonen [EMAIL PROTECTED] wrote: apt-ftparchive is in the apt-utils package But not in potato. The mirror server is a potato box. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: Tool to generate an override file from packages?
On Sun, Sep 23, 2001 at 07:34:34PM +0200, Marc Haber wrote: On Sun, 23 Sep 2001 16:43:05 +0200, Admar Schoonen [EMAIL PROTECTED] wrote: apt-ftparchive is in the apt-utils package But not in potato. The mirror server is a potato box. Any new tool that hypothetically gets written or packages isn't going to get put in potato either. Alternatively, ftp-master.debian.org runs potato, but somehow manages to have an apt-utils.deb installed including apt-ftparchive. Sorry about the patronising tone, but I feel kind of silly seeing this have to be said on -devel. Cheers, aj -- Anthony Towns [EMAIL PROTECTED] http://azure.humbug.org.au/~aj/ I don't speak for anyone save myself. GPG signed mail preferred. ``Freedom itself was attacked this morning by faceless cowards. And freedom will be defended.'' Condolences to all involved.
Re: Tool to generate an override file from packages?
On Mon, 24 Sep 2001 03:55:45 +1000, Anthony Towns aj@azure.humbug.org.au wrote: On Sun, Sep 23, 2001 at 07:34:34PM +0200, Marc Haber wrote: On Sun, 23 Sep 2001 16:43:05 +0200, Admar Schoonen [EMAIL PROTECTED] wrote: apt-ftparchive is in the apt-utils package But not in potato. The mirror server is a potato box. Any new tool that hypothetically gets written or packages isn't going to get put in potato either. Having spent four hours last night to try getting a debhelper 3 (unsuccessfully) backported to potato makes me wince at _any_ backporting effort. This might differ tomorrow. Greetings Marc -- -- !! No courtesy copies, please !! - Marc Haber |Questions are the | Mailadresse im Header Karlsruhe, Germany | Beginning of Wisdom | Fon: *49 721 966 32 15 Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29
Re: Tool to generate an override file from packages?
MH == Marc Haber [EMAIL PROTECTED] writes: Hi, Hi, [...] Is there a tool to generate an override file that simply contains the section/subsection/priority settings from the packages in the archive? Replace the override file name by /dev/null Christian
Re: Tool to generate an override file from packages?
Marc Haber [EMAIL PROTECTED] writes: Any new tool that hypothetically gets written or packages isn't going to get put in potato either. Having spent four hours last night to try getting a debhelper 3 (unsuccessfully) backported to potato makes me wince at _any_ backporting effort. 'any'? What on earth are you talking about? I've back ported any number of unstable things for potato and not once been affected by debhelper 3. More to the point, apt definitely does not need debhelper 3, so, please give it up already. -- James