Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172972 - kde-base/kcontrol-3.5.6 fails to build
Summary: kde-base/kcontrol-3.5.6 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-01 07:24 UTC by buksrol
Modified: 2007-08-11 16:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build error log and system info (bug-kcontrol.txt,10.40 KB, text/plain)
2007-04-01 07:34 UTC, buksrol
Details
emerge --info (emerge-info.txt,2.90 KB, text/plain)
2007-04-01 07:44 UTC, buksrol
Details
build error log (bug-kcontrol.txt,4.74 KB, text/plain)
2007-04-01 07:44 UTC, buksrol
Details
build error log. the new one (bug-kcontrol.txt,7.01 KB, text/plain)
2007-04-01 07:52 UTC, buksrol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description buksrol 2007-04-01 07:24:01 UTC
I am using the ~x86 version of KDE (actual 3.5.6)
Every component of kde-base builds fine except kde-base/kcontrol-3.5.6

here are the last lines of the portage log:


Reproducible: Always

Steps to Reproduce:
1. set ~x86 keyword for all kde-base packages in /etc/portage/package.heywords
2. emerge kde-base/kcontrol


Actual Results:  
here are the results of 
emerge log
emerge --info
uname -a

http://nopaste.info/3794bede8f.html
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 07:25:25 UTC
Don't ever refer to pastebins when reporting bugs, please. Post/attach all relevant info here and reopen then.
Comment 2 buksrol 2007-04-01 07:28:44 UTC
hi, i got an error message saying that the comment was too long...
Comment 3 buksrol 2007-04-01 07:34:14 UTC
Created attachment 115126 [details]
build error log and system info
Comment 4 buksrol 2007-04-01 07:34:59 UTC
created attachment with the needed info
Comment 5 buksrol 2007-04-01 07:44:08 UTC
Created attachment 115127 [details]
emerge --info
Comment 6 buksrol 2007-04-01 07:44:28 UTC
Created attachment 115129 [details]
build error log
Comment 7 buksrol 2007-04-01 07:52:09 UTC
Comment on attachment 115129 [details]
build error log

wrong one and somehow unreadable
Comment 8 buksrol 2007-04-01 07:52:29 UTC
Created attachment 115132 [details]
build error log. the new one
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-01 12:09:42 UTC
And please make sure the attached one, is the real one. From the url:

> distcc[23065] (dcc_writex) ERROR: failed to write: Connection reset by peer
> distcc[23065] Warning: failed to distribute kdatetimedlg.cpp to 127.0.0.1, runni                                        ng locally instead


Sounds you've a somewhat messed up distributed build setup. Clean out /var/tmp/portage and retry to build _locally_  If it's still an issue, reopen.
Comment 10 Tres 'RiverRat' Melton 2007-04-01 21:53:24 UTC
(In reply to comment #9)
> > distcc[23065] (dcc_writex) ERROR: failed to write: Connection reset by peer
> > distcc[23065] Warning: failed to distribute kdatetimedlg.cpp to 127.0.0.1, runni                                        ng locally instead
> 
I get these all the time when I'm compiling something and don't have the remote host's distcc setup running.  It is normal and I've never had it cause a failure to compile for that reason alone.
Comment 11 buksrol 2007-04-02 06:09:57 UTC
[quote]
Sounds you've a somewhat messed up distributed build setup. Clean out
/var/tmp/portage and retry to build _locally_  If it's still an issue, reopen.
[/quote]

I have cleaned up /var/tmp/portage and went to build everything locally (disabled distcc). 

According to some user's advice i upgraded openssl,
qt and kdelibs to ~x86 unstable to make sure, there is no
stable/unstable mixup issue. Still, when building kcontrol
i got the same build error again. 

Comment 12 buksrol 2007-04-03 07:03:27 UTC
Yesterday i noticed that my USE flags were messed up somehow. With the
help of some freenode users (thanks) i realized that kdelibs kept compiling
with disabled -ssl USE flag, even when make.conf has the global ssl useflag
set and there was no entry in package.use about kdelibs. 

So i did an 'USE="ssl" emerge kdelibs kcontrol' and everything built fine.
Going to do a complete world update today to make sure everything is correct now. still got to find out, why my USE flag hasn't been recognized, but that's 
out of topic.

as you see, no bug, but a configuration fault by myself. sorry for hitting
the alarm bells. thanks to all who tried to help me out with that issue.
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-03 10:04:52 UTC
Yes, noticed this in between, too. While you're apparently fine with it, it's still a bug.
Comment 14 buksrol 2007-04-05 09:11:48 UTC
Why is it a bug when i misconfigured portage somehow?
Comment 15 Wulf Krueger (RETIRED) gentoo-dev 2007-04-23 21:16:14 UTC
Carlo, whose bug is it, though? I don't think either of our eclasses caused 
this problem or the kdelibs ebuild. Or did I miss something?

Personally, I think this was a local problem. If it was Portage, I think we 
would have heard about it.
Comment 16 buksrol 2007-04-24 06:24:18 UTC
(In reply to comment #15)
> Carlo, whose bug is it, though? I don't think either of our eclasses caused 
> this problem or the kdelibs ebuild. Or did I miss something?
> 
> Personally, I think this was a local problem. If it was Portage, I think we 
> would have heard about it.
> 


Hi there,

as i stated in my last comment, this was a configuration problem
by myself ( i am the bug reporter). I have rebuild everything KDE
related with the SSL use flag and it built fine. several times
updating world since then goes without any problem. 

So as already stated, this is not an official bug, but configuration
problem and the ticket can be closed. i will close it now. thanks
for your effort.
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-24 21:35:07 UTC
Please stop resolving bugs, buksrol. If it were an PEBKAC problem, the correct solution would be INVALID and not FIXED.


Since we still have to wait for use dependencies, the correct workaround for this bug would be to add some built_with_use() construct within pkg_setup(), but because there is bug 117860, other candidates for the same problem regarding openssl and I'm sick of these workarounds, my preferred solution would be to remove the use flag and make the OpenSSL dependency mandatory. Opinions?
Comment 18 Wulf Krueger (RETIRED) gentoo-dev 2007-04-25 06:21:16 UTC
(In reply to comment #17)
> my preferred solution would be to remove the use flag and make the OpenSSL
> dependency mandatory. Opinions?

I agree because SSL is used all over the place anyway. And it would cure the symptom but if comment #12 is correct, though, the real reason of this, I think, must be a different one:

"kdelibs kept compiling with disabled -ssl USE flag, even when make.conf has the global ssl useflag set and there was no entry in package.use about kdelibs."

buksrol's --info (cf. comment #5) indeed has the ssl USE flag set (and even if it was added when trying to solve this, he recompiled recompiled kdelibs when it was set (cf. comment #11)) which is different from bug 117860 where ssl is at least not set globally.

That's why I'm confused about this bug:

- If we consider comment #12 as valid, there would have been an issue with Portage 2.1.2.2. -> Not our bug.
- If we consider comment #12 as not entirely valid, it must be a local issue. -> Invalid.

Furthermore, in make.defaults for x86, the ssl USE flag has been set since 22. 12. 2004. So unless it's explicitly disabled by the user (which obviously isn't the case here), it's set anyway.

Don't misunderstand me: I'm fine with making openssl a hard dependency but I'm not sure if it's the right solution for *this* bug.
Comment 19 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-26 23:22:09 UTC
The error definitely stems from building kdelibs without ssl and then trying to build kcontrol with it. With kdeaddons-kfile-plugins it's the same problem.

Making openssl mandatory may need a thick skin given that we really need to make zeroconf/avahi support mandatory and having the past in mind with users moaning about removing their options, sometimes without even having a clue how their software works. But hey, who cares. :)
Comment 20 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-27 21:10:51 UTC
Fixed with kdelibs-3.5.6-r7.
Comment 21 Martin Väth 2007-04-28 08:49:58 UTC
Making zeroconf/avahi dependencies mandatory is really an annoyance since it increases a minimal kde enormously.
Why don't you solve the problem instead as other projects do: By calling built_with_use in the dependent packages when they need this feature?
Comment 22 SpanKY gentoo-dev 2007-05-07 03:19:54 UTC
gotta wonder why i suddenly have this avahi/mdns cruft being pulled in on my machine ... guess this is why huh
Comment 23 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-08 19:52:17 UTC
Among others, yes. Install it and ignore it, as I do.
Comment 24 SpanKY gentoo-dev 2007-05-08 20:06:32 UTC
if i wanted that sort of answer, i'd go install some crap like Fedora ... what's the point of USE flags if they arent respected

this bug was about something core like openssl which you cant avoid without going truly embedded ... it wasnt about mdns/avahi
Comment 25 Georg Sahli 2007-08-11 08:47:15 UTC
Sorry but with zeroconf enabled, and ignoring my useflags this KDE ebuild is broken and unstable!
I'm not willing to weaken my network for arp poisoning attacks with zeroconf, and I do not need zeroconf. On my notebook I use OpenSuse and they do not use zeroconf at all, they do use the more secure net-libs/openslp as Service Location Protocol. Why Suse can build KDE without zeroconf?
The only way to get a clean KDE 3.5.7 install for Gentoo is to download direct from www.kde.org and build in handwork. Sorry I'm ready with unstable KDE 3.5.7-r2.