Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #324031

Bug#1016271: octave: FTBFS: liboctave/numeric/randmtzig.cc:274:22: error: ‘clock’ was not declared in this scope

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1016271: octave: FTBFS: liboctave/numeric/randmtzig.cc:274:22: error: ‘clock’ was not declared in this scope
Date 2022-07-29 18:50 +0200
Message-ID <EOBlv-eE8j-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: octave
Version: 7.1.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Iliboctave -I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric -Iliboctave/operators -I./liboctave/operators -I./liboctave/system -I./liboctave/util -I./liboctave/wrappers -I./liboctave/external/Faddeeva   -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o liboctave/numeric/libnumeric_la-schur.lo `test -f 'liboctave/numeric/schur.cc' || echo './'`liboctave/numeric/schur.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Iliboctave -I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric -Iliboctave/operators -I./liboctave/operators -I./liboctave/system -I./liboctave/util -I./liboctave/wrappers -I./liboctave/external/Faddeeva -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c liboctave/numeric/schur.cc  -fPIC -DPIC -o liboctave/numeric/.libs/libnumeric_la-schur.o
> liboctave/numeric/randmtzig.cc: In function ‘void octave::init_mersenne_twister()’:
> liboctave/numeric/randmtzig.cc:274:22: error: ‘clock’ was not declared in this scope
>   274 |       entropy[n++] = clock ();
>       |                      ^~~~~
> liboctave/numeric/randmtzig.cc:170:1: note: ‘clock’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
>   169 | #include "randmtzig.h"
>   +++ |+#include <ctime>
>   170 | 
> make[3]: *** [Makefile:21879: liboctave/numeric/libnumeric_la-randmtzig.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/octave_7.1.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1016271: octave: FTBFS: liboctave/numeric/randmtzig.cc:274:22: error: ‘clock’ was not declared in this scope Lucas Nussbaum <lucas@debian.org> - 2022-07-29 18:50 +0200
  Bug#1016271: marked as done (octave: FTBFS: liboctave/numeric/randmtzig.cc:274:22:  error: ‘clock’ was not declared in this scope) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-07-31 00:00 +0200

csiph-web