Skip to contentSkip to conversation

wavpack: upgrade 5.1.0 -> 5.6.0

PATCH Superseded alperak 3 participants 8 messages Dec 20, 2023 – Dec 22, 2023 1 message not in the archive

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 wavpack: upgrade 5.1.0 -> 5.6.0

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb} (63%)
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +3 -3
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode."
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"
+LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
 
 SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https"
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
Signature · 1 line
2.25.1
#1 lore raw

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not
recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

Quoted 110 lines · Alper Ak

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>

wavpack_5.6.0.bb} (63%)

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format

providing lossless, high-quality lossy, and a unique hybrid compression mode."
LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2" +LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"

SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https
"

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +2 -3
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107643):
https://lists.openembedded.org/g/openembedded-devel/message/107643
Mute This Topic: https://lists.openembedded.org/mt/103277174/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Adding the dependency on target openssl allows the build to finish OK.

Quoted 128 lines · Martin Jansa via lists.openembedded.org

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not
recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

Quoted 99 lines · Alper Ak

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>

wavpack_5.6.0.bb} (63%)

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format

providing lossless, high-quality lossy, and a unique hybrid compression mode."
LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2" +LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"

SRC_URI = "git://
github.com/dbry/WavPack.git;branch=master;protocol=https"

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +2 -3
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
--
Quoted 6 lines

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107708):
https://lists.openembedded.org/g/openembedded-devel/message/107708
Mute This Topic: https://lists.openembedded.org/mt/103277174/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw

Added openssl as a depends and sent v2 patch, thank you.

Martin Jansa <[email protected]>, 21 Ara 2023 Per, 15:30 tarihinde şunu yazdı:

Quoted 111 lines

Adding the dependency on target openssl allows the build to finish OK.

Quoted 107 lines · Martin Jansa via lists.openembedded.org

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

Quoted 82 lines · Alper Ak

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb} (63%)
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +3 -4
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode."
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"
+LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
 
 SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https"
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
--
Quoted 5 lines

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107708): https://lists.openembedded.org/g/openembedded-devel/message/107708
Mute This Topic: https://lists.openembedded.org/mt/103277174/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Thanks for v2, I've sent additional fix for shared libraries, but there are still some probably unexpected side-effects from using CMake and dropping lib_package inherit (${PN}-bin removal) as buildhistory shows:

(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/sysroot
index e772d96dbb5..de2cfdb7b0f 100644

packages/cortexa57-oe-linux/wavpack/sysroot +0 -0
@@ -7,10 +7,11 @@ drwxr-xr-x -          -                4096

./usr/include/wavpack

 drwxr-xr-x -          -                4096 ./usr/lib
 drwxr-xr-x -          -                4096 ./usr/lib/cmake
 drwxr-xr-x -          -                4096 ./usr/lib/cmake/WavPack
--rw-r--r-- -          -                4917

./usr/lib/cmake/WavPack/wavpack-config.cmake
--rw-r--r-- - - 2470
./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
+-rw-r--r-- - - 4678
./usr/lib/cmake/WavPack/wavpack-config.cmake
+-rw-r--r-- - - 2484
./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
-rw-r--r-- - - 3675
./usr/lib/cmake/WavPack/wavpack-config-version.cmake

--rw-r--r-- -          -             1006290 ./usr/lib/libwavpack.a
+-rwxr-xr-x -          -              199048 ./usr/lib/libwavpack.so.5.6.0
+lrwxrwxrwx -          -                  19 ./usr/lib/libwavpack.so ->
libwavpack.so.5.6.0
 drwxr-xr-x -          -                4096 ./usr/lib/pkgconfig
 -rw-r--r-- -          -                 234 ./usr/lib/pkgconfig/wavpack.pc
 drwxr-xr-x -          -                4096 ./usr/share
(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/wavpack/latest index d1d7db3e993..4e8fd7e2f20 100644

packages/cortexa57-oe-linux/wavpack/wavpack/latest +4 -5
@@ -1,10 +1,9 @@
-PV = 5.1.0
+PV = 5.6.0
 PR = r0
-PKG = libwavpack1
-PKGR = r0.0
-RPROVIDES = wavpack (=5.1.0)
+PKGR = r0.2
+RPROVIDES =
 RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
 RRECOMMENDS =
-PKGSIZE = 199171
+PKGSIZE = 608176
 FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com

/var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev /usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/* /usr/share/pixmaps /usr/shar
e/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
-FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0 +FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag /usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0

(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest deleted file mode 100644
index 3a1b182efce..00000000000

packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest deleted +0 -10
@@ -1,10 +0,0 @@
-PV = 5.1.0
-PR = r0
-PKG = libwavpack-bin
-PKGR = r0.0
-RPROVIDES = wavpack-bin (=5.1.0)
-RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
-RRECOMMENDS =
-PKGSIZE = 408992
-FILES = /usr/bin/* /usr/sbin/*
-FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag

/usr/bin/wvunpack

Quoted 142 lines · alper ak

Added openssl as a depends and sent v2 patch, thank you.

Martin Jansa <[email protected]>, 21 Ara 2023 Per, 15:30 tarihinde şunu yazdı:

Quoted 4 lines

Adding the dependency on target openssl allows the build to finish OK.

On Thu, Dec 21, 2023 at 1:06 PM Martin Jansa via lists.openembedded.org

Quoted 6 lines · <[email protected]> wrote:
Quoted 6 lines

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file

not recognized: file format not recognized

Quoted 5 lines
Quoted 5 lines

collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

On Wed, Dec 20, 2023 at 7:25 AM Alper Ak <[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines
Quoted 5 lines

License-Update: Copyright year changes

Changelog:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read

crash)

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: very long filenames cause stack-overflow crash in all CLI

programs

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: the length stored in WAV headers not always corrected when

using -i

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: attempting to encode raw DSD audio from stdin sometimes

causes crash

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: DSD to PCM decimation: small clicks between tracks and tiny

DC offset

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: length update in library-generated WAV headers on big-endian

machines

Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: sanitize custom extensions read from WavPack files to be

alphanumeric

Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: accepting brace-delimited options in the wavpack executable

filename

Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: "--drop" option to Windows executables for multi-file

"drag-and-drop"

Quoted 1 line
Quoted 1 line
Quoted 1 line

* added" "--raw-pcm" option to wvunpack executable (does DSD -->

24-bit PCM)

Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: "--no-overwrite" option to wavpack executable (to resume

sessions)

Quoted 1 line
Quoted 1 line
Quoted 1 line

* improved: build system clean-up including switch to non-recursive

"make"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short

versions

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines

* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6

+++---

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>

wavpack_5.6.0.bb} (63%)

Quoted 2 lines
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb

Quoted 8 lines
Quoted 8 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 1

Quoted 8 lines

similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb index 909612393..80671896c 100644

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format

providing lossless, high-quality lossy, and a unique hybrid compression mode."

Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 3

Quoted 2 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -1
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"

Quoted 1 line
Quoted 1 line

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 3

Quoted 1 line
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -0
+LIC_FILES_CHKSUM =

"file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"

Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 4

Quoted 2 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
 SRC_URI = "git://

github.com/dbry/WavPack.git;branch=master;protocol=https"

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -1
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
Quoted 12 lines
Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -2
-inherit autotools lib_package
+inherit cmake pkgconfig
--

2.25.1

Quoted 8 lines
Quoted 4 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107708):

https://lists.openembedded.org/g/openembedded-devel/message/107708

Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/103277174/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub

[[email protected]]

Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

perhaps shared libs option is not getting effective. when you send a v3 please squash Martin's change into that as well.

Quoted 186 lines · Martin Jansa

Thanks for v2, I've sent additional fix for shared libraries, but there are still some probably unexpected side-effects from using CMake and dropping lib_package inherit (${PN}-bin removal) as buildhistory shows:

packages/cortexa57-oe-linux/wavpack/sysroot +4 -3
index e772d96dbb5..de2cfdb7b0f 100644
@@ -7,10 +7,11 @@ drwxr-xr-x -          -                4096 ./usr/include/wavpack
 drwxr-xr-x -          -                4096 ./usr/lib
 drwxr-xr-x -          -                4096 ./usr/lib/cmake
 drwxr-xr-x -          -                4096 ./usr/lib/cmake/WavPack
--rw-r--r-- -          -                4917 ./usr/lib/cmake/WavPack/wavpack-config.cmake
--rw-r--r-- -          -                2470 ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
+-rw-r--r-- -          -                4678 ./usr/lib/cmake/WavPack/wavpack-config.cmake
+-rw-r--r-- -          -                2484 ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
 -rw-r--r-- -          -                3675 ./usr/lib/cmake/WavPack/wavpack-config-version.cmake
--rw-r--r-- -          -             1006290 ./usr/lib/libwavpack.a
+-rwxr-xr-x -          -              199048 ./usr/lib/libwavpack.so.5.6.0
+lrwxrwxrwx -          -                  19 ./usr/lib/libwavpack.so -> libwavpack.so.5.6.0
 drwxr-xr-x -          -                4096 ./usr/lib/pkgconfig
 -rw-r--r-- -          -                 234 ./usr/lib/pkgconfig/wavpack.pc
 drwxr-xr-x -          -                4096 ./usr/share
packages/cortexa57-oe-linux/wavpack/wavpack/latest +4 -5
index d1d7db3e993..4e8fd7e2f20 100644
@@ -1,10 +1,9 @@
-PV = 5.1.0
+PV = 5.6.0
 PR = r0
-PKG = libwavpack1
-PKGR = r0.0
-RPROVIDES = wavpack (=5.1.0)
+PKGR = r0.2
+RPROVIDES =
 RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
 RRECOMMENDS =
-PKGSIZE = 199171
+PKGSIZE = 608176
 FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com /var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev /usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/* /usr/share/pixmaps /usr/shar

e/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers

packages/cortexa57-oe-linux/wavpack/wavpack/latest +1 -1
-FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0
+FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag /usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0
packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest deleted +0 -10
deleted file mode 100644
index 3a1b182efce..00000000000
@@ -1,10 +0,0 @@
-PV = 5.1.0
-PR = r0
-PKG = libwavpack-bin
-PKGR = r0.0
-RPROVIDES = wavpack-bin (=5.1.0)
-RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
-RRECOMMENDS =
-PKGSIZE = 408992
-FILES = /usr/bin/* /usr/sbin/*
-FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag /usr/bin/wvunpack
Quoted 110 lines · alper ak

Added openssl as a depends and sent v2 patch, thank you.

Martin Jansa <[email protected]>, 21 Ara 2023 Per, 15:30 tarihinde şunu yazdı:

Quoted 105 lines

Adding the dependency on target openssl allows the build to finish OK.

Quoted 101 lines · Martin Jansa via lists.openembedded.org

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

Quoted 87 lines · Alper Ak

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb} (63%)
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +3 -4
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode."
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"
+LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
 
 SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https"
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107751): https://lists.openembedded.org/g/openembedded-devel/message/107751
Mute This Topic: https://lists.openembedded.org/mt/103277174/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

It's active, without it it was building only the static library.

But ${PN}-bin was removed, so the binaries are now packaged in ${PN} as well (which doesn't look as improvement) and causes the package name not to be renamed anymore with debian.bbclass.

And in the .patch I've used PROJECT_VERSION as SOVERSION for CMake to build versioned library, but that means that the .so now has 5.6.0 version while 5.1.0 was using 1.2.0, so it would be better to discuss with upstream to see if the missing library version in CMake is intentional difference from autotools or just overlook.

Regards,

Quoted 243 lines · Khem Raj

perhaps shared libs option is not getting effective. when you send a v3 please squash Martin's change into that as well.

Quoted 2 lines · Martin Jansa

Thanks for v2, I've sent additional fix for shared libraries, but there

are still some probably unexpected side-effects from using CMake and dropping lib_package inherit (${PN}-bin removal) as buildhistory shows:

Review

Quoted 2 lines
(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/sysroot

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096

Quoted 4 lines

index e772d96dbb5..de2cfdb7b0f 100644

packages/cortexa57-oe-linux/wavpack/sysroot +0 -0
@@ -7,10 +7,11 @@ drwxr-xr-x -          -                4096

./usr/include/wavpack

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 10

Quoted 4 lines
packages/cortexa57-oe-linux/wavpack/sysroot +0 -1
 drwxr-xr-x -          -                4096 ./usr/lib
 drwxr-xr-x -          -                4096 ./usr/lib/cmake
 drwxr-xr-x -          -                4096 ./usr/lib/cmake/WavPack
--rw-r--r-- -          -                4917

./usr/lib/cmake/WavPack/wavpack-config.cmake

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 11

Quoted 1 line
packages/cortexa57-oe-linux/wavpack/sysroot +0 -1
--rw-r--r-- -          -                2470

./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 10

Quoted 1 line
packages/cortexa57-oe-linux/wavpack/sysroot +1 -0
+-rw-r--r-- -          -                4678

./usr/lib/cmake/WavPack/wavpack-config.cmake

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 11

Quoted 1 line
packages/cortexa57-oe-linux/wavpack/sysroot +1 -0
+-rw-r--r-- -          -                2484

./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 12

Quoted 1 line
packages/cortexa57-oe-linux/wavpack/sysroot +0 -0
 -rw-r--r-- -          -                3675

./usr/lib/cmake/WavPack/wavpack-config-version.cmake

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 13

Quoted 2 lines
packages/cortexa57-oe-linux/wavpack/sysroot +1 -1
--rw-r--r-- -          -             1006290 ./usr/lib/libwavpack.a
+-rwxr-xr-x -          -              199048

./usr/lib/libwavpack.so.5.6.0

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 14

Quoted 1 line
packages/cortexa57-oe-linux/wavpack/sysroot +1 -0
+lrwxrwxrwx -          -                  19 ./usr/lib/libwavpack.so ->

libwavpack.so.5.6.0

packages/cortexa57-oe-linux/wavpack/sysroot drwxr-xr-x - - 4096 · line 16

Quoted 2 lines
packages/cortexa57-oe-linux/wavpack/sysroot +0 -0
 drwxr-xr-x -          -                4096 ./usr/lib/pkgconfig
 -rw-r--r-- -          -                 234

./usr/lib/pkgconfig/wavpack.pc

Review

Quoted 4 lines
packages/cortexa57-oe-linux/wavpack/sysroot +0 -0
 drwxr-xr-x -          -                4096 ./usr/share
(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/wavpack/latest

Quoted 7 lines

index d1d7db3e993..4e8fd7e2f20 100644

packages/cortexa57-oe-linux/wavpack/wavpack/latest +1 -1
@@ -1,10 +1,9 @@
-PV = 5.1.0
+PV = 5.6.0
 PR = r0

packages/cortexa57-oe-linux/wavpack/wavpack/latest line 8

Quoted 10 lines
packages/cortexa57-oe-linux/wavpack/wavpack/latest +3 -4
-PKG = libwavpack1
-PKGR = r0.0
-RPROVIDES = wavpack (=5.1.0)
+PKGR = r0.2
+RPROVIDES =
 RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
 RRECOMMENDS =
-PKGSIZE = 199171
+PKGSIZE = 608176
 FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc

/com /var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev /usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/* /usr/share/pixmaps /usr/shar

Quoted 1 line

e/applications /usr/share/idl /usr/share/omf /usr/share/sounds

/usr/lib/bonobo/servers

packages/cortexa57-oe-linux/wavpack/wavpack/latest

Quoted 2 lines
packages/cortexa57-oe-linux/wavpack/wavpack/latest +1 -1
-FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0
+FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag

/usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0

Review

Quoted 2 lines
(quoted diff) +0 -0

b/packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest

Quoted 5 lines

deleted file mode 100644
index 3a1b182efce..00000000000

packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest line 10

Quoted 10 lines
packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest deleted +0 -10
@@ -1,10 +0,0 @@
-PV = 5.1.0
-PR = r0
-PKG = libwavpack-bin
-PKGR = r0.0
-RPROVIDES = wavpack-bin (=5.1.0)
-RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
-RRECOMMENDS =
-PKGSIZE = 408992
-FILES = /usr/bin/* /usr/sbin/*
-FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag

/usr/bin/wvunpack

Quoted 4 lines

On Thu, Dec 21, 2023 at 3:11 PM alper ak <[email protected]>

Quoted 9 lines · wrote:
Quoted 9 lines

Added openssl as a depends and sent v2 patch, thank you.

Martin Jansa <[email protected]>, 21 Ara 2023 Per, 15:30 tarihinde şunu yazdı:

Quoted 4 lines

Adding the dependency on target openssl allows the build to finish OK.

On Thu, Dec 21, 2023 at 1:06 PM Martin Jansa via

lists.openembedded.org <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file

not recognized: file format not recognized

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build

host?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Wed, Dec 20, 2023 at 7:25 AM Alper Ak <[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

License-Update: Copyright year changes

Changelog:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB

read crash)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: very long filenames cause stack-overflow crash in all CLI

programs

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: the length stored in WAV headers not always corrected when

using -i

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: attempting to encode raw DSD audio from stdin sometimes

causes crash

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: DSD to PCM decimation: small clicks between tracks and

tiny DC offset

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: length update in library-generated WAV headers on

big-endian machines

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: sanitize custom extensions read from WavPack files to be

alphanumeric

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: accepting brace-delimited options in the wavpack

executable filename

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: "--drop" option to Windows executables for multi-file

"drag-and-drop"

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* added" "--raw-pcm" option to wvunpack executable (does DSD -->

24-bit PCM)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* added: "--no-overwrite" option to wavpack executable (to resume

sessions)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* improved: build system clean-up including switch to non-recursive

"make"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short

versions

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i

option)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

* fixed: thumb interworking and not needing v6 architecture (ARM

asm)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6

+++---

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb =>

wavpack_5.6.0.bb} (63%)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 1

Quoted 8 lines

similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb index 909612393..80671896c 100644

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression

format providing lossless, high-quality lossy, and a unique hybrid compression mode."

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 3

Quoted 2 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -1
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 3

Quoted 1 line
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -0
+LIC_FILES_CHKSUM =

"file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb line 4

Quoted 2 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +0 -0
 SRC_URI = "git://

github.com/dbry/WavPack.git;branch=master;protocol=https"

Quoted 17 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -1
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +1 -2
-inherit autotools lib_package
+inherit cmake pkgconfig
--

2.25.1

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107751):

https://lists.openembedded.org/g/openembedded-devel/message/107751

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/103277174/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw
Quoted 6 lines · Martin Jansa

It's active, without it it was building only the static library.

But ${PN}-bin was removed, so the binaries are now packaged in ${PN} as well (which doesn't look as improvement) and causes the package name not to be renamed anymore with debian.bbclass.

And in the .patch I've used PROJECT_VERSION as SOVERSION for CMake to build versioned library, but that means that the .so now has 5.6.0 version while 5.1.0 was using 1.2.0, so it would be better to discuss with upstream to see if the missing library version in CMake is intentional difference from autotools or just overlook.

This is something we should look into in more detail since synthesizing soversion looks wrong to me, as it can convey wrong ABI change while there maybe none. So I agree getting some idea from upstream about versioning policy for the shared object would be prudent.

Quoted 195 lines

Regards,

Quoted 191 lines · Khem Raj

perhaps shared libs option is not getting effective. when you send a v3 please squash Martin's change into that as well.

Quoted 186 lines · Martin Jansa

Thanks for v2, I've sent additional fix for shared libraries, but there are still some probably unexpected side-effects from using CMake and dropping lib_package inherit (${PN}-bin removal) as buildhistory shows:

packages/cortexa57-oe-linux/wavpack/sysroot +4 -3
index e772d96dbb5..de2cfdb7b0f 100644
@@ -7,10 +7,11 @@ drwxr-xr-x -          -                4096 ./usr/include/wavpack
 drwxr-xr-x -          -                4096 ./usr/lib
 drwxr-xr-x -          -                4096 ./usr/lib/cmake
 drwxr-xr-x -          -                4096 ./usr/lib/cmake/WavPack
--rw-r--r-- -          -                4917 ./usr/lib/cmake/WavPack/wavpack-config.cmake
--rw-r--r-- -          -                2470 ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
+-rw-r--r-- -          -                4678 ./usr/lib/cmake/WavPack/wavpack-config.cmake
+-rw-r--r-- -          -                2484 ./usr/lib/cmake/WavPack/wavpack-config-noconfig.cmake
 -rw-r--r-- -          -                3675 ./usr/lib/cmake/WavPack/wavpack-config-version.cmake
--rw-r--r-- -          -             1006290 ./usr/lib/libwavpack.a
+-rwxr-xr-x -          -              199048 ./usr/lib/libwavpack.so.5.6.0
+lrwxrwxrwx -          -                  19 ./usr/lib/libwavpack.so -> libwavpack.so.5.6.0
 drwxr-xr-x -          -                4096 ./usr/lib/pkgconfig
 -rw-r--r-- -          -                 234 ./usr/lib/pkgconfig/wavpack.pc
 drwxr-xr-x -          -                4096 ./usr/share
packages/cortexa57-oe-linux/wavpack/wavpack/latest +4 -5
index d1d7db3e993..4e8fd7e2f20 100644
@@ -1,10 +1,9 @@
-PV = 5.1.0
+PV = 5.6.0
 PR = r0
-PKG = libwavpack1
-PKGR = r0.0
-RPROVIDES = wavpack (=5.1.0)
+PKGR = r0.2
+RPROVIDES =
 RDEPENDS = glibc (>= 2.38+git0+1e04dcec49)
 RRECOMMENDS =
-PKGSIZE = 199171
+PKGSIZE = 608176
 FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com /var /usr/bin/* /usr/sbin/* /usr/lib/*.so.* /lib/udev /usr/lib/udev /usr/lib/udev /usr/lib/udev /usr/share/wavpack /usr/lib/wavpack/* /usr/share/pixmaps /usr/shar

e/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers

packages/cortexa57-oe-linux/wavpack/wavpack/latest +1 -1
-FILELIST = /usr/lib/libwavpack.so.1 /usr/lib/libwavpack.so.1.2.0
+FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag /usr/bin/wvunpack /usr/lib/libwavpack.so.5.6.0
packages/cortexa57-oe-linux/wavpack/wavpack-bin/latest deleted +0 -10
deleted file mode 100644
index 3a1b182efce..00000000000
@@ -1,10 +0,0 @@
-PV = 5.1.0
-PR = r0
-PKG = libwavpack-bin
-PKGR = r0.0
-RPROVIDES = wavpack-bin (=5.1.0)
-RDEPENDS = glibc (>= 2.38+git0+1e04dcec49) wavpack (>= 5.1.0)
-RRECOMMENDS =
-PKGSIZE = 408992
-FILES = /usr/bin/* /usr/sbin/*
-FILELIST = /usr/bin/wavpack /usr/bin/wvgain /usr/bin/wvtag /usr/bin/wvunpack
Quoted 110 lines · alper ak

Added openssl as a depends and sent v2 patch, thank you.

Martin Jansa <[email protected]>, 21 Ara 2023 Per, 15:30 tarihinde şunu yazdı:

Quoted 105 lines

Adding the dependency on target openssl allows the build to finish OK.

Quoted 101 lines · Martin Jansa via lists.openembedded.org

Hi,

it seems to be trying to link with native libcrypto in some builds:

lib32-wavpack/5.6.0/recipe-sysroot-native/usr/lib/libcrypto.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status

have you tried to build it e.g. for aarch64 or arm on x86_64 build host?

Quoted 87 lines · Alper Ak

License-Update: Copyright year changes

Changelog:

* added: AIFF file import/export support
* added: WATCOM compiler and OS/2 support
* added: cmake support for mingw, builds Cooledit + Winamp plugins
* added: --force-even-byte-depth option for rounding up bit depths
* fixed: detect and report PCM files having non-zero padding bits
* fixed: possible crash when displaying long channel assignments
* fixed: big-endian-sourced "raw" files gave big-endian "wav"s
* fixed: numerous minor issues
* fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash)
* fixed: very long filenames cause stack-overflow crash in all CLI programs
* fixed: the length stored in WAV headers not always corrected when using -i
* fixed: attempting to encode raw DSD audio from stdin sometimes causes crash
* fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset
* fixed: length update in library-generated WAV headers on big-endian machines
* fixed: sanitize custom extensions read from WavPack files to be alphanumeric
* added: accepting brace-delimited options in the wavpack executable filename
* added: "--drop" option to Windows executables for multi-file "drag-and-drop"
* added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM)
* added: "--no-overwrite" option to wavpack executable (to resume sessions)
* improved: build system clean-up including switch to non-recursive "make"
* fixed: potential security issue CVE-2020-35738
* fixed: disable A32 asm code when building for Apple silicon
* fixed: issues with Adobe-style floating-point WAV files
* added: -vv option to wvunpack to quickly verify using just block checksums (ideal for detecting corrupted files)
* added: --normalize-floats option to wvunpack for correctly exporting un-normalized floating-point files
* updated: Visual Studio 2019 for Windows builds
* dropped: WinXP support in official binaries
* fixed: OSS-Fuzz issues 19925, 19928, 20060, 20448
(no CVEs or vulnerabilities)
* fixed: trailing garbage characters on imported ID3v2 TXXX tags
* fixed: various minor undefined behavior and memory access issues
* fixed: sanitize tag extraction names for length and path inclusion
* improved: reformat wvunpack "help" and split into long + short versions
* added: regression testing to Travis CI for OSS-Fuzz crashers
* fixed: potential security issues including the following CVEs:

     CVE-2018-19840 CVE-2018-19841 CVE-2018-10536
     CVE-2018-10537 CVE-2018-10538 CVE-2018-10539
     CVE-2018-10540 CVE-2018-7254  CVE-2018-7253
     CVE-2018-6767

* added: support for CMake, Travis CI, and Google's OSS-fuzz
* fixed: use correction file for encode verify (pipe input, Windows)
* fixed: correct WAV header with actual length (pipe input, -i option)
* fixed: thumb interworking and not needing v6 architecture (ARM asm)
* added: handle more ID3v2.3 tag items and from all file types
* fixed: coredump on Sparc64 (changed MD5 implementation)
* fixed: handle invalid ID3v2.3 tags from sacd-ripper
* fixed: several corner-case memory leaks

---
 .../wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-multimedia/wavpack/{wavpack_5.1.0.bb => wavpack_5.6.0.bb} (63%)
meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb renamed from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb +3 -4
similarity index 63%
rename from meta-oe/recipes-multimedia/wavpack/wavpack_5.1.0.bb
rename to meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 909612393..80671896c 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode."
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=8c1a910e5c2a8b30ec8ffb2ffa63d9b2"
+LIC_FILES_CHKSUM = "file://license.txt;md5=bb5d037e3ad41a3c84c9f2d8bb65a7b4"
 
 SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https"
-SRCREV = "9ccc3fe4a37d069137ceabe513a4dd9b0a09c1c2"
+SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
 S = "${WORKDIR}/git"
 
-inherit autotools lib_package
+inherit cmake pkgconfig
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107751): https://lists.openembedded.org/g/openembedded-devel/message/107751
Mute This Topic: https://lists.openembedded.org/mt/103277174/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-