[ttssh2-dev 577] Re: [ttssh2-commit] [10564] svnversion.h を tt-version.h で include するようにした

Back to archive index
masaru tsuchiyama m.tma****@gmail*****
2023年 2月 4日 (土) 07:22:11 JST


土山です。

r10558 (
https://github.com/TeraTermProject/build/actions/runs/4067773175/jobs/7005528450)
時点でビルドに成功していますが、
r10565 (
https://github.com/TeraTermProject/build/actions/runs/4077749453/jobs/7027145761)
時点でビルドに失敗しています。

https://github.com/TeraTermProject/build/actions/runs/4077749453/jobs/7027145761
の右上の歯車アイコンをクリックして、
"View raw logs" を選ぶとビルドログが見れますが、

その URL(
https://pipelines.actions.githubusercontent.com/serviceHosts/88108219-2f0d-4f63-9da9-68f67ed606a1/_apis/pipelines/1/runs/27/signedlogcontent/2?urlExpires=2023-02-03T22%3A18%3A42.2946500Z&urlSigningMethod=HMACV1&urlSignature=hcVo%2FAr9Tepg2qTYYZ1v2htidl3Csfik%2FeXuAmphpFI%3D
)
を見ると、

以下のようなエラーが出ています。

2023-02-02T19:08:32.3746587Z
2>D:\a\build\build\ttssh2\teraterm\ttpcmn\ttcmn_dup.cpp(190,2): error
C2065: 'TT_VERSION_MAJOR': undeclared identifier
2023-02-02T19:08:32.3748096Z
2>D:\a\build\build\ttssh2\teraterm\ttpcmn\ttcmn_dup.cpp(191,2): error
C2065: 'TT_VERSION_MINOR': undeclared identifier

2023-02-02T19:08:40.8602801Z
4>D:\a\build\build\ttssh2\teraterm\ttpmacro\ttl.cpp(2774,18): error C2065:
'TT_VERSION_MAJOR': undeclared identifier
2023-02-02T19:08:40.9071065Z
4>D:\a\build\build\ttssh2\teraterm\ttpmacro\ttl.cpp(2775,18): error C2065:
'TT_VERSION_MINOR': undeclared identifier

2023-02-02T19:08:47.3807369Z
6>D:\a\build\build\ttssh2\teraterm\ttpset\ttset.c(614,40): error C2065:
'TT_VERSION_MAJOR': undeclared identifier
2023-02-02T19:08:47.3808123Z
6>D:\a\build\build\ttssh2\teraterm\ttpset\ttset.c(614,66): error C2065:
'TT_VERSION_MINOR': undeclared identifier

ビルドの定期実行は一日一回に設定しているので、ビルドエラーを導入してから気づくまでに 1日のタイムラグが出てしまいます。
頻度を短くすることもできますが、何も変更してない場合は、不必要にビルドしてしまうことになるので、あまり好ましくないかと思います。

Git に移行して、feature ブランチに push して、ビルド成功の確認後、 PR で master(main)
にマージするような運用が早くできるといいのですが。





2023年2月4日(土) 0:44 NAGATA Shinya <maya.****@gmail*****>:

> 永田です。
>
> > svnversion.h を tt-version.h で include するようにした
> >
> > - バージョンに関する define を svnversion.h に一元化した
> >   - TT_VERSION_MAJOR
> >   - TT_VERSION_MINOR
> > - svnrev.pl
> >   - svnrev.pl 内のバージョン番号を svnversion.h に書き出すようにした
>
> これは、ttermpro.exe のファイルバージョンを指定する箇所が
> teraterm\common\tt-version.h
> から
> buildtools\svnrev\svnrev.pl
> に変わる、ということですか?
>
> そうだとすると、
> https://ttssh2.osdn.jp/manual/5/ja/reference/develop.html#rc-release
> 2. バージョンを一つインクリメントする
> に記述されているファイル一覧を修正する必要があります。
>
> --
> TeraTerm Project https://ttssh2.osdn.jp/
> NAGATA Shinya <maya.****@gmail*****>
>
> _______________________________________________
> ttssh2-dev mailing list
> ttssh****@lists*****
> https://lists.osdn.me/mailman/listinfo/ttssh2-dev
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <https://lists.osdn.me/mailman/archives/ttssh2-dev/attachments/20230204/622460fc/attachment-0001.html>


ttssh2-dev メーリングリストの案内
Back to archive index