Processed: Re: Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forwarded 599092 
> https://sourceforge.net/tracker/?func=detail&aid=3082342&group_id=96188&atid=613954
Bug #599092 [libpano13-bin] endless loop on PowerPC
Set Bug forwarded-to-address to 
'https://sourceforge.net/tracker/?func=detail&aid=3082342&group_id=96188&atid=613954'.
> tags 599092 patch
Bug #599092 [libpano13-bin] endless loop on PowerPC
Added tag(s) patch.
>
End of message, stopping processing here.

Please contact me if you need assistance.
-- 
599092: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599092
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


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



Processed: Re: Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-06 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> #On 2010-10-05 Andreas Metzler  wrote:
> #[...]
> #> It is no new breakage, 2.9.14's testsuite gets stuck at exactly the
> #> same point, the debian package just did not run it then.
> reassign 599092 libpano13-bin 2.9.14-2
Bug #599092 [src:libpano13] libpano13: FTBFS: Creating panorama.. please wait
Bug reassigned from package 'src:libpano13' to 'libpano13-bin'.
Bug No longer marked as found in versions libpano13/2.9.17+dfsg-1.
Bug #599092 [libpano13-bin] libpano13: FTBFS: Creating panorama.. please wait
Bug Marked as found in versions libpano13/2.9.14-2.
> retitle 599092 endless loop on PowerPC
Bug #599092 [libpano13-bin] libpano13: FTBFS: Creating panorama.. please wait
Changed Bug title to 'endless loop on PowerPC' from 'libpano13: FTBFS: Creating 
panorama.. please wait'
> tags 599092 confirmed
Bug #599092 [libpano13-bin] endless loop on PowerPC
Added tag(s) confirmed.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
599092: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599092
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


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



Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-05 Thread Philipp Kern
On Tue, Oct 05, 2010 at 08:23:58PM +0200, Andreas Metzler wrote:
> Changing opt from char to int (Thank you www.opengroup.org example
> code) fixes the issue.

Good catch indeed.  The signedness of char is arch-ABI-dependent and int is
what the API of getopt(3) tells the developer, anyway.

Kind regards,
Philipp Kern


signature.asc
Description: Digital signature


Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-05 Thread Andreas Metzler
On 2010-10-04 Andreas Metzler  wrote:
> On 2010-10-04 Philipp Kern  wrote:
> > On Mon, Oct 04, 2010 at 06:31:54PM +0200, Andreas Metzler wrote:
> > > Is it possible the failing buildd has too little RAM and ends up
> > > swapping itself to death?

> > Possibly but unlikely:

> > pk...@poulenc:~$ free -m
> >  total   used   free sharedbuffers cached
> > Mem:  1957   1913 44  0157   1325
> > -/+ buffers/cache:431   1526
> > Swap: 4095  7   4088

> > Maybe it's hanging.  I suppose one could throw strace on it.
> [...]

> What hangs is 

> $builddirroot/libpano13-2.9.17+dfsg/tools/.libs/lt-PTmender -o output temp.txt
> in $builddirroot/libpano13-2.9.17+dfsg/tests/simpleStitch

> However strace is not helpful, nothing is printed after
> write(1, "PTmender Version 2.9.17 , originally written by Helmut Dersch, 
> rewritten by Daniel German\n", 90) = 90

> I will need to debug this later.

Hello,
This part of tools/PTmender.c produces an endless loop, (debugging
statement added):
char opt;
[...]
while ((opt = getopt(argc, argv, "o:f:hsqd")) != -1) {

// o   -> set output file
// h   -> help?
// q   -> quiet?

switch(opt) { 

case 'o':   // specifies output file name
if (StringtoFullPath(&panoFileName, optarg) != 0) { 
PrintError("Syntax error: Not a valid pathname");
return(-1);
}
break;
case 's':
sort = 1;
break;
case 'd':
ptDebug = 1;
break;
case 'q':
ptQuietFlag = 1;
break;
  
case 'h':
PrintError(PT_MENDER_USAGE);
return -1;
  
default:
PrintError("Bug 599092, endless loop");
break;
}
}


Changing opt from char to int (Thank you www.opengroup.org example
code) fixes the issue.
---
--- libpano13-2.9.17+dfsg.orig/tools/PTmender.c
+++ libpano13-2.9.17+dfsg/tools/PTmender.c
@@ -257,7 +257,7 @@ int main(int argc,char *argv[])
 fullPath scriptFileName;
 fullPath panoFileName;

-char opt;
+int opt;

 char *currentParm;
 ptrImageFileNames = NULL;
---


The other tools in libpano13-bin sufffer from the same bug. Could
somebody please confirm the fix correct?

thanks, cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



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



Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-05 Thread Andreas Metzler
On 2010-10-04 Andreas Metzler  wrote:
[...]
> What hangs is 

> $builddirroot/libpano13-2.9.17+dfsg/tools/.libs/lt-PTmender -o output temp.txt
> in $builddirroot/libpano13-2.9.17+dfsg/tests/simpleStitch
[...]

It is no new breakage, 2.9.14's testsuite gets stuck at exactly the
same point, the debian package just did not run it then.

cu andreas



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



Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-04 Thread Andreas Metzler
On 2010-10-04 Philipp Kern  wrote:
> On Mon, Oct 04, 2010 at 06:31:54PM +0200, Andreas Metzler wrote:
> > Is it possible the failing buildd has too little RAM and ends up
> > swapping itself to death?

> Possibly but unlikely:

> pk...@poulenc:~$ free -m
>  total   used   free sharedbuffers cached
> Mem:  1957   1913 44  0157   1325
> -/+ buffers/cache:431   1526
> Swap: 4095  7   4088

> Maybe it's hanging.  I suppose one could throw strace on it.
[...]

What hangs is 

$builddirroot/libpano13-2.9.17+dfsg/tools/.libs/lt-PTmender -o output temp.txt
in $builddirroot/libpano13-2.9.17+dfsg/tests/simpleStitch

However strace is not helpful, nothing is printed after
write(1, "PTmender Version 2.9.17 , originally written by Helmut Dersch, 
rewritten by Daniel German\n", 90) = 90

I will need to debug this later.

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



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



Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-04 Thread Philipp Kern
On Mon, Oct 04, 2010 at 06:31:54PM +0200, Andreas Metzler wrote:
> Is it possible the failing buildd has too little RAM and ends up
> swapping itself to death?

Possibly but unlikely:

pk...@poulenc:~$ free -m
 total   used   free sharedbuffers cached
Mem:  1957   1913 44  0157   1325
-/+ buffers/cache:431   1526
Swap: 4095  7   4088

Maybe it's hanging.  I suppose one could throw strace on it.

Kind regards,
Philipp Kern


signature.asc
Description: Digital signature


Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-04 Thread Andreas Metzler
On 2010-10-04 Philipp Kern  wrote:
> Source: libpano13
> Version: 2.9.17+dfsg-1
> Severity: serious

> 150 mins should be enough to generate panoramas on Xserve G5, no?
> If it really should take that long, please add output while it's
> generating it.
[...]
>> To perform all tests:  tiff_m tiff_m_cropped tiff_m_uncropped 
>> 
>> tiff_m => Output : TIFF_m
>> Removing old images: 2
>> output.tif -> tests/tiff_m.tif
>> output0001.tif -> tests/tiff_m0001.tif
>> Creating panorama.. please wait
>> make[2]: E: *** [check-recursive] Terminated
>> Caught signal 'Terminated': terminating immediately
>> make[3]: *** [test] Terminated
>> make[1]: *** [check-recursive] Terminated
>> make: *** [debian/stamp-makefile-check] Terminated
>> Build killed with signal TERM after 150 minutes of inactivity
[...]

Hello,

Building libpano should not take long:

mipsel: Build needed 00:12:22
sparc: Build needed 00:07:29
alpha: Build needed 00:06:31


Is it possible the failing buildd has too little RAM and ends up
swapping itself to death?

cu andreas



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



Bug#599092: libpano13: FTBFS: Creating panorama.. please wait

2010-10-04 Thread Philipp Kern
Source: libpano13
Version: 2.9.17+dfsg-1
Severity: serious

150 mins should be enough to generate panoramas on Xserve G5, no?  If it really
should take that long, please add output while it's generating it.

> sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on poulenc.debian.org
> 
> ╔══╗
> ║ libpano13 2.9.17+dfsg-1 (powerpc)  04 Oct 2010 
> 11:40 ║
> ╚══╝
[...]
> Making check in simpleStitch
> make[3]: Entering directory 
> `/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV/libpano13-2.9.17+dfsg/tests/simpleStitch'
> Making check in reference
> make[4]: Entering directory 
> `/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV/libpano13-2.9.17+dfsg/tests/simpleStitch/reference'
> make[4]: Nothing to be done for `check'.
> make[4]: Leaving directory 
> `/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV/libpano13-2.9.17+dfsg/tests/simpleStitch/reference'
> make[4]: Entering directory 
> `/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV/libpano13-2.9.17+dfsg/tests/simpleStitch'
> make[4]: Nothing to be done for `check-am'.
> make[4]: Leaving directory 
> `/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV/libpano13-2.9.17+dfsg/tests/simpleStitch'
> perl ../panoAutomateTest.pl simple.txt
> Processing 2 images
> To perform all tests:  tiff_m tiff_m_cropped tiff_m_uncropped 
> 
> tiff_m => Output : TIFF_m
> Removing old images: 2
> output.tif -> tests/tiff_m.tif
> output0001.tif -> tests/tiff_m0001.tif
> Creating panorama.. please wait
> make[2]: E: *** [check-recursive] Terminated
> Caught signal 'Terminated': terminating immediately
> make[3]: *** [test] Terminated
> make[1]: *** [check-recursive] Terminated
> make: *** [debian/stamp-makefile-check] Terminated
> Build killed with signal TERM after 150 minutes of inactivity
> 
> Build finished at 20101004-1418
> FAILED [dpkg-buildpackage died]
> 
> Purging 
> /var/lib/schroot/mount/sid-experimental-powerpc-sbuild-4143c9ae-77fc-4883-b135-8a496e62f78c/build/buildd-libpano13_2.9.17+dfsg-1-powerpc-jxdlxV
> Not removing build depends: cloned chroot in use
> 
> Finished at 20101004-1418
> Build needed 02:37:49, 14352k disc space


signature.asc
Description: Digital signature