Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875050 - sys-fs/xfsprogs-5.18.0 - unicrash.c: error: implicit declaration of function u_init
Summary: sys-fs/xfsprogs-5.18.0 - unicrash.c: error: implicit declaration of function ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:39 UTC by Toralf Förster
Modified: 2023-01-15 14:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.44 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.01 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
environment (environment,87.74 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.77 KB, application/x-bzip)
2022-10-04 16:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.02 KB, application/x-bzip)
2022-10-04 16:39 UTC, Toralf Förster
Details
sys-fs:xfsprogs-5.18.0:20221004-084940.log (sys-fs:xfsprogs-5.18.0:20221004-084940.log,155.44 KB, text/plain)
2022-10-04 16:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.62 KB, application/x-bzip)
2022-10-04 16:39 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-10-04 16:39:46 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_FILE_OFFSET_BITS=64 -Wno-address-of-packed-member    -DNDEBUG -DVERSION=\"5.18.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I../include -I../libxfs -I
    [CC]     log_print_trans.o
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -D_FILE_OFFSET_BITS=64 -Wno-address-of-packed-member    -DNDEBUG -DVERSION=\"5.18.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsprogs\" -I../include -I../libxfs -I
unicrash.c: In function unicrash_load:
unicrash.c:746:9: error: implicit declaration of function u_init; did you mean u_digit? [-Werror=implicit-function-declaration]
  746 |         u_init(&uerr);
      |         ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221002-183753

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 92c31ff98e022fce3c1646acc591d62fab57394c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 08:32:55 2022 +0000

    2022-10-04 08:32:55 UTC

emerge -qpvO sys-fs/xfsprogs
[ebuild  N    ] sys-fs/xfsprogs-5.18.0  USE="icu nls (split-usr) -libedit (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:39:47 UTC
Created attachment 819571 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:39:49 UTC
Created attachment 819574 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:39:50 UTC
Created attachment 819577 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:39:51 UTC
Created attachment 819580 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:39:52 UTC
Created attachment 819583 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:39:54 UTC
Created attachment 819586 [details]
sys-fs:xfsprogs-5.18.0:20221004-084940.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:39:55 UTC
Created attachment 819589 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-05 11:52:52 UTC
The bug has been closed via the following commit(s):

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

commit af2d84512555aefc291b07f834ac6c235e3339d8
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2022-10-04 18:23:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-05 11:52:27 +0000

    sys-fs/xfsprogs: fix implicit declaration of function u_init/u_cleanup
    
    Closes: https://bugs.gentoo.org/875050
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/27624
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch       | 15 +++++++++++++++
 .../{xfsprogs-5.18.0.ebuild => xfsprogs-5.18.0-r1.ebuild} |  1 +
 2 files changed, 16 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-15 14:54:57 UTC
Fixed upstream in 6.1.1 but I can't build it right now for some reason (despite there only being tiny changes).
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-15 14:56:16 UTC
(In reply to Sam James from comment #9)
> Fixed upstream in 6.1.1 but I can't build it right now for some reason
> (despite there only being tiny changes).

oh, nevermind, I think it's some weird --enable-static thing.
Comment 11 Larry the Git Cow gentoo-dev 2023-01-15 14:57:08 UTC
The bug has been referenced in the following commit(s):

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

commit a1771537b9dfc611e046907def1a2d4a4f5d6561
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-15 14:56:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-15 14:56:59 +0000

    sys-fs/xfsprogs: add 6.1.1
    
    Bug: https://bugs.gentoo.org/875050
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/xfsprogs/Manifest              |  1 +
 sys-fs/xfsprogs/xfsprogs-6.1.1.ebuild | 94 +++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)