IRIX Network Forums
swpkg/gendist issues: "Can't Parse subsystem expression" - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: Development/Porting (//forums.irixnet.org/forum-9.html)
+--- Thread: swpkg/gendist issues: "Can't Parse subsystem expression" (/thread-1865.html)



swpkg/gendist issues: "Can't Parse subsystem expression" - Raion - 02-11-2020

Hey guys, 

Trying my hand at swpkg and getting stuck:

Code:
kafuru 36# pwd
/tmp/build/usr/nekoware
kafuru 37# ls -R .
dist      man       patches   relnotes  sbin      src

./dist:
neko_thttpd-229.idb   neko_thttpd-229.spec

./man:
man8

./man/man8:
thttpd.8

./patches:

./relnotes:
neko_thttpd.txt

./sbin:
thttpd

./src:
thttpd-2.29.tar

kafuru 38# gendist -sbase /tmp/build/usr/nekoware -idb /tmp/build/usr/nekoware/dist/neko_thttpd-229.idb  -spec /root/neko_thttpd-229.spec -dist /tmp/build/usr/nekoware/ -dryrun
expected semicolon

/root/neko_thttpd-229.spec [line 10]: Can't parse subsystem expression


The contents of the spec file: 

Code:
product neko_thttpd-229
    id "thttpd is a simple, small, portable, fast, and secure HTTP server"
    image sw
        id "Software"
        version 1
        order 9999
        subsys eoe default
            id "Binaries"
            replaces self
            exp neko_thttpd-229.sw.eoe
        endsubsys
    endimage
    image man
        id "Man Pages"
        version 1
        order 9999
        subsys manpages default
            id "Man Pages"
            replaces self
            exp neko_thttpd-229.man.manpages
        endsubsys
    endimage
    image opt
        id "Optional Software"
        version 1
        order 9999
        subsys dist
            id "swpkg dist files"
            replaces self
            exp neko_thttpd-229.opt.dist
        endsubsys
        subsys relnotes
            id "Release Notes"
            replaces self
            exp neko_thttpd-229.opt.relnotes
        endsubsys
        subsys src
            id "Original Source Code"
            replaces self
            exp neko_thttpd-229.opt.src
        endsubsys
    endimage
endproduct


What the hell is going on?


RE: swpkg/gendist issues: "Can't Parse subsystem expression" - TruHobbyist - 02-11-2020

Don't use dashes, only underscores.


RE: swpkg/gendist issues: "Can't Parse subsystem expression" - Raion - 02-11-2020

Well that's nice. I feel retarded.

Thank you kindly TruHobbyist