Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread Jan Hauke Rahm
tag 646945 + moreinfo
thanks

Hi,

thanks for trying to improve Debian!

On Fri, Oct 28, 2011 at 05:53:48PM +0300, anatoly techtonik wrote:
 Package: svn-buildpackage
 Version: 0.8.3
 Severity: important
 
 svn-buildpackage doesn't execute at all failing with the message
 Illegal instruction

Can you be a bit more specific? When exactly did you encounter this
behaviour. I've never seen this before. A test case would be nice. Also,
please run svn-buildpackage with --svn-verbose to have a bit more
output.

Thanks!

Hauke

-- 
 .''`.   Jan Hauke Rahm j...@debian.org   www.jhr-online.de
: :'  :  Debian Developer www.debian.org
`. `'`   Member of the Linux Foundationwww.linux.com
  `- Fellow of the Free Software Foundation Europe  www.fsfe.org


signature.asc
Description: Digital signature


Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread anatoly techtonik
On Sat, Oct 29, 2011 at 9:59 AM, Jan Hauke Rahm j...@debian.org wrote:
 tag 646945 + moreinfo
 thanks

 Hi,

 thanks for trying to improve Debian!

 On Fri, Oct 28, 2011 at 05:53:48PM +0300, anatoly techtonik wrote:
 Package: svn-buildpackage
 Version: 0.8.3
 Severity: important

 svn-buildpackage doesn't execute at all failing with the message
 Illegal instruction

 Can you be a bit more specific? When exactly did you encounter this
 behaviour. I've never seen this before. A test case would be nice. Also,
 please run svn-buildpackage with --svn-verbose to have a bit more
 output.

I don't know how to be more specific.

$ svn-buildpackage --svn-verbose
Illegal instruction
$ which svn-buildpackage
/usr/bin/svn-buildpackage
$ less `which svn-buildpackage`
#!/usr/bin/perl
...
$ which perl
/usr/bin/perl
$

--
anatoly t.



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



Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread Neil Williams
tag 646945 + unreproducible
quit

On Fri, 28 Oct 2011 17:53:48 +0300
anatoly techtonik techto...@gmail.com wrote:

I (and the rest of the team @ work) use svn-bp on squeeze on a daily
basis, I don't see these problems.

 svn-buildpackage doesn't execute at all failing with the message
 Illegal instruction

Do you get problems with any other Perl scripts?

Can you reinstall the package in case of some corruption problems?

(apt-get --reinstall install svn-buildpackage)

The first commands svn-buildpackage tries are calls to subversion
itself and that's probably the first place to check for something which
is compiled.

Does subversion work on your system?

 Versions of packages svn-buildpackage depends on:
 ii  devscripts 2.10.69+squeeze1  scripts to make the life of a 
 Debi

Also check things like dpkg-parsechangelog.

 ii  subversion 1.6.12dfsg-6  Advanced version control system



-- 


Neil Williams
=
http://www.linux.codehelp.co.uk/



pgp2He81EFVct.pgp
Description: PGP signature


Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread anatoly techtonik
On Sat, Oct 29, 2011 at 1:36 PM, Neil Williams codeh...@debian.org wrote:
 tag 646945 + unreproducible
 quit

 On Fri, 28 Oct 2011 17:53:48 +0300
 anatoly techtonik techto...@gmail.com wrote:

 I (and the rest of the team @ work) use svn-bp on squeeze on a daily
 basis, I don't see these problems.

 svn-buildpackage doesn't execute at all failing with the message
 Illegal instruction

 Do you get problems with any other Perl scripts?

None that I know of. Do you have any specific examples that I can run?

 Can you reinstall the package in case of some corruption problems?

 (apt-get --reinstall install svn-buildpackage)

Done. Didn't help. This system is brand new VM box - there is no extra
stuff installed, so it is not usual desktop or server box on steroids.
Perhaps something is missing from svn-buildpackage dependencies?

 The first commands svn-buildpackage tries are calls to subversion
 itself and that's probably the first place to check for something which
 is compiled.

What should I run to check?

 Does subversion work on your system?

Yes.
$ svn --version
svn, version 1.6.12 (r955767)
   compiled May 31 2011, 16:12:12
...

 Versions of packages svn-buildpackage depends on:
 ii  devscripts             2.10.69+squeeze1  scripts to make the life of a 
 Debi

Not sure how should I check this.

 Also check things like dpkg-parsechangelog.

dpkg-parsechangelog works ok.

 ii  subversion             1.6.12dfsg-6      Advanced version control system
--
anatoly t.



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



Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread Neil Williams
On Sat, 29 Oct 2011 13:46:48 +0300
anatoly techtonik techto...@gmail.com wrote:

 On Sat, Oct 29, 2011 at 1:36 PM, Neil Williams codeh...@debian.org wrote:
  tag 646945 + unreproducible
  quit

i.e. you're going to have to do all the tests yourself and it's likely
that unless you work out what is wrong, this bug will not be identified.

  Do you get problems with any other Perl scripts?
 
 None that I know of. Do you have any specific examples that I can run?

dpkg-buildpackage
dpkg-parsechangelog

Also try svn-inject and svn-upgrade.

Also try creating a Wheezy chroot and testing in that.

  (apt-get --reinstall install svn-buildpackage)
 
 Done. Didn't help. This system is brand new VM box - there is no extra
 stuff installed, so it is not usual desktop or server box on steroids.
 Perhaps something is missing from svn-buildpackage dependencies?

.. or a misconfiguration somewhere in the base system.

I've tested in a clean pbuilder chroot and svn-bp is fine with it's own
dependencies. Then, when I use `debcheckout svn-buildpackage` and
install it's build-dependencies, it builds itself fine without errors.
 
  The first commands svn-buildpackage tries are calls to subversion
  itself and that's probably the first place to check for something which
  is compiled.
 
 What should I run to check?

Anything and everything. I can't tell you which ones because this
problem only affects this one single machine. I also use svn-bp on
various virtual environments for buildd operations, again without any
errors.

Test on your main system rather than a new box, test on someone else's
virtual box, test in chroots; there's almost nothing we can do at this
end until there is a way to reproduce the problem.

If it only persists on this one system, the chances of identifying the
actual problem approach zero.

-- 


Neil Williams
=
http://www.linux.codehelp.co.uk/



pgpOoMQ8sJyzR.pgp
Description: PGP signature


Bug#646945: [Svn-bp-devel] Bug#646945: svn-buildpackage: 'Illegal instruction' when executing

2011-10-29 Thread anatoly techtonik
On Sat, Oct 29, 2011 at 2:35 PM, Neil Williams codeh...@debian.org wrote:
 On Sat, 29 Oct 2011 13:46:48 +0300
 anatoly techtonik techto...@gmail.com wrote:

 On Sat, Oct 29, 2011 at 1:36 PM, Neil Williams codeh...@debian.org wrote:
  tag 646945 + unreproducible
  quit

 i.e. you're going to have to do all the tests yourself and it's likely
 that unless you work out what is wrong, this bug will not be identified.

I understand that, but I am nor Perl expert, neither have time to
become one, so unless somebody tells me what to do, chances that I can
do anything on my own are minimal. If that `svn-buildpackage` was
written in Python, I'd just run 'python -v -m pdb `which
svn-buildpackage`' and could get you the source line with the error in
no time.

  Do you get problems with any other Perl scripts?

 None that I know of. Do you have any specific examples that I can run?

 dpkg-buildpackage
 dpkg-parsechangelog

Both work as expected.

 Also try svn-inject and svn-upgrade.

Both fail with the same 'Illegal instruction'.

 Also try creating a Wheezy chroot and testing in that.

Oh no. That's too hardcore. I don't want to pollute this VM more than necessary.

  (apt-get --reinstall install svn-buildpackage)

 Done. Didn't help. This system is brand new VM box - there is no extra
 stuff installed, so it is not usual desktop or server box on steroids.
 Perhaps something is missing from svn-buildpackage dependencies?

 .. or a misconfiguration somewhere in the base system.

I suspect that Bcfg2 could break some things, but you've seen the
dependencies yourself. There is no hardcore hacking on this box,
especially with Perl.

 I've tested in a clean pbuilder chroot and svn-bp is fine with it's own
 dependencies. Then, when I use `debcheckout svn-buildpackage` and
 install it's build-dependencies, it builds itself fine without errors.

As I said - I am not a Perl expert, but in Python world if Python code
misbehaves so badly that it doesn't even execute - I am able to figure
out what happens very quickly regardless of the platform (well, unless
it is some web-service that requires os-specific methods to get to the
entrypoint).

  The first commands svn-buildpackage tries are calls to subversion
  itself and that's probably the first place to check for something which
  is compiled.

 What should I run to check?

 Anything and everything. I can't tell you which ones because this
 problem only affects this one single machine. I also use svn-bp on
 various virtual environments for buildd operations, again without any
 errors.

I certainly don't have time for that, and I am not running Debian
anywhere else.

 If it only persists on this one system, the chances of identifying the
 actual problem approach zero.

I see. I good reason to consider decoupling our application from
Debian. Thanks for trying, though. ,)



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