swpkg/gendist issues: "Can't Parse subsystem expression"
#1
swpkg/gendist issues: "Can't Parse subsystem expression"
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?

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
(This post was last modified: 02-11-2020, 04:30 AM by Raion.)
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-11-2020, 03:54 AM
#2
RE: swpkg/gendist issues: "Can't Parse subsystem expression"
Don't use dashes, only underscores.
TruHobbyist
Developer

Trade Count: (0)
Posts: 195
Threads: 21
Joined: May 2018
Find Reply
02-11-2020, 01:16 PM
#3
RE: swpkg/gendist issues: "Can't Parse subsystem expression"
Well that's nice. I feel retarded.

Thank you kindly TruHobbyist

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,239
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
02-11-2020, 07:45 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)