[MacPorts] #64486: bison-runtime build for ppc fails at destroot on 10.6.8 (Rosetta)

MacPorts noreply at macports.org
Sun Jan 23 21:02:12 UTC 2022


#64486: bison-runtime build for ppc fails at destroot on 10.6.8 (Rosetta)
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc
      Port:  bison         |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:4 ryandesign]:
 > The log tells us the problem is:
 > {{{
 > ld: warning: in /opt/powerpc/lib/libintl.dylib, file was built for
 ppc7400 which is not the architecture being linked (x86_64)
 > }}}
 > I don't see any `-arch` flags being used in bison's configure tests, so
 that will need to be fixed for non-default-arch builds to work.

 Thanks, I will try to fix that.

 By the way, I re-installed ppc Macports into default prefix, and the error
 is slightly different (but same place):


 {{{
 configure:55636: result: no
 configure:55670: checking for iconv
 configure:55731: result: no, consider installing GNU libiconv
 configure:56410: checking for GNU gettext in libintl
 configure:56443: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os
 -I/opt/local/include  -L/opt/local/lib -Wl,-headerpad_max_install_names
 conftest.c  -lintl >&5
 collect2: ld terminated with signal 6 [Abort trap]
 configure:56443: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 }}}

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


More information about the macports-tickets mailing list