[OpenSIPS-Devel] [ opensips-Bugs-2641453 ] Latest 1.5 trunk Debian packaging "make deb" fails
SourceForge.net
noreply at sourceforge.net
Sun Mar 1 09:11:43 CET 2009
Bugs item #2641453, was opened at 2009-02-26 14:13
Message generated for change (Comment added) made by cupotka2008
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2641453&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: packaging
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Massover (cupotka2008)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Latest 1.5 trunk Debian packaging "make deb" fails
Initial Comment:
Hi!
Debian packaging ("make deb") fails on latest trunk:
dpatch apply-all
applying patch 10_no_lib64_on_64_bits to ./ ... failed.
make[1]: *** [patch-stamp] Error 1
make[1]: Leaving directory `/tmp/opensips_head'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [deb] Error 2
Best Regards,
Alex.
----------------------------------------------------------------------
>Comment By: Alex Massover (cupotka2008)
Date: 2009-03-01 10:11
Message:
Thanks! It's "make deb" works OK now.
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-27 18:00
Message:
Alex,
Can you check again ? be mistake I uploaded on SVN the Makefile with the
deb patches already applied, so of course, the re-patching was failing.
Update and try again.
Regards,
Bogdan
----------------------------------------------------------------------
Comment By: Thomas Gelf (thomas_gelf)
Date: 2009-02-26 15:15
Message:
To say it like Obama: YES I CAN ;-)
As long as I don't run "make deb" nobody removes my debian folder /
symlink (I'm keeping my personal one as I want each build to get it's own
version number) and svn update && dpkg-buildpackage succeeds.
I tried a fresh new checkout, make deb fails. And I can confirm your
failfailsucceed behaviour, same thing here.
----------------------------------------------------------------------
Comment By: Alex Massover (cupotka2008)
Date: 2009-02-26 14:50
Message:
There's a difference. You can't run dpkg-buildpackage on new clean
downloaded trunk. /debian directory is created by "make deb".
I happens like following:
1. First "make deb" on clean svn gives:
dpatch apply-all
applying patch 10_no_lib64_on_64_bits to ./ ... failed.
make[1]: *** [patch-stamp] Error 1
make[1]: Leaving directory `/tmp/opensips_head'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [deb] Error 2
2. After if I run dpkg-buildpackage it gives:
debian/rules build
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 10_no_lib64_on_64_bits to ./ ... ok.
applying patch 11_always_smp to ./ ... failed.
make: *** [patch-stamp] Error 1
10_no_lib64_on_64_bits patch already ok, but still 11_always_smp fails.
3. One more time dpkg-buildpackage:
debian/rules build
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 10_no_lib64_on_64_bits to ./ ... ok.
applying patch 11_always_smp to ./ ... ok.
dpatch cat-all >>patch-stampT
This run is already OK.
Looks like 3 tries of patching/depatching makes a trick.
----------------------------------------------------------------------
Comment By: Thomas Gelf (thomas_gelf)
Date: 2009-02-26 14:27
Message:
Hmmm... I've created packages from trunk 30 minutes ago, without any issue
(using dpkg-buildpackage, not make deb - but this shouldn't make any
difference).
Platform: Debian Lenny, 64bit.
Cheers,
Thomas Gelf
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2641453&group_id=232389
More information about the Devel
mailing list