aMSN Forums
February 12, 2012, 02:59:38 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Make deb from SVN  (Read 4616 times)
i386DX
Newbie

Offline Offline

Posts: 4


View Profile
« on: November 08, 2006, 11:37:07 am »

I downloaded the lastest SVN version today (SVN Snapshot of November 08 2006 02:01:34). I tried to make a deb-package ('make deb') but i got this error:

Code:

...
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip -XlibTclxml3.1.so
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps -XlibTclxml3.1.so
dh_gencontrol
dh_md5sums
dh_builddeb --destdir="./distrib/DEB" --filename="amsn_0.97b-svnexported.deb"
dpkg-deb - error: Debian revision (`svnexported') doesn't contain any digits
dpkg-deb: 1 errors in control file
dh_builddeb: command returned error code 512
make[1]: *** [binary-arch] Error 1
make[1]: Leaving directory `/home/i386dx/Downloads/msn'
make: *** [deb] Error 2


Anyone an idea how to solve this?
Logged
NoWhereMan
Contributor
Super Power User
**
Offline Offline

Posts: 502



View Profile
« Reply #1 on: November 08, 2006, 12:54:25 pm »

Quote
Code:
dpkg-deb - error: Debian revision (`svnexported') doesn't contain any digits

this seems pretty much the cause Wink

bye
Logged

NoWhereMan
-- Windows mom: «Finish your veggies! There are processes in Ubuntu that are starving to death!»
-- NoWhereBlog (ita)
-- http://flatpress.sf.net
i386DX
Newbie

Offline Offline

Posts: 4


View Profile
« Reply #2 on: November 08, 2006, 08:47:34 pm »

Yeah, I do understand that... My question was in fact how to solve this?
Logged
Fabioamd87
Super Power User
**
Offline Offline

Posts: 467



View Profile
« Reply #3 on: November 08, 2006, 10:45:07 pm »

i have used the last version of checkinstall and it work, if you wont, i can send the deb to your mail Smiley
Logged
i386DX
Newbie

Offline Offline

Posts: 4


View Profile
« Reply #4 on: November 10, 2006, 07:39:53 pm »

Quote from: "Fabioamd87"
if you wont, i can send the deb to your mail Smiley


That's nice, but that doesn't solve my problem.
Today I tested again with a new svn-version, but still the same problem. Anyone an idea how to solve this?
Logged
Aluada
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #5 on: November 12, 2006, 03:59:21 pm »

And it's working fine...
Logged
Fabioamd87
Super Power User
**
Offline Offline

Posts: 467



View Profile
« Reply #6 on: November 12, 2006, 04:26:23 pm »

Quote from: "i386DX"
Quote from: "Fabioamd87"
if you wont, i can send the deb to your mail Smiley


That's nice, but that doesn't solve my problem.
Today I tested again with a new svn-version, but still the same problem. Anyone an idea how to solve this?

try to use the last version of checkinstall http://checkinstall.izto.org/

remember:

sudo checkinstall
instead of
make install

if the first procedure fail, read the log and retry!
maybe it correct automatically
Logged
Aluada
Newbie

Offline Offline

Posts: 3


View Profile
« Reply #7 on: November 12, 2006, 04:37:41 pm »

Quote from: "Fabioamd87"
Quote from: "i386DX"
Quote from: "Fabioamd87"
if you wont, i can send the deb to your mail Smiley


That's nice, but that doesn't solve my problem.
Today I tested again with a new svn-version, but still the same problem. Anyone an idea how to solve this?

try to use the last version of checkinstall http://checkinstall.izto.org/

remember:

sudo checkinstall
instead of
make install

if the first procedure fail, read the log and retry!
maybe it correct automatically


I'm using the unstable/sid version of checkinstall, because the testing/etch didn't work for me.
Logged
Damijan Bec
Newbie

Offline Offline

Posts: 1


View Profile
« Reply #8 on: January 13, 2009, 10:54:42 pm »

Quote from: "i386DX"
Yeah, I do understand that... My question was in fact how to solve this?


Since nobody has answered this one ...

Change the following line in your Makefile.in  BEFORE YOU RUN make !!!

RELEASEVERSION  := svn`which svnversion > /dev/null && svnversion`

into

RELEASEVERSION  := 1

Or whatever number you see fit

Damijan
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #9 on: January 13, 2009, 11:04:19 pm »

Here's your solution :
actually, that problem only happens when you export the svn, in other words, when you install the SVN vesion using the amsn_dev.tar.gz archive method described in http://amsn-project.net/wiki/SVN
If you download the SVN version using the normal Subversion method, you would not have this problem.
Logged

KaKaRoTo
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!