Bug 249204

Summary: archivers/xarchiver fails in configure phase
Product: Ports & Packages Reporter: Marko Cupać <marko.cupac>
Component: Individual Port(s)Assignee: Danilo Egea Gondolfo <danilo>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (danilo)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Description Flags
xarchiver- none

Description Marko Cupać 2020-09-09 07:37:03 UTC

my poudriere won't build xarchiver, it fails in configure phase with the following message:

configure: error: xsltproc is required for rebuilding the pre-built documentation; consider --disable-doc

Perhaps this is because I have disabled DOCS globally in make.conf

Full log:


Comment 1 Marko Cupać 2020-10-06 16:55:27 UTC
Any news regarding this issue?

Apparently problem has been introduced in latest Makefile revision, particularly the following line:

DOCS_USE=               GNOME=libxslt
Comment 2 Danilo Egea Gondolfo freebsd_committer 2020-10-09 09:01:58 UTC
Created attachment 218623 [details]
Comment 3 Danilo Egea Gondolfo freebsd_committer 2020-10-09 09:03:22 UTC
Looks like the libtool files found in the tarball don't handle very well the disable-doc case. Regenerating them fixes the issue.

Can you test the attached patch?
Comment 4 Marko Cupać 2020-10-14 06:31:17 UTC
Created attachment 218728 [details]

xarchiver build log
Comment 5 Marko Cupać 2020-10-14 06:32:49 UTC
After applying your patch I can confirm xarchiver builds, installs and works fine even with DOCS disabled globally in make.conf.

I have added build log from poudriere as an attachment.

Comment 6 commit-hook freebsd_committer 2020-10-15 13:48:21 UTC
A commit references this bug:

Author: danilo
Date: Thu Oct 15 13:47:54 UTC 2020
New revision: 552416
URL: https://svnweb.freebsd.org/changeset/ports/552416

  archivers/xarchiver: Fix build with DOCS disabled. The configure script is not properly handling the case when docs is not enabled. Regenerating the autotools files before building fixes the issue.

  PR:		249204
  Reported by:	Marko Cupac

Comment 7 Danilo Egea Gondolfo freebsd_committer 2020-10-15 14:00:11 UTC
Committed, thanks!