Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919375 - net-libs/pacparser-1.4.2 - jsapi.c: error: passing argument 5 of TryArgumentFormatter from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-libs/pacparser-1.4.2 - jsapi.c: error: passing argument 5 of TryArgumentF...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-06 19:00 UTC by Toralf Förster
Modified: 2024-03-10 17:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.63 KB, text/plain)
2023-12-06 19:00 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,99.77 KB, application/x-xz)
2023-12-06 19:00 UTC, Toralf Förster
Details
environment (environment,101.99 KB, text/plain)
2023-12-06 19:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-06 19:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.55 KB, application/x-xz)
2023-12-06 19:01 UTC, Toralf Förster
Details
net-libs:pacparser-1.4.2:20231206-184706.log (net-libs:pacparser-1.4.2:20231206-184706.log,10.54 KB, text/plain)
2023-12-06 19:01 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,107.16 KB, application/x-xz)
2023-12-06 19:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.25 KB, application/x-xz)
2023-12-06 19:01 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-06 19:00:55 UTC
   72 |     JS_STATIC_ASSERT_IMPL(condition, __LINE__)
      |     ^~~~~~~~~~~~~~~~~~~~~
jsarray.c:208:5: note: in expansion of macro JS_STATIC_ASSERT
  208 |     JS_STATIC_ASSERT((jsuint)-1 == 4294967295U);
      |     ^~~~~~~~~~~~~~~~
jsapi.c: In function JS_ConvertArgumentsVA:
jsapi.c:96:35: error: passing argument 5 of TryArgumentFormatter from incompatible pointer type [-Wincompatible-pointer-types]
   96 | #define JS_ADDRESSOF_VA_LIST(ap) (&(ap))
      |                                  ~^~~~~~

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

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

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

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):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit ff4ccb03aad3f05a33a1f8ba9514ddd8f18af75b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 18:04:24 2023 +0000

    2023-12-06 18:04:22 UTC

emerge -qpvO net-libs/pacparser
[ebuild  N    ] net-libs/pacparser-1.4.2  USE="-doc -python" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-06 19:00:56 UTC
Created attachment 877950 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 19:00:57 UTC
Created attachment 877951 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-06 19:00:59 UTC
Created attachment 877952 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-06 19:01:00 UTC
Created attachment 877953 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-06 19:01:01 UTC
Created attachment 877954 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 19:01:02 UTC
Created attachment 877955 [details]
net-libs:pacparser-1.4.2:20231206-184706.log
Comment 7 Toralf Förster gentoo-dev 2023-12-06 19:01:04 UTC
Created attachment 877956 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-06 19:01:05 UTC
Created attachment 877957 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-03-10 17:54:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ac3cc2e868f2f724a2c66adc5849cea2b99e35

commit 95ac3cc2e868f2f724a2c66adc5849cea2b99e35
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2024-03-10 17:53:35 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2024-03-10 17:53:35 +0000

    net-libs/pacparser: fix compilation with GCC 14, bug 919375
    
    Closes: https://bugs.gentoo.org/919375
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 net-libs/pacparser/pacparser-1.4.2.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)