Re: build-deps
Sven LUTHER wrote:
>
> I did not add build-dependencies at first, and anyway, it is a bit difficult
> to track them all down, because they are stuff i had installed anyway on my
> system.
> Yes, just fill a bug against the package if you see missing build deps, i
> would have liked a automatic build-dep generator (could be done in the same
> way fakeroot does it's work) but have no time for it.
>
> Also notice, that apt-get source -b will vastly ignore build-dependencies,
> isn't it, or at least dpkg-buildpackage does. Build deps are mostly a thing
> used by the auto builders.
????
I'm not sure of that because I used to do <<apt-get source -b>>
or (when things go wrong in some way) <<dpkg-buildpackage>>, and I
**saw** the download of deb sources I didn't ask, so... there is (?)
some use of build dependencies somewhere
(more probably with apt-get source -b)
By the way, what are auto-builders ??
What I'm trying to do is to build a memory of the build deps
by annoting a Makefile something like that :
libglib1.2-dev:
$(COMPILE) libglib1.2-dev
$(INSTALL) libglib*-dev*.deb
libglib1.2: libglib1.2-dev
$(COMPILE) libglib1.2
$(INSTALL) libglib1.2*.deb
libgtk1.2: libglib1.2
$(COMPILE) libgtk1.2
** I PERFECTLY KNOW THAT THIS IS NOT SUFFICIENT TO REACH
SOMETHING I COULD CALL AN AUTO-BUILDER, ... **
But it is enough to see what difficulties arise when trying to
auto-build some parts of the distribution...
I noted at least to main problems :
a) requesting an apt-get source -b <name> leads to the download of
- a1 deb source with a different name ...
or - a2 several deb sources (obviously with different names :-)
b) building a downloaded debsource leads to
- b1 (deb) binary with a different name ...
or - b2 several (deb) binaries with different names (again)
So I wonder what kind of <<protocol>> may exist in an auto-builder in order
to cope with these issues...
In other words an auto-builder
should be able (?) to automatically generate the corresponding
Makefile (in the same way I tried to write one by hand ...)
--
# Georges MARIANO tel: (33) 03 20 43 84 06
# INRETS, 20 rue Elisee Reclus fax: (33) 03 20 43 83 59
# 59650 Villeneuve d'Ascq mailto:georges.mariano@inrets.fr
# FRANCE.
# http://www3.inrets.fr/Public/ESTAS/Mariano.Georges/
# http://www3.inrets.fr/B-Bibliography/
Reply to:
- References:
- build-deps
- From: Georges Mariano <georges.mariano@inrets.fr>
- Re: build-deps
- From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>