[MacPorts] #41521: libgsf won't install under Mavericks
#41521: libgsf won't install under Mavericks --------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: --------------------+-------------------------------- I've attached the log file; I don't have any further details. -- Ticket URL: <https://trac.macports.org/ticket/41521> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => mavericks * port: => libgsf Comment: This was not a clean attempt. Please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again]. It builds fine for me on Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Comment (by askbal@…): I have the same issue with libgsf. Attached main.log file as main.2.log -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Comment (by askbal@…): Seems to build fine with configure.compiler = macports-gcc-4.8. I am am noob with port files and stuff, so I am not sure what this means. Is this a clang issue? I have the following clang:- {{{ clang --version Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Comment (by pavel.hlavnicka@…): Tis is for sure not the proper way to fix it, but disabling format- security warnings helps. Changing Portfile to {{{ configure.args --enable-introspection \ --enable-compile-warnings=no }}} and removing {{{-Werror=format-security}}} from configure.ac helps. Code calls triggering this error should be fixed indeed. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Comment (by em36@…): Replying to [comment:1 ryandesign@…]:
This was not a clean attempt. Please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again]. It builds fine for me on Mavericks.
I cleaned and tried again, with no success. I've added Main3.log to the attachments list. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf won't install under Mavericks ---------------------+-------------------------------- Reporter: em36@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------------- Comment (by foinux@…): I have the same issue What i did trying to fix it - following the migration docs https://trac.macports.org/wiki/Migration - uninstalled with clean - then build macport from source - i have xcode-tools installed agreed to licences. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf @1.14.28: error: format string is not a string literal ---------------------+-------------------------- Reporter: em36@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: I don't understand why this works for me and not for you, but I've made a change that may help: r113841. Please wait 30 minutes, then run "sudo port selfupdate" and try again. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf @1.14.28: error: format string is not a string literal ---------------------+-------------------------- Reporter: em36@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------- Changes (by ryandesign@…): * cc: pavel.hlavnicka@… (added) Comment: Replying to [comment:4 askbal@…]:
Seems to build fine with configure.compiler = macports-gcc-4.8.
Building with FSF GCC on Mavericks can have unintended consequences, due to a difference in C++ runtimes, so you should not do this. If you've already done this, please re-try with clang. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf @1.14.28: error: format string is not a string literal ---------------------+-------------------------- Reporter: em36@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------- Comment (by em36@…): Replying to [comment:10 ryandesign@…]:
I don't understand why this works for me and not for you, but I've made a change that may help: r113841. Please wait 30 minutes, then run "sudo port selfupdate" and try again.
Your fix seems to work perfectly. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf @1.14.28: error: format string is not a string literal ---------------------+-------------------------- Reporter: em36@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: libgsf | ---------------------+-------------------------- Comment (by askbal@…): Replying to [comment:11 ryandesign@…]:
Building with FSF GCC on Mavericks can have unintended consequences, due to a difference in C++ runtimes, so you should not do this. If you've already done this, please re-try with clang.
Thanks! This works for me. -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#41521: libgsf @1.14.28: error: format string is not a string literal ---------------------+-------------------------- Reporter: em36@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks Port: libgsf | ---------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Great! -- Ticket URL: <https://trac.macports.org/ticket/41521#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts