[Pkg-octave-devel] Bug#479928: octave-epstk: FTBFS: error: `localtime' undefined near line 39 column 8

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed May 7 08:47:09 UTC 2008


Package: octave-epstk
Version: 2.2-10
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080506 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on
i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
> make[1]: Entering directory `/build/user/octave-epstk-2.2'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user/octave-epstk-2.2'
> for v in 2.1 3.0 ; do						\
> 		echo "### Running demos with octave$v"	;		\
> 		( cd m ; 						\
> 		  echo 'global eConfigFile;				\
> 			eConfigFile = "../debian/epstk.conf-demos";	\
> 			ehelp = "No call to ehelp in demo batch";	\
> 			edemos;'					\
> 			| octave$v -qf ) ;				\
> 	done
> ### Running demos with octave2.1
> Demos are running ...
> demo1.eps is written
> demo2.eps is written
> demo3.eps is written
> demo4.eps is written
> demo5.eps is written
> demo6.eps is written
> demo7.eps is written
> demo8.eps is written
> demo9.eps is written
> demo10.eps is written
> demo11.eps is written
> demo12.eps is written
> Writing 1 eps-file(s) with 12 images ...
> demo1.jpg with 628x535 Pixel loaded
> demo2.jpg with 985x708 Pixel loaded
> demo3.jpg with 985x708 Pixel loaded
> demo4.jpg with 863x664 Pixel loaded
> demo5.jpg with 985x708 Pixel loaded
> demo6.jpg with 785x615 Pixel loaded
> demo7.jpg with 847x718 Pixel loaded
> demo8.jpg with 985x708 Pixel loaded
> demo9.jpg with 985x708 Pixel loaded
> demo10.jpg with 933x714 Pixel loaded
> demo11.jpg with 985x708 Pixel loaded
> demo12.jpg with 985x708 Pixel loaded
> demo13.eps is written
> demo14.eps is written
> demo15.eps is written
> demo16.eps is written
> demo17.html is written
> demo18.html is written
> Note: switch off popup blocker for looking the encoded text!
> done in 48 sec.
> ehelp = No call to ehelp in demo batch
> ### Running demos with octave3.0
> Demos are running ...
> warning: setstr is obsolete and will be removed from a future version of Octave; please use char instead
> error: `localtime' undefined near line 39 column 8
> error: evaluating assignment expression near line 39, column 6
> error: called from `clock' in file `/usr/share/octave/3.0.1/m/time/clock.m'
> error: evaluating assignment expression near line 68, column 12
> error: called from `ehead' in file `/build/user/octave-epstk-2.2/m/ehead.m'
> error: evaluating if command near line 79, column 3
> error: called from `eopen' in file `/build/user/octave-epstk-2.2/m/eopen.m'
> error: near line 9 of file `/build/user/octave-epstk-2.2/m/edemo1.m'
> error: near line 7 of file `/build/user/octave-epstk-2.2/m/edemos.m'
> make: *** [build-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/05/06

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-octave-devel mailing list