Building SW from git/HEAD sources

when I exec a 

        touch shorewall-pkg.config
        SW_BUILD="/usr/local/src/shorewall-build/tools/build/build46"
        SW_BUILD_OPTS="-tr -cil6Ls"
        ${SW_BUILD} ${SW_BUILD_OPTS} 4.6.X.X

fails at

        ...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall-core-4.6.X.X.tgz...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall-4.6.X.X.tgz...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall6-4.6.X.X.tgz...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall-lite-4.6.X.X.tgz...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall-init-4.6.X.X.tgz...
        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall6-lite-4.6.X.X.tgz...
        Building shorewall-core-4.6.X-X.noarch.rpm...
        Step "do_rpmbuild -ba /usr/src/packages/SPECS/shorewall-core.spec" 
FAILED

checking

        cat $SW_BUILD
                ...
                do_rpmbuild() {
                    RPM=yes rpmbuild --target noarch-linux $@ >> $LOGFILE 2>&1
                }
                ...

testing

        rpmbuild --target noarch-linux -ba 
/usr/src/packages/SPECS/shorewall-core.spec

returns

        Building target platforms: noarch-linux
        Building for target noarch-linux
        error: File /usr/src/packages/SOURCES/shorewall-core-4.6.4.tgz: No such 
file or directory

Note above it reported

        Creating 
/usr/local/src/shorewall-build/BUILD/HEAD/shorewall-core-4.6.X.X.tgz...

but it's complaining about

        .../shorewall-core-4.6.4.tgz

being missing.

Shouldn't the build script search for the *specified* version's tarball?

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to