* [Buildroot] [PATCH] package/log4cxx: bump to version 1.3.1
@ 2024-12-26 20:19 Thomas Petazzoni via buildroot
2024-12-26 21:45 ` Julien Olivain
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-12-26 20:19 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
According to
https://logging.apache.org/log4cxx/1.3.1/changelog.html:
Release 1.3.1 - 2024-11-30
==========================
This is a minor bugfix release to fix issues found with 1.3.0.
Bug
- Properly prevent undefined behaviour when an appender is deleted without being closed [#431]
- Prevent abnormal termination on exit when using a static NDC/MDC variable [#426]
- Support for std::experimental::optional (in the standard library used by gcc 5.4) [#419]
Release 1.3.0 - 2024-10-21
==========================
Release 1.3.0 includes the following new features:
- Overhead reduction of upto 60% sending logging events to an appender
- Statistics on the AsyncAppender's queue length (in Log4cxx debug output)
- Fuzz tests along with Google OSS-Fuzz integration
The following issues have been addressed:
- MSYS2/MINGW build errors [#389]
- thread_local problems in MSYS2/MINGW [#394]
- A potential 'use after free' fault when using AsyncAppender [#397]
Release 1.2.0 - 2024-01-01
==========================
The following issues have been addressed:
- The locale external character encoding option reverting to US-ASCII [LOGCXX-483]
- A segfault during process exit when log4cxx::LogManager::shutdown is not called [#268] [#219]
- The cmake option to include a MultiprocessRollingFileAppender did not work
- Build failure in a MSYS2 environment
- Format settings (e.g. std::hex) were retained across LOG4CXX_XXXXX macro logging requests
- When the APR library was built without support for threads (APR_HAS_THREADS=0):
the AsyncAppender and dynamically loaded configuration changes were not available
a single nested/mapped diagnostic context (NDC/MDC) would be used and updated (without synchronization)
- On Windows, GetThreadDescription() called for each logging event when the thread name was empty [#321]
Release 1.2.0 includes the following new features:
- LOG4CXX_XXXX macros now support logging of QStrings directly
- log4cxx::hexdump function that returns a string of hexadecimal byte values
- Ability to remove a HierarchyEventListener [#233]
- Less string copying when sending a logging event to an appender
- Less frequent mutex contention when logging from multiple threads concurrently [#320]
- Allow thread information to be included in JSON formatted output
- Optional support for logging during process termination [#271]
- A cmake option to place Log4cxx functions in a different namespace [#277]
- Optionally use std::format in LOG4CXX_XXXX_FMT macros instead of fmt::format [#291]
- Support for per object enabling/disabling of logging requests (see log4cxx::LoggerInstancePtr)
Note: the LOG4CXX_CHARSET cmake option (external character encoding) default value has changed to utf-8
Within Buildroot, log4cxx has no reverse dependencies, and we tested
building it with gcc 7.x to verify compatibility with reasonably old
compilers.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/log4cxx/log4cxx.hash | 4 ++--
package/log4cxx/log4cxx.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/log4cxx/log4cxx.hash b/package/log4cxx/log4cxx.hash
index 728d49ee38..d9e9af18cf 100644
--- a/package/log4cxx/log4cxx.hash
+++ b/package/log4cxx/log4cxx.hash
@@ -1,4 +1,4 @@
-# From https://www.apache.org/dist/logging/log4cxx/1.1.0/apache-log4cxx-1.1.0.tar.gz.sha512
-sha512 66a66eab933a6afd0779e3f73f65afa4fb82481208b591fd7c7c86ded805f50abcd9cdf954bdb49e1e7f5198e6c1c4fff8a7e180ff5fff9491f1946e9ba6fe2b apache-log4cxx-1.1.0.tar.gz
+# From https://downloads.apache.org/logging/log4cxx/1.3.1/apache-log4cxx-1.3.1.tar.gz.sha512
+sha512 0956fd034fd1a98d2e48ed461578c1e85da02d176850a580195b6a60b959feaf402a2743cc84ccb5d467dd924ee46422b8a7b39d2be9ee131e4e275e65ba839c apache-log4cxx-1.3.1.tar.gz
# Locally computed
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
diff --git a/package/log4cxx/log4cxx.mk b/package/log4cxx/log4cxx.mk
index 8024c96d46..2d8d57a612 100644
--- a/package/log4cxx/log4cxx.mk
+++ b/package/log4cxx/log4cxx.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LOG4CXX_VERSION = 1.1.0
+LOG4CXX_VERSION = 1.3.1
LOG4CXX_SITE = https://archive.apache.org/dist/logging/log4cxx/$(LOG4CXX_VERSION)
LOG4CXX_SOURCE = apache-log4cxx-$(LOG4CXX_VERSION).tar.gz
LOG4CXX_INSTALL_STAGING = YES
--
2.47.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/log4cxx: bump to version 1.3.1
2024-12-26 20:19 [Buildroot] [PATCH] package/log4cxx: bump to version 1.3.1 Thomas Petazzoni via buildroot
@ 2024-12-26 21:45 ` Julien Olivain
2024-12-26 22:20 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Julien Olivain @ 2024-12-26 21:45 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
Hi Thomas,
On 26/12/2024 21:19, Thomas Petazzoni via buildroot wrote:
> According to
> https://logging.apache.org/log4cxx/1.3.1/changelog.html:
[...]
> Note: the LOG4CXX_CHARSET cmake option (external character encoding)
> default value has changed to utf-8
>
> Within Buildroot, log4cxx has no reverse dependencies, and we tested
> building it with gcc 7.x to verify compatibility with reasonably old
> compilers.
This bump seems to introduce a build failure, detected by
"utils/test-pkg -a -p log4cxx". In my Gitlab CI:
Without the bump (log4cxx-1.1.0), see:
https://gitlab.com/jolivain/buildroot/-/pipelines/1603545610
With the bump (log4cxx-1.3.1), see:
https://gitlab.com/jolivain/buildroot/-/pipelines/1603537890
The failure is with the br-powerpc-603e-basic-cpp toolchain and
seems to be related with wchar support:
https://gitlab.com/jolivain/buildroot/-/jobs/8728007916
Can you have a look, please?
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> package/log4cxx/log4cxx.hash | 4 ++--
> package/log4cxx/log4cxx.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/log4cxx/log4cxx.hash
> b/package/log4cxx/log4cxx.hash
> index 728d49ee38..d9e9af18cf 100644
> --- a/package/log4cxx/log4cxx.hash
> +++ b/package/log4cxx/log4cxx.hash
> @@ -1,4 +1,4 @@
> -# From
> https://www.apache.org/dist/logging/log4cxx/1.1.0/apache-log4cxx-1.1.0.tar.gz.sha512
> -sha512
> 66a66eab933a6afd0779e3f73f65afa4fb82481208b591fd7c7c86ded805f50abcd9cdf954bdb49e1e7f5198e6c1c4fff8a7e180ff5fff9491f1946e9ba6fe2b
> apache-log4cxx-1.1.0.tar.gz
> +# From
> https://downloads.apache.org/logging/log4cxx/1.3.1/apache-log4cxx-1.3.1.tar.gz.sha512
> +sha512
> 0956fd034fd1a98d2e48ed461578c1e85da02d176850a580195b6a60b959feaf402a2743cc84ccb5d467dd924ee46422b8a7b39d2be9ee131e4e275e65ba839c
> apache-log4cxx-1.3.1.tar.gz
> # Locally computed
> sha256
> cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
> LICENSE
> diff --git a/package/log4cxx/log4cxx.mk b/package/log4cxx/log4cxx.mk
> index 8024c96d46..2d8d57a612 100644
> --- a/package/log4cxx/log4cxx.mk
> +++ b/package/log4cxx/log4cxx.mk
> @@ -4,7 +4,7 @@
> #
>
> ################################################################################
>
> -LOG4CXX_VERSION = 1.1.0
> +LOG4CXX_VERSION = 1.3.1
> LOG4CXX_SITE =
> https://archive.apache.org/dist/logging/log4cxx/$(LOG4CXX_VERSION)
> LOG4CXX_SOURCE = apache-log4cxx-$(LOG4CXX_VERSION).tar.gz
> LOG4CXX_INSTALL_STAGING = YES
> --
> 2.47.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/log4cxx: bump to version 1.3.1
2024-12-26 21:45 ` Julien Olivain
@ 2024-12-26 22:20 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-12-26 22:20 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
Hello Julien,
On Thu, 26 Dec 2024 22:45:28 +0100
Julien Olivain <ju.o@free.fr> wrote:
> This bump seems to introduce a build failure, detected by
> "utils/test-pkg -a -p log4cxx". In my Gitlab CI:
>
> Without the bump (log4cxx-1.1.0), see:
> https://gitlab.com/jolivain/buildroot/-/pipelines/1603545610
>
> With the bump (log4cxx-1.3.1), see:
> https://gitlab.com/jolivain/buildroot/-/pipelines/1603537890
>
> The failure is with the br-powerpc-603e-basic-cpp toolchain and
> seems to be related with wchar support:
> https://gitlab.com/jolivain/buildroot/-/jobs/8728007916
>
> Can you have a look, please?
Thanks for having spotted this issue. I investigated, and I'm doing a
test-pkg test to verify. I'll send a v2 once it's ready.
Again, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-26 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-26 20:19 [Buildroot] [PATCH] package/log4cxx: bump to version 1.3.1 Thomas Petazzoni via buildroot
2024-12-26 21:45 ` Julien Olivain
2024-12-26 22:20 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.