[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-redhat-users
Subject:    kde-redhat-users Digest, Vol 9, Issue 16
From:       kde-redhat-users-request () lists ! sourceforge ! net
Date:       2007-02-19 20:20:56
Message-ID: mailman.418.1171916456.17418.kde-redhat-users () lists ! sourceforge ! net
[Download RAW message or body]

Send kde-redhat-users mailing list submissions to
	kde-redhat-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/kde-redhat-users
or, via email, send a message with subject or body 'help' to
	kde-redhat-users-request@lists.sourceforge.net

You can reach the person managing the list at
	kde-redhat-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kde-redhat-users digest..."


Today's Topics:

   1. building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel ?
      (Chris Jones)
   2. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Chris Jones)
   3. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Jos? Matos)
   4. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Chris Jones)
   5. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Jos? Matos)
   6. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Chris Jones)
   7. Re: building kdebase-3.5.6-3.src.rpm - missing	xorg-x11-devel
      ? (Rex Dieter)

[Attachment #4 (multipart/digest)]


Content-Transfer-Encoding: 7bit
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Precedence: list
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
Keywords: CERN SpamKiller Note: -49 Charset: west-latin
Date: Sun, 18 Feb 2007 22:56:02 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
Content-Type: text/plain;
  charset="utf-8"
Subject: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 1

Hi,

I'm trying to build myself kdebase-3.5.6-3.src.rpm . Originally U had a buch 
of missing deps, which I was able to install, but now I am stuck on

jonesc@localhost ~/rpmbuild > rpmbuild -bb --target=`uname -p` 
SPECS/kdebase.spec
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
        xorg-x11-devel is needed by kdebase-3.5.6-3.i686

as far as I can tell package 'xorg-x11-devel' doesn't exist - what am I 
missing (I'm sure its my fault...)

Chris





Content-Transfer-Encoding: 7bit
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Precedence: list
MIME-Version: 1.0
To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Keywords: CERN SpamKiller Note: -49 Charset: west-latin
Keywords: CERN SpamKiller Note: -49 Charset: west-latin
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
In-Reply-To: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
Date: Sun, 18 Feb 2007 23:19:30 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702182319.30377.jonesc@hep.phy.cam.ac.uk>
Content-Type: text/plain;
  charset="iso-8859-1"
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 2


> jonesc@localhost ~/rpmbuild > rpmbuild -bb --target=`uname -p`
> SPECS/kdebase.spec
> Building target platforms: i686
> Building for target i686
> error: Failed build dependencies:
>         xorg-x11-devel is needed by kdebase-3.5.6-3.i686
>
> as far as I can tell package 'xorg-x11-devel' doesn't exist - what am I
> missing (I'm sure its my fault...)

OK, figured out what was wrong.

The problem lines in the spec file is

%define x_deps xorg-x11-devel xorg-x11-font-utils
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
%define x_modular 1
%define x_deps1 xorg-x11-proto-devel xorg-x11-font-utils imake 
%define x_deps2 libXcomposite-devel libXdamage-devel libXext-devel 
libXfixes-devel 
%define x_deps3 libXinerama-devel libXrandr-devel libXScrnSaver-devel 
libXtst-devel libXxf86misc-devel
%define x_deps4 libfontenc-devel libxkbfile-devel
%define x_deps %{?x_deps1} %{?x_deps2} %{?x_deps3} %{?x_deps4}
%endif
BuildRequires: %{x_deps}

which lead me to suspect that 0%{?fedora} > 4 was failing, since for FC6 
(which this system is)  I should not require xorg-x11-devel if I'm reading 
the above correctly.

OK, I was totally guessing now but I added to my ~/.rpmmacros file the line

%fedora 6

and amazing this worked.

So - why did I need to do this. I created my rpmbuild tree 
with 'fedora-buildrpmtree' as I've done before ? What else might I be missing 
from my ~/.rpmmacros  file ?

cheers Chris




Content-Transfer-Encoding: quoted-printable
From: =?iso-8859-1?q?José_Matos?= <jamatos@fc.up.pt>
Precedence: list
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
In-Reply-To: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
Date: Sun, 18 Feb 2007 23:24:15 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702182324.16219.jamatos@fc.up.pt>
Content-Type: text/plain;
  charset="iso-8859-1"
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 3

On Sunday 18 February 2007 10:56:02 pm Chris Jones wrote:
> Hi,
>
> I'm trying to build myself kdebase-3.5.6-3.src.rpm . Originally U had a
> buch of missing deps, which I was able to install, but now I am stuck on
>
> jonesc@localhost ~/rpmbuild > rpmbuild -bb --target=`uname -p`
> SPECS/kdebase.spec
> Building target platforms: i686
> Building for target i686
> error: Failed build dependencies:
>         xorg-x11-devel is needed by kdebase-3.5.6-3.i686
>
> as far as I can tell package 'xorg-x11-devel' doesn't exist - what am I
> missing (I'm sure its my fault...)

  I tried to find what package provides xorg-x11-devel for FC6 and I failed.
Just for reference I have used repoquery and "yum provides".

  A wild guess, could it be that the requirement is placed in a block 
conditionally defined for older releases and for some reason it does not 
resolve correctly in your setup?

 Most of the packages that build in mock don't build correctly in rpmbuild 
unless the same variables are defined: %{fedora}, %{disttag}, ...

> Chris

-- 
José Abílio




Content-Transfer-Encoding: 7bit
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Precedence: list
MIME-Version: 1.0
To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Keywords: CERN SpamKiller Note: -51 Charset: west-latin
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
	<200702182324.16219.jamatos@fc.up.pt>
In-Reply-To: <200702182324.16219.jamatos@fc.up.pt>
Date: Sun, 18 Feb 2007 23:44:23 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702182344.24351.jonesc@hep.phy.cam.ac.uk>
Content-Type: text/plain;
  charset="iso-8859-1"
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 4


>  Most of the packages that build in mock don't build correctly in rpmbuild
> unless the same variables are defined: %{fedora}, %{disttag}, ...

yes, the fedora tag thing was failing. See my last post.

Forgive a newbie question, but what is mock ? I've built a few SRPMS under 
rpmbuild but this is my first bash at a KDE one. I just tried the way that 
has worked before for me. Is there some better way to do this for KDE ?

Chris





Content-Transfer-Encoding: quoted-printable
From: =?iso-8859-1?q?José_Matos?= <jamatos@fc.up.pt>
Precedence: list
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
	<200702182324.16219.jamatos@fc.up.pt>
	<200702182344.24351.jonesc@hep.phy.cam.ac.uk>
In-Reply-To: <200702182344.24351.jonesc@hep.phy.cam.ac.uk>
Date: Mon, 19 Feb 2007 00:03:48 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702190003.48576.jamatos@fc.up.pt>
Content-Type: text/plain;
  charset="iso-8859-1"
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 5

On Sunday 18 February 2007 11:44:23 pm Chris Jones wrote:
> >  Most of the packages that build in mock don't build correctly in
> > rpmbuild unless the same variables are defined: %{fedora}, %{disttag},
> > ...
>
> yes, the fedora tag thing was failing. See my last post.
>
> Forgive a newbie question, but what is mock ? I've built a few SRPMS under
> rpmbuild but this is my first bash at a KDE one. I just tried the way that
> has worked before for me. Is there some better way to do this for KDE ?

$ yum info mock
...
Available Packages
Name   : mock
Arch   : i386
Version: 0.6.11
Release: 1.fc6
Size   : 34 k
Repo   : extras
Summary: Builds packages inside chroots
Description:
Mock takes a srpm and builds it in a chroot

  The advantage of this approach is building the srpm inside a chroot you 
avoid any spurious dependencies your package could have, and are not 
declared.

  Suppose that you have installed library foo, the package that you are 
building tests for its presence and finds it when building the package.

  Now you could have a problem, in order for your package to work correctly in 
other computers it needs that either the other computers have that package 
installed or that the dependence can be satisfied by the package manager. The 
purpose of those clean rooms building environment is to allow predictable and 
reproducible results when building packages.

  Another system similar to mock is mach (actually the name mock is an attempt 
to mock of mach ;-) ).

$ yum info mach
...
Available Packages
Name   : mach
Arch   : i386
Version: 0.9.1
Release: 1.fc6
Size   : 78 k
Repo   : extras
Summary: make a chroot
Description:
mach makes a chroot.
Using yum or apt-get and a suid binary, it manages to install clean chroot
environments based on the original packages for that distribution.

The clean root can be used to run jail roots, to create image files, or
to build clean packages.

> Chris

  I hope this helps,
-- 
José Abílio




Content-Transfer-Encoding: 7bit
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Precedence: list
MIME-Version: 1.0
To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Keywords: CERN SpamKiller Note: -51 Charset: west-latin
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
	<200702182344.24351.jonesc@hep.phy.cam.ac.uk>
	<200702190003.48576.jamatos@fc.up.pt>
In-Reply-To: <200702190003.48576.jamatos@fc.up.pt>
Date: Mon, 19 Feb 2007 00:18:35 +0000
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <200702190018.40288.jonesc@hep.phy.cam.ac.uk>
Content-Type: text/plain;
  charset="iso-8859-1"
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 6


>   I hope this helps,

Yes, thanks. I've installed mock and been investigating it. However, I cannot 
figure out how I would do one thing. What I want to do is install an srpm, 
modify the spec file (add a patch) and then carry on building the rpm.

With rpmbuild this is trivial - I'm doing it now with kdebase - but I cannot 
figure out how to do I would do this with mock ? Is it also possible ?

(Apologies if I've just missed the option in man mock... its getting late 
here)

cheers Chris




Content-Transfer-Encoding: 7Bit
From: Rex Dieter <rdieter@math.unl.edu>
Precedence: list
MIME-Version: 1.0
To: kde-redhat-users@lists.sourceforge.net
References: <200702182256.02586.jonesc@hep.phy.cam.ac.uk>
	<200702182344.24351.jonesc@hep.phy.cam.ac.uk>
	<200702190003.48576.jamatos@fc.up.pt>
	<200702190018.40288.jonesc@hep.phy.cam.ac.uk>
Date: Mon, 19 Feb 2007 08:35:20 -0600
Reply-To: General discussion for kde-redhat users
	<kde-redhat-users@lists.sourceforge.net>
Message-ID: <erccj8$4mo$1@sea.gmane.org>
Content-Type: text/plain; charset=us-ascii
Subject: Re: [kde-redhat-users] building kdebase-3.5.6-3.src.rpm - missing
	xorg-x11-devel ?
Message: 7

Chris Jones wrote:

>>   I hope this helps,
> 
> Yes, thanks. I've installed mock and been investigating it. However, I
> cannot figure out how I would do one thing. What I want to do is install
> an srpm, modify the spec file (add a patch) and then carry on building the
> rpm.
> 
> With rpmbuild this is trivial - I'm doing it now with kdebase - but I
> cannot figure out how to do I would do this with mock ? Is it also
> possible ?

mock takes srpm's as input, similar to how rpmbiuld --rebuild works.

-- Rex




--===============0138507037==--

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
kde-redhat-users mailing list
kde-redhat-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kde-redhat-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic