Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871114 - sci-electronics/ngspice-36 - alloc.c: error: call to undeclared function EnterCriticalSection; ISO C99 and later do not support im
Summary: sci-electronics/ngspice-36 - alloc.c: error: call to undeclared function Ente...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 20:55 UTC by Toralf Förster
Modified: 2023-04-23 08:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.16 KB, text/plain)
2022-09-17 20:55 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,4.72 KB, application/x-bzip)
2022-09-17 20:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.79 KB, text/plain)
2022-09-17 20:55 UTC, Toralf Förster
Details
environment (environment,83.42 KB, text/plain)
2022-09-17 20:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.31 KB, application/x-bzip)
2022-09-17 20:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,31.19 KB, application/x-bzip)
2022-09-17 20:55 UTC, Toralf Förster
Details
sci-electronics:ngspice-36:20220917-204846.log.bz2 (sci-electronics:ngspice-36:20220917-204846.log.bz2,35.92 KB, application/x-bzip)
2022-09-17 20:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,97.65 KB, application/x-bzip)
2022-09-17 20:55 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-09-17 20:55:32 UTC
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fvisibility=hidden -fopenmp -c dstring.c  -fPIC -DPIC -o .libs/dstring.o
alloc.c:28:9: error: unknown type name 'CRITICAL_SECTION'
typedef CRITICAL_SECTION mutexType;
        ^
alloc.c:68:3: error: call to undeclared function 'EnterCriticalSection'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  mutex_lock(&allocMutex);
  ^

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit eea4346d3a62953117475d04aa1e943b96144507
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 19:46:48 2022 +0000

    2022-09-17 19:46:47 UTC

emerge -qpvO sci-electronics/ngspice
[ebuild  N    ] sci-electronics/ngspice-36  USE="openmp readline shared -X -debug -deprecated -doc -examples -fftw -tcl -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 20:55:33 UTC
Created attachment 809917 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 20:55:34 UTC
Created attachment 809920 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 20:55:36 UTC
Created attachment 809923 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 20:55:37 UTC
Created attachment 809926 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 20:55:38 UTC
Created attachment 809929 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 20:55:39 UTC
Created attachment 809932 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 20:55:40 UTC
Created attachment 809935 [details]
sci-electronics:ngspice-36:20220917-204846.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 20:55:41 UTC
Created attachment 809938 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-23 08:12:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfe537e4604c1d68ea7a7e65cb4a47fda1076fa

commit 7bfe537e4604c1d68ea7a7e65cb4a47fda1076fa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-23 08:11:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-23 08:11:06 +0000

    sci-electronics/ngspice: add 40
    
    Closes: https://bugs.gentoo.org/871114
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-electronics/ngspice/Manifest          |   2 +
 sci-electronics/ngspice/ngspice-40.ebuild | 210 ++++++++++++++++++++++++++++++
 2 files changed, 212 insertions(+)