Re: phase installing Joe failed

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 10/23/20 5:52 AM, miller wrote:
> After installing fink from scratch on Catalina, Fink Commander does not 
> show any entries.
> 
> "fink install Joe"  also fails
> 
> thank for answers to both problems
> 
> Heinz
> 
> SNIP..
> 
> Making all in po
> make[1]: Nothing to be done for `all'.
> Making all in syntax
> make[1]: Nothing to be done for `all'.
> Making all in joe
> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
> Making all in util
> gcc -DHAVE_CONFIG_H -I. -I../../joe   -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o termidx.o termidx.c
> gcc  -g -O2 -fstack-protector -Wformat -Wformat-security -fPIE 
> -Wl,-read_only_stubs -Wl,-bind_at_load -fPIE -Wl,-pie -L/opt/sw/lib -o 
> termidx termidx.o  -lncurses
> gcc -DHAVE_CONFIG_H -I. -I../../joe   -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o stringify.o stringify.c
> gcc  -g -O2 -fstack-protector -Wformat -Wformat-security -fPIE 
> -Wl,-read_only_stubs -Wl,-bind_at_load -fPIE -Wl,-pie -L/opt/sw/lib -o 
> stringify stringify.o  -lncurses
> gcc -DHAVE_CONFIG_H -I. -I../../joe   -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o uniproc.o uniproc.c
> gcc  -g -O2 -fstack-protector -Wformat -Wformat-security -fPIE 
> -Wl,-read_only_stubs -Wl,-bind_at_load -fPIE -Wl,-pie -L/opt/sw/lib -o 
> uniproc uniproc.o  -lncurses
> gcc -DHAVE_CONFIG_H -I. -I../../joe   -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o checkwidths.o checkwidths.c
> checkwidths.c:94:32: warning: passing 'char *' to parameter of type 
> 'unsigned char *' converts between pointers to integer types with
>        different sign [-Wpointer-sign]
>              if (1 == full_read(&c, 1, 32))
>                                 ^~
> checkwidths.c:64:30: note: passing argument to parameter 'p' here
> int full_read(unsigned char *p, int total, int timeout)
>                               ^
> 1 warning generated.
> gcc  -g -O2 -fstack-protector -Wformat -Wformat-security -fPIE 
> -Wl,-read_only_stubs -Wl,-bind_at_load -fPIE -Wl,-pie -L/opt/sw/lib -o 
> checkwidths checkwidths.o  -lncurses
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o b.o b.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o blocks.o blocks.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o bw.o bw.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o cmd.o cmd.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o hash.o hash.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o help.o help.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o kbd.o kbd.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o macro.o macro.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o main.o main.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o menu.o menu.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o path.o path.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o poshist.o poshist.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o pw.o pw.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o queue.o queue.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o qw.o qw.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o rc.o rc.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o regex.o regex.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o scrn.o scrn.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o tab.o tab.c
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o termcap.o termcap.c
> termcap.c:401:19: warning: passing 'const char *' to parameter of type 
> 'char *' discards qualifiers
>        [-Wincompatible-pointer-types-discards-qualifiers]
>                  return tgetflag(name);
>                                  ^~~~
> /opt/sw/include/term.h:794:58: note: passing argument to parameter here
> extern NCURSES_EXPORT(int) tgetflag (NCURSES_CONST char *);
>                                                           ^
> termcap.c:414:17: warning: passing 'const char *' to parameter of type 
> 'char *' discards qualifiers
>        [-Wincompatible-pointer-types-discards-qualifiers]
>                  rtn = tgetstr(name, &new_ptr);
>                                ^~~~
> /opt/sw/include/term.h:791:60: note: passing argument to parameter here
> extern NCURSES_EXPORT(char *) tgetstr (NCURSES_CONST char *, char **);
>                                                             ^
> termcap.c:432:18: warning: passing 'const char *' to parameter of type 
> 'char *' discards qualifiers
>        [-Wincompatible-pointer-types-discards-qualifiers]
>                  return tgetnum(name);
>                                 ^~~~
> /opt/sw/include/term.h:795:57: note: passing argument to parameter here
> extern NCURSES_EXPORT(int) tgetnum (NCURSES_CONST char *);
>                                                          ^
> 3 warnings generated.
> gcc -DHAVE_CONFIG_H -I.  -DJOERC="\"/opt/sw/etc/joe/\"" 
> -DJOEDATA="\"/opt/sw/share/joe/\"" -D_FORTIFY_SOURCE=2 
> -I/opt/sw/include  -g -O2 -fstack-protector -Wformat -Wformat-security 
> -fPIE -c -o tty.o tty.c
> tty.c:975:6: error: implicit declaration of function 'openpty' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>          if (openpty(ptyfd, ttyfd, name, NULL, NULL) == 0) {
>              ^
> tty.c:975:6: note: did you mean 'openat'?
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/fcntl.h:532:9: 
> note:
>        'openat' declared here
> int     openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) 
> __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
>          ^
> tty.c:1221:6: error: implicit declaration of function 'login_tty' is 
> invalid in C99 [-Werror,-Wimplicit-function-declaration]
>                                          login_tty(1);

Thanks for the report. It should be fixed now.

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.