Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923125 - sci-geosciences/gpscorrelate-2.0 - gpx-read.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Summary: sci-geosciences/gpscorrelate-2.0 - gpx-read.c: error: implicit declaration of...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-28 14:59 UTC by Toralf Förster
Modified: 2024-01-29 16:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.41 KB, text/plain)
2024-01-28 14:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,201.57 KB, text/plain)
2024-01-28 14:59 UTC, Toralf Förster
Details
environment (environment,38.90 KB, text/plain)
2024-01-28 14:59 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-28 14:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.02 KB, application/x-xz)
2024-01-28 14:59 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.80 KB, application/x-xz)
2024-01-28 14:59 UTC, Toralf Förster
Details
sci-geosciences:gpscorrelate-2.0:20240128-112450.log (sci-geosciences:gpscorrelate-2.0:20240128-112450.log,4.97 KB, text/plain)
2024-01-28 14:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,11.20 KB, application/x-xz)
2024-01-28 14:59 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 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