Bug 255416 - devel/vexcl : Cannot use due to boost 1.66+ deprecated boost/uuid/sha1.hpp
Summary: devel/vexcl : Cannot use due to boost 1.66+ deprecated boost/uuid/sha1.hpp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://github.com/ddemidov/vexcl/com...
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-04-26 12:46 UTC by Thibault Payet
Modified: 2021-04-26 18:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Payet 2021-04-26 12:46:40 UTC
When including <vexcel/vexcel.hpp> we get an error since it try to include <boost/uuid/sha1.hpp> which is located at <boost/uuid/detail/sha1.hpp>.

It is fixed in the upstream repository: https://github.com/ddemidov/vexcl/commit/07828a586542b6e032eafa1a29e52ecb485fd930

With that fix, we can use VexCL with Boost.Compute.

When using the OpenCL backend we got another error: it try to include <CL/cl.hpp> which is deprecated and does not exist with the version of OpenCL in the port.
It should be <CL/opencl.hpp>
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2021-04-26 18:55:52 UTC
Fixed by updating to the latest revision.

Also suggested the upsatream to make a release.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-26 18:56:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e7b3c21285a75130b6718f3ea6c51e33043d83b

commit 9e7b3c21285a75130b6718f3ea6c51e33043d83b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-26 18:52:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-26 18:55:51 +0000

    devel/vexcl: Update 1.4.1 -> 1.4.1-120 which also fixes bug with boost includes (see PR)
    PR:             255416
    Reported by:    Thibault Payet <monwarez@mailoo.org>

 devel/vexcl/Makefile  | 4 ++--
 devel/vexcl/distinfo  | 6 +++---
 devel/vexcl/pkg-plist | 3 +++
 3 files changed, 8 insertions(+), 5 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-04-26 18:59:08 UTC
A commit in branch 2021Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb0aa9a329114aa5fdf90c0b7f6f119a04139dfa

commit eb0aa9a329114aa5fdf90c0b7f6f119a04139dfa
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-26 18:52:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-26 18:58:46 +0000

    devel/vexcl: Update 1.4.1 -> 1.4.1-120 which also fixes bug with boost includes (see PR)
    PR:             255416
    Reported by:    Thibault Payet <monwarez@mailoo.org>

    (cherry picked from commit 9e7b3c21285a75130b6718f3ea6c51e33043d83b)

 devel/vexcl/Makefile  | 4 ++--
 devel/vexcl/distinfo  | 6 +++---
 devel/vexcl/pkg-plist | 3 +++
 3 files changed, 8 insertions(+), 5 deletions(-)