Bug 274437 - science/votca: Partially fix build
Summary: science/votca: Partially fix build
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: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 19:16 UTC by Daniel Engberg
Modified: 2023-11-07 01:39 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
Patch for votca (457 bytes, patch)
2023-10-12 19:16 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-10-12 19:16:52 UTC
Created attachment 245586 [details]
Patch for votca

Define BOOST_TIMER_ENABLE_DEPRECATED in CXXFLAGS to avoid build failure with newer versions of Boost library

Compile tested on FreeBSD 13.2-RELEASE (amd64) (make, make check-plist)
Poudriere testport OK 13.2-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2023-10-12 19:17:49 UTC
Poudriere also throws

=>> Checking for filesystem violations... done
=>> Error: Filesystem touched during build:
usr/local/share/libint/2.7.2/basis/6-31g.g94:
        size (36765, 34446)
usr/local/share/libint/2.7.2/basis/6-31g*.g94:
        size (36765, 36652)
./usr/local/share/libint/2.7.2/basis/6-31g*.g94 missing
./usr/local/share/libint/2.7.2/basis/6-31g.g94 missing
build of science/votca | votca-2022.1_1 ended at Thu Oct 12 14:08:32 CDT 2023
build time: 00:08:06
!!! build failure encountered !!!
[00:09:07] Error: Build failed in phase: build_fs_violation
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-10-13 03:03:42 UTC
Thanks for the patch.

Approved. Please commit it.

The poudriere issue has been there forever for this port. It was reported to poudriere, but never fixed. Central builds don't suffer from it somehow.


Thanks,
Yuri
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-10-14 17:39:01 UTC
A commit in branch main references this bug:

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

commit 744d2334a25046ed65a47331b711194fcce877f3
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-14 17:36:50 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-10-14 17:38:19 +0000

    science/votca: Partially fix build

    Define BOOST_TIMER_ENABLE_DEPRECATED in CXXFLAGS to avoid build failure
    with newer versions of Boost library

    Poudriere reports filesystem violations in usr/local/share/libint

    PR:             274437
    Reviewed by:    yuri (maintainer)

 science/votca/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-10-14 17:48:12 UTC
Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-11-07 01:39:35 UTC
A commit in branch 2023Q4 references this bug:

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

commit 77ebebf996680b73296ea9bd89ebd44acb81f324
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-14 17:36:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-07 01:38:40 +0000

    science/votca: Partially fix build

    Define BOOST_TIMER_ENABLE_DEPRECATED in CXXFLAGS to avoid build failure
    with newer versions of Boost library

    Poudriere reports filesystem violations in usr/local/share/libint

    PR:             274437
    Reviewed by:    yuri (maintainer)

    (cherry picked from commit 744d2334a25046ed65a47331b711194fcce877f3)

 science/votca/Makefile | 2 ++
 1 file changed, 2 insertions(+)