Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912312 - media-libs/Field3D-1.7.2-r3 - /.../timer.hpp: error: #error This header is deprecated and will be removed. (You can define BOOST_T
Summary: media-libs/Field3D-1.7.2-r3 - /.../timer.hpp: error: #error This header is de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adrian
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: boost-1.83
  Show dependency tree
 
Reported: 2023-08-15 17:22 UTC by Toralf Förster
Modified: 2024-03-07 09:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.21 KB, text/plain)
2023-08-15 17:22 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,62.67 KB, application/x-xz)
2023-08-15 17:22 UTC, Toralf Förster
Details
environment (environment,96.41 KB, text/plain)
2023-08-15 17:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-08-15 17:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.67 KB, application/x-xz)
2023-08-15 17:22 UTC, Toralf Förster
Details
media-libs:Field3D-1.7.2-r3:20230815-121244.log (media-libs:Field3D-1.7.2-r3:20230815-121244.log,144.32 KB, text/plain)
2023-08-15 17:22 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.98 KB, application/x-xz)
2023-08-15 17:22 UTC, Toralf Förster
Details
Field3D-1.7.2-boost-1.83-timer-header-deprecated.patch (Field3D-1.7.2-boost-1.83-timer-header-deprecated.patch,1.63 KB, patch)
2023-08-24 09:55 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-15 17:22:04 UTC
too long lines were shrinked:

   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
[32/47] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DREQUIRE_IOSTREAM -I/var/tmp/portage/media-libs/Field3D-1.
FAILED: CMakeFiles/sparse_field_io.dir/apps/sample_code/sparse_field_io/main.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DREQUIRE_IOSTREAM -I/var/tmp/portage/media-libs/Field3D-1.7.2-r3/w
In file included from /var/tmp/portage/media-libs/Field3D-1.7.2-r3/work/Field3D-1.7.2/apps/sample_code/sparse_field_io/main.cpp:41:
/usr/include/boost/timer.hpp:21:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
   21 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
      |   ^~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20230811-000505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 70ebcb7fe91ed1c365fff70523d7e696ee984b24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 15 10:01:35 2023 +0000

    2023-08-15 10:01:34 UTC

emerge -qpvO media-libs/Field3D
[ebuild   R   ] media-libs/Field3D-1.7.2-r3  USE="-mpi"
Comment 1 Toralf Förster gentoo-dev 2023-08-15 17:22:05 UTC
Created attachment 867891 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-15 17:22:06 UTC
Created attachment 867892 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-08-15 17:22:08 UTC
Created attachment 867893 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-15 17:22:08 UTC
Created attachment 867894 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-15 17:22:09 UTC
Created attachment 867895 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-15 17:22:11 UTC
Created attachment 867896 [details]
media-libs:Field3D-1.7.2-r3:20230815-121244.log
Comment 7 Toralf Förster gentoo-dev 2023-08-15 17:22:12 UTC
Created attachment 867897 [details]
temp.tar.xz
Comment 8 Luke A. Guest 2023-08-17 20:08:35 UTC
Have the same failure.
Comment 9 Luke A. Guest 2023-08-21 08:07:28 UTC
Going back to boost-1.82.0-r1 fixed this, Field3D no longer wants to be built.
Comment 10 Attila Tóth 2023-08-24 09:55:00 UTC
Created attachment 868626 [details, diff]
Field3D-1.7.2-boost-1.83-timer-header-deprecated.patch

Workaround deprecated timer.hpp header with boost-1.83.
Comment 11 Luke A. Guest 2023-09-18 19:16:36 UTC
(In reply to Attila Tóth from comment #10)
> Created attachment 868626 [details, diff] [details, diff]
> Field3D-1.7.2-boost-1.83-timer-header-deprecated.patch
> 
> Workaround deprecated timer.hpp header with boost-1.83.

Builds here.
Comment 12 Larry the Git Cow gentoo-dev 2024-01-11 17:58:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3620f00fdd19e4eadd7433a84d9b4185ff2ac8a3

commit 3620f00fdd19e4eadd7433a84d9b4185ff2ac8a3
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-12-08 14:38:42 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-01-11 17:57:18 +0000

    media-libs/Field3D: add 1.7.3_p20230509
    
    This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
    Snapshot of last commit before archiving.
    
    Closes: https://bugs.gentoo.org/912312
    Closes: https://bugs.gentoo.org/808703
    Closes: https://bugs.gentoo.org/717504
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34221
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/Field3D/Field3D-1.7.3_p20230509.ebuild  | 67 ++++++++++++++++++++++
 media-libs/Field3D/Manifest                        |  1 +
 ...-1.7.2-boost-1.83-timer-header-deprecated.patch | 35 +++++++++++
 3 files changed, 103 insertions(+)