View previous topic :: View next topic |
Author |
Message |
KD-120RD Tux's lil' helper
Joined: 07 Mar 2004 Posts: 149 Location: Hamburg
|
Posted: Fri Jun 02, 2006 2:00 pm Post subject: |
|
|
Hi.
1. thanks for the work @ flameeyes
2. a few questions about as-needed. i didn't get it yet.
- is --as-needed enabled by default now?
- do I have to emerge kdelibs twice to benefit from --as-needed?
- if so, shouldn't all all kde packages be rebuild a second time then?
thx for clearance. |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 2:17 pm Post subject: |
|
|
I haven't blogged about this because I'm still waiting to see the outcome on the iBook, although truedfx already tested and confirms.
The problem with kdelibs is a bug in binutils, so the filtering of the flag is going to be removed from kdelibs soon.
The solution to is either to build the first time kdelibs without --as-needed (or by unmerging the previous kdelibs) or to use the binutils 2.16.93 from my overlay ( look at http://farragut.flameeyes.is-a-geek.org/articles/2006/05/31/replacing-gitweb , there's the git overlay command) that has the patch needed. |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 2:24 pm Post subject: |
|
|
Oh a note that might be interesting to know, seeing that there is people using modified eclasses that might come out as bugs for me
The kdenewldflags thing is totally pointless. --enable-new-dtags on Gentoo is a no-op, as it's _forcefully_ enabled by our binutils. --as-needed can (and *should*) be passed through LDFLAGS (see http://www.gentoo.org/proj/en/qa/asneeded.xml ).
It's for both your and my sake that I ask you all to limit the usage of modified eclasses, especially for this trivial thing that really does not do much magic right now |
|
Back to top |
|
|
kastorff Apprentice
Joined: 19 May 2004 Posts: 183 Location: Atlanta, GA USA
|
Posted: Fri Jun 02, 2006 2:25 pm Post subject: |
|
|
I had problems with artsplugin-mpeglib on KDE 3.5.2 as well. The 3.5.3 version fails with:
Code: | Symlinking library libmpeg under /usr/kde/3.5/lib/ in source dir
* Applying artsplugin-mpeglib-3.5.2-libarts.patch ...
* A dry-run of patch command succeeded, but actually
* applying the patch failed!
* Failed Patch: artsplugin-mpeglib-3.5.2-libarts.patch !
* ( /usr/portage/kde-base/artsplugin-mpeglib/files/artsplugin-mpeglib-3.5.2-libarts.patch ) |
_________________ Keith Kastorff |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 2:32 pm Post subject: |
|
|
Okay this I missed (actually I fixed the patch naming last night, I was still building kdevelop and I thought of fixing this afterward, but then I needed some sleep and i forgot about it)
It's fixed now, thanks for reporting (if you want to fix locally, just remove the PATCHES line from the ebuild. |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Fri Jun 02, 2006 3:16 pm Post subject: |
|
|
sorry to interrupt your LDFLAGs discussions, but:
will there monolithic ebuilds?
and if not: how to switch WITHOUT unmerging the monolithic ones first?
I really don't want to use the split ebuilds, if I don't have to. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Fri Jun 02, 2006 3:19 pm Post subject: |
|
|
Just allowed my desktop to compile 3.5.3 overnight and everything compiled without any problems and I must say that KDE is working better than ever so far. The best part though is
KDE 3.5.3 Changelog wrote: | General
* New: KDE startup reordered in order to improve startup time. |
I really noticed at least a huge reduction in startup time for KDE with this release. |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 3:23 pm Post subject: |
|
|
Monolithic ebuilds are in the works, genstef is handling them this time (I don't have a chroot ready and I'm still giving the second try to splits on ~ppc for the binutils fix and a few other things that I run there and not here).
They should be ready soon. |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Fri Jun 02, 2006 3:51 pm Post subject: |
|
|
ok, thanks for the news. _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
ercoppa Guru
Joined: 10 Dec 2005 Posts: 371 Location: roma
|
Posted: Fri Jun 02, 2006 4:05 pm Post subject: |
|
|
thx also by me |
|
Back to top |
|
|
KD-120RD Tux's lil' helper
Joined: 07 Mar 2004 Posts: 149 Location: Hamburg
|
Posted: Fri Jun 02, 2006 5:49 pm Post subject: |
|
|
Flameeyes wrote: | I haven't blogged about this because I'm still waiting to see the outcome on the iBook, although truedfx already tested and confirms.
The problem with kdelibs is a bug in binutils, so the filtering of the flag is going to be removed from kdelibs soon.
The solution to is either to build the first time kdelibs without --as-needed (or by unmerging the previous kdelibs) or to use the binutils 2.16.93 from my overlay ( look at http://farragut.flameeyes.is-a-geek.org/articles/2006/05/31/replacing-gitweb , there's the git overlay command) that has the patch needed. |
ok thanks for this info.
I cant find the binutils bug on bugs.gentoo.ogr can you give the bug#?
I also tried to emerge kde 3.5.3 now, but kdelibs fails.
Code: | checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details. |
my cflags are:
Code: | heelflip adrian # cat /etc/make.conf
# These settings where set by the catalyst build script that automatically build this stage
# Please consult /etc/make.conf.exmaple for a more detailed example
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed" # -Wl,-z,now
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
USE="-ipv6 -gtk -gtk2 -gnome -eds -xmms qt kde -arts alsa -oss -gstreamer xine ffmpeg x264 win32codecs asf xvid real quicktime
aac a52 dvd dvdr dvdread visualization bash-completion kdeenablefinal 3dnow 3dnowext mmx mmxext sse nvidia nptl"
FEATURES="ccache sandbox prelink keepwork" #collision-protect keepwork distcc
CCACHE_SIZE="1.5G"
PORTAGE_NICENESS="10"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
PORTDIR_OVERLAY=/usr/local/portage
ALSA_CARDS="fm801" |
Code: | heelflip adrian # gcc-config -l
[1] i686-pc-linux-gnu-3.4.6 *
[2] i686-pc-linux-gnu-3.4.6-hardened
[3] i686-pc-linux-gnu-3.4.6-hardenednopie
[4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.6-hardenednossp
heelflip adrian # binutils-config -l
[1] i686-pc-linux-gnu-2.16.1 * |
|
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 6:00 pm Post subject: |
|
|
The but is not in gentoo's zilla because it does not make sense here since it's a non-release snapshot. It might be present in 2.17 too anyway, in which case I would ask for the patch to be merged in Gentoo's patchset. The patch in my overlay is the whole email message so it contains all you might want to know, it also contains the upstream bug to which it refers.
About the configure issue, you might want to look at its config.log to see what the error is. Suggestion: don't use -s as portage is stripping already at the end. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Jun 02, 2006 6:28 pm Post subject: |
|
|
Argh. Just spent the last day compiling kde for the first time to try it out, and now I see this.
Now I have to start all over again.
Does your binutils (or this release of kde) fix problems with other kde apps which fail with --as-needed?
Each of the following failed for me, but compiled fine without --as-needed in LDFLAGS (was using the standard binutils 2.16.93 from portage);
- khotkeys
- kicker
- kwin
- kaddressbook
- korganizer
- konqueror
Thanks.
Oh, KD-120RD; you might want to remove the commented out part in your LDFLAGS.
If emerge info is showing it, it is possible it is still being passed, and with the preceding '#'.
Edit: another question; with the kdehiddenvisibility USE flag, should I or should I not have -fvisibility-inlines-hidden in CXXFLAGS? _________________ "You have to invite me in" |
|
Back to top |
|
|
beatryder Veteran
Joined: 08 Apr 2005 Posts: 1138
|
Posted: Fri Jun 02, 2006 7:51 pm Post subject: |
|
|
Quote: | Oh, KD-120RD; you might want to remove the commented out part in your LDFLAGS.
If emerge info is showing it, it is possible it is still being passed, and with the preceding '#'.
|
Look closer, that is not emerge --info, its "cat /etc/make.conf" :p So that will be ignored.
however he does have the "--as-needed" Which seems to be causing trouble. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
|
Jakub Guru
Joined: 04 Oct 2003 Posts: 377 Location: Warsaw, Poland
|
Posted: Fri Jun 02, 2006 9:29 pm Post subject: |
|
|
Thank you Flameeyes for your work on the ebuilds . I really appreciate it a lot. |
|
Back to top |
|
|
ejs76 Tux's lil' helper
Joined: 07 Feb 2004 Posts: 148
|
Posted: Fri Jun 02, 2006 9:37 pm Post subject: |
|
|
This is strange..
After emerging all the new kde3.5.3 split packages I did an emerge -auDv world. With this output:
Code: |
emerge -auDv world
These are the packages that would be merged, in order:
Calculating world dependencies... done!
[ebuild UD] kde-base/arts-3.5.2 [3.5.3] USE="alsa arts mp3 vorbis -artswrappersuid -debug -esd -jack -kdeenablefinal -kdehiddenvisibility -nas -xinerama" 0 kB
[ebuild UD] kde-base/kdelibs-3.5.2-r6 [3.5.3] USE="alsa arts cups spell ssl tiff -acl -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -xinerama -zeroconf" 0 kB
[ebuild U ] dev-python/pyrex-0.9.4.1 [0.9.3.1] 177 kB
|
Why does pyrex force kdelibs to downgrade?? AFAIK there are no dependencies between them.
Anyone?? _________________ ~amd64
PhenomII x4 955 | MSI 790GX-G65 | ATI Radeon 5770 | 8GB DDR3 1333 |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Fri Jun 02, 2006 9:44 pm Post subject: |
|
|
Try watching what it's trying to take it down with emerge -pvuDt world. But if you had umbrello installed, sync and should be fixed, I forgot about it in the first place and fixed it afterward. |
|
Back to top |
|
|
ejs76 Tux's lil' helper
Joined: 07 Feb 2004 Posts: 148
|
Posted: Fri Jun 02, 2006 10:04 pm Post subject: |
|
|
I'm not using umbrello and an emerge -pvuDt world gives me this:
Code: |
emerge -pvuDt world
These are the packages that would be merged, in reverse order:
Calculating world dependencies... done!
[nomerge ] kde-base/kmail-3.5.3 USE="arts crypt -debug -kdeenablefinal -kdehiddenvisibility -xinerama"
[nomerge ] kde-base/kdebase-kioslaves-3.5.3 USE="arts hal ldap samba -debug -kdeenablefinal -kdehiddenvisibility -openexr -xinerama"
[nomerge ] sys-apps/hal-0.5.7-r2 USE="acpi crypt -debug -dmi -doc -pcmcia"
[nomerge ] sys-apps/dbus-0.61 USE="X python qt -debug -doc -gtk -mono"
[ebuild U ] dev-python/pyrex-0.9.4.1 [0.9.3.1] 177 kB
[nomerge ] kde-base/kdeadmin-kfile-plugins-3.5.1 USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama"
[ebuild UD] kde-base/kdelibs-3.5.2-r6 [3.5.3] USE="alsa arts cups spell ssl tiff -acl -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -xinerama -zeroconf" 0 kB
[ebuild UD] kde-base/arts-3.5.2 [3.5.3] USE="alsa arts mp3 vorbis -artswrappersuid -debug -esd -jack -kdeenablefinal -kdehiddenvisibility -nas -xinerama" 0 kB
|
Don't know what to do realy. Should I try to upgrade dbus as it is the only package listed with a python dependency? _________________ ~amd64
PhenomII x4 955 | MSI 790GX-G65 | ATI Radeon 5770 | 8GB DDR3 1333 |
|
Back to top |
|
|
Kanniball Apprentice
Joined: 23 Jan 2004 Posts: 208 Location: Portugal
|
Posted: Sat Jun 03, 2006 12:07 am Post subject: |
|
|
hey KDE fans:
umerge your kopete, and emerge kopete 0.12 from net-im/kopete...
it's beatiful |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sat Jun 03, 2006 2:54 am Post subject: |
|
|
ejs76 wrote: | I'm not using umbrello and an emerge -pvuDt world gives me this:
Code: |
emerge -pvuDt world
These are the packages that would be merged, in reverse order:
Calculating world dependencies... done!
[nomerge ] kde-base/kmail-3.5.3 USE="arts crypt -debug -kdeenablefinal -kdehiddenvisibility -xinerama"
[nomerge ] kde-base/kdebase-kioslaves-3.5.3 USE="arts hal ldap samba -debug -kdeenablefinal -kdehiddenvisibility -openexr -xinerama"
[nomerge ] sys-apps/hal-0.5.7-r2 USE="acpi crypt -debug -dmi -doc -pcmcia"
[nomerge ] sys-apps/dbus-0.61 USE="X python qt -debug -doc -gtk -mono"
[ebuild U ] dev-python/pyrex-0.9.4.1 [0.9.3.1] 177 kB
[nomerge ] kde-base/kdeadmin-kfile-plugins-3.5.1 USE="arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama"
[ebuild UD] kde-base/kdelibs-3.5.2-r6 [3.5.3] USE="alsa arts cups spell ssl tiff -acl -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -xinerama -zeroconf" 0 kB
[ebuild UD] kde-base/arts-3.5.2 [3.5.3] USE="alsa arts mp3 vorbis -artswrappersuid -debug -esd -jack -kdeenablefinal -kdehiddenvisibility -nas -xinerama" 0 kB
|
Don't know what to do realy. Should I try to upgrade dbus as it is the only package listed with a python dependency? |
THe down grade is due to you trying to install an older kdeadmin-kfile-plugins. Make sure you have 3.5.3 of kdeadmin-kfile-plugins added to your package.keywords (looks like it may not be). _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
Back to top |
|
|
KD-120RD Tux's lil' helper
Joined: 07 Mar 2004 Posts: 149 Location: Hamburg
|
Posted: Sat Jun 03, 2006 4:04 am Post subject: |
|
|
beatryder wrote: | Quote: | Oh, KD-120RD; you might want to remove the commented out part in your LDFLAGS.
If emerge info is showing it, it is possible it is still being passed, and with the preceding '#'.
|
Look closer, that is not emerge --info, its "cat /etc/make.conf" :p So that will be ignored.
however he does have the "--as-needed" Which seems to be causing trouble. |
yes that was it. I thought --ass-needed is filtered out, so I didn't removed it.
but now it works.
oh no. while im typing this emerge fails.
Code: |
/usr/qt/3/include/qwidget.h:871: error: expected initializer before "QWidget"
/usr/qt/3/include/qwidget.h:874: error: variable or field `setWFlags' declared void
/usr/qt/3/include/qwidget.h:874: error: `QWidget::setWFlags' declared as an `inline' variable
/usr/qt/3/include/qwidget.h:874: error: `int QWidget::setWFlags' is not a static member of `class QWidget'
/usr/qt/3/include/qwidget.h:874: error: `WFlags' was not declared in this scope
/usr/qt/3/include/qwidget.h:875: error: expected `,' or `;' before '{' token
/usr/qt/3/include/qwidget.h:877: error: variable or field `clearWFlags' declared void
/usr/qt/3/include/qwidget.h:877: error: `QWidget::clearWFlags' declared as an `inline' variable
/usr/qt/3/include/qwidget.h:877: error: `int QWidget::clearWFlags' is not a static member of `class QWidget'
/usr/qt/3/include/qwidget.h:877: error: `WFlags' was not declared in this scope
/usr/qt/3/include/qwidget.h:878: error: expected `,' or `;' before '{' token
make[4]: *** [libkdeinit_dcopserver_la.all_cpp.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
./dcopglobal.h:69: warning: 'DCOPServerAuthProcs' defined but not used
make[4]: *** [libDCOP_la.all_cpp.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdel
[/ | code] |
|
Back to top |
|
|
Tolstoi l33t
Joined: 20 May 2004 Posts: 678
|
Posted: Sat Jun 03, 2006 6:04 am Post subject: |
|
|
What works for me is an " emerge -a [package-name]-3.5.3 " . It's ok for me, because I don't want all the stuff. So far everything compiles fine (hopefully) . |
|
Back to top |
|
|
ejs76 Tux's lil' helper
Joined: 07 Feb 2004 Posts: 148
|
Posted: Sat Jun 03, 2006 8:27 am Post subject: |
|
|
@roderick
That did it. (I should have seen that though, guess I was a little bit tired last night )
Thanks for the help! _________________ ~amd64
PhenomII x4 955 | MSI 790GX-G65 | ATI Radeon 5770 | 8GB DDR3 1333 |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sat Jun 03, 2006 2:31 pm Post subject: |
|
|
ejs76 wrote: | @roderick
That did it. (I should have seen that though, guess I was a little bit tired last night )
Thanks for the help! |
No problem. It can be quite confusing trying to look through all the emerge detail to determine exactly what is happening. I've been down that road manytimes. _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
Back to top |
|
|
agrippa_cash Tux's lil' helper
Joined: 08 May 2003 Posts: 143 Location: Los Angeles
|
Posted: Sat Jun 03, 2006 11:10 pm Post subject: |
|
|
I'm having a similar problem. I've emerge kdelibs-3.5.3 with gcc-4.1.1 (at least twice) but when I try to emerge kdebase-meta I get:
Code: | checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt
checking for moc... /usr/qt/3/bin/moc
checking for uic... /usr/qt/3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/kde/3.5/lib, headers /usr/kde/3.5/include
checking if UIC has KDE plugins available... no
configure: error:
you need to install kdelibs first.
If you did install kdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings.
|
I reemereged QT-3.3.6-r1 and kdelibs this morning and their is no other version of either.
Does anyone know what is wrong here. _________________ Athlon xp 1700+;VIA-KT266;512mb RAM;Radeon 9600
-running with udev, hal, dbus, pmount & modular-xorg |
|
Back to top |
|
|
|