[ opensips-Bugs-2641453 ] Latest 1.5 trunk Debian packaging "make deb" fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2641453 ] Latest 1.5 trunk Debian packaging "make deb" fails

SourceForge.net
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: Nobody/Anonymous (nobody)
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-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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel