๋ก๊ทธ ํ์ผ์ ์ดํด๋ณด๋ฉด ๋ค์๊ณผ ๊ฐ์ ์ฌ์ค์ ์ ์ ์์ต๋๋ค.
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ armv8l = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ armv8l = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ armv8l = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi
dh override_dh_auto_configure
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -a
dh_auto_test -a
fakeroot debian/rules binary-arch
dh binary-arch
dh_testroot -a
dh_prep -a
rm -f -- debian/softether-vpnbridge.substvars debian/softether-vpnclient.substvars debian/softether-vpncmd.substvars debian/softether-vpnserver.substvars
rm -fr -- debian/.debhelper/generated/softether-vpnbridge/ debian/softether-vpnbridge/ debian/tmp/ debian/.debhelper/generated/softether-vpnclient/ debian/softether-vpnclient/ debian/.debhelper/generated/softether-vpncmd/ debian/softether-vpncmd/ debian/.debhelper/generated/softether-vpnserver/ debian/softether-vpnserver/
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
patch -f < debian/makefile.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile 2014-02-04 21:20:33.422762017 +0000
|+++ Makefile.old 2014-02-04 21:20:10.298761727 +0000
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
debian/rules:16: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2
Makefile์ ์ฐพ์ ์ ์๊ธฐ ๋๋ฌธ์ ์คํจํ ๊ฒ ๊ฐ์ต๋๋ค. ์ฆ, ์์ฑ๋์ง ์์์ผ๋ฏ๋ก ./configure has not been called at all
๋ค์ ์ค์ ์ถ๊ฐํ๋ค๊ณ ์๊ฐํ์ญ๋๊น?
if [ armv8l = 'armvhfl' ]; then echo -e "1\n1\n" | ./configure; fi
๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ๊ฒ์ธ๊ฐ?
ํ ์คํธ๋ฅผ ์ํด ๋ด ์ปดํจํฐ์ qemu์์ armhf๋ฅผ ์คํํ๋ ค๊ณ ํฉ๋๋ค.
๋ช ํํ ํ๊ธฐ ์ํด arm64 ๋ฐ armhf์ ๋ํ ๋น๋ ๋ก๊ทธ ๊ฐ ์์ต๋๋ค. ์ฒซ ๋ฒ์งธ๋ ์ ์์ด๊ณ ๋ ๋ฒ์งธ๋ ์คํจํ์ต๋๋ค.
arm64์์:
dh build-arch
dh_update_autotools_config -a
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ aarch64 = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ aarch64 = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ aarch64 = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ aarch64 = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ aarch64 = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
---------------------------------------------------------------------
SoftEther VPN for Unix
Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
Copyright (c) Daiyuu Nobori. All Rights Reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
---------------------------------------------------------------------
Welcome to the corner-cutting configure script !
The Makefile is generated. Run 'make' to build SoftEther VPN.
if [ aarch64 = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi
dh override_dh_auto_configure
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
์ด์ ์ด๊ฒ์ armhf์ ์ถ๋ ฅ๊ณผ ๋น๊ตํ์ญ์์ค.
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ armv8l = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ armv8l = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ armv8l = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ armv8l = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi
dh override_dh_auto_configure
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
armhf์ ๊ฒฝ์ฐ if ์กฐ๊ฑด์ด ์ถฉ์กฑ๋์ง ์์ ๊ตฌ์ฑ ์คํฌ๋ฆฝํธ๊ฐ ํธ์ถ๋์ง ์์ Makefile์ด ์์ฑ๋์ง ์์ ํจ์น ํ์ผ์ ์ ์ฉํ ์ ์์ด ๋น๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ ๊ฒ์ด ๋งค์ฐ ๋ถ๋ช ํฉ๋๋ค. armv8l์ ๊ฐ์ด ์ด ๋ชฉ๋ก์ ์ด๋ค ๊ฐ๊ณผ๋ ์ผ์นํ์ง ์๋ ๊ฒ ๊ฐ์์ ์ด๋ป๊ฒ๋ ์ธ์ํด ์ฃผ์๊ฒ ์ต๋๊น?
armv7l
์ด๊ณ ๊ฐ์๊ธฐ ์๋ ํ๊ธฐ
PPA์์ ๋น๋๊ฐ ์ฌ์ ํ ์คํจํ๋ ๊ฒฝ์ฐ๊ฐ ์์ต๋๋ค. repo๋ฅผ ํตํด ์ก์ธ์คํ ์ ์๋ ์ฌ๋์ด ์ต์ํ ๋ง์คํฐ ๋ธ๋์น์์ "๋น๋ ์ฑ๊ณต\์คํจ" ๋ฐฐ์ง๋ฅผ ํ์ฑํํ๊ธฐ ์ํด ์๊ฒฉ ์ฆ๋ช ์ ์ป๊ธฐ ์ํด ์ ์๊ฒ ์ฐ๋ฝํ ์ ์์ต๋๊น? PR ์์ ํ ์คํธ ๋น๋๋ฅผ ์์ฑํ๋ ๊ฒ์ ๋ณ๊ฐ์ ๋ฌธ์ ์ด๊ณ ๋๋ ๊ทธ๊ฒ์ ๋์ธ ์ ์์ง๋ง ๋ง์คํฐ๊ฐ ์ธ์ ๊ณ ์ฅ ๋ฌ๋์ง ํ์คํ ์๊ณ ์์ผ๋ฉฐ ๋ชจ๋ ์ฌ๋๋ค์ด ๊ทธ๊ฒ์ ์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค.
์๋ ํ์ธ์ @paskal ์ ๋๋ค. gmail.com์ moataz dot elmasry2์์ ์ ์๊ฒ ์ฐ๋ฝํ ์ ์์ต๋๋ค.
์๋ ํ์ธ์ @paskal travis-ci์ ์ํธํ๋ ์๊ฒฉ ์ฆ๋ช ์ ์ถ๊ฐํ๊ณ ํธ์ํ์ต๋๋ค.
ํ์ง๋ง ์ด๊ฒ์ ์ ์ฅ์๋ก ํธ์๋ ๊ฒ์ ๋๋ค. github์์ ๋ฐฐ์ง๋ฅผ ๋ฐ์ผ๋ ค๋ฉด ์ด๋ป๊ฒ ํ์๊ฒ ์ต๋๊น? ์๋๋ฉด ๋ฐ์นํจ๋์ ๋ฐฐ์ง๋ฅผ ๋ง์ํ์๋ ๊ฑด๊ฐ์?
์ด ์๊ฐ๋ถํฐ ์ค๋ฅ๋ฅผ ์๋ ค์ผ ํ ๊ฒ ๊ฐ์ต๋๋ค. ๊ทธ๋ฌ๋ creds์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
Deploy failed! Launchpad credentials invalid. 401
https://travis-ci.org/SoftEtherVPN/SoftEtherVPN/jobs/350054996
์๊ฒฉ ์ฆ๋ช
์ ์
๋ฐ์ดํธํ์ต๋๋ค. ์ฌ์ ํ ์ป๋ ์ค:
Deploy failed! Launchpad credentials invalid. 401
SE๊ฐ ์คํจํ ๊ฒ์ผ๋ก ํ์๋์ง ์๋๋ก ๋ฐฐํฌ ์ค๋ํซ์ ์ ๊ฑฐํด์ผ ํ์ต๋๋ค. ๋๋ ์ด ๋ฌธ์ ์ ๋ํด ๋ณ๋์ ์ง์ ์์ ์์ ํ๋ ๊ฒ์ ์ ํธํฉ๋๋ค.
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/462 ๋ฅผ ์๋ํด ์ฃผ์๊ฒ ์ต๋๊น?
(์์ง ๋ฐ์นํจ๋๋ฅผ ์ค์ ํ๋ ๋ฐฉ๋ฒ์ ์ฐพ์ง ๋ชปํ์ง๋ง ์ฐ๋ถํฌ์์ deb ๋งค์ง์ ํด๊ฒฐํ๊ธฐ ๋๋ฌธ์ "dh build-arch" ๋จ๊ณ๋ฅผ ์ถ๊ฐํ์ต๋๋ค)
Launchpad ๋ฐฐํฌ๋ ๋ด๊ฐ ์ผ๋์ ๋ ๊ฒ์ด ์๋๋ฉฐ ๋น๋์ ๋ํ ๋ฐฐ์ง๊ฐ ์์ต๋๋ค(๋ค๋ฅธ ์ํคํ ์ฒ ๋ฐ OS ๋ฒ์ ์ ๋ํ ๋ง์ ๋น๋๊ฐ ์๊ธฐ ๋๋ฌธ์). ์ด๊ฒ์ ๋ซ๊ณ Arm ๋น๋ ํ์ธ์ #432์์ ๋ ผ์๋๊ณ ํ์ฌ ์ํฉ์ ๋ํ ์์ ์ #462์ ๋๋ค.