[MacPorts] #32672: vobcopy will not build
#32672: vobcopy will not build ---------------------------------+------------------------------------------ Reporter: philipp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: vobcopy ---------------------------------+------------------------------------------ I'm on OS X Lion 10.7.2 with Xcode 4.2.1, i7 processor. (Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)) As far as I have found (tried to build the sources myself with all dependencies built from macports), the configure script writes a wrong library path to the Makefile: LDFLAGS += -ldvdread -L/opt/local/lib64 If I change this to /opt/local/lib vobcopy will build and install just fine. -- Ticket URL: <https://trac.macports.org/ticket/32672> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32672: vobcopy will not build ---------------------------------+------------------------------------------ Reporter: philipp@… | Owner: 0booo5b02@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: vobcopy ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * cc: philipp@… (removed) * owner: macports-tickets@… => 0booo5b02@… Old description:
I'm on OS X Lion 10.7.2 with Xcode 4.2.1, i7 processor.
(Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn))
As far as I have found (tried to build the sources myself with all dependencies built from macports), the configure script writes a wrong library path to the Makefile:
LDFLAGS += -ldvdread -L/opt/local/lib64
If I change this to /opt/local/lib vobcopy will build and install just fine.
New description: I'm on OS X Lion 10.7.2 with Xcode 4.2.1, i7 processor. (Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)) As far as I have found (tried to build the sources myself with all dependencies built from macports), the configure script writes a wrong library path to the Makefile: {{{ LDFLAGS += -ldvdread -L/opt/local/lib64 }}} If I change this to /opt/local/lib vobcopy will build and install just fine. -- -- Ticket URL: <https://trac.macports.org/ticket/32672#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32672: vobcopy: build fails on Macs running 64-bit kernel ---------------------------------+------------------------------------------ Reporter: philipp@… | Owner: 0booo5b02@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: vobcopy ---------------------------------+------------------------------------------ Comment(by ryandesign@…): The hand-made configure.sh script has this code which is not correct for OS X: {{{ elif [ `uname -m` = x86_64 ]; then #for ia64/AMD64 libraries LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib64" else LDFLAGS="LDFLAGS += -ldvdread -L$libs_dir/lib" fi }}} The problem is only visible when running the 64-bit kernel (otherwise `uname -m` would return i386). -- Ticket URL: <https://trac.macports.org/ticket/32672#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32672: vobcopy: build fails when using clang and running 64-bit kernel ---------------------------------+------------------------------------------ Reporter: philipp@… | Owner: 0booo5b02@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang haspatch | Port: vobcopy ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * keywords: => clang haspatch Comment: The problem also does not manifest unless you're using Xcode 4.2 or greater, since that's the first version of Xcode with which MacPorts defaults to the clang compiler, and that's the only compiler that [http://lists.macosforge.org/pipermail/macports- dev/2011-August/015543.html doesn't use the CPATH and more importantly LIBRARY_PATH] variables which otherwise would have taken care of telling the build where to find the library. Anyway a simple patch to fix this is attached. 0booo5b02, let me know if you have any objections or whether I may commit it. -- Ticket URL: <https://trac.macports.org/ticket/32672#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32672: vobcopy: build fails when using clang and running 64-bit kernel ---------------------------------+------------------------------------------ Reporter: philipp@… | Owner: 0booo5b02@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang haspatch | Port: vobcopy ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: ag@… (added) Comment: Has duplicate #35026. -- Ticket URL: <https://trac.macports.org/ticket/32672#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32672: vobcopy: build fails when using clang and running 64-bit kernel ----------------------------------+----------------------------------------- Reporter: philipp@… | Owner: 0booo5b02@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang haspatch Port: vobcopy | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: r94810 (maintainer timeout) -- Ticket URL: <https://trac.macports.org/ticket/32672#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts