There is no obs-studio on freebsd 14
Can i install it via ports or something ?
Can i install it via ports or something ?
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-29.0.2/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:338:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'OS_THREAD_ROUTINE' (aka 'void *') [-Wint-conversion]
Those "radioactive" labels don't indicate it hasn't been ported. Those indicate there have been build failures. The icons link to https://portsfallout.com/It has not been ported to FreeBSD 14 yet. As you can see on freshports:
Thanks for your explanation. Anyway, what I meant was that it's not currently added to the system. When that sign is there, it means that the software is not available for that FreeBSD version and when a software version is written, it means it exists.Those "radioactive" labels don't indicate it hasn't been ported. Those indicate there have been build failures. The icons link to https://portsfallout.com/
Without any changes to the port (likely, adding someI will try to install it from ports anyway , trying to compile it now
-Wno-error=[xyz]
to CFLAGS
should be enough), it will fail in the same way as on the official builder.its doing it now lets see only a bit until it finishesOk. Do you want to bet? I see an easy win here![]()
I have a problem with these error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call]If it's indeed just adding someWno-error=
flags as I assume, make sure to submit your fix on bugzilla, thanks![]()
The link you sent does not open.obs-studio on -CURRENT is right now a victim of clang's decision to promote a few warnings to errors by default since llvm15:
Source: http://beefy19.nyi.freebsd.org/data...6_17h19m05s/logs/errors/obs-studio-29.0.2.logCode:/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-29.0.2/plugins/obs-outputs/ftl-sdk/libftl/ingest.c:338:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'OS_THREAD_ROUTINE' (aka 'void *') [-Wint-conversion]
While I see the motivation for doing this, I think it's a very stupid idea. The language standard doesn't specify an error here, so there should be none. As it stands, it breaks the build for many projects.
Could probably be "fixed" in the port by adding a few extra CFLAGS. Contact the maintainer (or do it yourself – as you're running -CURRENT, it's safe to assume you have the required knowledge)![]()
Then you're lacking IPv6 connectivity. The official FreeBSD package builders are only reachable by IPv6.The link you sent does not open.
Thanks for thatPersonally, I think many criticisms to FreeBSD are unfair. Developing and maintaining such operating system is unbelievably hard.
-Werror
flag will treat all (enabled) warnings as errors. Now, C and C++ are languages specified in some open standards documents, and there are lots of implementations, and any implementation (compiler) defines their own warnings. Most of these make sense, getting a warning, you really should have a look at your code and fix it.-Wno-error=[xyz]
flags. The only thing that can be a bit difficult from time to time is to find out how to pass the flags to some build system. For most cases, just setting CFLAGS
and/or CXXFLAGS
in the port Makefile works fine. If not, you'll have to do some investigations christhegeek from what I've seen it should really "only" be related to this questionable "some warnings as errors by default" change in llvm15 (which is included with 14-CURRENT base). And then, all you have to do is explicitly disable it again with some-Wno-error=[xyz]
flags. The only thing that can be a bit difficult from time to time is to find out how to pass the flags to some build system. For most cases, just settingCFLAGS
and/orCXXFLAGS
in the port Makefile works fine. If not, you'll have to do some investigations
Are you experienced with these things? And if not, why exactly are you running -CURRENT?I mean, it's expected to regularly "break stuff"....
I'm using the official ports now and working on the work directory using cmake. Found a bug in a function that was returning invalid type.Ok, so at least you have the determination it takes ?
No, seriously, best luck! My advice is just: have a look at how to pass the flags that make these warnings mere warnings again. At least, that's the issue I can identify reading the log of the official builder. Don't just blindly "try random stuff", concentrate on the actual errors and the least intrusive way to fix/avoid them! ?