Opened 11 years ago

Closed 11 years ago

#39302 closed defect (fixed)

compiling error when port install wxlua

Reported by: sunny_98_98@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), mojca (Mojca Miklavec)
Port: wxLua

Description (last modified by mf2k (Frank Schima))

ld: warning: ignoring file app_wxlua_lconsole.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file app_wxlua_wxlua.o, file was built for unsupported file format which is not the architecture being linked (i386)

Attachments (1)

main.log (61.7 KB) - added by sunny_98_98@… 11 years ago.
log file for wxlua install

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by sunny_98_98@…

Attachment: main.log added

log file for wxlua install

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

The ld warnings you copied into the OP are just the beginning of the actual error message; they aren't the error itself:

:info:build ld: warning: ignoring file app_wxlua_lconsole.o, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: ignoring file app_wxlua_wxlua.o, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build Undefined symbols for architecture i386:
:info:build   "_main", referenced from:
:info:build       start in crt1.10.6.o
:info:build ld: symbol(s) not found for architecture i386
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [../bin/lua] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build ld: warning: ignoring file app_wxluaedit_wxledit.o, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: ignoring file app_wxluaedit_wxluaedit.o, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build Undefined symbols for architecture i386:
:info:build   "_main", referenced from:
:info:build       start in crt1.10.6.o
:info:build ld: symbol(s) not found for architecture i386
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [../bin/wxlua] Error 1
:info:build Undefined symbols for architecture i386:
:info:build   "_main", referenced from:
:info:build       start in crt1.10.6.o
:info:build ld: symbol(s) not found for architecture i386
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [../bin/wxluaedit] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/apps'
:info:build make: *** [apps] Error 2
:info:build make: *** Waiting for unfinished jobs....
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/modules'
:info:build make[1]: Nothing to be done for `all'.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/modules'
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: install wxlua removed
Owner: changed from macports-tickets@… to afb@…
Port: wxLua added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainer(s).

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

:debug:main Skipping completed org.macports.archivefetch (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (wxLua)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Jun  1 17:12:00 CST 2013

The log is incomplete. Please clean wxLua, try installing again, and attach the complete log.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Resolution: fixed
Status: newclosed
Version: 2.1.3

I upgraded the port in r110274 to use wxWidgets-3.0. If this is still a problem after cleaning and upgrading all the ports, please reopen the ticket and provide the complete main.log.

Note: See TracTickets for help on using tickets.