Re: Failed: phase compiling: step4-mac-14.12.3-2 failed

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 9/14/20 4:30 AM, Chris Schram via Fink-beginners wrote:
> I'm seeing this failure in both High Sierra and Mojave. This is the High
> Serra listing. I hope this includes all 11 error messages.
> 
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:22:
> /opt/sw/include/cln/floatformat.h:11:6: error: ISO C++ forbids forward
>        references to 'enum' types
> enum float_format_t : sintE {
>       ^
> /opt/sw/include/cln/floatformat.h:11:21: error: expected unqualified-id
> enum float_format_t : sintE {
>                      ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:27:
> /opt/sw/include/cln/string.h:21:37: warning: deleted function definitions are a
>        C++11 extension [-Wc++11-extensions]
>          void* operator new (size_t size) = delete;
>                                             ^
> /opt/sw/include/cln/string.h:23:37: warning: deleted function definitions are a
>        C++11 extension [-Wc++11-extensions]
>          void operator delete (void* ptr) = delete;
>                                             ^
> /opt/sw/include/cln/string.h:28:9: warning: class 'cl_string' was previously
>        declared as a struct [-Wmismatched-tags]
>          friend class cl_string;
>                 ^
> /opt/sw/include/cln/string.h:13:8: note: previous use is here
> struct cl_string;
>         ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:29:
> /opt/sw/include/cln/proplist.h:41:1: warning: 'cl_property_list' defined as a
>        struct here but previously declared as a class [-Wmismatched-tags]
> struct cl_property_list {
> ^
> /opt/sw/include/cln/proplist.h:35:9: note: did you mean struct here?
>          friend class cl_property_list;
>                 ^~~~~
>                 struct
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:32:
> /opt/sw/include/cln/input.h:14:17: error: field has incomplete type
>        'cln::float_format_t'
>          float_format_t default_float_format;
>                         ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:32:
> /opt/sw/include/cln/input.h:16:17: error: field has incomplete type
>        'cln::float_format_t'
>          float_format_t default_lfloat_format;
>                         ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:33:
> /opt/sw/include/cln/output.h:29:17: error: field has incomplete type
>        'cln::float_format_t'
>          float_format_t default_float_format;
>                         ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:33:
> /opt/sw/include/cln/output.h:33:25: error: use of undeclared identifier
>        'float_format_ffloat'
>                  default_float_format (float_format_ffloat) {}
>                                        ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:69:
> /opt/sw/include/cln/float.h:130:51: error: variable has incomplete type
>        'cln::float_format_t'
> inline const cl_F cl_float (int x, float_format_t y)
>                                                    ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:69:
> /opt/sw/include/cln/float.h:130:51: warning: unused parameter 'y'
>        [-Wunused-parameter]
> inline const cl_F cl_float (int x, float_format_t y)
>                                                    ^
> /opt/sw/include/cln/float.h:132:60: error: variable has incomplete type
>        'cln::float_format_t'
> inline const cl_F cl_float (unsigned int x, float_format_t y)
>                                                             ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:69:
> /opt/sw/include/cln/float.h:132:60: warning: unused parameter 'y'
>        [-Wunused-parameter]
> inline const cl_F cl_float (unsigned int x, float_format_t y)
>                                                             ^
> /opt/sw/include/cln/float.h:143:53: error: variable has incomplete type
>        'cln::float_format_t'
> inline const cl_F cl_float (float x, float_format_t y)
>                                                      ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:69:
> /opt/sw/include/cln/float.h:143:53: warning: unused parameter 'y'
>        [-Wunused-parameter]
> inline const cl_F cl_float (float x, float_format_t y)
>                                                      ^
> /opt/sw/include/cln/float.h:145:54: error: variable has incomplete type
>        'cln::float_format_t'
> inline const cl_F cl_float (double x, float_format_t y)
>                                                       ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:17:
> In file included from /opt/sw/include/libqalculate/Calculator.h:149:
> In file included from /opt/sw/include/libqalculate/MathStructure.h:16:
> In file included from /opt/sw/include/libqalculate/Number.h:17:
> In file included from /opt/sw/include/cln/cln.h:69:
> /opt/sw/include/cln/float.h:145:54: warning: unused parameter 'y'
>        [-Wunused-parameter]
> inline const cl_F cl_float (double x, float_format_t y)
>                                                       ^
> /opt/sw/include/cln/float.h:527:23: error: incomplete result type
>        'cln::float_format_t' in function definition
> inline float_format_t float_format (const cl_F& x)
>                        ^
> /opt/sw/include/cln/floatformat.h:11:6: note: forward declaration of
>        'cln::float_format_t'
> enum float_format_t : sintE {
>       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:26:
> /opt/sw/include/libqalculate/BuiltinFunctions.h:193:1: warning:
>        'RandFunction::representsInteger' hides overloaded virtual function
>        [-Woverloaded-virtual]
> DECLARE_BUILTIN_FUNCTION_RPI(RandFunction)
> ^
> /opt/sw/include/libqalculate/BuiltinFunctions.h:52:12: note: expanded from macro
>        'DECLARE_BUILTIN_FUNCTION_RPI'
>                                                  bool representsInteger(c...
>                                                       ^
> /opt/sw/include/libqalculate/Function.h:186:15: note: hidden overloaded virtual
>        function 'MathFunction::representsInteger' declared here: different number
>        of parameters (2 vs 1)
>          virtual bool representsInteger(const MathStructure&, bool = fals...
>                       ^
> In file included from /opt/sw/src/fink.build/step4-mac-14.12.3-2/step-14.12.3/step/unitscalc.cc:23:
> In file included from /opt/sw/include/libqalculate/qalculate.h:26:
> /opt/sw/include/libqalculate/BuiltinFunctions.h:193:1: warning:
>        'RandFunction::representsNonNegative' hides overloaded virtual function
>        [-Woverloaded-virtual]
> DECLARE_BUILTIN_FUNCTION_RPI(RandFunction)
> ^
> /opt/sw/include/libqalculate/BuiltinFunctions.h:53:12: note: expanded from macro
>        'DECLARE_BUILTIN_FUNCTION_RPI'
>                                                  bool representsNonNegati...
>                                                       ^
> /opt/sw/include/libqalculate/Function.h:184:15: note: hidden overloaded virtual
>        function 'MathFunction::representsNonNegative' declared here: different
>        number of parameters (2 vs 1)
>          virtual bool representsNonNegative(const MathStructure&, bool = ...
>                       ^
> 11 warnings and 11 errors generated.
> make[2]: *** [step/CMakeFiles/step.dir/unitscalc.o] Error 1
> make[1]: *** [step/CMakeFiles/step.dir/all] Error 2
> make: *** [all] Error 2
> ### execution of /tmp/fink.nwTWh failed, exit code 2
> ### execution of /tmp/fink.bbMzh failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-step4-mac-14.12.3-2
> (Reading database ... 289178 files and directories currently installed.)
> Removing fink-buildlock-step4-mac-14.12.3-2 ...
> Failed: phase compiling: step4-mac-14.12.3-2 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> 
> If you continue to have issues, please check to see if the FAQ on Fink's
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
> 	The Fink Users List <[email protected]>
> 	The Fink Beginners List <[email protected]>,
> 
> with a carbon copy to the maintainer:
> 
> 	Hanspeter Niederstrasser <[email protected]>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.45.1
> Distribution version: selfupdate-git Sun Sep 13 23:41:29 2020, 10.13, x86_64
> Trees: local/main stable/main unstable/crypto unstable/main local/injected
> Xcode.app: 10.1
> Xcode command-line tools: 10.1.0.0.1.1539992718
> Max. Fink build jobs:  1

Ugh. It's an issue with the new cln6-1.3.6 release. It also breaks 
libqalculate5, and presumably all the other packages that dep on cln6.

https://www.ginac.de/CLN/cln.git/?p=cln.git;a=commitdiff;h=f725e59b4fa80b0607b2260a6adde4e3c0cbb419

Haven't found anything yet that points to a solution.

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.