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

Bug 886127

Summary: sci-chemistry/psi-3.4.0-r2 fails to compile (CLANG-STRICTER-SYSTEM): parse.y:68:2: error: call to undeclared function ip_error; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
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: build.log.xz

Description Agostino Sarubbo gentoo-dev 2022-12-15 11:19:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-chemistry/psi-3.4.0-r2 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-15 11:19:08 UTC
Created attachment 842869 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-15 11:19:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/ccdensity'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/ccenergy'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cceom'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cchbar'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cclambda'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/ccresponse'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/ccsort'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cctriples'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cints'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cis'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cphf'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/cscf'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/dboc'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/detcasman'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/extrema'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/input'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/intder'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/localize'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/mcscf'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/mocube'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/mp2'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/mp2r12'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/nonbonded'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/oeprop'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/optking'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/psiclean'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/psimrcc'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/response'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/stable'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/transqt'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by '../../../bin/transqt2'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by 'psi2molden'.  Stop.
make[3]: *** No rule to make target '-lPSI_ipv1', needed by 'tocprint'.  Stop.
make[3]: *** No rule to make target 'libPSI_ipv1.a', needed by '../../../bin/clag'.  Stop.
make[3]: *** No rule to make target 'libPSI_ipv1.a', needed by '../../../bin/detcas'.  Stop.
make[3]: *** No rule to make target 'libPSI_ipv1.a', needed by '../../../bin/detci'.  Stop.
make[3]: *** No rule to make target 'libPSI_ipv1.a', needed by '../../../bin/geom'.  Stop.
make[3]: *** No rule to make target 'libPSI_ipv1.a', needed by '../../../bin/psi3'.  Stop.
parse.y:68:2: error: call to undeclared function 'ip_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]