Bug#915344: openfoam FTBFS with glibc 2.28
Adrian Bunk
bunk at debian.org
Sun Dec 2 21:37:05 GMT 2018
Source: openfoam
Version: 4.1+dfsg1-2.2
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openfoam.html
...
fileStat.C: In member function 'bool Foam::fileStat::sameDevice(const Foam::fileStat&) const':
fileStat.C:78:13: error: 'major' was not declared in this scope
major(status_.st_dev) == major(stat2.status().st_dev)
^~~~~
fileStat.C:79:13: error: 'minor' was not declared in this scope
&& minor(status_.st_dev) == minor(stat2.status().st_dev)
^~~~~
fileStat.C:79:13: note: suggested alternative: 'mknod'
&& minor(status_.st_dev) == minor(stat2.status().st_dev)
^~~~~
mknod
fileStat.C: In function 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::fileStat&)':
fileStat.C:104:20: error: 'makedev' was not declared in this scope
dev_t st_dev = makedev(stat[1], stat[2]);
^~~~~~~
fileStat.C: In function 'Foam::Ostream& Foam::operator<<(Foam::Ostream&, const Foam::fileStat&)':
fileStat.C:132:21: error: 'major' was not declared in this scope
stat[1] = label(major(fStat.status_.st_dev));
^~~~~
fileStat.C:133:21: error: 'minor' was not declared in this scope
stat[2] = label(minor(fStat.status_.st_dev));
^~~~~
fileStat.C:133:21: note: suggested alternative: 'mknod'
stat[2] = label(minor(fStat.status_.st_dev));
^~~~~
mknod
make[2]: *** [/build/1st/openfoam-4.1+dfsg1/wmake/rules/General/transform:8: /build/1st/openfoam-4.1+dfsg1/platforms/linux64Gcc51/src/OSspecific/POSIX/fileStat.o] Error 1
More information about the debian-science-maintainers
mailing list