-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ibrdtn failing with uclibc++ #7822
Comments
I do not have the environment to test my hypothesis, but the first error looks like a missing operator within Please try this patch: |
That seemed to fix that error. Next one:
|
Replacing streampos with streamoff seemed to do the trick. Next failure seems to be beyond my knowledge. Maybe another missing operator:
|
That looks like an ordinary "const" issue. Just replace "bundle_set::iterator" with "bundle_set::const_iterator". |
Two errors this time
I can't seem to find where the missing operator would be. |
Is it really worth hacking just to get uclibc++ working? Most applications in tree seems to depend on libstdcpp which also is noticably faster than uclibc++ although larger but I don't think that a major issue if you want to run C++ applications... |
Don't know that hacking is the correct term here. From what I've seen, many packages add libstdcpp as the dependency since that's what g++ uses (g++uc uses uclibcxx and needs an explicit include). You also can't link between both. Having said that, all of ibrcommon's dependencies with the exception of ibrdtnd(haven't gotten it figured out) can be compiled with uclibcxx after some work. |
I've also read several claims like this one https://github.com/dlitz/openwrt-packages/blob/master/net/nmap/Makefile#L9 which makes we wonder if its worth the hassle. |
True. I think there was a similar concern with emailrelay. In any case, uclibc++ is the default. It makes no sense to have two libc++ libraries if it can be avoided. |
For clarity these are the patches that I use: https://gist.github.com/neheb/16b8f7787ebcd4b575ebb9e665982c8c |
@neheb @morgenroth |
Current status: Current failure:
This one I can't figure out. |
This has long been fixed. |
This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. openwrt#7588 openwrt#7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. openwrt#7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. openwrt#6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. openwrt#7823 [FEATURE] Eureka SD: New service discovery. openwrt#3369 [FEATURE] Hetzner SD: New service discovery. openwrt#7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. openwrt#6838 [FEATURE] Scrape: Add per scrape-config targets limit. openwrt#7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. openwrt#7713 openwrt#7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. openwrt#7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. openwrt#7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. openwrt#7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. openwrt#7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. openwrt#7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. openwrt#7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. openwrt#7606 [BUGFIX] API: Deduplicate series in /api/v1/series. openwrt#7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. openwrt#7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. openwrt#7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. openwrt#7916 [BUGFIX] Rules: Detect extra fields in rule files. openwrt#7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. openwrt#7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. openwrt#7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. openwrt#7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. openwrt#7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. openwrt#7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. openwrt#7671 [BUGFIX] UI: Fix react UI bug with series going on and off. openwrt#7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. openwrt#7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. openwrt#7810 Signed-off-by: Paul Spooren <[email protected]>
This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. openwrt#7588 openwrt#7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. openwrt#7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. openwrt#6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. openwrt#7823 [FEATURE] Eureka SD: New service discovery. openwrt#3369 [FEATURE] Hetzner SD: New service discovery. openwrt#7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. openwrt#6838 [FEATURE] Scrape: Add per scrape-config targets limit. openwrt#7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. openwrt#7713 openwrt#7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. openwrt#7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. openwrt#7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. openwrt#7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. openwrt#7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. openwrt#7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. openwrt#7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. openwrt#7606 [BUGFIX] API: Deduplicate series in /api/v1/series. openwrt#7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. openwrt#7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. openwrt#7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. openwrt#7916 [BUGFIX] Rules: Detect extra fields in rule files. openwrt#7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. openwrt#7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. openwrt#7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. openwrt#7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. openwrt#7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. openwrt#7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. openwrt#7671 [BUGFIX] UI: Fix react UI bug with series going on and off. openwrt#7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. openwrt#7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. openwrt#7810 Signed-off-by: Paul Spooren <[email protected]>
This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. #7588 #7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. #7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. #6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. #7823 [FEATURE] Eureka SD: New service discovery. #3369 [FEATURE] Hetzner SD: New service discovery. #7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. #6838 [FEATURE] Scrape: Add per scrape-config targets limit. #7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. #7713 #7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. #7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. #7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. #7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. #7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. #7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. #7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. #7606 [BUGFIX] API: Deduplicate series in /api/v1/series. #7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. #7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. #7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. #7916 [BUGFIX] Rules: Detect extra fields in rule files. #7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. #7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. #7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. #7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. #7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. #7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. #7671 [BUGFIX] UI: Fix react UI bug with series going on and off. #7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. #7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. #7810 Signed-off-by: Paul Spooren <[email protected]>
This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. openwrt#7588 openwrt#7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. openwrt#7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. openwrt#6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. openwrt#7823 [FEATURE] Eureka SD: New service discovery. openwrt#3369 [FEATURE] Hetzner SD: New service discovery. openwrt#7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. openwrt#6838 [FEATURE] Scrape: Add per scrape-config targets limit. openwrt#7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. openwrt#7713 openwrt#7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. openwrt#7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. openwrt#7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. openwrt#7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. openwrt#7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. openwrt#7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. openwrt#7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. openwrt#7606 [BUGFIX] API: Deduplicate series in /api/v1/series. openwrt#7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. openwrt#7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. openwrt#7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. openwrt#7916 [BUGFIX] Rules: Detect extra fields in rule files. openwrt#7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. openwrt#7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. openwrt#7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. openwrt#7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. openwrt#7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. openwrt#7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. openwrt#7671 [BUGFIX] UI: Fix react UI bug with series going on and off. openwrt#7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. openwrt#7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. openwrt#7810 Signed-off-by: Paul Spooren <[email protected]>
This release is built with Go 1.15, which deprecates X.509 CommonName in TLS certificates validation. In the unlikely case that you use the gRPC API v2 (which is limited to TSDB admin commands), please note that we will remove this experimental API in the next minor release 2.22. [CHANGE] Disable HTTP/2 because of concerns with the Go HTTP/2 client. openwrt#7588 openwrt#7701 [CHANGE] PromQL: query_log_file path is now relative to the config file. openwrt#7701 [CHANGE] Promtool: Replace the tsdb command line tool by a promtool tsdb subcommand. openwrt#6088 [CHANGE] Rules: Label rule_group_iterations metric with group name. openwrt#7823 [FEATURE] Eureka SD: New service discovery. openwrt#3369 [FEATURE] Hetzner SD: New service discovery. openwrt#7822 [FEATURE] Kubernetes SD: Support Kubernetes EndpointSlices. openwrt#6838 [FEATURE] Scrape: Add per scrape-config targets limit. openwrt#7554 [ENHANCEMENT] Support composite durations in PromQL, config and UI, e.g. 1h30m. openwrt#7713 openwrt#7833 [ENHANCEMENT] DNS SD: Add SRV record target and port meta labels. openwrt#7678 [ENHANCEMENT] Docker Swarm SD: Support tasks and service without published ports. openwrt#7686 [ENHANCEMENT] PromQL: Reduce the amount of data queried by remote read when a subquery has an offset. openwrt#7667 [ENHANCEMENT] Promtool: Add --time option to query instant command. openwrt#7829 [ENHANCEMENT] UI: Respect the --web.page-title parameter in the React UI. openwrt#7607 [ENHANCEMENT] UI: Add duration, labels, annotations to alerts page in the React UI. openwrt#7605 [ENHANCEMENT] UI: Add duration on the React UI rules page, hide annotation and labels if empty. openwrt#7606 [BUGFIX] API: Deduplicate series in /api/v1/series. openwrt#7862 [BUGFIX] PromQL: Drop metric name in bool comparison between two instant vectors. openwrt#7819 [BUGFIX] PromQL: Exit with an error when time parameters can't be parsed. openwrt#7505 [BUGFIX] Remote read: Re-add accidentally removed tracing for remote-read requests. openwrt#7916 [BUGFIX] Rules: Detect extra fields in rule files. openwrt#7767 [BUGFIX] Rules: Disallow overwriting the metric name in the labels section of recording rules. openwrt#7787 [BUGFIX] Rules: Keep evaluation timestamp across reloads. openwrt#7775 [BUGFIX] Scrape: Do not stop scrapes in progress during reload. openwrt#7752 [BUGFIX] TSDB: Fix chunks.HeadReadWriter: maxt of the files are not set error. openwrt#7856 [BUGFIX] TSDB: Delete blocks atomically to prevent corruption when there is a panic/crash during deletion. openwrt#7772 [BUGFIX] Triton SD: Fix a panic when triton_sd_config is nil. openwrt#7671 [BUGFIX] UI: Fix react UI bug with series going on and off. openwrt#7804 [BUGFIX] UI: Fix styling bug for target labels with special names in React UI. openwrt#7902 [BUGFIX] Web: Stop CMUX and GRPC servers even with stale connections, preventing the server to stop on SIGTERM. openwrt#7810 Signed-off-by: Paul Spooren <[email protected]>
Maintainer: @morgenroth
Environment: trunk
Description:
Switching to uclibc++ causes compilation failure of ibrdtn. This either requires modification of ibrdtn or more likely uclibc++ to fix compilation.
I've already done so for gptfdisk where support for long long in istream was missing but I can't figure it out for ibrdtn. Maybe a missing iterator? Not a C++ expert.
edit: Error can be reproduced by pulling the last two commits from my branch: https://github.com/neheb/packages/tree/mangix
Here is the build failure:
The text was updated successfully, but these errors were encountered: