Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56512 closed defect (fixed)

opensc: +doc variant fails to compile on 0.18.0

Reported by: blair (Blair Zajac) Owned by: lbschenkel (Leonardo Brondani Schenkel)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: opensc

Description

I'm seeing a configure failure after the upgrade to 0.18.0:

configure: WARNING: use --enable-x509dir=DIR
checking winscard.h usability... yes
checking winscard.h presence... no
configure: WARNING: winscard.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: winscard.h: proceeding with the compiler's result
checking for winscard.h... yes
checking pcsclite.h usability... yes
checking pcsclite.h presence... no
configure: WARNING: pcsclite.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pcsclite.h: proceeding with the compiler's result
checking for pcsclite.h... yes
checking XSLTPROC requirement... configure: error: Missing xslstylesheetsdir
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_opensc/opensc/work/opensc-0.18.0" && ./configure --prefix=/opt/local --enable-doc --disable-openpace --enable-readline --disable-static --enable-pcsc --enable-sm --with-pkcs11-provider=/opt/local/lib/opensc-pkcs11.so
Exit code: 1
Error: Failed to configure opensc, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_opensc/opensc/work/opensc-0.18.0/config.log
Error: Failed to configure opensc: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_opensc/opensc/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Change History (3)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Cc: lbschenkel@… removed
Owner: set to lbschenkel
Status: newassigned

comment:2 Changed 6 years ago by lbschenkel (Leonardo Brondani Schenkel)

Resolution: fixed
Status: assignedclosed

In 24a8763cc60a6aaf97e931376e15418e5d77d46e/macports-ports (master):

opensc: remove +doc variant, add stylesheet dir

Since all build-time dependencies that once were conditional to building
the documentation are now required to build the man pages, remove the
+doc variant and always build the docs. This also has the benefit of
simplifying the possible configurations and reducing the test matrix.

In addition, the stylesheet directory is now explicitly set since the
install location has changed and is no longer auto-detected by the
configure script.

Fixes: #56512

comment:3 Changed 6 years ago by lbschenkel (Leonardo Brondani Schenkel)

Thanks for your report. I fixed the build.

Note: See TracTickets for help on using tickets.