Re: [opensuse-programming-de] SRPM Abhäng igkeiten und Zypper?

Lothar <[email protected]> Sat, 16 Nov 2013 18:29:10 +0100
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Diese habe ich da entsprechend angegeben. rpmbuild gibt auch an, dass =
diese Pakete fehlen.

Ich versuche mit dem build tool das Paket zu bauen. Wie man sieht, kann =
zypper rpmlint nicht ohne Fehler installieren und
build gibt einen Fehler an.

Ich kann damit nicht direkt etwas anfangen, aber ich denke, ich m=FCsste =
rpmlint installiert bekommen.

agrant@vagrant-opensuse-122-x86:~> rpmbuild --rebuild =
lbdmf-1.0.4_final-1.src.rpm=20
Installing lbdmf-1.0.4_final-1.src.rpm
warning: user lothar does not exist - using root
warning: user lothar does not exist - using root
error: Failed build dependencies:
	rpmlint is needed by lbdmf-1.0.4_final-1.i586
	bison is needed by lbdmf-1.0.4_final-1.i586
	flex is needed by lbdmf-1.0.4_final-1.i586
	wxGTK-devel >=3D 2.8.8 is needed by lbdmf-1.0.4_final-1.i586
	desktop-file-utils is needed by lbdmf-1.0.4_final-1.i586
	unixODBC-devel >=3D 2.2.11 is needed by lbdmf-1.0.4_final-1.i586
	gcc-c++ is needed by lbdmf-1.0.4_final-1.i586


vagrant@vagrant-opensuse-122-x86:~> sudo build =
lbdmf-1.0.4_final-1.src.rpm logging output to =
/var/tmp/build-root/.build.log...
[    0s] Memory limit set to 1694488KB
[    0s] Using BUILD_ROOT=3D/var/tmp/build-root
[    0s] Using BUILD_ARCH=3Di586:i486:i386
[    0s]=20
[    0s]=20
[    0s] vagrant-opensuse-122-x86 started "build =
lbdmf-1.0.4_final-1.src.rpm" at Sat Nov 16 11:25:06 UTC 2013.
[    0s]=20
[    0s]=20
[    0s] processing src rpm /home/vagrant/lbdmf-1.0.4_final-1.src.rpm =
...
[    0s] processing specfile =
/var/tmp/build-root/.build-srcdir/lbdmf.spec ...
[    0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir =
/var/cache/build --repository zypp:// =
/var/tmp/build-root/.build-srcdir/lbdmf.spec ...
[    0s] initializing /var/tmp/build-root/.srcfiles.cache ...
[    0s] /usr/lib/build/createrepomddeps zypp://openSUSE-12.2-1.6
[    6s] /usr/lib/build/createrepomddeps zypp://repo-non-oss
[    7s] /usr/lib/build/createrepomddeps zypp://repo-update-non-oss
[    7s] /usr/lib/build/createrepomddeps zypp://repo-update
[   62s] expanding package dependencies...
[   65s] Warning: distribution not specified, assuming '12.2-i386' (see =
/usr/lib/build/configs).
[   67s] expansion error
[   67s]   nothing provides rpmlint-Factory

vagrant@vagrant-opensuse-122-x86:~> sudo zypper install rpmlint
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: rpmlint-1.3-27.3.2.noarch requires rpm-python, but this =
requirement cannot be provided
  uninstallable providers: =
rpm-python-4.9.1.2-18.2.2.i586[openSUSE-12.2-1.6]
 Solution 1: deinstallation of =
patterns-openSUSE-minimal_base-conflicts-12.2-5.5.1.i586
 Solution 2: do not install rpmlint-1.3-27.3.2.noarch
 Solution 3: break rpmlint-1.3-27.3.2.noarch by ignoring some of its =
dependencies

Am 16.11.2013 um 12:55 schrieb [email protected]:

> Bin gerade unterwegs, daher kann ich nicht auf der Liste antworten.
> Was du suchst, sind BuildRequires.
> Alle f=FCr das Bauen ben=F6tigten Abh=E4ngigkeiten als 'BuildRequires: =
packetxy' ins Spec schreiben.
>=20
> --
> Sent using my Nokia N9 and Kolab on openSUSELothar schrieb am 16.11.13 =
09:00:
> Hi,
>=20
> ich wollte hier mal fragen ob es wie bei RPMS mit zypper m=F6glich =
ist, automatisch abh=E4ngige Pakete eines SRPM's mit zu installieren?
>=20
> Mein RPM konnte auf einer Vagrant Box ohne Probleme via zypper alle =
abh=E4ngigen mit Pakete installieren. Mein SRPM scheint da nur
> das TGZ zu installieren.
>=20
> Irgend welche Ideen?
>=20
> Hintergrund: Ich m=F6chte, dass mein Code so einfach wie m=F6glich auf =
einer blanken Linux Distro mit RPM Support from Scratch installiert
> und gebaut werden kann. N=F6tigenfalls GCC und anderes Zeugs eben =
automatisch installieren - Continuous Delivery :-)
>=20
> Danke, Lothar
>=20
> -- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
> Lothar Behrens
> Ginsterweg 4
> 65760 Eschborn
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> --
> To unsubscribe, e-mail: =
[email protected]
> To contact the owner, e-mail: =
[email protected]
>=20
>=20

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Ginsterweg 4
65760 Eschborn












-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]