Opened 14 months ago

Last modified 9 months ago

#67051 assigned defect

arch @1.3.5: error: implicit declaration of function

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: catalina bigsur monterey ventura Cc:
Port: arch

Description

https://build.macports.org/builders/ports-13_arm64-builder/builds/8358/steps/install-port/logs/stdio

endian-test.c:6:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
  exit (*(unsigned char *)&x);
  ^
endian-test.c:6:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_arch/arch/work/tla-1.3.5/src/tla/libfsutils/tmp-files.c:84:24: error: implicit declaration of function 'tmp_dir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    t_uchar * tmpdir = tmp_dir(NULL);
                       ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_arch/arch/work/tla-1.3.5/src/tla/libfsutils/tmp-files.c:85:33: error: implicit declaration of function 'str_replace' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    t_uchar * talloced_result = str_replace (tmpdir,
                                ^

Change History (1)

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Should the port maybe be deleted? It's not buildable on recent macOS. There hasn't been a release since 2006. It's not downloadable from its own web page anymore. The web page says:

GNU arch has been decommissioned. It has been superceded by GNU Bazaar

There's one port that depends on arch: archway. Its last release was in 2005. It could be deleted too.

Note: See TracTickets for help on using tickets.