Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886603 - sci-visualization/grace-5.1.25_p13-r2 fails to compile (CLANG-STRICTER-SYSTEM): configure: error: Mtif has not been found
Summary: sci-visualization/grace-5.1.25_p13-r2 fails to compile (CLANG-STRICTER-SYSTEM...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-18 10:10 UTC by Agostino Sarubbo
Modified: 2024-04-30 07:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,55.34 KB, text/plain)
2022-12-18 10:10 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,108.72 KB, text/plain)
2022-12-18 10:10 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-18 10:10:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-visualization/grace-5.1.25_p13-r1 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-18 10:10:56 UTC
Created attachment 843357 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-18 10:10:57 UTC
Created attachment 843359 [details]
1-config.log

1-config.log
Comment 3 Eli Schwartz 2024-04-26 15:03:45 UTC
conftest.c: In function 'main':
conftest.c:112:9: error: implicit declaration of function 'XmRegisterConverters'; did you mean 'XtRegisterCaseConverter'? [-Werror=implicit-function-declaration]
  112 |         XmRegisterConverters();
      |         ^~~~~~~~~~~~~~~~~~~~
      |         XtRegisterCaseConverter
conftest.c:115:11: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration]
  115 |           exit(1);
      |           ^~~~
conftest.c:109:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  108 | #include <Xm/XmAll.h>
  +++ |+#include <stdlib.h>
  109 |       int main(void) {
Comment 4 Agostino Sarubbo gentoo-dev 2024-04-30 07:16:40 UTC
gcc14_tinderbox has reproduced this issue with version 5.1.25_p13-r2 - Updating summary.