Changes between Initial Version and Version 1 of Ticket #49248


Ignore:
Timestamp:
Oct 13, 2015, 5:55:45 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49248

    • Property Owner changed from macports-tickets@… to ryandesign@…
  • Ticket #49248 – Description

    initial v1  
    33I am using the following command to install mkvtoolnix:
    44
     5{{{
    56   $ sudo port install mkvtoolnix +wvwidgets
     7}}}
    68
    7 1- libebml required "port install -s" to build using the correct cxx_stdlib for mkvtoolnix port despite macports.conf being set to always compile from source and to use libc++
    8 2- mkvtoolnix does not build properly even with libebml compiled using correct version of libc++.   
     91. libebml required "port install -s" to build using the correct cxx_stdlib for mkvtoolnix port despite macports.conf being set to always compile from source and to use libc++
     102. mkvtoolnix does not build properly even with libebml compiled using correct version of libc++.   
    911
    1012Initially the installation was failing with a "symbol(s) not found for architecture x86_64" error relating to libebml.
     
    1416I removed all my ports with:
    1517
     18{{{
    1619   $ sudo port clean --all all
     20}}}
    1721
    1822I set my macports.conf file with the following options:
    1923
     24{{{
    2025   build_arch              x86_64
    2126   universal_archs         x86_64 i386
     
    2328   buildfromsource         always
    2429   delete_la_files         yes
     30}}}
    2531
    2632I did a selfupdate then reinstalled all my ports using the restore_ports.tcl script.
    2733
     34{{{
    2835   $ sudo ./restore_ports.tcl myports.txt
     36}}}
    2937
    3038Even after doing the above migration and libc++ steps, mkvtoolix still failed with the same error relating to libebml:
    3139
     40{{{
    3241<snip>
    3342:info:build /usr/bin/clang++ -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64 -L/opt/local/lib -Llib/avilib-0.6.10 -Llib/librmff -Lsrc/common -Llib/pugixml/src -o src/mkvmerge src/merge/mkvmerge.o -Lsrc/merge -lmtxmerge -Lsrc/input -lmtxinput -Lsrc/output -lmtxoutput -Lsrc/merge -lmtxmerge -lmtxcommon -lmagic -lz -lmatroska -lebml -lz -lpugixml -liconv -lintl -L/opt/local/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -lboost_regex-mt -lboost_filesystem-mt -lboost_system-mt -lavi -lrmff -Lsrc/mpegparser -lmpegparser -lFLAC -logg -lm -lvorbis -logg
     
    8190    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log
    8291<end>
     92}}}
    8393
    8494I uninstalled and cleaned libeblm and associated packages:
    8595
     96{{{
    8697   $ sudo port uninstall libmatroska libebml
    8798   $ sudo port clean --all libmatroska libebml
     99}}}
    88100
    89101I then sucessfully reinstalled libebml etc with the "from source" flag on the command line:
    90102
     103{{{
    91104   $ sudo port -s install libmatroska libebml
     105}}}
    92106
    93107I attempted to install mkvtoolnix again:
    94108
     109{{{
    95110   $ sudo port install mkvtoolnix +wvwidgets
    96    
     111}}}
     112
    97113This time it failed with a different error message:
    98114
     115{{{
    99116<snip>
    100117/usr/bin/install -c -m 644 po/zh_CN.mo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/destroot/opt/local/share/locale/zh_CN/LC_MESSAGES/mkvtoolnix.mo
     
    109126bash-3.2$
    110127<end>
     128}}}
    111129
    112130This indicates that the mmg application may not have built properly.  The log file from this last installation attempt is attached.