Subject: print-PLIST error
To: None <tech-pkg@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 06/04/2005 12:55:50
Hi!

While updating wip/liquidwar, I got the following problem
with print-PLIST (with up-to-date pkgsrc from now):

# make print-PLIST
@comment $NetBSD$
/usr/bin/awk: syntax error at source line 1
 context is
        );                               if (0) print $0;                  =
     next;                                            }                    =
          /^@exec ${MKDIR} >>>  %D/share\ <<< /application-registry$/ { nex=
t; } /^@dirrm share\/application-registry$/  { print "@comment in xdg-dirs:=
 " $0; next; } /^@exec ${MKDIR} %D/share\/applications$/ { next; } /^@dirrm=
 share\/applications$/  { print "@comment in xdg-dirs: " $0; next; } /^@exe=
c ${MKDIR} %D/share\/desktop-directories$/ { next; } /^@dirrm share\/deskto=
p-directories$/  { print "@comment in xdg-dirs: " $0; next; } /^@exec ${MKD=
IR} %D/share\/icons$/ { next; } /^@dirrm share\/icons$/  { print "@comment =
in xdg-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/images$/ { next; } /^=
@dirrm share\/images$/  { print "@comment in xdg-dirs: " $0; next; } /^@exe=
c ${MKDIR} %D/share\/mime-info$/ { next; } /^@dirrm share\/mime-info$/  { p=
rint "@comment in xdg-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/pixmap=
s$/ { next; } /^@dirrm share\/pixmaps$/  { print "@comment in xdg-dirs: " $=
0; next; } /^@exec ${MKDIR} %D/share\/sounds$/ { next; } /^@dirrm share\/so=
unds$/  { print "@comment in xdg-dirs: " $0; next; } /^@exec ${MKDIR} %D/sh=
are\/themes$/ { next; } /^@dirrm share\/themes$/  { print "@comment in xdg-=
dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome$/ { next; } /^@dirrm s=
hare\/gnome$/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MK=
DIR} %D/share\/gnome\/apps$/ { next; } /^@dirrm share\/gnome\/apps$/  { pri=
nt "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome=
\/apps\/Applications$/ { next; } /^@dirrm share\/gnome\/apps\/Applications$=
/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/shar=
e\/gnome\/apps\/Development$/ { next; } /^@dirrm share\/gnome\/apps\/Develo=
pment$/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %=
D/share\/gnome\/apps\/Games$/ { next; } /^@dirrm share\/gnome\/apps\/Games$=
/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/shar=
e\/gnome\/apps\/Graphics$/ { next; } /^@dirrm share\/gnome\/apps\/Graphics$=
/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/shar=
e\/gnome\/apps\/Internet$/ { next; } /^@dirrm share\/gnome\/apps\/Internet$=
/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/shar=
e\/gnome\/apps\/Multimedia$/ { next; } /^@dirrm share\/gnome\/apps\/Multime=
dia$/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/=
share\/gnome\/apps\/Settings$/ { next; } /^@dirrm share\/gnome\/apps\/Setti=
ngs$/  { print "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/=
share\/gnome\/apps\/Settings\/Desktop$/ { next; } /^@dirrm share\/gnome\/ap=
ps\/Settings\/Desktop$/  { print "@comment in gnome2-dirs: " $0; next; } /^=
@exec ${MKDIR} %D/share\/gnome\/apps\/Settings\/Peripherals$/ { next; } /^@=
dirrm share\/gnome\/apps\/Settings\/Peripherals$/  { print "@comment in gno=
me2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/apps\/Settings\/S=
ession$/ { next; } /^@dirrm share\/gnome\/apps\/Settings\/Session$/  { prin=
t "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\=
/apps\/System$/ { next; } /^@dirrm share\/gnome\/apps\/System$/  { print "@=
comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/app=
s\/Utilities$/ { next; } /^@dirrm share\/gnome\/apps\/Utilities$/  { print =
"@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/h=
elp$/ { next; } /^@dirrm share\/gnome\/help$/  { print "@comment in gnome2-=
dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/fdl$/ { next; }=
 /^@dirrm share\/gnome\/help\/fdl$/  { print "@comment in gnome2-dirs: " $0=
; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/fdl\/C$/ { next; } /^@dir=
rm share\/gnome\/help\/fdl\/C$/  { print "@comment in gnome2-dirs: " $0; ne=
xt; } /^@exec ${MKDIR} %D/share\/gnome\/help\/fdl\/C\/figures$/ { next; } /=
^@dirrm share\/gnome\/help\/fdl\/C\/figures$/  { print "@comment in gnome2-=
dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/gpl$/ { next; }=
 /^@dirrm share\/gnome\/help\/gpl$/  { print "@comment in gnome2-dirs: " $0=
; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/gpl\/C$/ { next; } /^@dir=
rm share\/gnome\/help\/gpl\/C$/  { print "@comment in gnome2-dirs: " $0; ne=
xt; } /^@exec ${MKDIR} %D/share\/gnome\/help\/gpl\/C\/figures$/ { next; } /=
^@dirrm share\/gnome\/help\/gpl\/C\/figures$/  { print "@comment in gnome2-=
dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/lgpl$/ { next; =
} /^@dirrm share\/gnome\/help\/lgpl$/  { print "@comment in gnome2-dirs: " =
$0; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/lgpl\/C$/ { next; } /^@=
dirrm share\/gnome\/help\/lgpl\/C$/  { print "@comment in gnome2-dirs: " $0=
; next; } /^@exec ${MKDIR} %D/share\/gnome\/help\/lgpl\/C\/figures$/ { next=
; } /^@dirrm share\/gnome\/help\/lgpl\/C\/figures$/  { print "@comment in g=
nome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/control-center-2.0$/ {=
 next; } /^@dirrm share\/control-center-2.0$/  { print "@comment in gnome2-=
dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/control-center-2.0\/capplets=
$/ { next; } /^@dirrm share\/control-center-2.0\/capplets$/  { print "@comm=
ent in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/control-center=
-2.0\/icons$/ { next; } /^@dirrm share\/control-center-2.0\/icons$/  { prin=
t "@comment in gnome2-dirs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome-=
2.0$/ { next; } /^@dirrm share\/gnome-2.0$/  { print "@comment in gnome2-di=
rs: " $0; next; } /^@exec ${MKDIR} %D/share\/gnome-2.0\/ui$/ { next; } /^@d=
irrm share\/gnome-2.0\/ui$/  { print "@comment in gnome2-dirs: " $0; next; =
} /^@exec ${MKDIR} %D/share\/gnome\/wm-properties$/ { next; } /^@dirrm shar=
e\/gnome\/wm-properties$/  { print "@comment in gnome2-dirs: " $0; next; } =
                                  { print $0; }
/usr/bin/awk: bailing out at source line 1
*** Error code 2

Stop.

Any ideas?
 Thomas