Date: 18 Apr 2002 19:47:27 -0000 From: Peter van Dijk <peter@dataloss.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37236: bash1 port broken? Message-ID: <20020418194727.73914.qmail@useful.dataloss.nl>
next in thread | raw e-mail | index | archive | help
>Number: 37236 >Category: ports >Synopsis: bash1 port broken? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 18 12:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Peter van Dijk >Release: FreeBSD 4.5-RELEASE-p1 i386 >Organization: - >Environment: System: FreeBSD breakfast.primexs.net 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Mon Mar 4 14:40:41 CET 2002 root@cheapo.bit.nl:/usr/obj/usr/src/sys/HOSTING i386 cvsup few minutes ago (although it seems the bash1 port hasn't been touched for ages) >Description: Typing 'make' in /usr/ports/shell/bash1 eventually yields: cc -O -pipe -s -L./lib/readline/ -L./lib/tilde/ -L./lib/glob/ -o bash shell.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hash.o mailcheck.o test.o trap.o alias.o braces.o unwind_prot.o input.o bashhist.o version.o bashline.o bracecomp.o builtins/libbuiltins.a -lreadline -ltermcap -lglob -ltilde test.o: In function `unary_operator': test.o(.text+0xddb): undefined reference to `eaccess' test.o(.text+0xe1f): undefined reference to `eaccess' test.o(.text+0xe63): undefined reference to `eaccess' *** Error code 1 after which compilation aborts >How-To-Repeat: See above. >Fix: --- test.c.broken Thu Apr 18 21:45:57 2002 +++ test.c Thu Apr 18 21:46:27 2002 @@ -128,7 +128,7 @@ non-AFS files. I hate AFS. */ # define EACCESS(path, mode) access(path, mode) #else -# define EACCESS(path, mode) eaccess(path, mode) +# define EACCESS(path, mode) access(path, mode) #endif /* AFS */ static int pos; /* The offset of the current argument in ARGV. */ This patch fixes it for me. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418194727.73914.qmail>