py26-wxpython trouble (even without pgAdmin3)
Jim Busser
jbusser at interchange.ubc.ca
Mon Jun 14 19:55:26 PDT 2010
On 2010-06-14, at 3:45 PM, Ryan Schmidt wrote:
> On Jun 14, 2010, at 14:59, Jim Busser wrote:
>> sudo port -d install py26-psycopg2 +postgresql84
>> which gave several architecture warnings, among the first of which was
>> ld: warning: in Parser/acceler.o, file was built for unsupported file format which is not the architecture being linked (i386)
>
> So, you didn't ask for the universal variant. And it's trying to do something with i386.
>
> What kind of Mac is this -- 32-bit or 64-bit? If 64-bit, then under snow leopard the default arch is x86_64 not i386 so I would wonder why it was trying to build anything for i386.
>
> What is the value of the build_arch variable in your macports.conf?
The answer re kind of Mac is 32 bit (the following command returns EFI32 so evidently 32-bit)
ioreg -l -p IODeviceTree | awk -F'"' '/firmware-abi/{print $4}'
Thanks also for catching that I had missed that the new MacPorts would leave untouched the old macports.conf (in which I had uncommented build_arch to try i386) so after reverting to the macports.conf.default which the 1.9.0 installer had provided as a contingency and after again doing
sudo port -f uninstall installed
sudo port clean --work --archive all
I again did
sudo port -d install py26-psycopg2 +postgresql84
and apart from some warnings seemed ok, then
sudo port -d install py26-mx-base
went apparently ok but
sudo port -d install py26-wxpython
complained as below. I did try, as suggested at bottom
sudo port -n upgrade --force wxWidgets-python
but got
Error: wxWidgets-python is not installed
******************************************
---> Attempting to fetch wxPython-src-2.8.10.1.tar.bz2 from http://distfiles.macports.org/wxWidgets-python
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28.3M 100 28.3M 0 0 293k 0 0:01:39 0:01:39 --:--:-- 305k
---> Verifying checksum(s) for wxWidgets-python
DEBUG: checksum phase started at Mon Jun 14 19:37:13 PDT 2010
DEBUG: Executing org.macports.checksum (wxWidgets-python)
---> Checksumming wxPython-src-2.8.10.1.tar.bz2
DEBUG: Correct (md5) checksum for wxPython-src-2.8.10.1.tar.bz2
DEBUG: Correct (sha1) checksum for wxPython-src-2.8.10.1.tar.bz2
DEBUG: Correct (rmd160) checksum for wxPython-src-2.8.10.1.tar.bz2
DEBUG: setting option extract.cmd to /usr/bin/bzip2
---> Extracting wxWidgets-python
DEBUG: extract phase started at Mon Jun 14 19:37:14 PDT 2010
DEBUG: Executing org.macports.extract (wxWidgets-python)
---> Extracting wxPython-src-2.8.10.1.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/wxWidgets-python/wxPython-src-2.8.10.1.tar.bz2
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work" && /usr/bin/bzip2 -dc /opt/local/var/macports/distfiles/wxWidgets-python/wxPython-src-2.8.10.1.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: patch phase started at Mon Jun 14 19:37:36 PDT 2010
DEBUG: Executing org.macports.patch (wxWidgets-python)
---> Applying patches to wxWidgets-python
---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/wxWidgets-python/files/changeset_r61009.diff
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/wxPython-src-2.8.10.1" && /usr/bin/patch -p4'
(Stripping trailing CRs from patch.)
patching file src/gtk/gsockgtk.cpp
---> Configuring wxWidgets-python
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Mon Jun 14 19:37:37 PDT 2010
DEBUG: Executing proc-pre-org.macports.configure-configure-0
Error: The file /opt/local/lib/libSDL.dylib does not exist, though it was
Error: expected to have been provided by one of wxWidgets-python's dependencies. Try
Error: rebuilding the port that should have provided that file by running
Error:
Error: sudo port -n upgrade --force <portname>
Error:
Error: Target org.macports.configure returned: missing required file
DEBUG: Backtrace: missing required file
while executing
"$pre $targetname"
Warning: the following items did not execute (for wxWidgets-python): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for wxWidgets-python is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/main.log
Error: The following dependencies failed to build: wxWidgets-python
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
More information about the macports-users
mailing list