Re: [Openvpn-users] Build-System ./build-complete --build-depcache

2017-05-08 Thread Samuli Seppänen
Hi,

> 
> rm -fr tmp and ./build-complete --build-depcache = exact same result.
> 
> Searching for openvpn bin
> :/home/tct/openvpn/bsys/windows-nsis# find tmp | grep vpn | grep bin
> tmp/image-x86_64/openvpn/bin
> tmp/image-x86_64/openvpn/bin/openssl.exe
> tmp/image-x86_64/openvpn/bin/liblzo2-2.dll
> tmp/image-x86_64/openvpn/bin/ssleay32.dll
> tmp/image-x86_64/openvpn/bin/libpkcs11-helper-1.dll
> tmp/image-x86_64/openvpn/bin/c_rehash
> tmp/image-x86_64/openvpn/bin/libeay32.dll
> tmp/image-i686/openvpn/bin
> tmp/image-i686/openvpn/bin/openssl.exe
> tmp/image-i686/openvpn/bin/liblzo2-2.dll
> tmp/image-i686/openvpn/bin/ssleay32.dll
> tmp/image-i686/openvpn/bin/libpkcs11-helper-1.dll
> tmp/image-i686/openvpn/bin/c_rehash
> tmp/image-i686/openvpn/bin/libeay32.dll
> 
> From what I can tell (tho my sh foo is not great)
> ./build-complete --build-depcache does not build openvpn
> eg:
> ./build-complete --help
> --build-depcache   create depcache only (no program build)
> 
> but then expects openvpn to be there .. ?

Yes, depcache does not build OpenVPN, only the dependencies. I'll have
to do some testing to figure out what it is doing and whether this is a
feature or a bug. I recall having some depcache-related issue a while
back which vaguely resembles this one.

> Another thing I notice which i think must be an error while building
> openssl:
> 
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//bin'
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib'
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib/engines'
> 
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib/pkgconfig'
> 
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//include'
> 
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//include/openssl'
> 
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root/etc'
> created directory
> `/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root/etc/ssl'
> 
> 
> //bin, ///lib & //include .. is this intentional and it occurs many
> times throughout the log ?

This is probably due an extra "/"(s) somewhere. Not a problem, but looks
silly and should be fixed if possible.

> Also, windows-nsis/tmp/build-x86_64/depcache-root does not exist once
> the script fails .. (nor i686)
> 
> Finally, "FATAL: please specify openvpn binary tarball" AFAICT, the
> tarball is specified by build-complete:
> 
> ROOT="${TMPDIR}/installer" \
>   ./build \
>   --installer-version="${INSTALLER_VERSION}" \
>   --special-build="${SPECIAL_BUILD}" \
>   --openvpn-bin-tarball-i686=$(ls
> ${TMPDIR}/image-i686/openvpn-i686-*-bin.*) \
>   --openvpn-bin-tarball-x86_64=$(ls
> ${TMPDIR}/image-x86_64/openvpn-x86_64-*-bin.*) \
> 
> So that error message is a bit misleading, maybe it could read
> "FATAL: cannot find specified openvpn binary tarball
> $(ls ${TMPDIR}/image-i686/openvpn-i686-*-bin.*)"
> 
> 
>>
>> If this is a bug then we should add a --build-depcache test to Travis so
>> that the depcache does not break again.
>>
> 
> I can open a ticket for it, if it is a bug ? let me know
> 
Not sure at this point, but I'll investigate.

-- 
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock


0x40864578.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Re: [Openvpn-users] Build-System ./build-complete --build-depcache

2017-05-08 Thread debbie10t


On 08/05/17 15:34, Samuli Seppänen wrote:
> Hi,
>
> On 08/05/2017 16:50, debbie10t wrote:
>> Hi,
>>
>> Build-System ./build-snapshot = works
>> Build-System ./build-complete = works
>> Build-System ./build-complete --build-depcache does not appear to work.
>>
>> OS:
>>
>> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-75-generic x86_64)
>>
>>   * Documentation:  https://help.ubuntu.com
>>   * Management: https://landscape.canonical.com
>>   * Support:https://ubuntu.com/advantage
>>
>> 67 packages can be updated.
>> 0 updates are security updates.
>>
>>
>>
>> This is the complete log with a file list of ./tmp included:
>> (The end of the log is at line 9470)
>>
>> https://paste.fedoraproject.org/paste/9rHQOmT7WGEgN2yZ5LFGG15M1UNdIGYhyRLivL9gydE=
>>
>>
>>
>> This is the error at the end of the log:
>>
>> make[1]: Leaving directory
>> '/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/pkcs11-helper-1.11'
>> tap-windows
>> Fixup libtool files
>> Restore libtool files
>> ls: cannot access 'tmp/image-i686/openvpn-i686-*-bin.*': No such file or
>> directory
>> ls: cannot access 'tmp/image-x86_64/openvpn-x86_64-*-bin.*': No such
>> file or directory
>> FATAL: please specify openvpn binary tarball
>> FATAL: pack installer >&2
>> tct@ub16-hyv-live-64:~/openvpn/bsys/windows-nsis$
>>
>>
>>
>> What am I doing wrong ?
>
> Not sure. I would remove the windows-nsis/tmp folder and retry. If the
> build still fails I'd look into tmp/ and see what it actually contains
> and move on from there.

I cannot "move on from there" as I simply don't understand enough of the
script to make any further sense of it.

Included in the pastebin above, there is a complete list of all the
files under windows-nsis/tmp

rm -fr tmp and ./build-complete --build-depcache = exact same result.

Searching for openvpn bin
:/home/tct/openvpn/bsys/windows-nsis# find tmp | grep vpn | grep bin
tmp/image-x86_64/openvpn/bin
tmp/image-x86_64/openvpn/bin/openssl.exe
tmp/image-x86_64/openvpn/bin/liblzo2-2.dll
tmp/image-x86_64/openvpn/bin/ssleay32.dll
tmp/image-x86_64/openvpn/bin/libpkcs11-helper-1.dll
tmp/image-x86_64/openvpn/bin/c_rehash
tmp/image-x86_64/openvpn/bin/libeay32.dll
tmp/image-i686/openvpn/bin
tmp/image-i686/openvpn/bin/openssl.exe
tmp/image-i686/openvpn/bin/liblzo2-2.dll
tmp/image-i686/openvpn/bin/ssleay32.dll
tmp/image-i686/openvpn/bin/libpkcs11-helper-1.dll
tmp/image-i686/openvpn/bin/c_rehash
tmp/image-i686/openvpn/bin/libeay32.dll

 From what I can tell (tho my sh foo is not great)
./build-complete --build-depcache does not build openvpn
eg:
./build-complete --help
--build-depcache   create depcache only (no program build)

but then expects openvpn to be there .. ?

Another thing I notice which i think must be an error while building
openssl:

created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//bin'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib/engines'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root///lib/pkgconfig'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//include'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root//include/openssl'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root/etc'
created directory 
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/depcache-root/etc/ssl'

//bin, ///lib & //include .. is this intentional and it occurs many
times throughout the log ?

Also, windows-nsis/tmp/build-x86_64/depcache-root does not exist once
the script fails .. (nor i686)

Finally, "FATAL: please specify openvpn binary tarball" AFAICT, the
tarball is specified by build-complete:

ROOT="${TMPDIR}/installer" \
   ./build \
   --installer-version="${INSTALLER_VERSION}" \
   --special-build="${SPECIAL_BUILD}" \
   --openvpn-bin-tarball-i686=$(ls 
${TMPDIR}/image-i686/openvpn-i686-*-bin.*) \
   --openvpn-bin-tarball-x86_64=$(ls 
${TMPDIR}/image-x86_64/openvpn-x86_64-*-bin.*) \

So that error message is a bit misleading, maybe it could read
"FATAL: cannot find specified openvpn binary tarball
$(ls ${TMPDIR}/image-i686/openvpn-i686-*-bin.*)"


>
> If this is a bug then we should add a --build-depcache test to Travis so
> that the depcache does not break again.
>

I can open a ticket for it, if it is a bug ? let me know

thanks



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Re: [Openvpn-users] Build-System ./build-complete --build-depcache

2017-05-08 Thread Samuli Seppänen
Hi,

On 08/05/2017 16:50, debbie10t wrote:
> Hi,
> 
> Build-System ./build-snapshot = works
> Build-System ./build-complete = works
> Build-System ./build-complete --build-depcache does not appear to work.
> 
> OS:
> 
> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-75-generic x86_64)
> 
>   * Documentation:  https://help.ubuntu.com
>   * Management: https://landscape.canonical.com
>   * Support:https://ubuntu.com/advantage
> 
> 67 packages can be updated.
> 0 updates are security updates.
> 
> 
> 
> This is the complete log with a file list of ./tmp included:
> (The end of the log is at line 9470)
> 
> https://paste.fedoraproject.org/paste/9rHQOmT7WGEgN2yZ5LFGG15M1UNdIGYhyRLivL9gydE=
> 
> 
> 
> This is the error at the end of the log:
> 
> make[1]: Leaving directory 
> '/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/pkcs11-helper-1.11'
> tap-windows
> Fixup libtool files
> Restore libtool files
> ls: cannot access 'tmp/image-i686/openvpn-i686-*-bin.*': No such file or 
> directory
> ls: cannot access 'tmp/image-x86_64/openvpn-x86_64-*-bin.*': No such 
> file or directory
> FATAL: please specify openvpn binary tarball
> FATAL: pack installer >&2
> tct@ub16-hyv-live-64:~/openvpn/bsys/windows-nsis$
> 
> 
> 
> What am I doing wrong ?

Not sure. I would remove the windows-nsis/tmp folder and retry. If the
build still fails I'd look into tmp/ and see what it actually contains
and move on from there.

If this is a bug then we should add a --build-depcache test to Travis so
that the depcache does not break again.

-- 
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock


0x40864578.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users


[Openvpn-users] Build-System ./build-complete --build-depcache

2017-05-08 Thread debbie10t
Hi,

Build-System ./build-snapshot = works
Build-System ./build-complete = works
Build-System ./build-complete --build-depcache does not appear to work.

OS:

Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-75-generic x86_64)

  * Documentation:  https://help.ubuntu.com
  * Management: https://landscape.canonical.com
  * Support:https://ubuntu.com/advantage

67 packages can be updated.
0 updates are security updates.



This is the complete log with a file list of ./tmp included:
(The end of the log is at line 9470)

https://paste.fedoraproject.org/paste/9rHQOmT7WGEgN2yZ5LFGG15M1UNdIGYhyRLivL9gydE=



This is the error at the end of the log:

make[1]: Leaving directory 
'/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/pkcs11-helper-1.11'
tap-windows
Fixup libtool files
Restore libtool files
ls: cannot access 'tmp/image-i686/openvpn-i686-*-bin.*': No such file or 
directory
ls: cannot access 'tmp/image-x86_64/openvpn-x86_64-*-bin.*': No such 
file or directory
FATAL: please specify openvpn binary tarball
FATAL: pack installer >&2
tct@ub16-hyv-live-64:~/openvpn/bsys/windows-nsis$



What am I doing wrong ?

Thanks

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users