Softethervpn: 壊れたarmhfビルド

作成日 2018年01月23日  ·  12コメント  ·  ソース: SoftEtherVPN/SoftEtherVPN

こんにちは!

419は、armhfビルドを壊したと私が信じる変更を導入しました:ビルドログ)。

432は、これが将来発生するのを防ぐ必要があります。これは、ビルドの現在の問題を修正するための別の問題です。

全てのコメント12件

ログファイルを見ると、次のことに気づきました。

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を実行しようとしています

ここでは、明確にするためにあるビルドログのためのarm64armhf -最初のものはOKですが、もう一つは失敗しました。

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条件が満たされていないため、configureスクリプトが呼び出されておらず、Makefileが生成されていないため、パッチファイルを適用できず、ビルドエラーが発生することは明らかです。 このリストのどの値とも一致しないと思われるので、armv8lの値をなんとかして印刷してください。

armv7l 、突然動作

PPAでのビルドはまだ時々失敗しますが、リポジトリを介してアクセスできる誰かが、少なくともマスターブランチでバッジ「ビルド成功\失敗」を有効にするための資格情報について私に連絡できますか? PR上にビルドするテストを作成することは別の問題であり、私はそれを助けることはできませんが、マスターが壊れたときは確かに知っているので、みんなにそれを知ってもらいたいです。

こんにちは@paskal 。 あなたはgmail.comでmoatazdotelmasry2で私に連絡することができます

こんにちは@paskal暗号化されたクレデンシャルを

しかし、これはリポジトリにプッシュするだけです。githubでバッジを取得するにはどうすればよいですか? それとも、ランチパッドのバッジを意味しますか?

Build Status
これにより、この瞬間からエラーが通知されるはずです。 ただし、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をお試し

(ランチパッドの設定方法はまだわかりませんが、ubuntuのdebマジックが解決されたので、「dhbuild-arch」ステップを追加しました)

Launchpadのデプロイは私が考えていたものではなく、ビルドのバッジもありません(さまざまなアーキテクチャやOSバージョンのビルドが多数あるため)。 これを閉じて、アームビルドのチェックについては#432で説明し、現在の状況の修正は#462です。

このページは役に立ちましたか?
0 / 5 - 0 評価