Discussion:
[Openvpn-users] Build-System ./build-complete --build-depcache
debbie10t
2017-05-08 13:50:29 UTC
Permalink
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
***@ub16-hyv-live-64:~/openvpn/bsys/windows-nsis$



What am I doing wrong ?

Thanks
Samuli Seppänen
2017-05-08 14:34:40 UTC
Permalink
Hi,
Post by debbie10t
Hi,
Build-System ./build-snapshot = works
Build-System ./build-complete = works
Build-System ./build-complete --build-depcache does not appear to work.
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.
(The end of the log is at line 9470)
https://paste.fedoraproject.org/paste/9rHQOmT7WGEgN2yZ5LFGG15M1UNdIGYhyRLivL9gydE=
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
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
debbie10t
2017-05-08 15:48:35 UTC
Permalink
Post by Samuli Seppänen
Hi,
Post by debbie10t
Hi,
Build-System ./build-snapshot = works
Build-System ./build-complete = works
Build-System ./build-complete --build-depcache does not appear to work.
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.
(The end of the log is at line 9470)
https://paste.fedoraproject.org/paste/9rHQOmT7WGEgN2yZ5LFGG15M1UNdIGYhyRLivL9gydE=
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
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.*)"
Post by Samuli Seppänen
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
Samuli Seppänen
2017-05-08 16:38:42 UTC
Permalink
Hi,
Post by debbie10t
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
./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.
Post by debbie10t
Another thing I notice which i think must be an error while building
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.
Post by debbie10t
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
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.*)"
Post by Samuli Seppänen
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
Илья Шипицин
2017-05-09 21:15:36 UTC
Permalink
Post by Samuli Seppänen
Hi,
Post by debbie10t
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
./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.
it might get broken after mixed build x86 + x86_64 was introduced.
I'll have a look
Post by Samuli Seppänen
Post by debbie10t
Another thing I notice which i think must be an error while building
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root//bin'
Post by debbie10t
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root///lib'
Post by debbie10t
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root///lib/engines'
Post by debbie10t
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root///lib/pkgconfig'
Post by debbie10t
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root//include'
Post by debbie10t
created directory
`/home/tct/openvpn/bsys/windows-nsis/tmp/build-x86_64/
depcache-root//include/openssl'
Post by debbie10t
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'
Post by debbie10t
//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.
Post by debbie10t
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
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.*)"
Post by Samuli Seppänen
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
------------------------------------------------------------
------------------
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
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Loading...