[MacPorts] #62911: qpdf @10.3.1 cannot be built with gcc because -latomic is not included in the link

MacPorts noreply at macports.org
Thu Aug 19 20:39:00 UTC 2021


#62911: qpdf @10.3.1 cannot be built with gcc because -latomic is not included in
the link
------------------------+---------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  leopard
      Port:  qpdf       |
------------------------+---------------------

Comment (by ballapete):

 OK! The patches produces this `configure` output:

 {{{
 checking whether to use -latomic... yes
 }}}

 but on PPC Tiger compilation stops at once with:

 {{{
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-10.3.2'
 Makefile:61: *** unterminated call to function `foreach': missing `)'.
 Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_qpdf/qpdf/work/qpdf-10.3.2'
 }}}

 because `Makefile` has:

 {{{
    60   # Prevent gnu make from trying to rebuild .dep files
    61   $(foreach B,$(BUILD_ITEMS),$(eval \
    62     $(B)/$(OUTPUT_DIR)/%.dep: ;))
    63
    64   # Prevent gnu make from trying to rebuild .mk files
    65   $(foreach B,$(BUILD_ITEMS),$(eval \
    66     $(B)/%.mk: ;))
    67   %.mk: ;
    68   make/%.mk: ;
    69
    70   BUILDRULES ?= libtool
    71   include make/rules.mk
    72
    73   DUMMY := $(shell mkdir $(foreach
 B,$(BUILD_ITEMS),$(B)/$(OUTPUT_DIR)) 2>/dev/null)
    74
    75   include $(foreach B,$(BUILD_ITEMS),$(B)/build.mk)
    76
    77   ALL_TARGETS = $(foreach B,$(BUILD_ITEMS),$(TARGETS_$(B)))
    78
    79   TEST_ITEMS = $(foreach D,\
    80                    $(wildcard $(foreach
 B,$(BUILD_ITEMS),$(B)/qtest)),\
    81                    $(subst /,,$(dir $(D))))
 }}}

 plus a few more statements that span more than one line.

-- 
Ticket URL: <https://trac.macports.org/ticket/62911#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list