Opened 17 years ago

Closed 15 years ago

#12769 closed defect (fixed)

Openmotif 2.3.0_2 fails to build on intel MacBook

Reported by: MartinBuchmann (Martin Buchmann) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: yokota33@…, jmroot (Joshua Root)
Port: openmotif

Description

Hi,

upgrading openmotif on my MacBook (10.4.10, XCode 2.4.1, Macports 1.5.2) fails during building with the following error

--->  Building openmotif with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_openMotif/work/openmotif-2.3.0" && make all " returned error 2
Command output: MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
MultiList.c:1471: warning: alias definitions not supported in Mach-O; ignored
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/opt/local/include -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -MT MultiList.lo -MD -MP -MF .deps/MultiList.Tpo -c MultiList.c -o MultiList.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\"   -I/opt/local/include  -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2     -MT I18List.lo -MD -MP -MF ".deps/I18List.Tpo" -c -o I18List.lo I18List.c; \
then mv -f ".deps/I18List.Tpo" ".deps/I18List.Plo"; else rm -f ".deps/I18List.Tpo"; exit 1; fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/opt/local/include -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -MT I18List.lo -MD -MP -MF .deps/I18List.Tpo -c I18List.c  -fno-common -DPIC -o .libs/I18List.o
I18List.c:23:28: error: X11/bitmaps/gray: No such file or directory
I18List.c: In function 'CreateGCs':
I18List.c:2074: error: 'gray_bits' undeclared (first use in this function)
I18List.c:2074: error: (Each undeclared identifier is reported only once
I18List.c:2074: error: for each function it appears in.)
I18List.c:2075: error: 'gray_width' undeclared (first use in this function)
I18List.c:2075: error: 'gray_height' undeclared (first use in this function)
make[3]: *** [I18List.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: openmotif
Error: Status 1 encountered during processing.

Attachments (1)

patch-Portfile.diff (285 bytes) - added by yokota33@… 15 years ago.
This should fix the problem.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by MartinBuchmann (Martin Buchmann)

Hmm, it seems there was something wrong with my (Apple's) X11 installation. I reinstalled it from the Tiger DVD and now openmotif is installed fine. I played around with mp's Xfree86 port, maybe there was something skrewed up.

Everything looks fine now.

Martin

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

Resolution: worksforme
Status: newclosed

Changed 15 years ago by yokota33@…

Attachment: patch-Portfile.diff added

This should fix the problem.

comment:3 Changed 15 years ago by yokota33@…

Replying to Martin.Buchmann@…:

Hmm, it seems there was something wrong with my (Apple's) X11 installation.

No, this is not correct. It is a general problem.
Investigating PortIndex in the root of the macports source directory shows that x11/xbitmaps is not required by any appropriate xorg ports.
Therefore, if one encounters necessity to install openmotif (maybe by dependency of other ports), the same build failure arises.
Dependency on xbitmaps should be explicitly included in Portfile of openmotif.

Please reopen (don't I have the permission to change status?).

comment:4 Changed 15 years ago by yokota33@…

Cc: yokota33@… added

Cc Me!

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Port: openmotif added
Resolution: worksforme
Status: closedreopened

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: fixed
Status: reopenedclosed

Fixed in r50767.

Note: See TracTickets for help on using tickets.