Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923170 - app-text/xml2doc-20030510-r2 - defs.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Summary: app-text/xml2doc-20030510-r2 - defs.c: error: implicit declaration of functio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting libxml2-2.12
  Show dependency tree
 
Reported: 2024-01-28 21:10 UTC by Toralf Förster
Modified: 2024-02-14 14:32 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.66 KB, text/plain)
2024-01-28 21:10 UTC, Toralf Förster
Details
app-text:xml2doc-20030510-r2:20240128-205926.log (app-text:xml2doc-20030510-r2:20240128-205926.log,16.58 KB, text/plain)
2024-01-28 21:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.62 KB, text/plain)
2024-01-28 21:11 UTC, Toralf Förster
Details
environment (environment,75.95 KB, text/plain)
2024-01-28 21:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-01-28 21:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.48 KB, application/x-xz)
2024-01-28 21:11 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.87 KB, application/x-xz)
2024-01-28 21:11 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,205.98 KB, text/plain)
2024-01-28 21:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.25 KB, application/x-xz)
2024-01-28 21:11 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 21:10:58 UTC
too long lines were shrinked:

make[1]: Entering directory '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc/src'
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include  -DVERSION=\"20030510\"  -x c -fshort-enums   -c -o main.o main.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include  -DVERSION=\"20030510\"  -x c -fshort-enums   -c -o defs.o defs.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include  -DVERSION=\"20030510\"  -x c -fshort-enums   -c -o parse.o parse.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include  -DVERSION=\"20030510\"  -x c -fshort-enums   -c -o parse_include.o parse_include.c
defs.c: In function 'defs_init':
defs.c:10:42: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   10 |         DocS.add.colors=(struct_colors *)malloc(1);
      |                                          ^~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.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:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [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 99b1d0d4660fbde91aa247f44ba85df7e1bacbf6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 28 20:03:18 2024 +0000

    2024-01-28 20:03:17 UTC

emerge -qpvO app-text/xml2doc
[ebuild  N    ] app-text/xml2doc-20030510-r2
Comment 1 Toralf Förster gentoo-dev 2024-01-28 21:10:59 UTC
Created attachment 883495 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-28 21:11:00 UTC
Created attachment 883496 [details]
app-text:xml2doc-20030510-r2:20240128-205926.log
Comment 3 Toralf Förster gentoo-dev 2024-01-28 21:11:02 UTC
Created attachment 883497 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-28 21:11:03 UTC
Created attachment 883498 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-28 21:11:04 UTC
Created attachment 883499 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-28 21:11:05 UTC
Created attachment 883500 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-28 21:11:05 UTC
Created attachment 883501 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-28 21:11:07 UTC
Created attachment 883502 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-01-28 21:11:08 UTC
Created attachment 883503 [details]
temp.tar.xz
Comment 10 Andreas Sturmlechner gentoo-dev 2024-02-14 14:32:00 UTC
Sam, are you sure this is caused by libxml2-2.12? Not reproducible here with 2.12.4, unless they also re-added some header back there.