Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933408 - app-i18n/librime-1.7.3-r1 fails to compile: customizer.cc:97:25: error: fs::copy_option has not been declared
Summary: app-i18n/librime-1.7.3-r1 fails to compile: customizer.cc:97:25: error: fs::c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-06-02 09:59 UTC by Agostino Sarubbo
Modified: 2024-07-16 07:44 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,164.50 KB, text/plain)
2024-06-02 09:59 UTC, Agostino Sarubbo
Details
modified ebuild for librime-1.7.3-r1.ebuild (librime-1.7.3-r1.ebuild,1.60 KB, text/plain)
2024-07-15 03:31 UTC, sjlcwn
Details
patch for librime source code "copy_options.patch" (copy_options.patch,821 bytes, patch)
2024-07-15 03:32 UTC, sjlcwn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-02 09:59:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/librime-1.7.3-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-02 09:59:20 UTC
Created attachment 894938 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-02 09:59:21 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/CMakeFiles/rime.dir/rime/lever/customizer.cc.o 
FAILED: src/CMakeFiles/rime.dir/rime/lever/deployment_tasks.cc.o 
/var/tmp/portage/app-i18n/librime-1.7.3-r1/work/librime-1.7.3/src/rime/lever/customizer.cc:97:25: error: ‘fs::copy_option’ has not been declared
Comment 3 sjlcwn 2024-07-15 03:31:04 UTC
Created attachment 897638 [details]
modified ebuild for librime-1.7.3-r1.ebuild
Comment 4 sjlcwn 2024-07-15 03:32:13 UTC
Created attachment 897639 [details, diff]
patch for librime source code "copy_options.patch"
Comment 5 sjlcwn 2024-07-15 03:37:56 UTC
I think the boost 1.85 makes this happen

Copmaring include/boost/filesystem/operations.hpp in boost-1.84.0 and boost-1.85.0, I think the copy_option get removed in 1.85

I made a little modification to librime-1.7.3-r1.ebuild, and I builds on my environment, following "Creating_an_ebuild_repository".
Or maybe we can just use newer version of librime?
Comment 6 Larry the Git Cow gentoo-dev 2024-07-16 07:44:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65498d9e757c5d5393574191912a1c063bd892af

commit 65498d9e757c5d5393574191912a1c063bd892af
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-16 07:37:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-16 07:38:13 +0000

    app-i18n/librime: fix build w/ boost-1.85
    
    Closes: https://bugs.gentoo.org/933408
    Thanks-to: sjlcwn@126.com
    Signed-off-by: Sam James <sam@gentoo.org>

 .../librime/files/librime-1.7.3-boost-1.85.patch   | 24 ++++++++++++++++++++++
 app-i18n/librime/librime-1.7.3-r1.ebuild           |  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)