Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 932793

Summary: media-sound/supercollider-3.13.0 fails to compile: SC_Lib_Cintf.cpp:370:10: error: recursive_directory_iterator is not a member of bfs
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andie Verbus <andieverbus>
Status: CONFIRMED ---    
Severity: normal CC: asturm, proxy-maint, ron
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/supercollider/supercollider/pull/6331
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 930498    
Attachments: build.log
Patch to make supercollider-3.13.0 compile with boost-1.85.0

Description Agostino Sarubbo gentoo-dev 2024-05-26 14:22:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/supercollider-3.13.0 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-26 14:22:24 UTC
Created attachment 894456 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-26 14:22:25 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: lang/CMakeFiles/libsclang.dir/LangSource/PyrLexer.cpp.o 
FAILED: server/scsynth/CMakeFiles/libscsynth.dir/SC_GraphDef.cpp.o 
FAILED: server/scsynth/CMakeFiles/libscsynth.dir/SC_Lib_Cintf.cpp.o 
/var/tmp/portage/media-sound/supercollider-3.13.0/work/SuperCollider-3.13.0-Source/server/scsynth/SC_Lib_Cintf.cpp:370:10: error: ‘recursive_directory_iterator’ is not a member of ‘bfs’
Comment 3 ron widler 2024-05-31 16:04:28 UTC
There's a pull request in the upstream repo that addresses these issues at https://github.com/supercollider/supercollider/pull/6331

i'll attach a patch that has the necessary changes from this PR (diff to supercollider:develop, and some edits to make it run against the 3.13.0 source)

compiles and runs on my ~amd64 with boost-1.85.0

i don't have a machine with <boost-1.85 at hand to test if it's backward compatible, though
Comment 4 ron widler 2024-05-31 16:05:49 UTC
Created attachment 894740 [details, diff]
Patch to make supercollider-3.13.0 compile with boost-1.85.0