[MacPorts] #31577: wxWidgets-devel building error
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.4 Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- In the terminal I have this: {{{ $ sudo port install wxwidgets-devel ---> Computing dependencies for wxwidgets-devel ---> Fetching archive for wxwidgets-devel ---> Attempting to fetch wxwidgets- devel-2.9.2_1+sdl.darwin_10.x86_64.tbz2 from http://packages.macports.org /wxwidgets-devel ---> Fetching wxwidgets-devel ---> Verifying checksum(s) for wxwidgets-devel ---> Extracting wxwidgets-devel ---> Applying patches to wxwidgets-devel ---> Configuring wxwidgets-devel ---> Building wxwidgets-devel Error: Target org.macports.build returned: shell command failed (see log for details) Log for wxwidgets-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_graphics_wxWidgets-devel/wxwidgets- devel/main.log Error: Status 1 encountered during processing. }}} I've checked the log and I've found this strange: {{{ :info:archivefetch ---> wxwidgets-devel-2.9.2_1+sdl.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/wxwidgets-devel :msg:archivefetch ---> Attempting to fetch wxwidgets- devel-2.9.2_1+sdl.darwin_10.x86_64.tbz2 from http://packages.macports.org /wxwidgets-devel :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Wed Oct 12 00:05:41 CEST 2011 :notice:fetch ---> Fetching wxwidgets-devel }}} And the final error: {{{ :info:build ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file :info:build Undefined symbols for architecture x86_64: :info:build "wxArgNormalizerUtf8<wxCStrData const&>::get() const", referenced from: :info:build int wxString::Printf<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_ftp.o :info:build void wxLogger::Log<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_ftp.o :info:build int wxString::Printf<wxCStrData, wxCStrData>(wxFormatString const&, wxCStrData, wxCStrData) in netdll_http.o :info:build int wxString::Printf<wchar_t const*, wxCStrData>(wxFormatString const&, wchar_t const*, wxCStrData) in netdll_http.o :info:build void wxLogger::Log<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_sckipc.o :info:build "wxArgNormalizerWchar<wxCStrData const&>::wxArgNormalizerWchar(wxCStrData const&, wxFormatString const*, unsigned int)", referenced from: :info:build int wxString::Printf<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_ftp.o :info:build void wxLogger::Log<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_ftp.o :info:build int wxString::Printf<wxCStrData, wxCStrData>(wxFormatString const&, wxCStrData, wxCStrData) in netdll_http.o :info:build int wxString::Printf<wchar_t const*, wxCStrData>(wxFormatString const&, wchar_t const*, wxCStrData) in netdll_http.o :info:build void wxLogger::Log<wxCStrData>(wxFormatString const&, wxCStrData) in netdll_sckipc.o :info:build "wxArgNormalizerUtf8<wxString const&>::get() const", referenced from: :info:build void wxLogger::Log<wxString>(wxFormatString const&, wxString) in netdll_ftp.o :info:build void wxLogger::LogTrace<wxString>(wxString const&, wxFormatString const&, wxString) in netdll_protocol.o :info:build "wxArgNormalizerWchar<wxString const&>::wxArgNormalizerWchar(wxString const&, wxFormatString const*, unsigned int)", referenced from: :info:build void wxLogger::Log<wxString>(wxFormatString const&, wxString) in netdll_ftp.o :info:build void wxLogger::LogTrace<wxString>(wxString const&, wxFormatString const&, wxString) in netdll_protocol.o :info:build ld: symbol(s) not found for architecture x86_64 }}} I am on Mac OS X 10.6.8. I need wxWidgets-devel to install py27-wxpython- devel. I'd like to run the new wxpython because it supports 64 bit OS. I guess some of the libraries are for the 32 bit version and that's a problem, but I don't know how to solve it. Any ideas? Thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/31577> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * milestone: MacPorts 2.0.4 => Comment: Replying to [ticket:31577 stanpol@…]:
I've checked the log and I've found this strange: {{{ :info:archivefetch ---> wxwidgets-devel-2.9.2_1+sdl.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/wxwidgets-devel :msg:archivefetch ---> Attempting to fetch wxwidgets- devel-2.9.2_1+sdl.darwin_10.x86_64.tbz2 from http://packages.macports.org /wxwidgets-devel :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Wed Oct 12 00:05:41 CEST 2011 :notice:fetch ---> Fetching wxwidgets-devel }}}
Nothing strange there. MacPorts tried to fetch a pre-built binary of this port. None existed. Therefore it proceeded to try to fetch and compile the source.
And the final error:
...which failed. Have you already verified that none of the existing tickets about wxwidgets-devel match the problem you're seeing? -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- Comment(by stanpol@…): This ticket https://trac.macports.org/ticket/31054 seems to have the same error, but caused by another library, not QuickTime. It was updated just now, and I see that I have the same thing as in that ticket — Xcode 4.2 on Snow Leopard. However I don't use "clang" or I don't know that it is used. I've checked the internet and the typical advice for this type of problems is to compile wxWidgets in 32bit mode. However, I don't know how to do it with macports. Will it work later correctly with 64 bit python? -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- Comment(by stanpol@…): Just built it. Xcode 4.2 uses new compiler called "clang" by the default. We don't need it. We need to use gcc: {{{ sudo port clean wxwidgets-devel sudo port -d install wxwidgets-devel configure.compiler=llvm-gcc-4.2 }}} Thanks to the guys in 31054 ticket. This one could be closed. -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 stanpol@…]:
Xcode 4.2 uses new compiler called "clang" by the default. We don't need it. We need to use gcc:
But you show that you used llvm-gcc, not gcc. -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error ----------------------------------+----------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: 64bit error building | Port: wxWidgets-devel ----------------------------------+----------------------------------------- Comment(by stanpol@…): Yes, it's my fault — I used llvm-gcc I don't know the result with gcc. -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31577: wxWidgets-devel building error --------------------------------+------------------------------------------- Reporter: stanpol@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: 64bit error building Port: wxWidgets-devel | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <https://trac.macports.org/ticket/31577#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts