[MacPorts] #49880: capstone @3.0.4_1 fails building on 10.6.8
#49880: capstone @3.0.4_1 fails building on 10.6.8 ------------------------+-------------------------------- Reporter: ron.pinz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: haspatch | Port: capstone ------------------------+-------------------------------- While installing capstone 3.0.4_1 the following error was encountered: {{{ :info:build ld: unknown option: -soname :info:build collect2: ld returned 1 exit status :info:build make: *** [libcapstone.so] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build ar: creating archive ./libcapstone.a }}} A quick look at the Makefile showed that the following excerpt is responsible for determining if compilation is taking place with an Apple version of the Clang compiler distributed with XCode >= 4.4. {{{ IS_APPLE := $(shell $(CC) -dM -E - < /dev/null | grep __apple_build_version__ | wc -l | tr -d " ") ifeq ($(IS_APPLE),1) EXT = dylib VERSION_EXT = $(API_MAJOR).$(EXT) $(LIBNAME)_LDFLAGS += -dynamiclib -install_name $(PREFIX)/lib/lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR) AR_EXT = a }}} Testing the shell command : {{{ $ cc -dM -E - < /dev/null | grep __apple_build_version__ | wc -l | tr -d " " 0 }}} Output of shell command 'fix': {{{ $ cc -dM -E - < /dev/null | grep -e __apple_build_version__ -e __APPLE_CC__ | wc -l | tr -d " " 1 }}} Attached please find the corresponding main.log, and a suggested patch for patch-Makefile.diff. Because the port already utilizes a patch for the Makefile the included patch is a patch for the patch-Makefile.diff. -- Ticket URL: <https://trac.macports.org/ticket/49880> MacPorts <https://www.macports.org/> Ports system for OS X
#49880: capstone @3.0.4_1 fails building on 10.6.8 -------------------------+-------------------------------- Reporter: ron.pinz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: capstone | -------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. This problem should be reported to the developers of capstone. If you've already done so, please give us the URL of the bug report. -- Ticket URL: <https://trac.macports.org/ticket/49880#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49880: capstone @3.0.4_1 fails building on 10.6.8 -------------------------+-------------------------------- Reporter: ron.pinz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: capstone | -------------------------+-------------------------------- Comment (by ron.pinz@…): Replying to [comment:1 ryandesign@…]:
Thanks. This problem should be reported to the developers of capstone. If you've already done so, please give us the URL of the bug report.
[[https://github.com/aquynh/capstone/pull/569|Reported]] upstream, and [[https://github.com/aquynh/capstone/issues/570|pull request]] with fix submitted. -- Ticket URL: <https://trac.macports.org/ticket/49880#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49880: capstone @3.0.4_1 fails building on 10.6.8 -------------------------+-------------------------------- Reporter: ron.pinz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: capstone | -------------------------+-------------------------------- Comment (by ron.pinz@…): fixed upstream, this ticket can be closed. -- Ticket URL: <https://trac.macports.org/ticket/49880#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49880: capstone @3.0.4_1 fails building on 10.6.8 -------------------------+-------------------------------- Reporter: ron.pinz@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: haspatch Port: capstone | -------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/49880#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts