Re: kde 2.2 were coming soon?


Subject: Re: kde 2.2 were coming soon?
From: Dan Burcaw (dburcaw@terraplex.com)
Date: Sun Sep 02 2001 - 19:56:27 MDT


Kevin,

I'm building kdebase now.. and will do the -fPIC update for zlib shortly.

On Sunday 02 September 2001 19:28, you wrote:
> Hi Dan,
>
> I have no idea why it work on one machine and not another. Perhaps
> my guess as to the cause is all wet. Please give it a try and let me know.
> If it works, great if not, perhaps one of the files in questions has other
> characters embedded in it that is messing up the grep -v.
>
> All of my tests with grep -v and piping worked exactly as I expected.
>
> Also, did you see my message about the need for YDL 2.0 to release
> a new zlib rpm? The old version was not properly built with -fPIC
> (which I found out the hard way via a long debugging session
> working with the OpenOffice 638 which is integrated with Mozilla).
>
> The mozilla components which linked to zlib failed to be properly
> loaded because of the lack of the position independent code switch
> (PIC) being used to build libz.so.
>
> Take care,
>
> Kevin
>
> On Sunday 02 September 2001 08:43, Dan Burcaw wrote:
> > Kevin,
> >
> > What I don't get is why this seems to work on a rawhide based box,
> > and the YDL 2.0 kdebase does something similar in the .spec and it works
> > fine, yet kdebase 2.2's spec does not work correctly.
> >
> > Anyways, I will try some of your solutions and see if kdebase 2.2
> > packages.
> >
> > :-)
> > :
> > > Hi Dan,
> > >
> > > grep seems to work fine. The problem is that some of the lines to be
> > > stripped out have the path name in double quotes like this line:
> > >
> > > %attr(-,root,root) "/usr/bin/kcheckpass"
> > >
> > > But the grep command is telling it to strip out /bin/checkpass only
> > > when it occurs at the end of the text line (that is what the $ does in
> > > grep).
> > >
> > > The line in question does not meet that critieria since the double
> > > quote (") is actually at the end of the line.
> > >
> > > Further down in the file you sent to me you will see lines without
> > > double quotes.
> > >
> > > %attr(-,root,root) /usr/lib/libtaskbarextension.so
> > >
> > > My guess is that the problem is an inadvertant set of quotes placed
> > > somewhere earlier in the spec file (probably to support spaces in
> > > paths).
> > >
> > > You could try editing the spec file to look like the following:
> > >
> > > Previously it said:
> > >
> > > cat $RPM_BUILD_DIR/file.list.%{name} |grep -v '/bin/kdesud$' |
> > >
> > >
> > > Make it say:
> > >
> > > cat $RPM_BUILD_DIR/file.list.%{name} | tr -d '"' |grep -v
> > > '/bin/kdesud$'
> > >
> > >
> > >
> > > This will strip out the double quotes before entering the grep pipe and
> > > all should be fine. The only thing that may mess it up might be
> > > pathnames with spaces.
> > >
> > > If you send me the entire .spec file I will check it to see where the
> > > extra quotes come from.
> > >
> > > Also, another solution might be to duplicate every one of the grep -v
> > > commands that ends with $ to also strip out that same line ending with
> > > "$
> > >
> > > That will also work but it would mean adding the following lines to the
> > > grep command
> > >
> > > | grep -v '/usr/bin"$' \
> > > | grep -v '/usr/lib"$' \
> > > | grep -v '/usr/share"$' \
> > > | grep -v '/usr"$' \
> > > | grep -v '/usr/sbin"$' \
> > > | grep -v '/usr/share"$' \
> > > | grep -v '/usr/bin/konsole_grantpty"$' \
> > > | grep -v '/usr/X11R6/lib"$' \
> > > | grep -v '/usr/X11R6"$' \
> > >
> > > Before it gets redirected into the output file.
> > >
> > > Let me know if either of these solutions does not do the trick.
> > >
> > > Hope this helps.
> > >
> > > Kevin
> > >
> > > On Thursday 23 August 2001 06:02, Dan Burcaw wrote:
> > > > On Thursday 23 August 2001 12:57, you wrote:
> > > > > Hi Dan,
> > > > >
> > > > > I have been on both ftp.kde.org and some of the mirror sites and
> > > > > can not find the YDL2 KDE 2.2 srpms and rpms anyplace that you
> > > > > hinted might be coming soon?
> > > > >
> > > > > Are these still coming?
> > > >
> > > > Yes. I'm having problems with the packaging of kdebase.
> > > >
> > > > I'm finding that 'grep -v' doesn't seem to work as advertised.
> > > >
> > > > cat $RPM_BUILD_DIR/file.list.%{name} |grep -v '/bin/kdesud$' |grep
> > > > -v '/ bin/kcheckpass$' |grep -v '/usr/share/config' |grep -v '/etc'
> > > > |grep -v '/usr/bin
> > > > $' |grep -v '/usr/lib$' |grep -v '/usr/share$' |grep -v '/usr$' |grep
> > > > -v '/usr/s
> > > > bin$' |grep -v '/usr/share$' |grep -v '/usr/bin/konsole_grantpty$'
> > > >
> > > > |grep -v '/us
> > > >
> > > > r/include' |grep -v '/usr/X11R6/lib$' |grep -v '/usr/X11R6$' |grep -v
> > > > 'libccont\
> > > > .a' >$RPM_BUILD_DIR/file.list.%{name}.tmp
> > > > mv -f $RPM_BUILD_DIR/file.list.%{name}.tmp
> > > > $RPM_BUILD_DIR/file.list.%{na
> > > >
> > > >
> > > >
> > > > That particular part of the spec file is not working properly.
> > > > I get duplicate entry packaging errors when %files is processing.
> > > >
> > > > Any help on this would be appreciated :)
> > > >
> > > > Franz Sirl has this built on a 2.0 box upgraded to latest rawhide
> > > > stuff, but I don't want to upgrade our development environment
> > > > just to release 2.2 KDE rpms.
> > > >
> > > > > That brings up a another point? Is YDL planning to have any
> > > > > particular "contributed" archive for SRPMS and RPMS that people
> > > > > build and contribute.
> > > >
> > > > There is a contrib/ direcetory right now.
> > > > I need to talk to our main mirrors about how to facilitate uploading.
> > > >
> > > > > The reason I ask is that there are a lot of new things coming down
> > > > > the pike (or already here).
> > > > >
> > > > > - kde 2.2
> > > > > - glibc 2.2.4 and fast after glibc-2.2.5 (compatible with gcc -3.X)
> > > > > - gcc 3.0.1 has already been released
> > > > > - Openoffice 638 will probably be released by next week
> > > > > - JDK 1.3.1 may follow along soon if it passes the JCK tests
> > > > > - new kernels
> > > > > - mozilla 0.9.3 and mozilla 0.9.4 (targeted for mid Sept?)
> > > > > -etc
> > > > >
> > > > > If you had a "contributed section" (possibly with a limited number
> > > > > of "trusted" developers able to contribute) it would certainly help
> > > > > take the load off
> > > > > of your shoulders.
> > > > >
> > > > > Also given the glibc-2.2.4 versioned symbols and gcc 3 C++ abi
> > > > > breakage, having a contrib section split into a
> > > > > glibc-2.2.1/gcc-2.95.4 for users of YDL 2.0 versus a
> > > > > glibc-2.2.5/gcc3.X for something like YDL 2.1 might be useful.
> > > >
> > > > Sounds good. Let's talk about this more once I find out about
> > > > uploading, etc.
> > > >
> > > > > Just my 2 cents.
> > > > >
> > > > > Kevin

-- 

Regards, Dan Burcaw Terra Soft Solutions, Inc.



This archive was generated by hypermail 2a24 : Sun Sep 02 2001 - 18:57:29 MDT