[opensuse-packaging] automake fails to build
Howdy, I try to build automake 1.11.1 with OBS. I´ve got my spec-file and the source tarball, but it failed. Here´s the log: Using BUILD_ROOT=/var/cache/obs/worker/root_1/.mount Using BUILD_ARCH=i586:i486:i386 Doing kvm build in /var/cache/obs/worker/root_1/root build08 started "build automake.spec" at Thu Nov 3 22:15:20 UTC 2011. Building automake for project 'home:openLHAG:automake' repository 'openSUSE_Factory' arch 'i586' srcmd5 '7015b13e419eeabd1ea7afe746a342c2' processing specfile /var/cache/obs/worker/root_1/.build-srcdir/automake.spec ... running changelog2spec --target rpm --file /var/cache/obs/worker/root_1/.build-srcdir/automake.spec init_buildsystem --cachedir /var/cache/build --prepare --clean --rpmlist /var/cache/obs/worker/root_1/.build.rpmlist /var/cache/obs/worker/root_1/.build-srcdir/automake.spec build rpmlint-Factory ... preinstalling aaa_base... preinstalling attr... preinstalling bash... preinstalling coreutils... preinstalling diffutils... preinstalling filesystem... preinstalling fillup... preinstalling glibc... preinstalling grep... preinstalling insserv... preinstalling libbz2-1... preinstalling libgcc46... preinstalling libxcrypt... preinstalling m4... preinstalling libncurses5... preinstalling pam... preinstalling permissions... preinstalling libreadline6... preinstalling rpm... preinstalling sed... preinstalling tar... preinstalling zlib... preinstalling libselinux1... preinstalling liblzma5... preinstalling libcap2... preinstalling libpcre0... preinstalling libacl1... preinstalling libattr1... preinstalling libpopt0... preinstalling libelf1... preinstalling liblua5_1... preinstalling util-linux... preinstalling libmount1... preinstalling perl-base... preinstalling libdb-4_8... preinstalling libsepol1... preinstalling libblkid1... preinstalling libuuid1... copying packages... reordering...cycle: bash -> glibc breaking dependency bash -> glibc cycle: bash -> libncurses5 -> glibc breaking dependency bash -> libncurses5 cycle: bash -> libreadline6 -> glibc breaking dependency libreadline6 -> glibc cycle: bash -> libreadline6 -> libncurses5 -> glibc breaking dependency libreadline6 -> libncurses5 cycle: libcrack2 -> cracklib breaking dependency libcrack2 -> cracklib done booting kvm ... linux64 /usr/bin/qemu-kvm -no-reboot -nographic -net none -cpu host -kernel /boot/vmlinuz -initrd /boot/initrd -append root=/dev/vda panic=1 quiet no-kvmclock rw elevator=noop console=ttyS0 init=/.build/build -m 2048 -drive file=/var/cache/obs/worker/root_1/root,if=virtio,cache=none -drive file=/var/cache/obs/worker/root_1/root,if=ide,index=0,cache=none -drive file=/var/cache/obs/worker/root_1/swap,if=virtio,cache=none -smp 4 [1;256r[256;256H[6n Google, Inc. Serial Graphics Adapter 10/23/11 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (abuild@build27) Sun Oct 23 10:46:27 UTC 2011 4 0 [2J[m[m SeaBIOS (version 1.6.3-20111023_104618) Booting from ROM... [2Jdoing fast boot FATAL: Module kqemu not found. FATAL: Module ext2 not found. Creating device nodes with udev udevd[292]: failed to execute '/etc/sysconfig/network/scripts/ifup-sysctl' '/etc/sysconfig/network/scripts/ifup-sysctl lo -o hotplug': No such file or directory Waiting for device /dev/vda to appear: ok fsck from util-linux 2.20.1 [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda /dev/vda: clean, 2377/3203072 files, 271297/12800000 blocks fsck succeeded. Mounting root device read-write. Mounting root /dev/vda mount -o rw,defaults -t ext4 /dev/vda /root Warning: failed to load Config_git.pl, something strange about this perl... Warning: failed to load Config_git.pl, something strange about this perl... 2nd stage started in virtual machine machine type: x86_64 switching personality to 8... Warning: failed to load Config_git.pl, something strange about this perl... 2nd stage started in virtual machine machine type: i686 mount: proc already mounted mount: can't find / in /etc/fstab or /etc/mtab swapon on /dev/vdb swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order swapon: /dev/vdb: pagesize=4096, swapsize=2097152000, devsize=2097152000 mount: none already mounted or //proc busy mount: none already mounted or //dev/pts busy logging output to //.build.log... processing specfile /.build-srcdir/automake.spec ... init_buildsystem --cachedir /var/cache/build /.build-srcdir/automake.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/suseconfig... Updating /etc/sysconfig/clock... Updating /etc/sysconfig/proxy... Updating /etc/sysconfig/windowmanager... 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 brp-check-suse-1.0-48.1 installing filesystem-12.1-33.1 installing terminfo-base-5.8-6.3 installing libreadline6-6.2-39.1 installing bash-4.2-39.1 installing build-compare-2011.04.19-10.1 installing glibc-2.14.1-16.6 error opening: /etc/sysconfig/security: No such file or directory installing fillup-1.42-262.1 installing gdbm-1.8.3-389.2 installing libattr1-2.4.46-6.3 installing libaudit1-2.1.1-16.2 installing libbz2-1-1.0.6-15.9 installing libcap2-2.22-3.2 installing libelf1-0.152-7.7 installing libgmp10-5.0.2-9.4 installing libgssglue1-0.3-3.6 installing libltdl7-2.4-19.3 installing liblua5_1-5.1.4-22.2 installing liblzma5-5.0.3-9.3 installing libnscd-2.0.2-124.2 installing libpcre0-8.20-1.1 installing libpopt0-1.16-11.6 installing libselinux1-2.0.91-15.13 installing libsepol1-2.0.41-13.42 installing libustr-1_0-1-1.0.4-21.6 installing libxcrypt-3.0.4-12.2 installing net-tools-1.60-752.2 installing patch-2.6.1.116-5.5 installing perl-base-5.14.2-1.13 installing update-alternatives-1.15.8.10-10.2 installing zlib-1.2.5_git201105272030-21.3 installing insserv-1.14.0-34.1 installing libgcc46-4.6.2_20111026-1.2 installing libgomp46-4.6.2_20111026-1.2 installing libncurses5-5.8-6.3 installing libuuid1-2.20.1-5.1 installing build-mkbaselibs-2011.09.26-3.1 installing attr-2.4.46-6.3 installing file-5.08-8.2 installing libacl1-2.2.51-5.2 installing libblkid1-2.20.1-5.1 installing libglib-2_0-0-2.30.1-3.2 installing libtirpc1-0.2.2-14.6 installing bzip2-1.0.6-15.9 installing libcrack2-2.8.18-16.8 installing libmpfr4-3.0.1-4.4 installing libopenssl1_0_0-1.0.0e-35.3 installing libstdc++46-4.6.2_20111026-1.2 installing libzio-0.99-15.2 installing libsemanage1-2.0.43-18.38 installing cracklib-2.8.18-16.8 installing libdb-4_8-4.8.30-12.3 installing libmount1-2.20.1-5.1 installing libmpc2-0.8.2-13.5 installing less-444-4.2 installing libgmpxx4-5.0.2-9.4 installing info-4.13a-22.2 installing cpio-2.11-15.2 installing diffutils-3.1-5.3 installing m4-1.4.16-5.2 installing make-3.82-148.2 installing sed-4.2.1-6.2 installing tar-1.26-7.1 installing binutils-2.21.1-13.2 installing findutils-4.4.2-18.2 installing gawk-4.0.0-4.3 update-alternatives: using /bin/gawk to provide /bin/awk (awk) in auto mode. installing gettext-runtime-0.18.1.1-10.1 installing grep-2.9-7.1 installing gzip-1.4-8.12 installing libppl9-0.11.2-7.6 installing perl-5.14.2-1.13 installing pam-1.1.4-11.2 installing texinfo-4.13a-22.2 installing login-4.0-12.1 installing autoconf-2.68-8.1 installing libtool-2.4-19.3 installing libppl_c4-0.11.2-7.6 installing coreutils-8.14-4.2 error opening: /etc/sysconfig/security: No such file or directory installing linux-glibc-devel-3.1_rc5-8.1 installing glibc-locale-2.14.1-16.6 installing libcloog0-0.15.10+ppl-8.7 installing timezone-2011m-2.2 WARNING: Not updating /etc/localtime with new zone file installing cvs-1.12.12-170.1 installing sysvinit-tools-2.88+-68.3 installing permissions-2011.09.23.1037-3.1 Updating /etc/sysconfig/security... installing cyrus-sasl-2.1.23-21.2 installing psmisc-22.14-11.2 installing groff-1.21-6.2 installing rpm-4.9.1.2-1.6 Updating /etc/sysconfig/services... installing glibc-devel-2.14.1-16.6 installing libldap-2_4-2-2.4.26-4.2 installing rpmlint-mini-1.3-7.2 installing gettext-tools-0.18.1.1-10.1 installing pam-modules-12.1-6.1 installing cpp46-4.6.2_20111026-1.2 installing man-2.5.2-38.2 Updating /etc/sysconfig/cron... installing aaa_base-12.1-115.1 Updating /etc/sysconfig/language... Updating /etc/sysconfig/backup... Updating /etc/sysconfig/boot... Updating /etc/sysconfig/suseconfig... Updating /etc/sysconfig/clock... Updating /etc/sysconfig/proxy... Updating /etc/sysconfig/windowmanager... 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 util-linux-2.20.1-5.1 setting /usr/bin/wall to root:tty 2755. (wrong permissions 0755) setting /usr/bin/write to root:tty 2755. (wrong permissions 0755) installing rpmlint-Factory-1.0-74.1 installing cpp-4.6-16.1 installing libbz2-devel-1.0.6-15.9 installing netcfg-11.5-10.1 warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew installing post-build-checks-1.0-99.1 installing pwdutils-3.2.17-7.2 installing gcc46-4.6.2_20111026-1.2 installing gcc-4.6-16.1 installing udev-173-5.3 removing nis flags from //etc/nsswitch.conf... now finalizing build dir... /usr/sbin/Check is obsolete, don't call it! Starting SuSEconfig, the SuSE Configuration Tool... Running in full featured mode. Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... no permissions will be changed if not called explicitly Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.secure /etc/permissions.local kernel has fscaps support disabled. /usr/bin/wall should be root:tty 0755. (wrong permissions 2755) /usr/bin/write should be root:tty 0755. (wrong permissions 2755) Finished. ----------------------------------------------------------------- I have the following modifications for automake.spec: 4c4 < Release: 0.0 ---
Release: 1.1
----- building automake.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/home:openLHAG:automake/openSUSE_Factory/7015b13e419eeabd1ea7afe746a342c2-automake' /home/abuild/rpmbuild/SOURCES/automake.spec Processing files: automake-1.11.1-1.1.i586 error: Directory not found: /home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386 RPM build errors: Directory not found: /home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386 [ 58.430932] SysRq : Power Off [ 60.087209] Power down. do you now what´s wrong? I don´t understand the build error. Maybe you could? thanks in advance, --kdl -- -o) Kim Leyendecker /\\ openSUSE Ambassador, openSUSE Wiki Team DE _\_v http://www.opensuse.org - Linux for open minds -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, 3 Nov 2011 23:36:08 +0100 Kim Leyendecker <leyendecker@opensuse.org> wrote:
Howdy,
I try to build automake 1.11.1 with OBS. I´ve got my spec-file and the source tarball, but it failed.
Here´s the log:
Processing files: automake-1.11.1-1.1.i586 error: Directory not found:
/home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386
RPM build errors: Directory not found: /home/abuild/rpmbuild/BUILDROOT/automake-1.11.1-1.1.i386
Hi Build root incorrect in your spec file? -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop up 3 days 9:45, 5 users, load average: 0.03, 0.10, 0.13 GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, 2011-11-03 at 23:36 +0100, Kim Leyendecker wrote:
Howdy,
I try to build automake 1.11.1 with OBS. I´ve got my spec-file and the source tarball, but it failed.
Your spec file is incomplete. You lack a %prep, %build and %install section as a bare minimum http://dominique.leuenberger.net/blog/2009/05/rpm-packaging-for-beginners/ might have some hints for you. Best regards, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 04.11.2011 09:08, schrieb Dimstar / Dominique Leuenberger:
Your spec file is incomplete.
You lack a %prep, %build and %install section as a bare minimum
http://dominique.leuenberger.net/blog/2009/05/rpm-packaging-for-beginners/ might have some hints for you.
Well, this happens when you get your specfile from a spec-collection on kde-apps.org.... okay, thanks, so i will go to rewrite it, i guess. thanks, --kdl -- -o) Kim Leyendecker /\\ openSUSE Ambassador, openSUSE Wiki Team DE _\_v http://www.opensuse.org - Linux for open minds -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, 4 Nov 2011 13:17:45 +0100 Kim Leyendecker <leyendecker@opensuse.org> wrote:
Am 04.11.2011 09:08, schrieb Dimstar / Dominique Leuenberger:
Your spec file is incomplete.
You lack a %prep, %build and %install section as a bare minimum
http://dominique.leuenberger.net/blog/2009/05/rpm-packaging-for-beginners/ might have some hints for you.
Well, this happens when you get your specfile from a spec-collection on kde-apps.org....
okay, thanks, so i will go to rewrite it, i guess.
thanks, --kdl
Hi Run spec-cleaner on it, should fix most of it? -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop up 3 days 23:51, 5 users, load average: 0.50, 0.21, 0.11 GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 04.11.2011 13:46, schrieb Malcolm:
On Fri, 4 Nov 2011 13:17:45 +0100 Kim Leyendecker<leyendecker@opensuse.org> wrote:
Am 04.11.2011 09:08, schrieb Dimstar / Dominique Leuenberger:
Your spec file is incomplete.
You lack a %prep, %build and %install section as a bare minimum
http://dominique.leuenberger.net/blog/2009/05/rpm-packaging-for-beginners/ might have some hints for you.
Well, this happens when you get your specfile from a spec-collection on kde-apps.org....
okay, thanks, so i will go to rewrite it, i guess.
thanks, --kdl
Hi Run spec-cleaner on it, should fix most of it?
I did it, but before I rewrote my spec-file according to the SUSE guidelines (used rpmdev-newspec for that). Due to this, there wasn´t any big changes and the build still fails. --kdl -- -o) Kim Leyendecker /\\ openSUSE Ambassador, openSUSE Wiki Team DE _\_v http://www.opensuse.org - Linux for open minds -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Friday 04 November 2011, Kim Leyendecker wrote:
Am 04.11.2011 13:46, schrieb Malcolm:
Run spec-cleaner on it, should fix most of it?
I did it, but before I rewrote my spec-file according to the SUSE guidelines (used rpmdev-newspec for that). Due to this, there wasn´t any big changes and the build still fails.
Why don't you simply link or copy an existing automake package, for instance this one: https://build.opensuse.org/package/show?package=automake&project=devel%3Atools%3Abuilding cu, Rudi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
It´s now building, but it still fails. Seems like the make worked out well, but it can´t be packaged. Have I to add the following to the %files section? RPM build errors: Installed (but unpackaged) file(s) found: /usr/local/bin/aclocal /usr/local/bin/aclocal-1.11 /usr/local/bin/automake /usr/local/bin/automake-1.11 /usr/local/share/aclocal-1.11/amversion.m4 /usr/local/share/aclocal-1.11/as.m4 /usr/local/share/aclocal-1.11/auxdir.m4 /usr/local/share/aclocal-1.11/ccstdc.m4 /usr/local/share/aclocal-1.11/cond-if.m4 /usr/local/share/aclocal-1.11/cond.m4 /usr/local/share/aclocal-1.11/depend.m4 /usr/local/share/aclocal-1.11/depout.m4 /usr/local/share/aclocal-1.11/dmalloc.m4 /usr/local/share/aclocal-1.11/gcj.m4 /usr/local/share/aclocal-1.11/header.m4 /usr/local/share/aclocal-1.11/init.m4 /usr/local/share/aclocal-1.11/install-sh.m4 /usr/local/share/aclocal-1.11/lead-dot.m4 /usr/local/share/aclocal-1.11/lex.m4 /usr/local/share/aclocal-1.11/lispdir.m4 /usr/local/share/aclocal-1.11/maintainer.m4 /usr/local/share/aclocal-1.11/make.m4 /usr/local/share/aclocal-1.11/minuso.m4 /usr/local/share/aclocal-1.11/missing.m4 /usr/local/share/aclocal-1.11/mkdirp.m4 /usr/local/share/aclocal-1.11/multi.m4 /usr/local/share/aclocal-1.11/obsol-gt.m4 /usr/local/share/aclocal-1.11/obsol-lt.m4 /usr/local/share/aclocal-1.11/obsolete.m4 /usr/local/share/aclocal-1.11/options.m4 /usr/local/share/aclocal-1.11/protos.m4 /usr/local/share/aclocal-1.11/python.m4 /usr/local/share/aclocal-1.11/regex.m4 /usr/local/share/aclocal-1.11/runlog.m4 /usr/local/share/aclocal-1.11/sanity.m4 /usr/local/share/aclocal-1.11/silent.m4 /usr/local/share/aclocal-1.11/strip.m4 /usr/local/share/aclocal-1.11/substnot.m4 /usr/local/share/aclocal-1.11/tar.m4 /usr/local/share/aclocal-1.11/upc.m4 /usr/local/share/aclocal-1.11/vala.m4 /usr/local/share/automake-1.11/Automake/ChannelDefs.pm /usr/local/share/automake-1.11/Automake/Channels.pm /usr/local/share/automake-1.11/Automake/Condition.pm /usr/local/share/automake-1.11/Automake/Config.pm /usr/local/share/automake-1.11/Automake/Configure_ac.pm /usr/local/share/automake-1.11/Automake/DisjConditions.pm /usr/local/share/automake-1.11/Automake/FileUtils.pm /usr/local/share/automake-1.11/Automake/General.pm /usr/local/share/automake-1.11/Automake/Item.pm /usr/local/share/automake-1.11/Automake/ItemDef.pm /usr/local/share/automake-1.11/Automake/Location.pm /usr/local/share/automake-1.11/Automake/Options.pm /usr/local/share/automake-1.11/Automake/Rule.pm /usr/local/share/automake-1.11/Automake/RuleDef.pm /usr/local/share/automake-1.11/Automake/Struct.pm /usr/local/share/automake-1.11/Automake/VarDef.pm /usr/local/share/automake-1.11/Automake/Variable.pm /usr/local/share/automake-1.11/Automake/Version.pm /usr/local/share/automake-1.11/Automake/Wrap.pm /usr/local/share/automake-1.11/Automake/XFile.pm /usr/local/share/automake-1.11/COPYING /usr/local/share/automake-1.11/INSTALL /usr/local/share/automake-1.11/acinstall /usr/local/share/automake-1.11/am/ansi2knr.am /usr/local/share/automake-1.11/am/check.am /usr/local/share/automake-1.11/am/check2.am /usr/local/share/automake-1.11/am/clean-hdr.am /usr/local/share/automake-1.11/am/clean.am /usr/local/share/automake-1.11/am/compile.am /usr/local/share/automake-1.11/am/configure.am /usr/local/share/automake-1.11/am/data.am /usr/local/share/automake-1.11/am/dejagnu.am /usr/local/share/automake-1.11/am/depend.am /usr/local/share/automake-1.11/am/depend2.am /usr/local/share/automake-1.11/am/distdir.am /usr/local/share/automake-1.11/am/footer.am /usr/local/share/automake-1.11/am/header-vars.am /usr/local/share/automake-1.11/am/header.am /usr/local/share/automake-1.11/am/inst-vars.am /usr/local/share/automake-1.11/am/install.am /usr/local/share/automake-1.11/am/java.am /usr/local/share/automake-1.11/am/lang-compile.am /usr/local/share/automake-1.11/am/lex.am /usr/local/share/automake-1.11/am/library.am /usr/local/share/automake-1.11/am/libs.am /usr/local/share/automake-1.11/am/libtool.am /usr/local/share/automake-1.11/am/lisp.am /usr/local/share/automake-1.11/am/ltlib.am /usr/local/share/automake-1.11/am/ltlibrary.am /usr/local/share/automake-1.11/am/mans-vars.am /usr/local/share/automake-1.11/am/mans.am /usr/local/share/automake-1.11/am/multilib.am /usr/local/share/automake-1.11/am/program.am /usr/local/share/automake-1.11/am/progs.am /usr/local/share/automake-1.11/am/python.am /usr/local/share/automake-1.11/am/remake-hdr.am /usr/local/share/automake-1.11/am/scripts.am /usr/local/share/automake-1.11/am/subdirs.am /usr/local/share/automake-1.11/am/tags.am /usr/local/share/automake-1.11/am/texi-vers.am /usr/local/share/automake-1.11/am/texibuild.am /usr/local/share/automake-1.11/am/texinfos.am /usr/local/share/automake-1.11/am/vala.am /usr/local/share/automake-1.11/am/yacc.am /usr/local/share/automake-1.11/ansi2knr.1 /usr/local/share/automake-1.11/ansi2knr.c /usr/local/share/automake-1.11/compile /usr/local/share/automake-1.11/config-ml.in /usr/local/share/automake-1.11/config.guess /usr/local/share/automake-1.11/config.sub /usr/local/share/automake-1.11/depcomp /usr/local/share/automake-1.11/elisp-comp /usr/local/share/automake-1.11/install-sh /usr/local/share/automake-1.11/mdate-sh /usr/local/share/automake-1.11/missing /usr/local/share/automake-1.11/mkinstalldirs /usr/local/share/automake-1.11/py-compile /usr/local/share/automake-1.11/symlink-tree /usr/local/share/automake-1.11/texinfo.tex /usr/local/share/automake-1.11/ylwrap /usr/local/share/doc/automake/amhello-1.0.tar.gz /usr/local/share/info/automake.info /usr/local/share/info/automake.info-1 /usr/local/share/info/automake.info-2 /usr/local/share/info/dir /usr/local/share/man/man1/aclocal-1.11.1 /usr/local/share/man/man1/aclocal.1 /usr/local/share/man/man1/automake-1.11.1 /usr/local/share/man/man1/automake.1 -- -o) Kim Leyendecker /\\ openSUSE Ambassador, openSUSE Wiki Team DE _\_v http://www.opensuse.org - Linux for open minds -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, 2011-11-04 at 15:08 +0100, Kim Leyendecker wrote:
It´s now building, but it still fails. Seems like the make worked out well, but it can´t be packaged.
Have I to add the following to the %files section?
RPM build errors: Installed (but unpackaged) file(s) found: /usr/local/bin/aclocal /usr/local/bin/aclocal-1.11 /usr/local/bin/automake
You won't be allowed to package /usr/local in an rpm on OBS. /usr/local is for 'local' installs. You really should read the blog post I linked earlier. It's very basic packaging quick start. To answer the actual question: yes, you do have to specify what files are part of a package in the %files section. Or, as others pointed out: don't package anything that already exists. Link it to your project. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Nov 4, 2011 at 8:17 AM, Kim Leyendecker <leyendecker@opensuse.org> wrote:
Am 04.11.2011 09:08, schrieb Dimstar / Dominique Leuenberger:
Your spec file is incomplete.
You lack a %prep, %build and %install section as a bare minimum
http://dominique.leuenberger.net/blog/2009/05/rpm-packaging-for-beginners/ might have some hints for you.
Well, this happens when you get your specfile from a spec-collection on kde-apps.org....
okay, thanks, so i will go to rewrite it, i guess.
thanks, --kdl
Kim, The below is all based on the WebUI which is my favorite way to admin my OBS packages. Also I have tried to consistent and accurate of my use of the terms project and package. I assume you know the difference. As implied by others, the first place you should look for openSUSE compatible specfiles is OBS. By that I mean build.opensuse.org, not software.opensuse.org. Searching at software.opensuse.org is cumbersome and it is very easy to miss relevant packages. In particular it rarely finds packages that are new and only in factory. But using the search box at the top right of build.opensuse.org gives a list of relevant packages. Searching for "automake" I see about 50 or so versions. (Don't ask me why so many?) Then I normally scan down and try to find one in a devel project that seems appropriate. Then you 2 choices for branching a copy of the devel package to your home. One is to go to the devel package overview and click "branch". (You have to be logged in to get the branch option.) That will create a sub-project called branch-devel-project in you home project. And populate it with a branched version of the package. Especially if you just want to work on the package standalone, fix it, submit it, and delete it, that's nice and easy. But often I want to branch the package to a specific sub-project of mine. To do that, I go to my sub-project, list of packages, "branch new package". It then asks for the name of the project and package I want to branch from. I especially use this method if my source is someone else's home project. I don't want to have a bunch of other people's home projects branched to me. I just want their packages branched. The cool think about branching is it tracks the changes you make, so from the file listing page you can get a list of the differences and easily submit those changes back to the original project where the maintainer can review, accept, reject them. Greg
- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 04.11.2011 16:33, schrieb Greg Freemyer:
Kim,
The below is all based on the WebUI which is my favorite way to admin my OBS packages. Also I have tried to consistent and accurate of my use of the terms project and package. I assume you know the difference.
As implied by others, the first place you should look for openSUSE compatible specfiles is OBS.
By that I mean build.opensuse.org, not software.opensuse.org.
Searching at software.opensuse.org is cumbersome and it is very easy to miss relevant packages. In particular it rarely finds packages that are new and only in factory.
But using the search box at the top right of build.opensuse.org gives a list of relevant packages.
Searching for "automake" I see about 50 or so versions. (Don't ask me why so many?)
Then I normally scan down and try to find one in a devel project that seems appropriate.
Then you 2 choices for branching a copy of the devel package to your home.
One is to go to the devel package overview and click "branch". (You have to be logged in to get the branch option.)
That will create a sub-project called branch-devel-project in you home project. And populate it with a branched version of the package. Especially if you just want to work on the package standalone, fix it, submit it, and delete it, that's nice and easy.
But often I want to branch the package to a specific sub-project of mine. To do that, I go to my sub-project, list of packages, "branch new package". It then asks for the name of the project and package I want to branch from. I especially use this method if my source is someone else's home project. I don't want to have a bunch of other people's home projects branched to me. I just want their packages branched.
The cool think about branching is it tracks the changes you make, so from the file listing page you can get a list of the differences and easily submit those changes back to the original project where the maintainer can review, accept, reject them.
Hi Greg, thanks for your answer, but I actually tried to package it my own to practise packaging at all. I know, I could have branched it, but that wasn´t my goal. I actually try to learn packaging and writing spec-files and I still believe that the best way to get knowledge in it is the learning by doing kind of stuff. So that´s what I´m doing with automake. So, I guess the best solution now is, that I read Dominique´s blog post again and then start another try. thanks for your help! --kdl -- -o) Kim Leyendecker /\\ openSUSE Ambassador, openSUSE Wiki Team DE _\_v http://www.opensuse.org - Linux for open minds -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Nov 4, 2011 at 2:47 PM, Kim Leyendecker <leyendecker@opensuse.org> wrote:
Am 04.11.2011 16:33, schrieb Greg Freemyer:
Kim,
The below is all based on the WebUI which is my favorite way to admin my OBS packages. Also I have tried to consistent and accurate of my use of the terms project and package. I assume you know the difference.
As implied by others, the first place you should look for openSUSE compatible specfiles is OBS.
By that I mean build.opensuse.org, not software.opensuse.org.
Searching at software.opensuse.org is cumbersome and it is very easy to miss relevant packages. In particular it rarely finds packages that are new and only in factory.
But using the search box at the top right of build.opensuse.org gives a list of relevant packages.
Searching for "automake" I see about 50 or so versions. (Don't ask me why so many?)
Then I normally scan down and try to find one in a devel project that seems appropriate.
Then you 2 choices for branching a copy of the devel package to your home.
One is to go to the devel package overview and click "branch". (You have to be logged in to get the branch option.)
That will create a sub-project called branch-devel-project in you home project. And populate it with a branched version of the package. Especially if you just want to work on the package standalone, fix it, submit it, and delete it, that's nice and easy.
But often I want to branch the package to a specific sub-project of mine. To do that, I go to my sub-project, list of packages, "branch new package". It then asks for the name of the project and package I want to branch from. I especially use this method if my source is someone else's home project. I don't want to have a bunch of other people's home projects branched to me. I just want their packages branched.
The cool think about branching is it tracks the changes you make, so from the file listing page you can get a list of the differences and easily submit those changes back to the original project where the maintainer can review, accept, reject them.
Hi Greg,
thanks for your answer, but I actually tried to package it my own to practise packaging at all. I know, I could have branched it, but that wasn´t my goal. I actually try to learn packaging and writing spec-files and I still believe that the best way to get knowledge in it is the learning by doing kind of stuff. So that´s what I´m doing with automake.
So, I guess the best solution now is, that I read Dominique´s blog post again and then start another try.
thanks for your help! --kdl
In that case, I would also reference this simple skeleton specfile: http://lists.opensuse.org/opensuse-packaging/2010-11/msg00146.html Last time I made a specfile from scratch, that's what I started from. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (5)
-
Dimstar / Dominique Leuenberger
-
Greg Freemyer
-
Kim Leyendecker
-
Malcolm
-
Ruediger Meier