On 2021/03/09 18:35, Rafael Sadowski wrote:
> On Tue Mar 09, 2021 at 11:32:08AM +0100, Antoine Jacoutot wrote:
> > On Sat, Mar 06, 2021 at 11:13:45PM -0700, Rafael Sadowski wrote:
> > > CVSROOT:  /cvs
> > > Module name:      ports
> > > Changes by:       [email protected]       2021/03/06 23:13:45
> > > 
> > > Modified files:
> > >   multimedia/mkvtoolnix: Makefile distinfo 
> > > 
> > > Log message:
> > > Update mkvtoolnix to 55.0.0
> > 
> > The no_x11 FLAVOR failed to build for me.
> > Log attached.
> > 
> > -- 
> > Antoine
> 
> Thanks for the report. I can't reproduce it, build and package fine
> here.
> 
> ld: error: unable to find library -lstdc++fs
> 
> Other tools link fine more above in the log file.
> 

c++ -fstack-protector-strong -L/usr/local/lib -L/usr/local/lib 
-Llib/avilib-0.6.10 -Llib/librmff -Lsrc/common -o src/tools/ebml_validator 
src/tools/ebml_validator.o src/tools/element_info.o -lmtxcommon 
-L/usr/local/lib -lmatroska -L/usr/local/lib -lebml -lmagic -lz -lFLAC -logg 
-lm -lz -lpugixml -lintl -liconv -lfmt -L/usr/local/lib -lpcre2-8 -lstdc++fs 
-lstdc++ -L/usr/local/lib -ldvdread

It's using clang to compile, linking libstdc++fs from ports-gcc, and
libstdc++ from base-gcc. Chances of this producing non-broken binaries
in this case are not all that high.

So there's probably a hidden dep on gcc-libs. Disabling that may make
the -lstdc++ magically go away but if not then that needs killing too.

Reply via email to