#48563: qgis @2.10.1_0 +grass +postgresql93: fails to build ------------------------------+--------------------- Reporter: epimetheus314@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qgis | ------------------------------+--------------------- Comment (by epimetheus314@…): Another issue happened. Although the port qgis can be built successfully as I wrote above, I failed to install the binary, the rebuilding process failed 3 times because of broken files.[[BR]] Based on the output below, I looked at the content of the following two files via 'lv' command: - /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6 - /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.v.in6 I found that the locations of framework files '''qgis_core''', '''qgis_gui''', and '''qgisgrass6''' are hard-corded as they were in ${worksrcpath}. {{{ $ sudo port -sdy rev-upgrade ... DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/QGIS DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/QGIS DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/QGIS DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/bin/QGIS Browser.app/Contents/MacOS/QGIS Browser DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/bin/QGIS Browser.app/Contents/MacOS/QGIS Browser DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/bin/qgis_bench.app/Contents/MacOS/qgis_bench DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/bin/qgis_help.app/Contents/MacOS/qgis_help DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/crssync Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.10.1/build/output/lib/qgis_core.framework/Versions/2.10/qgis_core: Error opening or reading file (referenced from /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6) DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6 as broken Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.10.1/build/output/lib/qgis_gui.framework/Versions/2.10/qgis_gui: Error opening or reading file (referenced from /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6) DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6 as broken Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.10.1/build/output/lib/qgisgrass6.framework/Versions/2.10/qgisgrass6: Error opening or reading file (referenced from /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6) DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.r.in6 as broken DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.v.in6 as broken DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.v.in6 as broken DEBUG: Marking /Applications/MacPorts/QGIS.app/Contents/MacOS/lib/qgis/grass/modules/qgis.v.in6 as broken ---> Found 6 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order DEBUG: Broken: qgis DEBUG: Processing port qgis @0:2.10.1_0 +grass+postgresql93 ---> Rebuilding in order qgis @2.10.1 +grass+postgresql93 ... }}} -- Ticket URL: <https://trac.macports.org/ticket/48563#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X