Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923125

Summary: sci-geosciences/gpscorrelate-2.0 - gpx-read.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35075
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
sci-geosciences:gpscorrelate-2.0:20240128-112450.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-01-28 14:59:44 UTC
too long lines were shrinked:

make -j4 gpscorrelate 
cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o main-command.o main-command.c
cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o unixtime.o unixtime.c
cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o gpx-read.o gpx-read.c
cc -O3 -pipe -march=native -fno-diagnostics-color `pkg-config --cflags libxml-2.0 exiv2` `pkg-config --cflags gtk+-3.0` -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_DOC_DIR=\"/usr/local/share/doc/gpscorrelate\" -c -o correlate.o correlate.c
gpx-read.c: In function ExtractTrackPoints:
gpx-read.c:122:70: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
  122 |                        LastPoint->Next = (struct GPSPoint*) malloc(sizeof(struct GPSPoint));
      |                                                             ^~~~~~

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

  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]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   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 82b7e3d0dfd84be0ed2c75351aff2c8f6545bafd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 28 10:48:10 2024 +0000

    2024-01-28 10:48:09 UTC

emerge -qpvO sci-geosciences/gpscorrelate
[ebuild  N    ] sci-geosciences/gpscorrelate-2.0  USE="gtk"
Comment 1 Toralf Förster gentoo-dev 2024-01-28 14:59:45 UTC
Created attachment 883450 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-28 14:59:46 UTC
Created attachment 883451 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-28 14:59:47 UTC
Created attachment 883452 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-28 14:59:48 UTC
Created attachment 883453 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-28 14:59:49 UTC
Created attachment 883454 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-28 14:59:50 UTC
Created attachment 883455 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-28 14:59:50 UTC
Created attachment 883456 [details]
sci-geosciences:gpscorrelate-2.0:20240128-112450.log
Comment 8 Toralf Förster gentoo-dev 2024-01-28 14:59:51 UTC
Created attachment 883457 [details]
temp.tar.xz