Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] compiler flags issue on openSUSE 11.2 (gcc4.4.1) and factory
  • From: Di Pe <dipeit@xxxxxxxxx>
  • Date: Fri, 16 Apr 2010 20:10:23 -0700
  • Message-id: <r2q3b6787961004162010leafe1711id24a16f25d1069ff@xxxxxxxxxxxxxx>
OK, did that but halts before it can finish the configure. Is there
another way to access the logs?

an alternative solution would be:

ln -s /usr/include/et/com_err.h /usr/include/com_err.h

that's how I got it to work on my own box. But I could not do that in
the build service because I was getting permission denied errors.

Thanks

#
# %configure
# cat config.log
# %{__make} %{?_smp_mflags}
#
# %install
# #%{__rm} -rf %{buildroot} #not needed
# %{__make} DESTDIR=%{buildroot} install
#



Using BUILD_ROOT=/abuild/root_8/.mount
Using BUILD_ARCH=x86_64:i686:i586:i486:i386
Doing xen build in /dev/abuild/8_root


build22 started "build msktutil.spec" at Fri Apr 16 22:36:06 UTC 2010.

Building msktutil for project 'home:dipe' repository 'openSUSE_11.2'
arch 'x86_64' srcmd5 'b92ec11f13803a767e9d68f94555f1b4'

processing specfile /abuild/root_8/.build-srcdir/msktutil.spec ...
running changelog2spec --target rpm --file
/abuild/root_8/.build-srcdir/msktutil.spec
init_buildsystem --cachedir /var/cache/build --prepare --clean
--rpmlist /abuild/root_8/.build.rpmlist
/abuild/root_8/.build-srcdir/msktutil.spec build rpmlint-Factory ...
preinstalling aaa_base...
preinstalling acl...
preinstalling attr...
preinstalling bash...
preinstalling coreutils...
preinstalling diffutils...
preinstalling filesystem...
preinstalling fillup...
preinstalling glibc...
preinstalling grep...
preinstalling insserv...
preinstalling libacl...
preinstalling libattr...
preinstalling libbz2-1...
preinstalling libgcc44...
preinstalling libxcrypt...
preinstalling m4...
preinstalling libncurses5...
preinstalling pam...
preinstalling permissions...
preinstalling libreadline6...
preinstalling rpm...
preinstalling sed...
preinstalling tar...
preinstalling zlib...
preinstalling libselinux1...
preinstalling liblzma0...
preinstalling libcap2...
preinstalling libpcre0...
preinstalling libpopt0...
preinstalling libelf1...
preinstalling liblua5_1...
preinstalling util-linux...
preinstalling perl-base...
preinstalling libdb-4_5...
preinstalling libsepol1...
preinstalling libblkid1...
preinstalling libuuid1...
copying packages...
reordering...done
booting XEN kernel ...
xm create -c /var/run/bsworker_8/build/xen.conf name=build:8_root
memory=750 disk=phy:/dev/abuild/8_root,hda1,w
disk=phy:/dev/abuild/8_swap,hda2,w extra=quiet init=/.build/build
panic=1 console=ttyS0
Using config file "/var/run/bsworker_8/build/xen.conf".
Started domain build:8_root
PCI: Fatal: No config space access function found
i8042.c: No controller found.
doing fast boot
FATAL: Module ext4 not found.
Creating device nodes with udev
Boot logging started on /dev/xvc0(/dev/console) at Fri Apr 16 22:36:29 2010
Waiting for device /dev/hda1 to appear: ok
fsck 1.41.1 (01-Sep-2008)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1
/dev/hda1: clean, 2561/1826816 files, 185686/7296000 blocks
fsck succeeded. Mounting root device read-only.
Mounting root /dev/hda1
mount -o ro,defaults -t ext3 /dev/hda1 /root
mount: can't find /root/proc in /etc/fstab or /etc/mtab
2nd stage started in virtual machine
machine type: x86_64
swapon on /dev/hda2
swapon: /dev/hda2: found swap v1 signature string for 4 KiB PAGE_SIZE

swapon: /dev/hda2: pagesize=4096, swapsize=2097152000, devsize=2097152000
mount: none already mounted or //proc busy
mount: according to mtab, none is already mounted on /proc
logging output to //.build.log...
processing specfile /.build-srcdir/msktutil.spec ...
init_buildsystem --cachedir /var/cache/build --repository zypp://
/.build-srcdir/msktutil.spec build rpmlint-Factory ...
running aaa_base preinstall script
running aaa_base postinstall script
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...new
initializing rpm db...
installing filesystem-11.2-12.2
installing pcre-7.9.0-2.3.1
installing terminfo-base-5.6-91.2
installing glibc-2.10.1-10.4
installing audit-libs-1.7.13-4.2
installing fillup-1.42-245.3
installing gdbm-1.8.3-373.7
installing glibc-locale-2.10.1-10.4
installing keyutils-libs-1.2-109.2
installing libattr-2.4.44-2.2
installing libbz2-1-1.0.5-36.6
installing libcap2-2.16-4.2
installing libdb-4_5-4.5.20-98.4
installing libelf1-0.142-3.7
installing libgmp3-4.3.1-2.2
installing libltdl7-2.2.6-47.7
installing liblua5_1-5.1.4-6.2
installing liblzma0-4.999.9beta-2.2
installing libpopt0-1.13-4.2
installing libselinux1-2.0.80-5.2
installing libsepol1-2.0.36-2.2
installing libxcrypt-3.0.2-3.2
installing net-tools-1.60-734.1
installing patch-2.5.9.122-2.1
installing perl-base-5.10.0-72.5
installing zlib-1.2.3-140.2
installing libncurses5-5.6-91.2
installing libpcre0-7.9.0-2.3.1
installing attr-2.4.44-2.2
installing file-5.03-2.2
installing libacl-2.2.48-2.2
installing libreadline6-6.0-18.3
installing libzio-0.99-3.2
installing perl-5.10.0-72.5
installing acl-2.2.48-2.2
installing bash-4.0-18.3
installing build-compare-2009.10.14-2.2.3
installing brp-check-suse-1.0-23.2
installing build-2009.09.23-2.2
installing insserv-1.13.0-2.2
installing libcom_err2-1.41.9-3.1
installing libgcc44-4.4.1_20090817-2.3.4
installing libgomp44-4.4.1_20090817-2.3.4
installing libuuid1-2.16-4.5.1
installing bzip2-1.0.5-36.6
installing cracklib-2.8.13-2.2
installing libmpfr1-2.4.1-3.2
installing libopenssl0_9_8-0.9.8k-3.4
installing less-436-3.2
installing info-4.13a-3.2
installing libcom_err-devel-1.41.9-3.1
installing cpio-2.10-4.2
installing diffutils-2.8.7-145.2
installing findutils-4.4.0-46.2
installing gawk-3.1.6-26.2
installing gzip-1.3.12-100.4
installing libblkid1-2.16-4.5.1
installing libstdc++44-4.4.1_20090817-2.3.4
installing libtool-2.2.6-47.7
installing m4-1.4.13-2.2
installing make-3.81-130.2
installing sed-4.1.5-130.2
installing tar-1.21-4.2
installing binutils-2.19.51-10.26.4
installing grep-2.5.4-4.2
installing texinfo-4.13a-3.2
installing pam-1.1.0-3.2
installing login-3.40-2.1
installing autoconf-2.63-5.2
installing libgmpxx4-4.3.1-2.2
installing gettext-runtime-0.17-65.2
installing coreutils-7.1-3.2
installing linux-kernel-headers-2.6.31-3.4
post linux-kernel-headers-2.6.31-3.4 /var/tmp/rpm-tmp.w3dgsM 1
installing automake-1.11-6.2
installing sysvinit-2.86-215.2
installing timezone-2009p-1.1.1
WARNING: Not updating /etc/localtime with new zone file
installing libppl7-0.10.2-5.2
installing cvs-1.12.12-155.2
installing cyrus-sasl-2.1.23-3.1
installing krb5-1.7-6.1
installing psmisc-22.7-8.2
installing groff-1.18.1.1-172.173.2
Updating etc/sysconfig/suseconfig...
installing libldap-2_4-2-2.4.17-5.3
installing glibc-devel-2.10.1-10.4
installing gettext-tools-0.17-65.2
installing libppl_c2-0.10.2-5.2
installing man-2.5.2-22.2
Updating etc/sysconfig/cron...
installing aaa_base-11.2-43.45.1
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...unchanged
installing cyrus-sasl-devel-2.1.23-3.1
installing keyutils-devel-1.2-109.2
installing libbz2-devel-1.0.5-36.6
installing libstdc++44-devel-4.4.1_20090817-2.3.4
installing zlib-devel-1.2.3-140.2
installing libcloog0-0.15.7+ppl-2.2
installing netcfg-11.1-2.2
warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew
installing permissions-2009.10.07.1653-2.1
Updating etc/sysconfig/security...
installing libopenssl-devel-0.9.8k-3.4
installing krb5-devel-1.7-6.1
installing post-build-checks-1.0-66.1
installing cpp44-4.4.1_20090817-2.3.4
installing pam-modules-11.2-4.1
installing util-linux-2.16-4.5.1
installing rpm-4.7.1-6.7.3
Updating etc/sysconfig/services...
installing cpp-4.4-4.2
installing openldap2-devel-2.4.17-5.3
installing rpmlint-mini-1.0-219.3
installing gcc44-4.4.1_20090817-2.3.4
installing rpmlint-Factory-1.0-51.1
installing gcc-4.4-4.2
installing gcc44-c++-4.4.1_20090817-2.3.4
installing gcc-c++-4.4-4.2
removing nis flags from //etc/nsswitch.conf...
now finalizing build dir...
Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.permissions...
Finished.
-----------------------------------------------------------------
I have the following modifications for msktutil.spec:
4c4
< Release: 1
---
Release: 43.1
-----------------------------------------------------------------
----- building msktutil.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/home:dipe/openSUSE_11.2/b92ec11f13803a767e9d68f94555f1b4-msktutil'
/usr/src/packages/SOURCES/msktutil.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vXH1X7
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf msktutil-0.4
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/msktutil-0.4.tar.bz2
+ /bin/tar -xvvf -
/bin/tar: Record size = 8 blocks
drwxr-xr-x jknight/jknight 0 2010-03-16 05:12 msktutil-0.4/
-rw-r--r-- jknight/jknight 6323 2010-03-16 05:12 msktutil-0.4/msktconf.cpp
-rw-r--r-- jknight/jknight 10736 2010-03-16 05:12 msktutil-0.4/msktkrb5.cpp
-rw-r--r-- jknight/jknight 5470 2010-03-16 05:12 msktutil-0.4/krb5wrap.h
-rw-r--r-- jknight/jknight 18011 2010-03-16 05:12 msktutil-0.4/LICENSE
-rw-r--r-- jknight/jknight 1894 2010-03-16 05:12 msktutil-0.4/README
-rwxr-xr-x jknight/jknight 152439 2010-03-16 05:12 msktutil-0.4/configure
-rw-r--r-- jknight/jknight 10414 2010-03-16 05:12
msktutil-0.4/msktutil.interactive
-rw-r--r-- jknight/jknight 3274 2010-03-16 05:12 msktutil-0.4/configure.in
drwxr-xr-x jknight/jknight 0 2010-03-16 05:12 msktutil-0.4/debian/
-rw-r--r-- jknight/jknight 648 2010-03-16 05:12 msktutil-0.4/debian/control
-rwxr-xr-x jknight/jknight 2178 2010-03-16 05:12 msktutil-0.4/debian/rules
-rw-r--r-- jknight/jknight 2009 2010-03-16 05:12 msktutil-0.4/debian/changelog
-rw-r--r-- jknight/jknight 651 2010-03-16 05:12 msktutil-0.4/debian/postinst
-rw-r--r-- jknight/jknight 340 2010-03-16 05:12
msktutil-0.4/debian/cron-daily.sh
-rw-r--r-- jknight/jknight 643 2010-03-16 05:12 msktutil-0.4/debian/copyright
-rw-r--r-- jknight/jknight 1197 2010-03-16 05:12 msktutil-0.4/Makefile.in
-rw-r--r-- jknight/jknight 5931 2010-03-16 05:12 msktutil-0.4/msktname.cpp
-rw-r--r-- jknight/jknight 25907 2010-03-16 05:12 msktutil-0.4/msktutil.cpp
-rw-r--r-- jknight/jknight 2403 2010-03-16 05:12 msktutil-0.4/config.h.in
-rw-r--r-- jknight/jknight 27478 2010-03-16 05:12 msktutil-0.4/msktldap.cpp
-rw-r--r-- jknight/jknight 12406 2010-03-16 05:12 msktutil-0.4/msktutil.M
-rw-r--r-- jknight/jknight 9043 2010-03-16 05:12 msktutil-0.4/msktutil.h
-rw-r--r-- jknight/jknight 1330 2010-03-16 05:12 msktutil-0.4/INSTALL
-rw-r--r-- jknight/jknight 2978 2010-03-16 05:12 msktutil-0.4/ChangeLog
-rw-r--r-- jknight/jknight 7846 2010-03-16 05:12 msktutil-0.4/msktpass.cpp
-rw-r--r-- jknight/jknight 6816 2010-03-16 05:12 msktutil-0.4/krb5wrap.cpp
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd msktutil-0.4
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eZpFOg
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILDROOT/msktutil-0.4-43.1.x86_64
++ dirname /usr/src/packages/BUILDROOT/msktutil-0.4-43.1.x86_64
+ /bin/mkdir -p /usr/src/packages/BUILDROOT
+ /bin/mkdir /usr/src/packages/BUILDROOT/msktutil-0.4-43.1.x86_64
+ cd msktutil-0.4
+ CXXFLAGS=' -I/usr/include/et'
+ export CXXFLAGS
+ RPM_OPT_FLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables
-I/usr/include/et'
+ export RPM_OPT_FLAGS
+ CFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS=' -I/usr/include/et'
+ export CXXFLAGS
+ FFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ export FFLAGS
+ ./configure --host=x86_64-unknown-linux-gnu
--build=x86_64-unknown-linux-gnu --target=x86_64-suse-linux
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info
checking for x86_64-unknown-linux-gnu-g++... no
checking for x86_64-unknown-linux-gnu-c++... no
checking for x86_64-unknown-linux-gnu-gpp... no
checking for x86_64-unknown-linux-gnu-aCC... no
checking for x86_64-unknown-linux-gnu-CC... no
checking for x86_64-unknown-linux-gnu-cxx... no
checking for x86_64-unknown-linux-gnu-cc++... no
checking for x86_64-unknown-linux-gnu-cl.exe... no
checking for x86_64-unknown-linux-gnu-FCC... no
checking for x86_64-unknown-linux-gnu-KCC... no
checking for x86_64-unknown-linux-gnu-RCC... no
checking for x86_64-unknown-linux-gnu-xlC_r... no
checking for x86_64-unknown-linux-gnu-xlC... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for install... /usr/bin/install
checking for cat... /bin/cat
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for sed... /usr/bin/sed
checking for mkdir... /bin/mkdir
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking com_err.h usability... yes
checking com_err.h presence... no
configure: WARNING: com_err.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: com_err.h: proceeding with the compiler's result
checking for com_err.h... yes
checking heim_err.h usability... no
checking heim_err.h presence... no
checking for heim_err.h... no
checking heimdal/heim_err.h usability... no
checking heimdal/heim_err.h presence... no
checking for heimdal/heim_err.h... no
checking sasl.h usability... no
checking sasl.h presence... no
checking for sasl.h... no
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for krb5_init_context in -lkrb5... yes
checking for ldap_initialize in -lldap... yes
checking whether com_err.h needs extern "C"... configure: error:
Couldn't get error_message to work.
error: Bad exit status from /var/tmp/rpm-tmp.eZpFOg (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.eZpFOg (%build)
System halted.






On Fri, Apr 16, 2010 at 1:52 PM, Marcus Meissner <meissner@xxxxxxx> wrote:
On Fri, Apr 16, 2010 at 08:19:22AM -0700, Di Pe wrote:
ran it again but still the same error,

any other ideas?

Can you add a
cat config.log

after the configure and mail me the full log?

Ciao, Marcus

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups
References