[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build-depends method



Shaun Jackman <sjackman@telus.net> writes:

> When packaging a new package, what's a methodical way to find *all* 
> its Build-Depends packages? Currently, I go through the automatically 
> generated list of Depends packages, and add the corresponding -dev 
> package. Last my last package though, I missed that the package 
> depends on flex and yacc. So  my rigorous method is, upload package, 
> wait for FTBFS bug, add Build-Depends, wash, rinse, repeat. I know, 
> you're allowed to cry now. How should this work?

Use a clean chroot with only the known Build-Depends added. Try a
build. If it fails you have another packages for B-D. If it succeeds
you are finished.
pbuilder helps with this.

-- 
bye Joerg
Linus: "Wenn Darl McBride die Macht hätte, würde er wahrscheinlich die
Ehe als Verletzung der Verfassung auslegen, weil sie ganz klar die
kommerzielle Natur der menschlichen Interaktion entwertet und damit ein
großes Hindernis für die kommerzielle Entwicklung der Prostitution darstellt."

Attachment: pgpNPsmuSQ_XS.pgp
Description: PGP signature


Reply to: