Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867691 - sys-fs/f2fs-tools-1.15.0:0/9: fails to build with app-arch/lz4-1.9.4 (was: compress.c: error: LZ4_STREAMSIZE_U64 undeclared (first use in this function))
Summary: sys-fs/f2fs-tools-1.15.0:0/9: fails to build with app-arch/lz4-1.9.4 (was: co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on: 877697
Blocks:
  Show dependency tree
 
Reported: 2022-08-31 07:35 UTC by Toralf Förster
Modified: 2022-10-25 05:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.38 KB, text/plain)
2022-08-31 07:35 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,55.09 KB, application/x-bzip)
2022-08-31 07:35 UTC, Toralf Förster
Details
environment (environment,72.65 KB, text/plain)
2022-08-31 07:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.77 KB, application/x-bzip)
2022-08-31 07:35 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.05 KB, application/x-bzip)
2022-08-31 07:35 UTC, Toralf Förster
Details
sys-fs:f2fs-tools-1.15.0:20220830-224112.log (sys-fs:f2fs-tools-1.15.0:20220830-224112.log,23.74 KB, text/plain)
2022-08-31 07:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.58 KB, application/x-bzip)
2022-08-31 07:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-31 07:35:17 UTC
      | 
In file included from f2fs.h:38,
                 from compress.c:14:
compress.c: In function 'lz4_compress_init':
compress.c:36:42: error: 'LZ4_STREAMSIZE_U64' undeclared (first use in this function); did you mean 'LZ4_STREAMSIZE'?
   36 | #define LZ4_STREAMSIZE                  (LZ4_STREAMSIZE_U64 * sizeof(long long))
      |                                          ^~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220828-222810

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
Python 3.10.6
Available Rust versions:
  [1]   rust-bin-1.62.1 *
php cli:

  HEAD of ::gentoo
commit 49841cb26f16c223bb027c8328918ff2e51391c5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 30 22:31:53 2022 +0000

    2022-08-30 22:31:52 UTC

emerge -qpvO sys-fs/f2fs-tools
[ebuild  N    ] sys-fs/f2fs-tools-1.15.0  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2022-08-31 07:35:18 UTC
Created attachment 802129 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-31 07:35:20 UTC
Created attachment 802132 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-31 07:35:21 UTC
Created attachment 802135 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-31 07:35:23 UTC
Created attachment 802138 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-31 07:35:24 UTC
Created attachment 802141 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-31 07:35:25 UTC
Created attachment 802144 [details]
sys-fs:f2fs-tools-1.15.0:20220830-224112.log
Comment 7 Toralf Förster gentoo-dev 2022-08-31 07:35:26 UTC
Created attachment 802147 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-09-01 02:00:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd9cba226e32e2a53d7103a62ab58f5289b0c25

commit 7bd9cba226e32e2a53d7103a62ab58f5289b0c25
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-01 01:58:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-01 01:58:17 +0000

    sys-fs/f2fs-tools: fix build w/ app-arch/lz4-1.9.4
    
    Closes: https://bugs.gentoo.org/867691
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/f2fs-tools/f2fs-tools-1.15.0-r1.ebuild      | 42 ++++++++++++++++++++++
 sys-fs/f2fs-tools/f2fs-tools-9999.ebuild           |  2 +-
 .../files/f2fs-tools-1.15.0-lz4-1.9.4.patch        | 25 +++++++++++++
 3 files changed, 68 insertions(+), 1 deletion(-)