Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 18:33:10 GMT
From:      Sergey Zaykov <mail_of_sergey@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150256: [patch] Port comm/hylafax must be IS_INTERACTIVE
Message-ID:  <201009031833.o83IXATZ046362@www.freebsd.org>
Resent-Message-ID: <201009031840.o83Ie37G007529@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150256
>Category:       ports
>Synopsis:       [patch] Port comm/hylafax must be IS_INTERACTIVE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 03 18:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Zaykov
>Release:        FreeBSD 8.0-RELEASE-p4 i386
>Organization:
>Environment:
FreeBSD acc.acc.tula.ru 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #3: Tue Jul 13 11:26:05 MSD 2010 root@acc.acc.tula.ru:/usr/obj/usr/src/sys/Z i386
>Description:
Port comm/hylafax interact with the user during a package build but IS_INTERACTIVE=YES not present at Makefile.

Log of package building:
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for hylafax-6.0.4_2
===>  Extracting for hylafax-6.0.4_5
=> MD5 Checksum OK for hylafax-6.0.4.tar.gz.
=> SHA256 Checksum OK for hylafax-6.0.4.tar.gz.
===>  Patching for hylafax-6.0.4_5
===>  Applying FreeBSD patches for hylafax-6.0.4_5
/usr/bin/sed -i.bak  -e 's,/usr/local,/usr/local,g'  -e 's,-ljbig,-L/usr/local/lib &,'  /usr/ports/comms/hylafax/work/hylafax-6.0.4/configure
/usr/bin/sed -i.bak -e 's,-O hfaxd.conf,-O hfaxd.conf-dist,'  /usr/ports/comms/hylafax/work/hylafax-6.0.4/hfaxd/Makefile.in
/usr/bin/sed -i.bak -e 's,-O typerules,-O typerules-dist,'  -e 's,-O pagesizes,-O pagesizes-dist -src pagesizes,'  /usr/ports/comms/hylafax/work/hylafax-6.0.4/libhylafax/Makefile.in
===>   hylafax-6.0.4_5 depends on file: /usr/local/lib/afm/Courier - found
===>   hylafax-6.0.4_5 depends on executable: gs - found
===>   hylafax-6.0.4_5 depends on shared library: tiff - found
===>   hylafax-6.0.4_5 depends on shared library: jpeg - found
===>   hylafax-6.0.4_5 depends on shared library: jbig.1 - found
===>   hylafax-6.0.4_5 depends on shared library: intl - found
===>  Configuring for hylafax-6.0.4_5

Configuring HylaFAX (tm) (aka FlexFAX) 6.0.4.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Fee, fie, foe, this smells like a i386-unknown-freebsd8.0 system.
Using /usr/bin/cc for a C compiler (set CC to override).
Using -O2 -pipe -O1 -fno-strict-aliasing -pipe -march=prescott -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -L/usr/local/lib to get the appropriate compilation environment.
Using " " for C compiler options.
Looks like /usr/bin/cc has an ANSI C preprocessor.
.. but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/cc supports the -M option for generating make dependencies.
Using /usr/bin/c++ for a C++ compiler (set CXX to override).
Using " " for C++ compiler options.
Looks like /usr/bin/c++ has an ANSI C preprocessor.
.. but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Using /usr/local/bin/bash to process command scripts.
Looks like the system has a CXX runtime
Checking for PAM (Pluggable Authentication Module) support
.. found. Enabling PAM support
Checking for JBIG library support
.. found. Enabling JBIG support
Checking for NLS (gettext) library support
Looks like -lintl is needed for gettext support.
.. found. Enabling NLS support
Looks like -lcrypt is needed for crypt.
Looks like -lutil is needed for wtmp file logging.
Looks like -lm is the library for math functions.

Creating port.h with necessary definitions.
.. open FIFO files read+write to avoid select bug
.. using call-by-reference for TIOCMBIS ioctl
.. assuming stty bitches when stdout is set to stdin
.. constrain client IDs to be <= 60002
.. configure use of <stdint.h>
.. configure use of <sys/select.h>
.. use (sig_t) for sigaction handler type
.. use (sig_t) for signal handler type
.. add #define for howmany
.. configure use of struct tm timezone information
.. add function prototype for setutent
.. add function prototype for endutent
.. add function prototype for getutent
.. add function prototype for pututline
.. configure use of <locale.h> (internationalization support)
.. configure use of <paths.h>
.. configure use of logwtmp (BSD-style wtmp logging)
.. add function prototype for logwtmp
.. configure use of logout (BSD-style utmp support)
.. add function prototype for logout
.. configure use of <utmp.h> (normal utmp interface)
.. configure use of POSIX realtime process control interface
.. checking TIFF library version
  Found tiffio.h version 20100611
  Found libtiff version 4.0
.. add declaration for tiff_runlen_t
.. checking PAM library version
Done creating port.h.

Checking system libraries for functionality to emulate.
.. emulate vsnprintf
.. emulate syslog&co.
Done checking system libraries.

Checking ZLIB support.
Using ZLIB include files from 
Using pre-built ZLIB library -lz
Done checking ZLIB support.

Checking TIFF support.
Using TIFF binary files from /usr/local/bin
Checking JBIG-in-TIFF conversion support.
JBIG-in-TIFF fax support not found.
Done checking TIFF support.

Checking for Dynamic Shared Object (DSO) support.
There is no support for building HylaFAX as DSOs on your system.

Selecting programs used during installation and operation.
Looks like /usr/bin/nawk should be used in command scripts.
Looks like /usr/sbin/sendmail should be used to deliver mail.
Looks like /usr/bin/mkfifo creates FIFO special files.
Looks like /bin/mv supports the -f option to force a move.
Looks like /bin/ln supports the -s option to create a symbolic link.
Done selecting programs.

Selecting default HylaFAX configuration parameters.

Using uid uucp and gid dialer for controlling access to fax stuff.
Using uid bin and gid bin for installing programs.
Using LSB2MSB bit order for your i386 cpu.
Looks like you need BSD getty support.
Looks like /usr/libexec/getty is the program to exec for a data call.
WARNING, no vgetty program found to handle a voice call, using /bin/vgetty.
WARNING, no egetty program found, using /bin/egetty.
Looks like you use ascii-style UUCP lock files.
Looks like UUCP lock files go in /var/spool/lock.
Looks like the gs imager package should be used.
Looks like /usr/local/bin/gs is the PostScript RIP to use.
Setting the Fontmap path to 
Looks like font metric information goes in /usr/local/lib/afm.
Looks like manual pages go in /usr/local/man.
Looks like manual pages should be installed with bsd-source-cat.
Press Return to Continue 


HylaFAX configuration parameters (part 1 of 2) are:

[ 1] Directory for applications:        /usr/local/bin
[ 2] Directory for lib data files:      /usr/local/lib/fax
[ 3] Directory for lib executables:     /usr/local/sbin
[ 4] Directory for system apps:  	/usr/local/sbin
[ 5] Directory for manual pages:        /usr/local/man
[ 7] Directory for spooling:            /var/spool/hylafax
[ 8] Directory for uucp lock files:     /var/spool/lock
[ 9] Uucp lock file scheme:             ascii
[10] PostScript imager package:         gs
[11] PostScript imager program:         /usr/local/bin/gs
[12] Manual page installation scheme:   bsd-source-cat
[13] Default page size:                 North American Letter
[14] Default vertical res (lpi):        98

Are these ok [yes]? ^C===>  Script "configure" failed unexpectedly.
>How-To-Repeat:
make package
>Fix:
Just add IS_INTERACTIVE=YES into Makefile (see patch)

Patch attached with submission follows:

--- Makefile.orig	2010-09-03 22:18:57.000000000 +0400
+++ Makefile	2010-09-03 22:20:13.000000000 +0400
@@ -43,6 +43,8 @@
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	ENVOPTS="${CFLAGS}"
 
+IS_INTERACTIVE=	YES
+
 MAN1=	edit-faxcover.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 \
 	hylafax-client.1 sendfax.1 sendpage.1 sgi2fax.1 textfmt.1
 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031833.o83IXATZ046362>