[packaging] [Bug 689] New: Build script cannot compile gcc on ubuntu 11.10

Kolab Bugzilla noreply at kolab.org
Sat Apr 7 19:11:29 CEST 2012


           Summary: Build script cannot compile gcc on ubuntu 11.10
           Product: Kolab
           Version: 2.3.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: packaging - openpkg
        AssignedTo: wickert at kolabsys.com
        ReportedBy: nyblom at kde.org
         QAContact: packaging-bugs at lists.kolabsys.com
       Ticket Type: ---

When running the build script on a ubuntu 11.10 box the build errors out when
trying to rebuild gcc using the newly built gcc package. The error is:

Configuring stage 2 in ./intl
configure: creating cache ./config.cache
checking whether /kolab/bin/make --no-print-directory sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for x86_64-unknown-linux-gnu-gcc... 
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage2-intl] Error 77
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.69443 (%build)

RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.69443 (%build)

gcc version 4.2.2 (OpenPKG-CURRENT)
configure:2090: $? = 0
configure:2092:  /kolab/RPM/TMP/gcc-4.2.2/obj/./prev-gcc/xgcc
-B/kolab/x86_64-unknown-linux-gnu/bin/ -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2095: $? = 1
configure:2118: checking for C compiler default output file name
configure:2121:  /kolab/RPM/TMP/gcc-4.2.2/obj/./prev-gcc/xgcc
-B/kolab/x86_64-unknown-linux-gnu/bin/ -g -O2   conftest.c  >&5
/kolab/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2124: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| /* end confdefs.h.  */
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:2163: error: C compiler cannot create executables

Configure bugmail: https://issues.kolab.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the packaging-bugs mailing list