Issue 57266 - MacOSX porting : nas project doesn't build for 10.3.9
Summary: MacOSX porting : nas project doesn't build for 10.3.9
Status: CONFIRMED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOo 2.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: DevTools
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 03:09 UTC by maho.nakata
Modified: 2017-05-20 11:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description maho.nakata 2005-11-03 03:09:08 UTC
MacOSX porting: 2.0.0 with 10.3.9
% sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98 
build fails at nas project

patching file nas-1.6/clients/audio/auphone/auphone.c
patching file nas-1.6/clients/audio/autool/audiotool.c
patching file nas-1.6/clients/audio/auwave/auwave.c
mkdir ./unxmacxp.pro/misc/build/nas-1.6/
mkdir: ./unxmacxp.pro/misc/build/nas-1.6/: File exists
cd ./unxmacxp.pro/misc/build/nas-1.6/ && xmkmf  && touch so_configured_nas
tcsh: usage=usage:  /usr/X11R6/bin/xmkmf [-a] [top_of_sources_pathname [current_directory]]: 
Command not found.
tcsh: configdirspec=-I/usr/X11R6/lib/X11/config: Command not found.
tcsh: topdir=: Command not found.
tcsh: curdir=.: Command not found.
tcsh: do_all=: Command not found.
tcsh: imake_defines=: Command not found.
tcsh: while: Expression Syntax.
dmake:  Error code 1, while making './unxmacxp.pro/misc/build/so_configured_nas'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /Volumes/OpenOffice.org/Panther/2.0/work/
OOo_2.0.0rc3_src/nas              

this is due to xmkmf is broken for MacOSX 10.3.9
% tcsh
% xmkmf
tcsh: usage=usage:  /usr/X11R6/bin/xmkmf [-a] [top_of_sources_pathname [current_directory]]: 
Command not found.
tcsh: configdirspec=-I/usr/X11R6/lib/X11/config: Command not found.
tcsh: topdir=: Command not found.
tcsh: curdir=.: Command not found.
tcsh: do_all=: Command not found.
tcsh: imake_defines=: Command not found.
tcsh: while: Expression Syntax.  
but with bash:
% bash
takuboku:/Volumes/OpenOffice.org/Panther/2.0/work/OOo_2.0.0rc3_src/nas maho$ xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
imake: No such file or directory
imake: No description file.
  Stop.                   

apparently xmkmf (of MacOSX 10.3.9) is broken :(

% head -n 2 /usr/X11R6/bin/xmkmf
#pragma GCC set_debug_pwd "/private/var/tmp/X11/X11-0.30.obj~2/xc/config/util"
#!/bin/sh      

following patch solves this problem.
Index: nas/makefile.mk
===============================================================
====
RCS file: /cvs/external/nas/makefile.mk,v
retrieving revision 1.12.2.1
diff -u -r1.12.2.1 makefile.mk
--- nas/makefile.mk     5 Oct 2005 10:21:44 -0000       1.12.2.1
+++ nas/makefile.mk     3 Nov 2005 03:27:27 -0000
@@ -68,6 +68,9 @@
 
 #relative to CONFIGURE_DIR
 CONFIGURE_ACTION=xmkmf
+.IF "$(OS)$(BUILD_OS_MAJOR)$(BUILD_OS_MINOR)"=="MACOSX103"
+CONFIGURE_ACTION=bash xmkmf
+.ENDIF #"$(OS)"=="MACOSX" 
 
 BUILD_DIR=$(CONFIGURE_DIR)
 BUILD_ACTION=make World
Comment 1 eric.bachard 2006-02-10 20:05:12 UTC
ericb->maho 

What is the status of this issue ?
Comment 2 eric.bachard 2006-03-15 14:44:50 UTC
ericb->maho

I think you forgot to answer. What is the status of this issue ? Is the fix still needed or obsolete , or is 
there a cws open for it ... or ... ?
Comment 3 maho.nakata 2006-03-15 21:20:22 UTC
ericb:
thanks, this is not yet fixed, since I'm lazy about it..
I'll commit it soon.
Comment 4 eric.bachard 2006-05-28 18:15:17 UTC
Please maho, what is the status of this issue ? 
Comment 5 maho.nakata 2006-05-29 03:49:58 UTC
ericb:
I'll create a cws soon.
Comment 6 maho.nakata 2006-05-29 03:50:11 UTC
reassign.
Comment 7 pavel 2006-08-02 08:56:29 UTC
maho: what is the status of this issue?
Comment 8 maho.nakata 2006-08-10 08:51:37 UTC
this should not stop 2.0.4
Comment 9 Marcus 2017-05-20 11:29:43 UTC
Reset assigne to the default "issues@openoffice.apache.org".