On 11/09/2015 08:29 AM, Tom Eastep wrote:
> On 11/09/2015 07:24 AM, Tom Eastep wrote:
>
>>
>> I realized this morning that this is most likely due to missing 5.0.1
>> tracking branches. In that case, the build will use the 'master' branch
>> which is 5.0.2-RC1.
>>
>> In both the 'release' and 'trunk' repositories, you will need to create
>> a 5.0.1 tracking branch that tracks origin/5.0.1.
>>
>
> I've also just pushed a change to build50 that allows building from an
> existing tag. Without this change, the build always uses the HEAD of the
> version branch (or master if no version branch exists).

I updated to latest pulls

        cd ./trunk
        git reflog
                1 d0d3456 HEAD@{0}: clone: from 
git://git.code.sf.net/p/shorewall/code
        cd ../release
        git reflog
                1 a953f47 HEAD@{0}: clone: from 
git://git.code.sf.net/p/shorewall/release
        cd ../tools/
        git reflog
                1 dfeeb75 HEAD@{0}: clone: from 
git://git.code.sf.net/p/shorewall/tools

Then, building tarballs

        cd /usr/local/src/SHOREWALL-BUILD/build
        build50 -tcslL6ix 5.0.1.1

and, next rpms,

        build50 -rcslL6ix 5.0.1.1
                ...
                Building shorewall-core-5.0.1-1.noarch.rpm...
                Step "do_rpmbuild -ba /root/rpm//SPECS/shorewall-core.spec" 
FAILED

        tail -f shorewall_build_5.0.1.1.log
                ...
                shorewall6-lite-5.0.1.1/default.debian
                shorewall6-lite-5.0.1.1/COPYING
                shorewall6-lite-5.0.1.1/install.sh
                shorewall6-lite-5.0.1.1/shorecap
                
                Building shorewall-core-5.0.1-1.noarch.rpm...
                
                error: File /root/rpmbuild/SOURCES/shorewall-core-5.0.1.tgz: No 
such 
file or directory
                Building target platforms: noarch-linux
                Building for target noarch-linux
                
                Step "do_rpmbuild -ba /root/rpm//SPECS/shorewall-core.spec" 
FAILED

Checking,

        ls -al /root/rpmbuild/SOURCES/
                total 34M
                drwxr-xr-x 2 root root 4.0K Jul 14 15:37 ./
                drwxr-xr-x 9 root root 4.0K Jul 14 17:29 ../

is empty, because that's not where the tarballs are built. rather,

        grep ^RPMDIR= ../tools/build/build50
                RPMDIR=~/rpm/

and that's where they're installed, as defined, by 'build50'

        ls -al /root/rpm/SOURCES/
                total 64K
                drwxr-xr-x 2 root root 4.0K Nov 9 14:06 ./
                drwxr-xr-x 7 root root 4.0K Nov 9 14:00 ../
                -rw-r--r-- 1 root root 55K Nov 9 14:53 shorewall-core-5.0.1.tgz


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to