Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920770 - media-gfx/libredwg-0.12.5.6564 - [clang] dwg2SVG.c: error: call to undeclared function strcasestr; ISO C99 and
Summary: media-gfx/libredwg-0.12.5.6564 - [clang] dwg2SVG.c: error: call to undeclared...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-27 08:53 UTC by Toralf Förster
Modified: 2023-12-27 08:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.38 KB, text/plain)
2023-12-27 08:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,38.25 KB, text/plain)
2023-12-27 08:53 UTC, Toralf Förster
Details
environment (environment,132.43 KB, text/plain)
2023-12-27 08:53 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-27 08:53 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.75 KB, application/x-xz)
2023-12-27 08:53 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,17.68 KB, application/x-xz)
2023-12-27 08:53 UTC, Toralf Förster
Details
media-gfx:libredwg-0.12.5.6564:20231227-032354.log.xz (media-gfx:libredwg-0.12.5.6564:20231227-032354.log.xz,229.36 KB, application/x-xz)
2023-12-27 08:53 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,89.67 KB, text/plain)
2023-12-27 08:53 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,526.74 KB, application/x-xz)
2023-12-27 08:53 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.69 KB, application/x-xz)
2023-12-27 08:53 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 2023-12-27 08:53:06 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I../src    -I. -I../include -I../src -fno-strict-aliasing -fno-semantic-interposition -fwrapv -fno-common -fvisibility=hidden -ftrivial-auto-var-init=zero -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -fno-delete-null-pointer-checks -Wall -Wextra -
dwg2SVG.c:239:28: warning: cast from 'BITCODE_TV' (aka 'char *') to 'BITCODE_TU'
      (aka 'unsigned short *') increases required alignment from 1 to 2
      [-Wcast-align]
  239 |     escaped = htmlwescape ((BITCODE_TU)text->text_value);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dwg2SVG.c:246:10: error: call to undeclared function 'strcasestr'; ISO C99 and
      later do not support implicit function declarations
      [-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231226-113005

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
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.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit 611f460e9c10cd0e11ac0b0500b6129c5ecb7c2c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 01:46:55 2023 +0000

    2023-12-27 01:46:54 UTC

emerge -qpvO media-gfx/libredwg
[ebuild  N    ] media-gfx/libredwg-0.12.5.6564  USE="-debug -doc -perl -python -static-libs" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 08:53:07 UTC
Created attachment 880401 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 08:53:08 UTC
Created attachment 880402 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-27 08:53:09 UTC
Created attachment 880403 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-27 08:53:10 UTC
Created attachment 880404 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-27 08:53:11 UTC
Created attachment 880405 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 08:53:12 UTC
Created attachment 880406 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-27 08:53:13 UTC
Created attachment 880407 [details]
media-gfx:libredwg-0.12.5.6564:20231227-032354.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-27 08:53:15 UTC
Created attachment 880408 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-27 08:53:16 UTC
Created attachment 880409 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-27 08:53:17 UTC
Created attachment 880410 [details]
var.tmp.clang.tar.xz