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

Re: build-and-upload failing on unicorn



On Sat, Jul 23, 2016 at 05:38:52PM +0530, Pirate Praveen wrote:
> On 07/21/2016 05:40 PM, Antonio Terceiro wrote:
> > On Thu, Jul 21, 2016 at 01:06:14PM +0530, Pirate Praveen wrote:
> >>
> >> First, I really like using build-and-upload script.
> >>
> >> But it failed for unicorn with this error
> >>
> >> ../build-and-upload: 98: local: ../build-area/unicorn_5.0.1-1_amd64.deb:
> >> bad variable name
> > 
> > I fixed that 2 days ago. git pull :)
> > 
> > BTW I just implemented testing reverse _build_ dependencies as well,
> > after testing again against unicorn right now, and a few tests I did
> > yesterday, it should probably be good enough. please let me know if
> > anythying weird happens.
> > 
> 
> All reverse build deps are failing with this error.
> 
> E: dsc: amd64 not in arch list or does not match any arch wildcards: all
> -- skipping

hm, I think I know what that is. can you please try this and see if if works
for you:

diff --git a/build-and-upload b/build-and-upload
index c7f69f7..a1339c4 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -191,7 +191,7 @@ test_rebuild() {
   cd "$tmpdir"
   chdist apt-get unstable source "$pkg"
   rc=0
-  sbuild --dist=unstable $@ *.dsc || rc=$?
+  sbuild --arch-all --dist=unstable $@ *.dsc || rc=$?
   cd -
   rm -rf "$tmpdir"
   return "$rc"

Attachment: signature.asc
Description: PGP signature


Reply to: