New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libutp build issues #4748
Comments
tl;dr in terms of unblocking you I'd say go into - option(LIBUTP_ENABLE_WERROR "${PROJECT_NAME}: Treat warnings as errors" ${LIBUTP_STANDALONE_BUILD})
+ option(LIBUTP_ENABLE_WERROR "${PROJECT_NAME}: Treat warnings as errors" OFF) I see three possible workitems for Transmission here:
For bookkeeping's sake I'm going to open separate tickets for those three issues, and I want to focus here in this ticket on getting it to build for you. @jpalus does disabling |
Actually that was my very first attempt to drop the logic for setting
I guess that's because and the latter guards: |
OK. @mikedld wrote those and I'd rather give him a chance to weigh in instead of me second-guessing why that code is there. In terms of just making this build for you, maybe remove the actual |
Just to be clear I was able to compile |
Awesome, I'm glad you got unblocked! Since I've filed separate tickets for those workitems above (4750, 4751, 4752) I'm going to close this issue as completed. In particular 4752 would be the one for anyone else who hits this issue. |
- disable werror within shipped libutp and prevent use of (future) system libutp (transmission requires its own customized libutp) see transmission/transmission#4748 - ENABLE_WEB disabled since it does not do what it seems to do see transmission/transmission#4755
What is the issue?
When updating to
transmission 4.0.0
I've hit a few issues withlibutp
:libutp
withgcc 12.2.0
fails with:libutp
with-DENABLE_UTP=OFF
I get:libutp
from https://github.com/bittorrent/libutp gives another build failure:So it seems currently using system
libutp
is not possible (USE_SYSTEM_UTP
),libutp
is not optional (ENABLE_UTP
) and build files for embeddedlibutp
need tweaking soLIBUTP_ENABLE_WERROR
does not get set toON
while keepingLIBUTP_STANDALONE_BUILD
toON
since it's required for install target.Which application of Transmission?
None
Which version of Transmission?
4.0.0
The text was updated successfully, but these errors were encountered: