[MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

MacPorts
#57541: gts @0.7.6-20121130_0 +universal build fails
----------------------+--------------------
 Reporter:  mopihopi  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  gts
----------------------+--------------------
 Upgrading gts @0.7.6 +universal to @0.7.6-20121130_0 +universal fails, on
 macOS 10.12.6 16G1510 with Xcode 9.2 9C40b.

 {{{
 $ port installed gts and active
 The following ports are currently installed:
   gts @0.7.6_3+universal (active)
 $ sudo port upgrade gts
 --->  Computing dependencies for gts
 --->  Fetching archive for gts
 --->  Attempting to fetch
 gts-0.7.6-20121130_0+universal.darwin_16.i386-x86_64.tbz2 from
 https://packages.macports.org/gts
 --->  Attempting to fetch
 gts-0.7.6-20121130_0+universal.darwin_16.i386-x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/gts
 --->  Attempting to fetch
 gts-0.7.6-20121130_0+universal.darwin_16.i386-x86_64.tbz2 from
 http://kmq.jp.packages.macports.org/gts
 --->  Fetching distfiles for gts
 --->  Verifying checksums for gts
 --->  Extracting gts
 --->  Configuring gts
 --->  Building gts
 Error: Failed to build gts: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gts/gts/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57541>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

MacPorts
#57541: gts @0.7.6-20121130_0 +universal build fails
-----------------------+--------------------
  Reporter:  mopihopi  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gts       |
-----------------------+--------------------
Changes (by mopihopi):

 * Attachment "gts-main.log" added.

 gts build log

--
Ticket URL: <https://trac.macports.org/ticket/57541>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

MacPorts
In reply to this post by MacPorts
#57541: gts @0.7.6-20121130_0 +universal build fails
-----------------------+--------------------
  Reporter:  mopihopi  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gts       |
-----------------------+--------------------

Comment (by kencu):

 {{{
 996     :info:build libtool: link: /usr/bin/clang -dynamiclib
 -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o
 .libs/libgts-0.7.5.dylib  .libs/object.o .libs/point.o .libs/vertex.o
 .libs/segment.o .libs/edge.o .libs/triangle.o .libs/face.o .libs/kdtree.o
 .libs/bbtree.o .libs/misc.o .libs/predicates.o .libs/heap.o .libs/eheap.o
 .libs/fifo.o .libs/matrix.o .libs/surface.o .libs/stripe.o .libs/vopt.o
 .libs/refine.o .libs/iso.o .libs/isotetra.o .libs/split.o .libs/psurface.o
 .libs/hsurface.o .libs/cdt.o .libs/boolean.o .libs/named.o .libs/oocs.o
 .libs/container.o .libs/graph.o .libs/pgraph.o .libs/partition.o
 .libs/curvature.o .libs/tribox3.o   -lm -L/opt/local/lib -lglib-2.0 -lintl
 -Os -arch i386 -Wl,-headerpad_max_install_names -arch i386 -Wl,-framework
 -Wl,CoreFoundation   -install_name  /opt/local/lib/libgts-0.7.5.dylib
 -compatibility_version 6 -current_version 6.1 -Wl,-single_module
 997     :info:build ld: warning: text-based stub file
 /System/Library/Frameworks//AudioToolbox.framework/Versions/A/AudioToolbox.tbd
 and library file
 /System/Library/Frameworks//AudioToolbox.framework/Versions/A/AudioToolbox
 are out of sync. Falling back to library file for linking.
 998     :info:build ld: warning: text-based stub file
 /System/Library/Frameworks//QuartzCore.framework/Versions/A/QuartzCore.tbd
 and library file
 /System/Library/Frameworks//QuartzCore.framework/Versions/A/QuartzCore are
 out of sync. Falling back to library file for linking.
 999     :info:build ld: in '/opt/local/lib/libxar.1.dylib', file was built
 for x86_64 which is not the architecture being linked (i386):
 /opt/local/lib/libxar.1.dylib for architecture i386
 1000    :info:build clang: error: linker command failed with exit code 1
 (use -v to see invocation)
 1001    :info:build make[3]: *** [libgts.la] Error 1
 }}}

 It looks like it wants `xar` installed as universal. Do you have xar
 installed as universal?

--
Ticket URL: <https://trac.macports.org/ticket/57541#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

MacPorts
In reply to this post by MacPorts
#57541: gts @0.7.6-20121130_0 +universal build fails
------------------------+--------------------
  Reporter:  mopihopi   |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  duplicate  |   Keywords:
      Port:  gts        |
------------------------+--------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 gts does not use xar. You've encountered a linker bug. Either deactivate
 xar, or install xar universal, prior to installing gts universal.

 Duplicate of #36438. See also comment:ticket:52337:9.

--
Ticket URL: <https://trac.macports.org/ticket/57541#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57541: gts @0.7.6-20121130_0 +universal build fails

MacPorts
In reply to this post by MacPorts
#57541: gts @0.7.6-20121130_0 +universal build fails
------------------------+--------------------
  Reporter:  mopihopi   |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  duplicate  |   Keywords:
      Port:  gts        |
------------------------+--------------------

Comment (by mopihopi):

 Thanks.  Deactivating xar temporarily broke llvm, but allowed gts to be
 upgraded, and reactivating xar afterwards fixed llvm.

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