Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875773 - net-proxy/ziproxy-3.3.1-r2 - image.c: error: implicit declaration of function memcpy [-Werror=implicit-function-declaration]
Summary: net-proxy/ziproxy-3.3.1-r2 - image.c: error: implicit declaration of function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-06 20:17 UTC by Toralf Förster
Modified: 2024-10-28 19:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.11 KB, text/plain)
2022-10-06 20:17 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,88.73 KB, application/x-bzip)
2022-10-06 20:17 UTC, Toralf Förster
Details
environment (environment,30.21 KB, text/plain)
2022-10-06 20:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.76 KB, application/x-bzip)
2022-10-06 20:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.54 KB, application/x-bzip)
2022-10-06 20:17 UTC, Toralf Förster
Details
net-proxy:ziproxy-3.3.1-r2:20221006-200825.log (net-proxy:ziproxy-3.3.1-r2:20221006-200825.log,20.28 KB, text/plain)
2022-10-06 20:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.52 KB, application/x-bzip)
2022-10-06 20:17 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 2022-10-06 20:17:42 UTC
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o image.o image.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o cfgfile.o cfgfile.c
image.c: In function mem_to_png:
image.c:505:9: error: implicit declaration of function memcpy [-Werror=implicit-function-declaration]
  505 |         memcpy(data, desc->buf + desc->x.pos,length);
      |         ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 273dac9c051a85e90d003f5bee1c9b7385103101
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 19:03:14 2022 +0000

    2022-10-06 19:03:14 UTC

emerge -qpvO net-proxy/ziproxy
[ebuild  N    ] net-proxy/ziproxy-3.3.1-r2  USE="-sasl -xinetd"
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:17:43 UTC
Created attachment 822658 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:17:45 UTC
Created attachment 822661 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:17:46 UTC
Created attachment 822664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:17:47 UTC
Created attachment 822667 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:17:49 UTC
Created attachment 822670 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:17:50 UTC
Created attachment 822673 [details]
net-proxy:ziproxy-3.3.1-r2:20221006-200825.log
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:17:51 UTC
Created attachment 822676 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-15 04:17:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6c2ba9ac6cc5f94409151bbf8596038cd62fbb

commit 0b6c2ba9ac6cc5f94409151bbf8596038cd62fbb
Author:     Oskari Pirhonen <xxc3ncoredxx@gmail.com>
AuthorDate: 2022-11-15 02:56:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 04:17:36 +0000

    net-proxy/ziproxy: add 3.3.2
    
    Fix clang build errors.
    
    Closes: https://bugs.gentoo.org/875773
    Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-proxy/ziproxy/Manifest                         |  1 +
 .../ziproxy-3.3.2-Fix-clang-build-errors.patch     | 42 ++++++++++++
 net-proxy/ziproxy/ziproxy-3.3.2.ebuild             | 79 ++++++++++++++++++++++
 3 files changed, 122 insertions(+)