Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831407 - dev-ml/ocamlnet-4.1.9 fails to compile: Error: econf failed!
Summary: dev-ml/ocamlnet-4.1.9 fails to compile: Error: econf failed!
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
: 831422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-18 12:47 UTC by Agostino Sarubbo
Modified: 2022-01-18 19:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,42.51 KB, text/plain)
2022-01-18 12:47 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-01-18 12:47:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ml/ocamlnet-4.1.9 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-18 12:47:16 UTC
Created attachment 762499 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-18 12:47:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


 *       ./configure -bindir /usr/bin -datadir /usr/share/${PN} $(ocamlnet_use_enable ssl gnutls) $(ocamlnet_use_enable kerberos gssapi) $(ocamlnet_use_enable pcre pcre) $(ocamlnet_use_enable tk tcl) $(ocamlnet_use_enable zip zip) $(ocamlnet_use_with httpd nethttpd) -cpp $(tc-getPROG CPP cpp) || die "Error: econf failed!"
 *   Error: econf failed!
sed: can't read ../opam: No such file or directory
Comment 3 Tupone Alfredo gentoo-dev 2022-01-18 19:17:23 UTC
It seems that 

x86_64-pc-linux-gnu-gcc -E

is not one to one corresponding to 

x86_64-pc-linux-gnu-cpp

at least when generating rpc files

I can do nothing to make it digest it.

But the changes done now support specifying

CPP=x86_64-pc-linux-gnu-cpp

or generally

CPP=${CHOST}-cpp
Comment 4 Tupone Alfredo gentoo-dev 2022-01-18 19:54:43 UTC
*** Bug 831422 has been marked as a duplicate of this bug. ***