Opened 13 years ago

Closed 12 years ago

#34205 closed defect (duplicate)

xpm build failure

Reported by: mohd_sm24@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: xpm gettext

Description

this is the command line on my terminal:

bash-3.2$ sudo port install ddd
--->  Computing dependencies for ddd
--->  Dependencies to be installed: xorg-libXaw xpm
--->  Building xpm
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install xpm
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: The following dependencies were not installed: xorg-libXaw xpm
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
bash-3.2$ 

Attachments (1)

main.log (83.2 KB) - added by abarnert@… 13 years ago.
build log for xpm

Download all attachments as: .zip

Change History (8)

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

Keywords: ddd xpm Data Display debugger dependency bug removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xpm added; ddd removed
Summary: Not able to install ddd (Data Display debugger) due to dependency bugxpm build failure

Please "sudo port clean xpm", then try again, then attach the main.log if it fails again.

Changed 13 years ago by abarnert@…

Attachment: main.log added

build log for xpm

comment:2 Changed 13 years ago by abarnert@…

I'm getting the same error, so I attached my build log.

It fails for both +universal and -universal (x86_64) builds on my 10.7.3 system. (However, if I don't use +universal, it finds a binary package, which works fine; I have to explicitly port -s build it to see the problem.)

comment:3 Changed 13 years ago by abarnert@…

I just tested on a few other machines. On a different 10.7.3 system, and a 10.6.8 system, xpm built fine. I don't know what the difference is, but if the log gives you any ideas what to look for, I'll be glad to look.

comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

:info:build xgettext: A --flag argument doesn't have the <keyword>:<argnum>:[pass-]<flag> syntax: gettext:1:pass-c-format
783	:info:build make[2]: *** [sxpm.po] Error 1

comment:5 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

Can you please attach the config.log

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added
Owner: changed from jeremyhu@… to ryandesign@…
Port: gettext added
Status: assignednew

Looks like a get text issue or an issue with the build not calling xgettext properly. I can't reproduce this, but maybe Ryan can...

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #31167. The problem occurs if you built gettext with a developer preview version of Xcode 4.2. Please install a final released version of Xcode 4.2 or newer, then rebuild gettext:

sudo port clean gettext
sudo port -n upgrade --force gettext
Note: See TracTickets for help on using tickets.