Re: Failed: phase compiling: libmcrypt-2.5.8-1 failed

FG <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
It still keep having errors

Giuliano





2577:: 43: warning/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/string.h: :note77: :passing43 :passing'                    unsigned char [32]'   toargument note parameter: to  ofpassing parameter type                                                                     
argument        'const char *''__s2'to   convertshereparameter                                                                                    
between                                                                                                                                           
       '__s2'pointers  hereto                                                                                                                     

      integer types with different sign int      strcmp(const char *__s1, const char *__s2);[-Wpointer-sign]                                      

                                              ^                                                                                                 
int      strcmp(const char *__s1, const char *__s2);
                                              ^
2        if (strcmp(ciphertext, plaintext) != 0) { warning
s and                                ^~~~~~~~~26
 warnings and 6 error errors generated/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/string.h.
:s77 generated:.
43: note: passing argument to parameter
      '__s2' here
int      strcmp(const char *__s1, const char *__s2);
                                              ^
2 warnings and 6 errors generated.
2 warnings and 6 errors generated.
make[3]: *** [Makefile:521: rijndael-128.lo] Error 1
make[3]: *** [Makefile:521: rijndael-192.lo] Error 1
make[3]: *** [Makefile:521: loki97.lo] Error 1
make[3]: *** [Makefile:521: safer64.lo] Error 1
make[3]: Leaving directory '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8/modules/algorithms'
make[2]: *** [Makefile:245: all-recursive] Error 1
make[2]: Leaving directory '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8/modules'
make[1]: *** [Makefile:290: all-recursive] Error 1
make[1]: Leaving directory '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8'
make: *** [Makefile:215: all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.fHnZv failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-libmcrypt-2.5.8-1
(Reading database ... 302800 files and directories currently installed.)
Removing fink-buildlock-libmcrypt-2.5.8-1 ...
Failed: phase compiling: libmcrypt-2.5.8-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package 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:

        Dustin Sias <[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.4
Distribution version: selfupdate-rsync Wed Dec 22 20:56:42 2021, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.4
No recognized Xcode CLI installed
Max. Fink build jobs:  12



> On 27. Dec 2021, at 02:47, [email protected] wrote:
> 
> I pushed a fix that makes libmcrypt now build on 12.1, so that should work as well on your 10.15 system (implicit declarations errors).
> 
> Hanspeter
> 
> On 2021-12-26 12:30, FG wrote:
>> Hello to all,
>> I am trying to instal php5.
>> In the process I find the error below.
>> Any comments is welcome.
>> Giuliano
>> =======
>> loki97.c        if (strcmp(ciphertext, plaintext) != 0) {:
>> 464:                   ^~~~~~~~~~25
>> : warning: passing 'unsigned char [16]' to parameter of type
>> if (strcmp(ciphertext, plaintext) != 0) {'const char *'
>> converts/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/string.h
>> :between77                               ^~~~~~~~~ pointers
> <snip>
>>                                              ^
>> make[3]: *** [Makefile:521: wake.lo] Error 1
>> 2 warnings and 6 errors generated.
>> 2 warnings and 6 errors generated.
>> make[3]: *** [Makefile:521: twofish.lo] Error 1
>> make[3]: *** [Makefile:521: cast-256.lo] Error 1
>> make[3]: *** [Makefile:521: safer64.lo] Error 1
>> make[3]: *** [Makefile:521: loki97.lo] Error 1
>> make[3]: *** [Makefile:521: gost.lo] Error 1
>> make[3]: Leaving directory
>> '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8/modules/algorithms'
>> make[2]: *** [Makefile:245: all-recursive] Error 1
>> make[2]: Leaving directory
>> '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8/modules'
>> make[1]: *** [Makefile:290: all-recursive] Error 1
>> make[1]: Leaving directory
>> '/opt/sw/src/fink.build/libmcrypt-2.5.8-1/libmcrypt-2.5.8'
>> make: *** [Makefile:215: all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.uWOTs failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-libmcrypt-2.5.8-1
>> (Reading database ... 302800 files and directories currently installed.)
>> Removing fink-buildlock-libmcrypt-2.5.8-1 ...
>> Failed: phase compiling: libmcrypt-2.5.8-1 failed
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> Also try using "fink configure" to set your maximum build jobs to 1 and
>> attempt to build the package 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:
>>        Dustin Sias <[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.4
>> Distribution version: selfupdate-rsync Wed Dec 22 20:56:42 2021, 10.15, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 12.4
>> No recognized Xcode CLI installed
>> Max. Fink build jobs:  12

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.