Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.2.0
    • Component/s: RPM
    • Labels:
      None

      Description

      22:53:17 [exec] /bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -I/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c+/Linux-amd64-64/include -I/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c/Linux-amd64-64/include -g -O2 -lcrypto -o wordcount-simple impl/wordcount-simple.o -L/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c/Linux-amd64-64/lib -L/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c+/Linux-amd64-64/lib -lhadooppipes -lhadooputils -lnsl -lssl -lpthread
      22:53:18 [exec] ./libtool: line 806: X--tag=CXX: command not found
      22:53:18 [exec] ./libtool: line 839: libtool: ignoring unknown tag : command not found
      22:53:18 [exec] ./libtool: line 806: X--mode=link: command not found
      22:53:18 [exec] ./libtool: line 956: *** Warning: inferring the mode of operation is deprecated.: command not found
      22:53:18 [exec] ./libtool: line 957: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
      22:53:18 [exec] gcc: no input files
      22:53:18 [exec] gcc: no input files
      22:53:18 [exec] gcc: no input files
      22:53:18 [exec] gcc: no input files
      22:53:18 [exec] ./libtool: line 2154: X-Wall: command not found
      22:53:18 [exec] ./libtool: line 2154: X-I/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c++/Linux-amd64-64/include: No such file or directory
      22:53:18 [exec] ./libtool: line 2154: X-I/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c++/Linux-amd64-64/include: No such file or directory
      22:53:18 [exec] ./libtool: line 2154: X-g: command not found
      22:53:18 [exec] ./libtool: line 2154: X-O2: command not found
      22:53:18 [exec] ./libtool: line 1892: X-L/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c++/Linux-amd64-64/lib: No such file or directory
      22:53:18 [exec] ./libtool: line 1892: X-L/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c++/Linux-amd64-64/lib: No such file or directory
      22:53:18 [exec] ./libtool: line 2318: Xwordcount-simple: command not found
      22:53:18 [exec] ./libtool: line 2323: X/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64: No such file or directory
      22:53:18 [exec] ./libtool: line 2330: Xwordcount-simple: command not found
      22:53:18 [exec] ./libtool: line 2338: mkdir /.libs: No such file or directory
      22:53:18 [exec] make[1]: Leaving directory `/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/c++-build/Linux-amd64-64/examples/pipes'
      22:53:18 [exec] mkdir: cannot create directory `/.libs': Permission denied
      22:53:18 [exec] make[1]: *** [wordcount-simple] Error 1
      22:53:18
      22:53:18 BUILD FAILED
      22:53:18 /var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build.xml:2059: exec returned: 2
      22:53:18
      22:53:18 Total time: 13 minutes 59 seconds
      22:53:19 error: Bad exit status from /var/tmp/rpm-tmp.R9Sx3d (%build)
      22:53:19
      22:53:19
      22:53:19 RPM build errors:
      22:53:19 Bad exit status from /var/tmp/rpm-tmp.R9Sx3d (%build)
      22:53:20 make: *** [/var/lib/jenkins/workspace/BigTop-Hadoop-Mageia/build/hadoop//.rpm] Error 1
      22:53:21 Build step 'Execute shell' marked build as failure
      22:53:21 [WARNINGS] Skipping publisher since build result is FAILURE
      22:53:21 Archiving artifacts
      22:53:23 Notifying upstream projects of job completion
      22:53:23 Finished: FAILURE

        Activity

        Hide
        Roman Shaposhnik added a comment -

        +1. LGTM.

        Show
        Roman Shaposhnik added a comment - +1. LGTM.
        Hide
        Bruno Mahé added a comment -

        So this error is due to some weird interaction between the autotools files and the ones available on Mageia, even though that's the same version on Fedora (where it works fine).

        A simple autoreconf will fix this issue and there is already a target to do exactly that: create-c++-configure
        This target is not part of the native build, so this patch just add a call to it.

        Show
        Bruno Mahé added a comment - So this error is due to some weird interaction between the autotools files and the ones available on Mageia, even though that's the same version on Fedora (where it works fine). A simple autoreconf will fix this issue and there is already a target to do exactly that: create-c++-configure This target is not part of the native build, so this patch just add a call to it.
        Hide
        Bruno Mahé added a comment - - edited

        Seems like a known libtool bug.
        See
        https://bugs.launchpad.net/ubuntu/+source/kdevelop/+bug/253286

        (and the work around listed on that ticket makes libtool proceed correctly).

        I will open a bug in Mageia bugtracker so the libtool package can be updated

        Show
        Bruno Mahé added a comment - - edited Seems like a known libtool bug. See https://bugs.launchpad.net/ubuntu/+source/kdevelop/+bug/253286 (and the work around listed on that ticket makes libtool proceed correctly). I will open a bug in Mageia bugtracker so the libtool package can be updated

          People

          • Assignee:
            Bruno Mahé
            Reporter:
            Bruno Mahé
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development