Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31905 closed defect (duplicate)

xpm doesn't build on Mac OS X Lion +XCode 4.2

Reported by: hpacheco@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: xpm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When building xpm i get the following error:

Making all in sxpm
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/work/libXpm-3.5.9/sxpm'
  CC     sxpm.o
  GEN    sxpm.1
  GEN    sxpm.po
xgettext: A --flag argument doesn't have the <keyword>:<argnum>:[pass-]<flag> syntax: gettext:1:pass-c-format
make[2]: *** [sxpm.po] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/work/libXpm-3.5.9/sxpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/work/libXpm-3.5.9'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/work/libXpm-3.5.9'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/work/libXpm-3.5.9" && /usr/bin/make -j2 -w all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for xpm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for xpm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xpm/xpm/main.log
Error: Status 1 encountered during processing.

Change History (5)

comment:1 in reply to:  description Changed 13 years ago by hpacheco@…

Followed this suggestion, problem solved.

#31167

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xpm added

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Are you running the final version of Xcode 4.2 or a developer preview of it?

comment:5 Changed 13 years ago by hpacheco@…

the final version from the app store.

Note: See TracTickets for help on using tickets.