| To: | Santiago Vila <sanvila@xxxxxxx> |
|---|---|
| Subject: | Bug#805955: [pcp] Bug#805955: pcp: FTBFS when built with dpkg-buildpackage -A (no binary artifacts) |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Wed, 20 Jul 2016 19:38:32 -0400 (EDT) |
| Cc: | 805955@xxxxxxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <alpine.DEB.2.11.1607191034220.18373@xxxxxxxxxxxxxxxxxxxxxxxxx> |
| References: | <E1bNooB-0001FN-27@xxxxxxxxxxxxxxxxxxxxxx> <363843620.6970954.1468912367736.JavaMail.zimbra@xxxxxxxxxx> <alpine.DEB.2.11.1607191034220.18373@xxxxxxxxxxxxxxxxxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx>, 805955@xxxxxxxxxxxxxxx |
| Resent-cc: | PCP Development Team <pcp@xxxxxxxxxxx> |
| Resent-date: | Wed, 20 Jul 2016 23:42:01 +0000 |
| Resent-from: | Nathan Scott <nathans@xxxxxxxxxx> |
| Resent-message-id: | <handler.805955.B805955.146905792022111@xxxxxxxxxxxxxxx> |
| Resent-to: | debian-bugs-dist@xxxxxxxxxxxxxxxx |
| Thread-index: | 2MqmDDzhcPNUBBrKTcSGpl+QjpZ4Sg== |
| Thread-topic: | Bug#805955: pcp: FTBFS when built with dpkg-buildpackage -A (no binary artifacts) |
----- Original Message -----
> > Actually some advice would be great, having had an initial look into
> > this one now. Patch below shows the basic split we'll need to make
> > the architecture independent packages generated separately, but I'm
> > not sure how to fit that split into the rest of the rules file (I get
> > the same sort of errors with a change like this in place no matter
> > what I try - maybe its obvious to someone more deb knowledgeable?).
>
> I have not tested the patch but I see why it would not work.
>
> Try putting "dh_builddeb" somewhere in binary-indep, otherwise the
> actual .deb packages will not be created.
>
> Thanks.
>
Taa. I see problems in the binary-indep target before the build reaches
that stage though. The debian/rules uses dh_install(1) - in particular,
it relies on this behaviour from the man page...
On the other hand, maybe you have a large package that builds
multiple binary packages. You can use the upstream Makefile to
install it all into debian/tmp, and then use dh_install to copy
directories and files from there into the proper package build
directories.
And dh_install fails when used by the binary-indep target - it requires
files from both binary-indep and binary-arch, I think. Does that mean
dh_install can no longer be used for these targets as described above or
does that stage need to done elsewhere? (before dh_builddeb I'm sure)
Thanks.
--
Nathan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] Another Python snarfoo (qa/739), Nathan Scott |
|---|---|
| Next by Date: | pcp updates: marko merge, ds389log fix, qa, Nathan Scott |
| Previous by Thread: | Bug#805955: [pcp] Bug#805955: pcp: FTBFS when built with dpkg-buildpackage -A (no binary artifacts), Santiago Vila |
| Next by Thread: | Bug#805955: [pcp] Bug#805955: pcp: FTBFS when built with dpkg-buildpackage -A (no binary artifacts), Santiago Vila |
| Indexes: | [Date] [Thread] [Top] [All Lists] |