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

Bug 919390

Summary: sci-geosciences/mapserver-8.0.1 - /.../mapshape.c: error: implicit declaration of function strlcpy
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
sci-geosciences:mapserver-8.0.1:20231207-063014.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-07 08:35:15 UTC
too long lines were shrinked:

[16/151] /usr/bin/x86_64-pc-linux-gnu-gcc -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -Dmapserver_EXPORTS -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1_build -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/renderers/agg/inc
[17/151] /usr/bin/x86_64-pc-linux-gnu-gcc -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -Dmapserver_EXPORTS -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1_build -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/renderers/agg/inc
[18/151] /usr/bin/x86_64-pc-linux-gnu-gcc -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -Dmapserver_EXPORTS -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1_build -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/renderers/agg/inc
FAILED: CMakeFiles/mapserver.dir/mapshape.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DMAPSERVER_CONFIG_FILE=\"/etc/mapserver.conf\" -DPROJ_VERSION_MAJOR=9 -Dmapserver_EXPORTS -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1_build -I/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/renderers/agg/include -I/v
/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapshape.c: In function msShapefileOpenHandle:
/var/tmp/portage/sci-geosciences/mapserver-8.0.1/work/mapserver-8.0.1/mapshape.c:1755:3: error: implicit declaration of function strlcpy; did you mean strncpy? [-Wimplicit-function-declaration]
 1755 |   strlcpy(shpfile->source, filename, sizeof(shpfile->source));
      |   ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 9e61dadb91e11f7d0042195e1618cb255ab4a2be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 05:31:57 2023 +0000

    2023-12-07 05:31:56 UTC

emerge -qpvO sci-geosciences/mapserver
[ebuild  N    ] sci-geosciences/mapserver-8.0.1  USE="cairo mysql oracle python -apache -bidi -geos -perl -postgis" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-12-07 08:35:16 UTC
Created attachment 878008 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 08:35:17 UTC
Created attachment 878009 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-07 08:35:18 UTC
Created attachment 878010 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-07 08:35:19 UTC
Created attachment 878011 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-07 08:35:20 UTC
Created attachment 878012 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 08:35:21 UTC
Created attachment 878013 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 08:35:22 UTC
Created attachment 878014 [details]
sci-geosciences:mapserver-8.0.1:20231207-063014.log
Comment 8 Toralf Förster gentoo-dev 2023-12-07 08:35:24 UTC
Created attachment 878015 [details]
temp.tar.xz