Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923106 - app-arch/xar-1.8.0.0.487.100.1 - /.../ext2.c: error: implicit declaration of function free [-Wimplicit-function-declaration]
Summary: app-arch/xar-1.8.0.0.487.100.1 - /.../ext2.c: error: implicit declaration of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-28 09:51 UTC by Toralf Förster
Modified: 2024-02-18 19:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.27 KB, text/plain)
2024-01-28 09:51 UTC, Toralf Förster
Details
app-arch:xar-1.8.0.0.487.100.1:20240127-192206.log (app-arch:xar-1.8.0.0.487.100.1:20240127-192206.log,11.68 KB, text/plain)
2024-01-28 09:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.43 KB, text/plain)
2024-01-28 09:51 UTC, Toralf Förster
Details
environment (environment,112.40 KB, text/plain)
2024-01-28 09:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-28 09:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.20 KB, application/x-xz)
2024-01-28 09:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.50 KB, application/x-xz)
2024-01-28 09:51 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,253.72 KB, text/plain)
2024-01-28 09:51 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 2024-01-28 09:51:42 UTC
too long lines were shrinked:

      |                                                                                     long long int
      |                                                                                  %ld
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wno-unused-result  -fPIC -DPIC -I/var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-487.100.1/xar/include -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c /var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-4
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wno-unused-result  -fPIC -DPIC -I/var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-487.100.1/xar/include -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c /var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-4
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wno-unused-result  -fPIC -DPIC -I/var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-487.100.1/xar/include -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c /var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-4
/var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-487.100.1/xar/lib/ext2.c: In function xar_ext2attr_archive:
/var/tmp/portage/app-arch/xar-1.8.0.0.487.100.1/work/xar-xar-487.100.1/xar/lib/ext2.c:116:9: error: implicit declaration of function free [-Wimplicit-function-declaration]
  116 |         free(vstr);
      |         ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20240125-143002

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit f0bfe27086f19ea08c15feee21f8cb2c48010fe0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 27 18:50:55 2024 +0000

    2024-01-27 18:50:54 UTC

emerge -qpvO app-arch/xar
[ebuild  N    ] app-arch/xar-1.8.0.0.487.100.1  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-01-28 09:51:42 UTC
Created attachment 883374 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-28 09:51:43 UTC
Created attachment 883375 [details]
app-arch:xar-1.8.0.0.487.100.1:20240127-192206.log
Comment 3 Toralf Förster gentoo-dev 2024-01-28 09:51:45 UTC
Created attachment 883376 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-28 09:51:46 UTC
Created attachment 883377 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-28 09:51:47 UTC
Created attachment 883378 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-28 09:51:48 UTC
Created attachment 883379 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-28 09:51:48 UTC
Created attachment 883380 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-28 09:51:50 UTC
Created attachment 883381 [details]
qlist-info.txt
Comment 9 Larry the Git Cow gentoo-dev 2024-02-18 19:41:42 UTC
The bug has been closed via the following commit(s):

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

commit cc91eb0f86043ae92c10cce55b326244bed3f061
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-02-18 19:40:39 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-02-18 19:41:39 +0000

    app-arch/xar-1.8.0.0.498: version bump
    
    Version bump, fix implicit declarations and format warnings.
    
    Closes: https://bugs.gentoo.org/923106
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-arch/xar/Manifest                              |  1 +
 .../xar/files/xar-1.8.0.0.498-impl-decls.patch     | 24 ++++++
 app-arch/xar/xar-1.8.0.0.498.ebuild                | 89 ++++++++++++++++++++++
 3 files changed, 114 insertions(+)