openSUSE Forums > Programming/Scripting » Stask from rpm not working

Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read

Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-Jul-2009, 16:53
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,599
BenderBendingRodriguez hasn't been rated much yet
Default Stask from rpm not working

I have small issue, while upgrading to KDE 4.3 RC1 i lost stask, by lost i mean it didn't show up in the panel and didn't work at all. So i went to kde-look.org Someone posted a patch for it, i applied it to header and cpp files.
Issue: installing by make then make install works like a charm but silly thing is that on my home repo using THE SAME source package it doesn't work, it builds fine etc. but it doesn't work at all!!

What could be the reason?? Could anyone help me with that? Could anyone look at the spec file if there's anything wrong with it?? It's on my home OBS BenderBendingRodriguez.
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #2 (permalink)  
Old 03-Jul-2009, 17:20
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,322
malcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura about
Default Re: Stask from rpm not working

Quote:
Originally Posted by BenderBendingRodriguez
I have small issue, while upgrading to KDE 4.3 RC1 i lost stask, by lost
i mean it didn't show up in the panel and didn't work at all. So i went
to kde-look.org Someone posted a patch for it, i applied it to header
and cpp files.
Issue: installing by make then make install works like a charm but
silly thing is that on my home repo using THE SAME source package it
doesn't work, it builds fine etc. but it doesn't work at all!!

What could be the reason?? Could anyone help me with that? Could anyone
look at the spec file if there's anything wrong with it?? It's on my
home OBS BenderBendingRodriguez.
Hi
The only thing is to compare the build outputs to see if there are any
differences, also check it's the four files being installed?

PS, you should really include the patches/changes to the original
source, not re-package manually edited files etc into a tarball.

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 6 days 7:43, 2 users, load average: 0.06, 0.11, 0.08
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #3 (permalink)  
Old 03-Jul-2009, 18:24
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,599
BenderBendingRodriguez hasn't been rated much yet
Default Re: Stask from rpm not working

Yes, four files as are installed. The same? as if i would install with make & make install.
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #4 (permalink)  
Old 03-Jul-2009, 20:22
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,322
malcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura about
Default Re: Stask from rpm not working

Quote:
Originally Posted by BenderBendingRodriguez
Yes, four files as are installed. The same? as if i would install with
make & make install.
Hi
Yes, if you do a manual make/make install do you see only four files
installed?

Next it would look at comparing each with md5sum, then run strace on
each to see whats up.

If your still having problems, can you provide details on the patches
you applied?

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 6 days 10:47, 2 users, load average: 0.27, 0.09, 0.03
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14

Reply With Quote
  #5 (permalink)  
Old 03-Jul-2009, 21:35
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,599
BenderBendingRodriguez hasn't been rated much yet
Default Re: Stask from rpm not working

The patch is on kde-look.org, it was provided by a person, i looked at it to check what changes it makes, all it did was changed some classes name (one got changed or renamed) so i renamed them as per the patch. I wonder what is different between building it on OBS and my system. Maybe the rpm's are somehow broken or something?

P.S. Someone reported earlier before the patch about that change.
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #6 (permalink)  
Old 03-Jul-2009, 21:42
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,322
malcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura about
Default Re: Stask from rpm not working

Quote:
Originally Posted by BenderBendingRodriguez
The patch is on kde-look.org, it was provided by a person, i looked at
it to check what changes it makes, all it did was changed some classes
name (one got changed or renamed) so i renamed them as per the patch. I
wonder what is different between building it on OBS and my system. Maybe
the rpm's are somehow broken or something?
Hi
Does seem strange, maybe strace the application and it may shed some
light. Maybe the flag options, do you set those when manually building?

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 3 (i586) Kernel 2.6.30-8-default
up 2 days 14:14, 2 users, load average: 0.12, 0.26, 0.51
CPU VIA Esther processor 1000MHz GPU VIA CX700/VX700

Reply With Quote
  #7 (permalink)  
Old 03-Jul-2009, 22:28
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,599
BenderBendingRodriguez hasn't been rated much yet
Default Re: Stask from rpm not working

I didn't set anything special besides using the same thing as in install insctructions for stasks. I used spec file from stask from KDE 4 Community repo but it shouldn't matter or should it? (I just removed one patch note in the spec file and left everythng else intact).
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
  #8 (permalink)  
Old 03-Jul-2009, 23:00
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,322
malcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura aboutmalcolmlewis has a spectacular reputation aura about
Default Re: Stask from rpm not working

Quote:
Originally Posted by BenderBendingRodriguez
I didn't set anything special besides using the same thing as in install
insctructions for stasks. I used spec file from stask from KDE 4
Community repo but it shouldn't matter or should it? (I just removed one
patch note in the spec file and left everythng else intact).
Hi
If you look at the build log from the OBS, you see the following flags
set, this is the only thing that may be causing the issue that I can
think of.
Code:
+ export 'CFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ CFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ export 'CXXFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ CXXFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables'
+ export 'LDFLAGS=-Wl,-Bsymbolic-functions '
+ LDFLAGS='-Wl,-Bsymbolic-functions '
--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 3 (i586) Kernel 2.6.30-8-default
up 0:09, 2 users, load average: 0.56, 0.69, 0.45
CPU VIA Esther processor 1000MHz GPU VIA CX700/VX700

Reply With Quote
  #9 (permalink)  
Old 04-Jul-2009, 05:14
BenderBendingRodriguez's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,599
BenderBendingRodriguez hasn't been rated much yet
Default Re: Stask from rpm not working

One thing is coming to my mind, buschmann on the Community KDE 4 repo applies patch by using a diff file while i was using the whole file, nevermind this, i don't need to build it anymore but thank You for your valuable time and knowledge. You helped me anyway. Thanks!!
__________________
How does a linux geek make love??

- unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep;
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2