New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14861 (closed defect: worksforme)

Opened 5 years ago

Last modified 4 years ago

GnuBG doesn't build on Leopard

Reported by: macosforge@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jmr@…
Port: gnubg

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

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_gnubg/work/gnubg-0.14.3" && make all " returned error 2
Command output:       _EvalInitialise in eval.o
      _EvalInitialise in eval.o
  "_ListDelete", referenced from:
      _PopGame in play.o
      _PopGame in play.o
      _PopMoveRecord in play.o
      _PopMoveRecord in play.o
      _NewGame in play.o
      _freeMP in matchequity.o
      _FreeList in sgf.o
      _FreeList in sgf.o
      _LoadCollection in sgf.o
      _CommandSavePosition in sgf.o
      _sgfparse in sgfp.o
      _GTKOutputX in gtkgame.o
      _ClearBuffer in gtktexi.o
      _Unload in gtktexi.o
      _EndElement in gtktexi.o
      _RenderNode in gtktexi.o
      _gtk_texi_render_node in gtktexi.o
      _gtk_texi_destroy in gtktexi.o
  "_CacheResize", referenced from:
      _EvalCacheResize in eval.o
  "_keyToLong", referenced from:
      _EvaluatePositionCubeful3 in eval.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gnubg] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments

gnubg_failed_build.txt (113.2 KB) - added by macosforge@… 5 years ago.
Complete output of a build with debug enabled

Change History

comment:1 Changed 5 years ago by jmr@…

  • Cc jmr@… added
  • Milestone set to Port Bugs

It builds on Leopard for me. Please run sudo port selfupdate && sudo port clean gnubg and then attach the full output from sudo port -d install gnubg.

Changed 5 years ago by macosforge@…

Complete output of a build with debug enabled

comment:2 Changed 5 years ago by jmr@…

Do you have libtool installed? If not, try installing it.

comment:3 Changed 5 years ago by macosforge@…

ebi@susi  ~ $ port installed libtool
The following ports are currently installed:
  libtool @1.5.24_2 (active)

I rebuilt libtool and tried to rebuild gnubg but it still failed with the same error.

comment:4 Changed 5 years ago by macosforge@…

Today I tried to build it on another machine with a realtively fresh (and completly up to date MacPorts installation.) While compiling gtk2 the file /usr/X11/lib/libXrandr.2.0.0.dylib was not found (I just linked it to the newer version...) which could be a problem, because the error while compiling gnubg was exactly the same as on my other machine.

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:6 Changed 4 years ago by jmr@…

  • Keywords gnubg removed
  • Status changed from new to closed
  • Resolution set to worksforme
  • Port set to gnubg
  • Description modified (diff)

A lot has changed since this was filed, both in base and in the X11 ports. Reopen if problems persist with current versions.

Note: See TracTickets for help on using tickets.