Bug#513202: gns3 - unavailbe dependence

2009-01-29 Thread Evgeni Golov
On Wed, Jan 28, 2009 at 11:46:04PM +0100, Erik Wenzel wrote:
> Hi,
>
> Am 27.01.2009 um 12:54 schrieb Evgeni Golov:
>
>> On Tue, 27 Jan 2009 12:26:10 +0100 Evgeni Golov wrote:
>>
>>> Well, it's available on i386, and prolly just needs a build on amd64?
>>> AFAIK non-free isn't autobuilt, so just fetch the source and try to
>>> build it.
>>
>> Okay, it was a bit more than "just" a rebuild:
>> I had to adjust DYNAMIPS_ARCH so it builds with correct amd64 headers.
>> Patch is attached.
> That patch isn't needed for a successful rebuild on amd64. I verified  
> that a rebuild takes 4 lines without any changes to the source. Here  
> shown with pbuilder.
> apt-get source dynamips
> dpkg-source -x dynamips_0.2.7-0.2.8RC2-3.dsc
> cd dynamips-0.2.7-0.2.8RC2/
> pdebuild

Ups, yeah. I tried to build -2, that failed, I made the patch, saw there 
is -3, and applied it ontop of -3, without testing that -3 works 
without the patch.

> I disabled the patch you did attached in dynamips_0.2.7-0.2.8RC2-3 in  
> favour of [0].
>
> [0] 
> http://gpl.code.de/gitweb?p=dynamips.git;a=commit;h=fd03c6f8a45e9b26f0b66ec9a6bdb71e579be764

Yupp, thats almost the same as I did.

Regards
Evgeni


signature.asc
Description: Digital signature


Bug#513202: gns3 - unavailbe dependence

2009-01-28 Thread Erik Wenzel

Hi,

Am 27.01.2009 um 12:54 schrieb Evgeni Golov:


On Tue, 27 Jan 2009 12:26:10 +0100 Evgeni Golov wrote:


Well, it's available on i386, and prolly just needs a build on amd64?
AFAIK non-free isn't autobuilt, so just fetch the source and try to
build it.


Okay, it was a bit more than "just" a rebuild:
I had to adjust DYNAMIPS_ARCH so it builds with correct amd64 headers.
Patch is attached.
That patch isn't needed for a successful rebuild on amd64. I verified  
that a rebuild takes 4 lines without any changes to the source. Here  
shown with pbuilder.

apt-get source dynamips
dpkg-source -x dynamips_0.2.7-0.2.8RC2-3.dsc
cd dynamips-0.2.7-0.2.8RC2/
pdebuild

I disabled the patch you did attached in dynamips_0.2.7-0.2.8RC2-3 in  
favour of [0].


[0] 
http://gpl.code.de/gitweb?p=dynamips.git;a=commit;h=fd03c6f8a45e9b26f0b66ec9a6bdb71e579be764

--
Erik Wenzel
Debian Developer
EMail: e...@debian.org








--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#513202: gns3 - unavailbe dependence

2009-01-27 Thread Evgeni Golov
Hi,

please keep the CC list intact.

On Tue, 27 Jan 2009 17:04:28 +0300 Alexander Markov wrote:

> > On Tue, 27 Jan 2009 12:26:10 +0100 Evgeni Golov wrote:
> > Alexander, can you try installing
> > http://die-welt.net/~evgeni/tmp/dynamips_0.2.7-0.2.8RC2-3.1_amd64.deb
> > and tell me whether gns3 will work with it correctly?
> >
> > Regards
> > Evgeni
> 
> It's all works fine.

Great,

Erik, what do you think? could/should we build dynamips on other arches
than i386? I think we should.

-- 
Bruce Schneier Fact Number 325:
Contrary to the popular belief, Ali Baba didn't say "Open, Sesame" to
open his magic cave. He only had to say "Bruce Schneier".


pg99WSxGu.pgp
Description: PGP signature


Bug#513202: gns3 - unavailbe dependence

2009-01-27 Thread Evgeni Golov
On Tue, 27 Jan 2009 12:26:10 +0100 Evgeni Golov wrote:

> Well, it's available on i386, and prolly just needs a build on amd64?
> AFAIK non-free isn't autobuilt, so just fetch the source and try to
> build it.

Okay, it was a bit more than "just" a rebuild:
I had to adjust DYNAMIPS_ARCH so it builds with correct amd64 headers.
Patch is attached.

Alexander, can you try installing
http://die-welt.net/~evgeni/tmp/dynamips_0.2.7-0.2.8RC2-3.1_amd64.deb
and tell me whether gns3 will work with it correctly?

Regards
Evgeni

-- 
Bruce Schneier Fact Number 930:
Bruce Schneier can decipher NaN
diff -u dynamips-0.2.7-0.2.8RC2/debian/changelog dynamips-0.2.7-0.2.8RC2/debian/changelog
--- dynamips-0.2.7-0.2.8RC2/debian/changelog
+++ dynamips-0.2.7-0.2.8RC2/debian/changelog
@@ -1,3 +1,10 @@
+dynamips (0.2.7-0.2.8RC2-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Enable building for arches !i386.
+
+ -- Evgeni Golov   Tue, 27 Jan 2009 12:40:36 +0100
+
 dynamips (0.2.7-0.2.8RC2-3) unstable; urgency=low
 
   * [1a8805d8] [rules] added mode fix for debian patches in clean target
diff -u dynamips-0.2.7-0.2.8RC2/debian/rules dynamips-0.2.7-0.2.8RC2/debian/rules
--- dynamips-0.2.7-0.2.8RC2/debian/rules
+++ dynamips-0.2.7-0.2.8RC2/debian/rules
@@ -6,6 +6,19 @@
 include /usr/share/cdbs/1/rules/dpatch.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
+DEB_BUILD_ARCH=$(dpkg-architecture -qDEB_BUILD_ARCH)
+ifeq ($(DEB_BUILD_ARCH),i386)
+ DYNAMIPS_ARCH=x86
+else
+ ifeq ($(DEB_BUILD_ARCH),amd64)
+  DYNAMIPS_ARCH=amd64
+ else
+  DYNAMIPS_ARCH=nojit
+ endif
+endif
+
+export DYNAMIPS_ARCH
+
 # define clean taget
 DEB_MAKE_CLEAN_TARGET = clean
 


pgp3vbHM5F26J.pgp
Description: PGP signature


Bug#513202: gns3 - unavailbe dependence

2009-01-27 Thread Evgeni Golov
reassign 513202 dynamips
retitle 513202 dynamips is built on i386 only
thanks

On Tue, 27 Jan 2009 12:06:21 +0300 Alexander Markov wrote:

> gns3 depends on dynamips (>= 0.2.7-0.2.8RC1), bug this package is unavaible 
> in 
> repositry.
> 
> --- System information. ---
> Architecture: amd64

Well, it's available on i386, and prolly just needs a build on amd64?
AFAIK non-free isn't autobuilt, so just fetch the source and try to
build it.

@Erik: any chance you can provide official amd64 (and other arch)
binaries for that?
Or via
http://lists.debian.org/debian-devel-announce/2006/11/msg00012.html ?

Regards
Evgeni

-- 
Bruce Schneier Fact Number 5:
The output of Bruce Schneier's pseudorandom generator follows no
describable pattern and cannot be compressed.


pgpQLmQXBGRwG.pgp
Description: PGP signature


Bug#513202: gns3 - unavailbe dependence

2009-01-27 Thread Alexander Markov
Package: gns3
Version: 0.6-2
Severity: serious

--- Please enter the report below this line. ---

gns3 depends on dynamips (>= 0.2.7-0.2.8RC1), bug this package is unavaible in 
repositry.

--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.26-1-amd64

Debian Release: 5.0
  500 unstableserver 
  500 testing server 

--- Package information. ---
Depends   (Version) | Installed
===-+-===
| 



-- 
Alexander Markov.
e-mail/jabber: apsheron...@gmail.com


signature.asc
Description: This is a digitally signed message part.