I’m newby, I was trying to build gnokii cvs (starting from gnokii-0.6.28cvs-20100311.src.rpm for suse11.1) to use in my suse 11.2 the last version, but OBS gives me the broken error:
State: published
broken: 1
no spec/dsc/kiwi file
the instruction says this:
brokenThe sources either contain no build description (eg specfile) or a source link does not work.
the log is always updating:
[Stop Refresh]
[Download raw logfile]
Status: Updating…
ok I made it, it seems to work, but an error uccurred:
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Ld3yvC (%build)
mount: / is busy
System halted.
this is the log output: I cut the similar lines becouse was too long to be submitted
Using BUILD_ROOT=/abuild/root_2/.mount
Using BUILD_ARCH=x86_64:i686:i586:i486:i386
Doing xen build in /dev/abuild/2_root
build13 started "build gnokii.spec" at Tue Mar 16 09:39:32 UTC 2010.
Building gnokii-0.6.28cvs.tar.bz2 for project 'home:pier_andreit' repository 'openSUSE_11.2' arch 'x86_64' srcmd5 'f210586e3689f224547bd3900e8b032d'
processing specfile /abuild/root_2/.build-srcdir/gnokii.spec ...
running changelog2spec --target rpm --file /abuild/root_2/.build-srcdir/gnokii.spec
init_buildsystem --prepare --clean --rpmlist /abuild/root_2/.build.rpmlist /abuild/root_2/.build-srcdir/gnokii.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...cycle: atk -> libatk-1_0-0
breaking dependency libatk-1_0-0 -> atk
done
booting XEN kernel ...
xm create -c /var/run/bsworker_2/build/xen.conf name=build:2_root memory=750 disk=phy:/dev/abuild/2_root,hda1,w disk=phy:/dev/abuild/2_swap,hda2,w extra=quiet init=/.build/build panic=1 console=ttyS0
Using config file "/var/run/bsworker_2/build/xen.conf".
Started domain build:2_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 Tue Mar 16 09:39:51 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, 2740/1024000 files, 141282/4096000 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/gnokii.spec ...
init_buildsystem --repository zypp:// /.build-srcdir/gnokii.spec build rpmlint-Factory ...
running aaa_base preinstall script
running aaa_base postinstall script
Updating etc/sysconfig/language...
here is everything updates
Updating etc/shadow...new
initializing rpm db...
installing filesystem-11.2-12.2
here is everything installing
installing linux-kernel-headers-2.6.31-3.4
post linux-kernel-headers-2.6.31-3.4 /var/tmp/rpm-tmp.q7bim7 1
installing automake-1.11-6.2
installing glib2-2.22.1-2.2
installing sysvinit-2.86-215.2
installing timezone-2009p-1.1.1
WARNING: Not updating /etc/localtime with new zone file
installing xorg-x11-libX11-7.4-12.3
installing libppl7-0.10.2-5.2
installing pyxml-0.8.4-199.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 xorg-x11-libXext-7.4-7.1
installing xorg-x11-libXfixes-7.4-6.1
installing xorg-x11-libXrender-7.4-6.1
installing xorg-x11-libxkbfile-7.4-6.1
installing libglib-2_0-0-2.22.1-2.2
installing libldap-2_4-2-2.4.17-5.3
installing xorg-x11-libXt-7.4-6.1
installing glibc-devel-2.10.1-10.4
installing gettext-tools-0.17-65.2
installing libppl_c2-0.10.2-5.2
installing cups-libs-1.3.11-4.1
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 libbz2-devel-1.0.5-36.6
installing libstdc++44-devel-4.4.1_20090817-2.3.4
installing libusb-1_0-devel-1.0.2-2.2
installing xorg-x11-proto-devel-7.4-20.2
installing zlib-devel-1.2.3-140.2
installing libcloog0-0.15.7+ppl-2.2
installing libgmodule-2_0-0-2.22.1-2.2
installing libgobject-2_0-0-2.22.1-2.2
installing libgthread-2_0-0-2.22.1-2.2
installing netcfg-11.1-2.2
warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew
installing xorg-x11-libXv-7.4-6.1
installing intltool-0.40.6-2.2
installing xorg-x11-libXmu-7.4-6.1
installing xorg-x11-libXp-7.4-6.1
installing xorg-x11-libXpm-7.4-6.1
installing postgresql-libs-8.4.1-2.1
installing permissions-2009.10.07.1653-2.1
Updating etc/sysconfig/security...
installing libopenssl-devel-0.9.8k-3.4
installing xorg-x11-fonts-devel-7.4-5.1
installing xorg-x11-xtrans-devel-7.4-7.2
installing freetype2-devel-2.3.9-2.2
installing postgresql-devel-8.4.1-2.1
installing xorg-x11-libXprintUtil-7.4-6.1
installing libpng-devel-1.2.39-2.2
installing libusb-compat-devel-0.1.3-2.2
installing xorg-x11-libXau-devel-7.4-6.1
installing xorg-x11-libXdmcp-devel-7.4-6.1
installing xorg-x11-libfontenc-devel-7.4-6.1
installing xorg-x11-util-devel-7.4-2.1
installing post-build-checks-1.0-66.1
installing libgio-2_0-0-2.22.1-2.2
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 fontconfig-devel-2.7.0-3.2
installing xorg-x11-libxcb-devel-7.4-11.1
installing rpmlint-mini-1.0-219.3
installing xorg-x11-libICE-devel-7.4-7.1
installing gcc44-4.4.1_20090817-2.3.4
installing libmysqlclient-devel-5.1.36-6.7.2
installing glib2-devel-2.22.1-2.2
installing xorg-x11-libs-7.4-25.1
installing rpmlint-Factory-1.0-51.1
installing gcc-4.4-4.2
installing xorg-x11-libSM-devel-7.4-7.1
installing xorg-x11-libX11-devel-7.4-12.3
installing gcc44-c++-4.4.1_20090817-2.3.4
installing cairo-1.8.8-2.1
installing gcc-c++-4.4-4.2
installing xorg-x11-libXext-devel-7.4-7.1
installing xorg-x11-libXrender-devel-7.4-6.1
installing xorg-x11-libXfixes-devel-7.4-6.1
installing xorg-x11-libxkbfile-devel-7.4-6.1
installing xorg-x11-libXt-devel-7.4-6.1
installing pango-1.26.0-2.5
installing xorg-x11-libXp-devel-7.4-6.1
installing xorg-x11-libXv-devel-7.4-6.1
installing xorg-x11-libXpm-devel-7.4-6.1
installing xorg-x11-libXmu-devel-7.4-6.1
installing xorg-x11-libXprintUtil-devel-7.4-6.1
installing xorg-x11-devel-7.4-25.1
installing cairo-devel-1.8.8-2.1
installing pango-devel-1.26.0-2.5
installing libatk-1_0-0-1.28.0-2.2
installing atk-1.28.0-2.2
installing gtk2-2.18.1-3.5
installing atk-devel-1.28.0-2.2
installing gtk2-devel-2.18.1-3.5
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.glib2...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.gtk2...
Executing /sbin/conf.d/SuSEconfig.permissions...
Finished.
-----------------------------------------------------------------
I have the following modifications for gnokii.spec:
17c17
< Release: 20100311
---
> Release: 20100311.1
-----------------------------------------------------------------
----- building gnokii.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:pier_andreit/openSUSE_11.2/f210586e3689f224547bd3900e8b032d-gnokii-0.6.28cvs.tar.bz2' /usr/src/packages/SOURCES/gnokii.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uYf5ya
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf gnokii-0.6.28cvs
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/gnokii-0.6.28cvs.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '' 0 -ne 0 ']'
+ cd gnokii-0.6.28cvs
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/Makefile.am
+ mv -f Docs/Makefile.am.new Docs/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/sample/vCalendar/Makefile.am
+ mv -f Docs/sample/vCalendar/Makefile.am.new Docs/sample/vCalendar/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/sample/ppp/Makefile.am
+ mv -f Docs/sample/ppp/Makefile.am.new Docs/sample/ppp/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/sample/ringtone/Makefile.am
+ mv -f Docs/sample/ringtone/Makefile.am.new Docs/sample/ringtone/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/sample/Makefile.am
+ mv -f Docs/sample/Makefile.am.new Docs/sample/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/sample/logo/Makefile.am
+ mv -f Docs/sample/logo/Makefile.am.new Docs/sample/logo/Makefile.am
+ for amfile in Docs/Makefile.am Docs/sample/vCalendar/Makefile.am Docs/sample/ppp/Makefile.am Docs/sample/ringtone/Makefile.am Docs/sample/Makefile.am Docs/sample/logo/Makefile.am Docs/protocol/Makefile.am
+ sed 's/docsdir =.*/docsdir = $(docdir)/' Docs/protocol/Makefile.am
+ mv -f Docs/protocol/Makefile.am.new Docs/protocol/Makefile.am
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ld3yvC
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /usr/src/packages/BUILDROOT/gnokii-0.6.28cvs-20100311.1.x86_64
++ dirname /usr/src/packages/BUILDROOT/gnokii-0.6.28cvs-20100311.1.x86_64
+ /bin/mkdir -p /usr/src/packages/BUILDROOT
+ /bin/mkdir /usr/src/packages/BUILDROOT/gnokii-0.6.28cvs-20100311.1.x86_64
+ cd gnokii-0.6.28cvs
+ AUTOMAKE_DIR=/usr/share/automake
+ '' -d /usr/share/automake ']'
+ AUTOMAKE_DIR='/usr/share/automake*'
+ '' -d /usr/share/automake-1.11 ']'
+ for d in .
+ for f in config.sub config.guess
+ test -f ./config.sub -a '!' ./config.sub -ef /usr/share/automake-1.11/config.sub
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.11/depcomp
+ cp -f /usr/share/automake-1.11/depcomp ./depcomp
+ echo 'please add depcomp to sources for new automake!'
please add depcomp to sources for new automake!
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.11/missing
+ for f in config.sub config.guess
+ test -f ./config.guess -a '!' ./config.guess -ef /usr/share/automake-1.11/config.guess
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.11/depcomp
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.11/missing
+ for f in ltconfig ltmain.sh
+ test -f ./ltconfig
+ for f in ltconfig ltmain.sh
+ test -f ./ltmain.sh
+ libtoolize -c -f
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
+ /opt/gnome/bin/glib-gettextize -f -c
/var/tmp/rpm-tmp.Ld3yvC: line 62: /opt/gnome/bin/glib-gettextize: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.Ld3yvC (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Ld3yvC (%build)
mount: / is busy
System halted.
To me it looks like the makefile or such needs to be patched to find
the files in /usr/bin rather than /opt/gnome/bin. What I would do is
look at unpacking that tarball and inspecting via fgrep to find out
what files are calling the obsolete paths.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 11:26, 4 users, load average: 0.03, 0.08, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
Hi
Ahh, it’s in the spec file. You need to change the third line in the
%build section to just gettextsize and change the BuildRequires to
include gettext-tools
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 13:05, 5 users, load average: 0.14, 0.10, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
To me it looks like the makefile or such needs to be patched to find
the files in /usr/bin rather than /opt/gnome/bin. What I would do is
look at unpacking that tarball and inspecting via fgrep to find out
what files are calling the obsolete paths.
[/QUOTE]
Hi
Ahh, it’s in the spec file. You need to change the third line in the
%build section to just gettextsize and change the BuildRequires to
include gettext-tools
[/QUOTE]
Hi
OK, just had a further look in a VM, if I get rid of the gettextize
line from the spec file it builds fine.
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 8 days 13:35, 4 users, load average: 1.02, 0.85, 0.68
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53
I reloaded everything, but I have to reload everything each time ?
is it possible only to change only the spec file or the tar.bz file?
error again here the log
Ciao Pier