pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40683: tcsh pkg build error



>Number:         40683
>Category:       pkg
>Synopsis:       tcsh pkg build error
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 18 22:50:00 +0000 2009
>Originator:     Hauke Fath
>Release:        NetBSD 1.5.4_ALPHA
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD mara 1.5.4_ALPHA NetBSD 1.5.5_ALPHA (MARA-$Revision: 1.1 $) #0: 
Wed Jul 9 11:37:12 CEST 2008 
hauke@mara:/local/cvswork/netbsd/netbsd-1-5/src/sys/arch/mac68k/compile/MARA 
mac68k
Architecture: m68k
Machine: mac68k
>Description:

On NetBSD/mac68k 1.5, the shells/standalone-tcsh build 
(probably also shells/tcsh) fails with

[hauke@mara] /<5>work/tcsh-6.16.00 > make
cc -c -O2 -pipe -I/usr/include -I. -I. -D_PATH_TCSHELL='"/bin/tcsh"'  
-I/usr/include  sh.char.c
sh.char.c:1172: syntax error at end of input
*** Error code 1

Stop.
[hauke@mara] /<5>work/tcsh-6.16.00 >


because an apparently seldom-used #ifdef branch is broken. 
This is fixed by


[hauke@mara] /<5>work/tcsh-6.16.00 > diff -u sh.char.c sh.char.c~
--- sh.char.c   Wed Feb 18 22:55:37 2009
+++ sh.char.c~  Wed Mar  7 17:31:37 2007
@@ -233,8 +233,8 @@
 
 /*     252 udiaeresis  253 yacute      254 thorn       255 ydiaeresis  */
        _LET|_DOW,      _LET|_DOW,      _LET|_DOW,      _LET|_DOW,
-#endif /* SHORT_STRINGS */
 };
+#endif /* SHORT_STRINGS */
            
 #if defined(KANJI) && defined(SHORT_STRINGS) && defined(DSPMBYTE)
 /* original table */
[hauke@mara] /<5>work/tcsh-6.16.00 >


>How-To-Repeat:

Build shells/{standalone-}tcsh on an old NetBSD machine (1.5 here).

>Fix:

Apply the above patch.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index