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

List:       kde-bugs-dist
Subject:    Bug#1219: kde 1.1 rpm's specfile weirdness
From:       Duncan Haldane <f.d.m.haldane () cwix ! com>
Date:       1999-04-17 14:13:49
[Download RAW message or body]


Yes, this is because you are using (I think) rpm 2.9 or 3.0 ( greater than rpm 2.5
series)

Changes to rpm break the "2rhx" rpms. (Thanks, Red Hat !)

This breaks the 2rh5x spec files, because two character macros like "cc"
are no longer  recognised.  The later "3rh5x"
rpms fix this with "cc" becoming "compiler",
"rh" becoming "redhat" etc.

but the updated src rpms for the applications were not posted, as no updates to
the applications have been needed.




OK , 
I'll do this.    

In the meantime, rebuild with rpm 2.5.x






 17-Apr-99 Stefan van der Eijk wrote:
> Package: kdeadmin-1.1-2rh5x.src.rpm, kdegames-1.1-3rh5x.src.rpm,
> kdegraphics-1.1-2rh5x.src.rpm, kdemultimedia-1.1-2rh5x.src.rpm,
> kdenetwork-1.1-2rh5x.src.rpm, kdetoys-1.1-2rh5x.src.rpm
> 
> System: Alpha (Miata), Redhat 5.2
> Compiler: EGCS 1.1.2
> Rpm version: 2.92
> 
> When I try to rebuild (rpm --rebuild) kdetoys (for example):
> 
> + ./configure --prefix=/opt/kde
> --with-install-root=/var/tmp/kdetoys-buildroot
> creating cache ./config.cache
> checking host system type... fg: no job control
> admin/config.guess: ./dummy: No such file or directory
> objdump: dummy: No such file or directory
> alpha-unknown-linux-gnu
> checking target system type... alpha-unknown-linux-gnu
> checking build system type... alpha-unknown-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for a C-Compiler... %{cc}
> checking whether the C compiler (%{cc}  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> 
> Hmmm... but when I then go to the the build directory and do a
> ./configure, it goes through without any problems. So, this leaves the
> problem within the rpm package, the .spec file to be correct.
> 
> OK. One packages that does get built is kdeutils. One of the differences
> in the spec file between kdeutils and kdeadmin are the following lines:
> 
> kdeutils:
> %define target RedHat 5.1 or 5.2 systems
> %define compiler egcs
> %define rhseries rh5x
> %define redhat redhat-release >= 5.1
> %define qtrequired  qt >= 1.42 qt-egcs-10x
> 
> kdeadmin:
> %define target RedHat 5.1 or 5.2 systems
> %define cc egcs
> %define rh rh5x
> %define redhat redhat-release >= 5.1
> %define qt  qt >= 1.42 qt-egcs-10x
> 
> If I change the "%define cc egcs" into "%define compiler egcs" (and
> replace the "cc" entries into "compiler" through the specfile) then the
> package compiles fine. The names of the packages only come out funny -->
> kdeadmin-users-1.1-2%{rh}.alpha.rpm. I guess that the other ones also
> have to be fixed.
> 
> The packages that don't get built are:
> kdeadmin-1.1-2rh5x.src.rpm
> kdegames-1.1-3rh5x.src.rpm
> kdegraphics-1.1-2rh5x.src.rpm
> kdemultimedia-1.1-2rh5x.src.rpm
> kdenetwork-1.1-2rh5x.src.rpm
> kdetoys-1.1-2rh5x.src.rpm
> 
> Maybe somebody can look into the .spec files of these scr.rpm and
> straighten them out a bit. Maybe try to get the same %define convention
> in all of them.
> 
> Greetings,
> 
> Stefan van der Eijk
> s.vandereijk@chello.nl

----------------------------------
E-Mail: Duncan  Haldane <f.d.m.haldane@cwix.com>
Date: 17-Apr-99
Time: 09:56:16

This message was sent by XFMail
----------------------------------

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

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