Project

General

Profile

調査 #3420

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

Added by n.kawauchi almost 7 years ago. Updated about 5 years ago.

Status:
終了
Priority:
通常
Assignee:
-
Target version:
Start date:
01/14/2016
Due date:
% Done:

100%

Estimated time:

Description

  • 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
      

History

#1 Updated by n.kawauchi almost 6 years ago

  • Status changed from 新規 to 解決
  • % Done changed from 0 to 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 Updated by n-ando about 5 years ago

  • Status changed from 解決 to 終了

Also available in: Atom PDF