Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706154 - net-misc/hylafaxplus-5.5.5 net-misc/hylafaxplus-5.6.1 - src_configure(): ... requires TIFF software distribution versions 3.4 through 4.0.
Summary: net-misc/hylafaxplus-5.5.5 net-misc/hylafaxplus-5.6.1 - src_configure(): ... ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 699462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-23 12:10 UTC by VSC55
Modified: 2021-08-28 02:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info (emerge-info.txt,18.15 KB, text/plain)
2020-01-23 12:14 UTC, VSC55
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VSC55 2020-01-23 12:10:47 UTC
"net-misc/hylafaxplus-5.5.5" or "net-misc/hylafaxplus-5.6.1" the compiler fails to check the dependencies and see that a 4.x version of "media-libs/tiff" is installed, but hylafaxplus requires version 3.4.
The problem is that in portage there are only version 4.x of "media-libs/tiff".


Reproducible: Always

Steps to Reproduce:
1. emerge -va net-misc/hylafaxplus
Actual Results:  
... configure use of <crypt.h>
... checking TIFF library version
  Found tiffio.h version 20191103
  Found libtiff version 4.1

Incompatible TIFF Library.

HylaFAX 5.6.1 requires TIFF software distribution versions 3.4 through
4.0.  If you do not have up to date TIFF software on your system
then you can retrieve it from the location where you obtained this software.
The Home Page for version 3.5 and later is http://www.remotesensing.org/libtiff/

Unrecoverable error!  Once you've corrected the problem rerun this script.
... checking PAM library version
 * ERROR: net-misc/hylafaxplus-5.6.1::gentoo failed (configure phase):
 *   ./configure failed


 emerge -va net-misc/hylafaxplus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-misc/hylafaxplus-5.5.5::gentoo  USE="html ldap mgetty pam -jbig" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/hylafaxplus-5.5.5::gentoo
 * hylafax-5.5.5.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking hylafax-5.5.5.tar.gz to /var/tmp/portage/net-misc/hylafaxplus-5.5.5/work
>>> Source unpacked in /var/tmp/portage/net-misc/hylafaxplus-5.5.5/work
>>> Preparing source in /var/tmp/portage/net-misc/hylafaxplus-5.5.5/work/hylafax-5.5.5 ...
 * Applying ldconfig-patch ...                                                                                                                                                                                                        [ ok ]
 * Applying hylafax-cryptglibc.patch ...                                                                                                                                                                                              [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/hylafaxplus-5.5.5/work/hylafax-5.5.5 ...
./configure --nointeractive --with-DIR_BIN=/usr/bin --with-DIR_SBIN=/usr/sbin --with-DIR_LIB=/usr/lib64 --with-DIR_LIBEXEC=/usr/sbin --with-DIR_LIBDATA=/usr/lib64/fax --with-DIR_LOCALE=/usr/share/locale --with-DIR_LOCKS=/var/lock --with-DIR_MAN=/usr/share/man --with-DIR_SPOOL=/var/spool/fax --with-DIR_HTML=/usr/share/doc/hylafaxplus-5.5.5/html --with-DIR_CGI=/var/tmp/portage/net-misc/hylafaxplus-5.5.5/work --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax --with-PATH_IMPRIP="" --with-SYSVINIT=no --with-REGEX=yes --with-LIBTIFF="-ltiff -ljpeg -lz" --with-OPTIMIZER="-march=haswell -O2 -pipe" --with-DSO=auto --with-HTML=yes --with-PATH_GETTY=/sbin/mgetty --with-PATH_EGETTY=/sbin/mgetty --with-PATH_VGETTY=/usr/sbin/vgetty --disable-jbig

Configuring HylaFAX (tm) (aka FlexFAX) 5.5.5.

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.
YOW!!  Did something bad happen or am I on a x86_64-unknown-linux-gnu system?
Using /usr/bin/x86_64-pc-linux-gnu-gcc for a C compiler (set CC to override).
Using "-march=haswell -O2 -pipe" for C compiler options.
Looks like /usr/bin/x86_64-pc-linux-gnu-gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/x86_64-pc-linux-gnu-gcc supports the -M option for generating make dependencies.
Using /usr/bin/x86_64-pc-linux-gnu-g++ for a C++ compiler (set CXX to override).
Using "-march=haswell -O2 -pipe" for C++ compiler options.
Looks like /usr/bin/x86_64-pc-linux-gnu-g++ 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.
Looks like make supports "sinclude" for conditional includes.
Using /bin/bash to process command scripts.
Checking for PAM (Pluggable Authentication Module) support
... found. Enabling PAM support
Disabling JBIG support
Checking for JPEG library support
... found. Enabling JPEG library support
Checking for Little CMS library support
... found. Enabling Little CMS support
Checking for LDAP (Lightweight Directory Access Protocol) support
... found. Enabling LDAP 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
... 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
... configure use of mmap for memory-mapped files
... configure use of sysconf
... configure use of ulimit
... configure use of getdtablesize
... add #define for howmany
... add function prototype for sigvec
... configure use of fchown
... configure use of fchmod
... configure use of struct tm timezone information
... configure use of <locale.h> (internationalization support)
... configure use of <langinfo.h> (internationalization support)
... configure use of <paths.h>
... configure use of logwtmp (BSD-style wtmp logging)
... configure use of logout (BSD-style utmp support)
... configure use of <utmp.h> (normal utmp interface)
... configure use of extended exit status in utmp
... configure use of POSIX realtime process control interface
... configure use of <crypt.h>
... checking TIFF library version
  Found tiffio.h version 20191103
  Found libtiff version 4.1

Incompatible TIFF Library.

HylaFAX 5.5.5 requires TIFF software distribution versions 3.4 through
4.0.  If you do not have up to date TIFF software on your system
then you can retrieve it from the location where you obtained this software.
The Home Page for version 3.5 and later is http://www.remotesensing.org/libtiff/

Unrecoverable error!  Once you've corrected the problem rerun this script.
... checking PAM library version
 * ERROR: net-misc/hylafaxplus-5.5.5::gentoo failed (configure phase):
 *   ./configure failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2396:  Called do_configure '
 *              --with-DIR_BIN=/usr/bin
 *              --with-DIR_SBIN=/usr/sbin
 *              --with-DIR_LIB=/usr/lib64
 *              --with-DIR_LIBEXEC=/usr/sbin
 *              --with-DIR_LIBDATA=/usr/lib64/fax
 *              --with-DIR_LOCALE=/usr/share/locale
 *              --with-DIR_LOCKS=/var/lock
 *              --with-DIR_MAN=/usr/share/man
 *              --with-DIR_SPOOL=/var/spool/fax
 *              --with-DIR_HTML=/usr/share/doc/hylafaxplus-5.5.5/html
 *              --with-DIR_CGI=/var/tmp/portage/net-misc/hylafaxplus-5.5.5/work
 *              --with-PATH_DPSRIP=/var/spool/fax/bin/ps2fax
 *              --with-PATH_IMPRIP=""
 *              --with-SYSVINIT=no
 *              --with-REGEX=yes
 *              --with-LIBTIFF="-ltiff -ljpeg -lz"
 *              --with-OPTIMIZER="-march=haswell -O2 -pipe"
 *              --with-DSO=auto
 *              --with-HTML=yes                         --with-PATH_GETTY=/sbin/mgetty                  --with-PATH_EGETTY=/sbin/mgetty                         --with-PATH_VGETTY=/usr/sbin/vgetty --disable-jbig'
 *   environment, line 2365:  Called die
 * The specific snippet of code:
 *           eval ./configure --nointeractive ${1} || die "./configure failed"
 *
 * If you need support, post the output of `emerge --info '=net-misc/hylafaxplus-5.5.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/hylafaxplus-5.5.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/hylafaxplus-5.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/hylafaxplus-5.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/hylafaxplus-5.5.5/work/hylafax-5.5.5'
 * S: '/var/tmp/portage/net-misc/hylafaxplus-5.5.5/work/hylafax-5.5.5'
Comment 1 VSC55 2020-01-23 12:14:03 UTC
Created attachment 604054 [details]
emerge-info
Comment 2 James Cloos 2021-01-05 17:26:48 UTC
this also applies to the version (=net-misc/hylafaxplus-7.0.2) currently in portage.

even though only tiff 4.1.0 and 4.2.0 are available.
Comment 3 isolde 2021-03-01 22:27:28 UTC
I also have the issue with HylafaxPlus 7.0.2 with libtiff 4.2
Seems CONFIGURE in WORK directory checks for LibTiff 3.4 to 3.9 or 4.0 to 4.1 to assign some values.
With Libtiff 4.2 the same error occurs.
Comment 4 Larry the Git Cow gentoo-dev 2021-03-02 03:49:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e3eefd5447f36e5bb00068a54b91d8c891ccf6

commit 82e3eefd5447f36e5bb00068a54b91d8c891ccf6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-02 03:47:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-02 03:49:04 +0000

    net-misc/hylafaxplus: allow newer media-libs/tiff
    
    Closes: https://bugs.gentoo.org/706154
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/hylafaxplus/Manifest                               |  1 +
 net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch | 12 ++++++++++++
 net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild               |  3 ++-
 3 files changed, 15 insertions(+), 1 deletion(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-28 02:51:40 UTC
*** Bug 699462 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2021-08-28 02:54:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee5dc88f451e30eacac2a50c55ede8df81474173

commit ee5dc88f451e30eacac2a50c55ede8df81474173
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-28 02:53:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-28 02:53:41 +0000

    net-misc/hylafaxplus: allow newer libtiff
    
    Bug: https://bugs.gentoo.org/706154
    Closes: https://bugs.gentoo.org/810658
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)