New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23108 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Installing man +universal fails at compiling step

Reported by: elliot.winkler@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: man

Description (last modified by macsforever2000@…) (diff)

If you try to do port install man +universal, the compiling step fails with:

 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_man/work/man-1.6f" && ./configure --prefix=/opt/local --disable-dependency-tracking --mandir=/opt/local/share/man -compatibility_mode_for_colored_groff -confdir=/opt/local/etc +fhs " returned error 1
 Command output: Usage: configure -ask
    or: configure [-d|-default] [-confdir DIR] [+suid] [+sgid] \
                  [+fhs|+fsstnd|+traditional] [+lang all|LANGUAGES]
        where LANGUAGES is a substring of bg,cs,da,de,el,en,es,fi,fr,hr,it,ja,ko,nl,pl,pt,ro,ru,sl.

The default "configure -d" is equivalent to "configure +fhs +lang en". The option +suid will make man suid to a user "man". Create this first. The option +sgid will make man sgid to a group "man". Create this first. The options +fhs, +fsstnd, +traditional will make man use

/var/cache/man, /var/catman and /usr/man/cat?, respectively.

The -confdir option specifies where man.conf lives (default /usr/share/misc).

Adding

 configure.universal_args-delete --disable-dependency-tracking

to the portfile fixes this so that the port will install correctly.

Change History

comment:1 Changed 3 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to mww@…
  • Description modified (diff)

comment:2 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

Without --disable-dependency-tracking it builds, but doesn't actually produce universal binaries. Universal disabled in r76091.

Note: See TracTickets for help on using tickets.