ports/73954: ftp/gftp - make target fails on 5-STABLE

Christian Hiris 4711 at chello.at
Mon Nov 15 02:00:45 UTC 2004


>Number:         73954
>Category:       ports
>Synopsis:       ftp/gftp - make target fails on 5-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 02:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christian Hiris
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #0: Tue Nov  9 08:13:06 CET 2004
    pfnu at matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX010



>Description:


jail003# cd /usr/ports/ftp/gftp
jail003# make
[...] 
checkng for grantpt... yes
checking for openpty... no
[...]
checking for openpty in -lutil... yes
[...]
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib12 -D_REENTRANT -D_THREAD_SAFE -I../intl -DSHARE_DIR=\"/usr/local/share/gftp\" -DLOCALE_DIR=\"/usr/local/share/locale\"   -I/usr/local/include  -O -pipe -MT pty.o -MD -MP -MF ".deps/pty.Tpo"  -c -opty.o `test -f 'pty.c' || echo './'`pty.c;  then mv -f ".deps/pty.Tpo" ".deps/pty.Po";  else rm -f ".deps/pty.Tpo"; exit 1;  fi
pty.c:64:21: stropts.h: No such file or directory
*** Error code 1

Stop in /usr/wrkdir/usr/ports/ftp/gftp/work/gftp-2.0.18rc1/lib.
*** Error code 1

Stop in /usr/wrkdir/usr/ports/ftp/gftp/work/gftp-2.0.18rc1.
*** Error code 1

Stop in /usr/wrkdir/usr/ports/ftp/gftp/work/gftp-2.0.18rc1.
*** Error code 1

Stop in /usr/ports/ftp/gftp.
jail003#                                 


>How-To-Repeat:


cd /usr/ports/ftp/gftp
make 



>Fix:


The patch is a part of an old patch, namely from files/patch-configure 1.3.
I'm not sure, if "#define HAVE_OPENPTY 1" is also needed, the port _compiles_ w/o this. 

--- patch-configure-grantpty begins here ---
--- configure.orig	Mon Nov 15 00:56:21 2004
+++ configure	Mon Nov 15 00:58:43 2004
@@ -7613,7 +7613,7 @@
 
 
 
-for ac_func in gai_strerror getaddrinfo getcwd gettimeofday getwd mkdir mktime putenv rmdir select socket strdup strstr strtod strtol uname grantpt openpty getdtablesize
+for ac_func in gai_strerror getaddrinfo getcwd gettimeofday getwd mkdir mktime putenv rmdir select socket strdup strstr strtod strtol uname openpty getdtablesize
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
--- patch-configure-grantpty ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list