プロジェクト

全般

プロフィール

調査 #3420

Fedora23-64環境で、rpmパッケージ作成ビルドに失敗する

n.kawauchi8年以上前に追加. 6年以上前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
開始日:
2016/01/14
期日:
進捗率:

100%

予定工数:

説明

  • Fedora23の64bit環境(Fedora23-64)での問題。32bit環境(Fedora23)では正常にビルドできrpmパッケージが生成される
  • tags/RELEASE_1_1_1のソースを使ってrpmパッケージを作成するジョブ(21_openrtm-cxx-build-linux-package)でビルドに失敗する。
  • エラー内容
    • Jenkinsジョブのログ
      checking for g++... g++
      checking whether the C++ compiler works... yes
      checking for C++ compiler default output file name... a.out
      checking for suffix of executables... 
      checking whether we are cross compiling... configure: error: in `/tmp/workspace/21_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.1.1/packages/rpm/BUILD/OpenRTM-aist-1.1.1':
      configure: error: cannot run C++ compiled programs. ←★
      If you meant to cross compile, use `--host'.
      See `config.log' for more details.
      
    • config.logを確認
      configure:3569: error: in `/tmp/workspace/21_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.1.1/packages/rpm/BUILD/OpenRTM-aist-1.1.1':
      configure:3573: error: cannot run C++ compiled programs. ←★
      If you meant to cross compile, use `--host'.
      See `config.log' for more details.
      
    • configureを確認(行番号を表示)
         3563   test $ac_status = 0; }; }; then
         3564     cross_compiling=no
         3565   else
         3566     if test "$cross_compiling" = maybe; then
         3567         cross_compiling=yes
         3568     else
         3569         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
         3570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
         3571 as_fn_error "cannot run C++ compiled programs.    ←★
         3572 If you meant to cross compile, use \`--host'.
         3573 See \`config.log' for more details." "$LINENO" 5; }
         3574     fi
         3575   fi
      

履歴

#1 n.kawauchi約7年前に更新

  • ステータス新規 から 解決 に変更
  • 進捗率0 から 100 に変更
  • RELEASE_1_2_0 のため確認したところ、問題なくパッケージを作成できた
  • Jenkinsログ抜粋
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/SRPMS/OpenRTM-aist-1.2.0-0.fc23.src.rpm
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/RPMS/x86_64/OpenRTM-aist-1.2.0-0.fc23.x86_64.rpm
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/RPMS/x86_64/OpenRTM-aist-devel-1.2.0-0.fc23.x86_64.rpm
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/RPMS/x86_64/OpenRTM-aist-doc-1.2.0-0.fc23.x86_64.rpm
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/RPMS/x86_64/OpenRTM-aist-example-1.2.0-0.fc23.x86_64.rpm
    Wrote: /tmp/workspace/20_openrtm-cxx-build-linux-package/label/fedora23-64/OpenRTM-aist-1.2.0/packages/rpm/RPMS/x86_64/OpenRTM-aist-debuginfo-1.2.0-0.fc23.x86_64.rpm
    
  • 久しぶりにこの環境を使うということで、dnf updateしてジョブを実行したら正常終了となった
  • ということで、この問題は解決とする

#2 n-ando6年以上前に更新

  • ステータス解決 から 終了 に変更

他の形式にエクスポート: Atom PDF