Source: xsane
Version: 0.999-10
Severity: normal

Dear Maintainer,

The xsane package fails to build on hppa.  The following errors occurs
during configuration:

checking for png_create_info_struct in -lpng... yes
****************************************************************
ERROR: SANE-1.0.0 or newer is needed for compiling xsane
     - if you installed SANE as rpm make sure you also included
       sane-devel
****************************************************************

This occurs with latest version of sane-backends.

HAVE_SANE isn't set to yes because SANE_LDFLAGS is empty.  These are
the SANE varibles that I see in config.log:

SANE_CFLAGS=''
SANE_LDFLAGS=''
SANE_LIBS='-lsane'
SANE_MAJOR=''
SANE_PREFIX='/usr'

The following lines set HAVE_SANE in configure.in:

PKG_CHECK_VAR([SANE_LDFLAGS], [sane-backends >= 1.0.0], [ldflags],
      [HAVE_SANE=yes])

If I force HAVE_SANE=yes, xsane builds okay.

Regards,
Dave Anglin

-- System Information:
Debian Release: 11.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 5.10.33+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to