Re: [gentoo-user] kdelibs wont compile

2007-08-20 Thread Matthew R. Lee
On Sunday 19 August 2007 08:50:26 Mick wrote:
 On Saturday 18 August 2007, Volker Armin Hemmann wrote:
  NO! don't mask expat!
 
  There is some reason why it got stable. expats current form is out for
  ages.
 
  emerge latest expat, emerge fontconfig, emerge qt and everything else
  broken.

 Do as Volker says.  After you run revdep-rebuild you will eventually come
 up to the XML error as you described.  There's a whole thread about it in
 this ML (search for it in Gmane).  The solution is to emerge -C XML-Parser
  emerge -uaDv XML-Parser before you continue.  If I recall you may have
 to do the same with gettext.

 HTH.
I did as I was told and all is fine now, it was a marathon compile weekend, 
180 packages.  I didn't run into the XML error stuff, am I storing up 
problems for the future?

Thanks
Matt


-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-20 Thread Neil Bothwick
On Mon, 20 Aug 2007 10:56:58 -0400, Matthew R. Lee wrote:

 I did as I was told and all is fine now, it was a marathon compile
 weekend, 180 packages.  I didn't run into the XML error stuff, am I
 storing up problems for the future?

No, because the revision number of XML-Parser was bumped, forcing an
automatic rebuild of it.


-- 
Neil Bothwick

I married your mother because I wanted children.
Imagine my disappointment when you came along.


signature.asc
Description: PGP signature


Re: [gentoo-user] kdelibs wont compile

2007-08-19 Thread Mick
On Saturday 18 August 2007, Volker Armin Hemmann wrote:


 NO! don't mask expat!

 There is some reason why it got stable. expats current form is out for
 ages.

 emerge latest expat, emerge fontconfig, emerge qt and everything else
 broken.

Do as Volker says.  After you run revdep-rebuild you will eventually come up 
to the XML error as you described.  There's a whole thread about it in this 
ML (search for it in Gmane).  The solution is to emerge -C XML-Parser  
emerge -uaDv XML-Parser before you continue.  If I recall you may have to do 
the same with gettext.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo
Today after an emerge update the system wants to update to kde 3.5.7 
However I've run into a major problem, kdelibs wont compile
It keeps stopping at the following point:

checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kde-base/kdelibs-3.5.5-r10/work/kdelibs-3.5.5/config.log

!!! ERROR: kde-base/kdelibs-3.5.5-r10 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  kdelibs-3.5.5-r10.ebuild, line 165:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 322:   Called econf '--with-distribution=Gentoo'
'--disable-fast-malloc' '--disable-libfam' '--enable-dnotify'
'--with-libart' '--with-libidn' '--without-acl' '--with-ssl'
'--with-alsa' '--without-arts' '--without-gssapi' '--without-tiff'
'--without-jasper' '--without-openexr' '--enable-cups' '--with-utempter'
'--without-lua' '--enable-sendfile' '--enable-mitshm' '--without-aspell'
'--disable-dnssd' '--without-hspell'
'--with-rgbfile=/usr/share/X11/rgb.txt' '--with-x' '--enable-mitshm'
'--without-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt'
'--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking'
'--disable-debug' '--without-debug' '--disable-final' '--without-arts'
'--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man'
'--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share'
'--sysconfdir=/usr/kde/3.5/etc'
  ebuild.sh, line 586:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack
if relevant.
!!! A complete build log is located at
'/var/tmp/portage/kde-base/kdelibs-3.5.5-r10/temp/build.log'.

I have qt 3.3.8-r3 and qt 4.3.0-r2 installed
How can the latest stable version of kdelibs not function with the latest
stable version of qt?
Also I don't understand what is meant by Make sure that you have compiled
Qt with thread support! I can't see a flag for thread support when I do
emerge -pv qt

Any help would be most appreciated
Matt
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 21:05:52 [EMAIL PROTECTED] wrote:
 Today after an emerge update the system wants to update to kde 3.5.7
 However I've run into a major problem, kdelibs wont compile
 It keeps stopping at the following point:

 checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
 qt-mt) not found. Please check your installation!
 For more details about this problem, look at the end of config.log.
 Make sure that you have compiled Qt with thread support!

 !!! Please attach the following file when filing a report to
 bugs.gentoo.org: !!!
 /var/tmp/portage/kde-base/kdelibs-3.5.5-r10/work/kdelibs-3.5.5/config.log
[SNIP]
 I have qt 3.3.8-r3 and qt 4.3.0-r2 installed

 How can the latest stable version of kdelibs not function with the latest
 stable version of qt?

kdelibs-3.x requires qt-3.x so 4.x is irrelevant.

 Also I don't understand what is meant by Make sure that you have compiled
 Qt with thread support! I can't see a flag for thread support when I do
 emerge -pv qt

Probably just means that qt-3.x is broken e.g. cause by the expat bump. Use 
revdep-rebuild to fix it (see the numerous recent threads on this list).

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 Probably just means that qt-3.x is broken e.g. cause by the expat bump.
 Use
 revdep-rebuild to fix it (see the numerous recent threads on this list).

 --
 Bo Andresen

I'm in a right mess here.  I did a revdep-rebuild -p. It wanted to
rebuild, essentially all of kde-3.5.5, because I'm in the middle of a big
emerge, everything is missing libexpat, presumably because expat was early
in the emerge.  There was no mention of qt-3.3.8-r3, but of course the
first thing revdep-rebuild wants to rebuild is kdelibs which wont rebuild
because of the qt problem.
I've tried rebuilding qt-3.3.8-r3 but that wont rebuild either, it stops
with the following error messages:

collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer/uic'
make[2]: *** [sub-uic] Error 2
make[2]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory
`/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.8-r3 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  qt-3.3.8-r3.ebuild, line 214:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack
if relevant.
!!! A complete build log is located at
'/var/tmp/portage/x11-libs/qt-3.3.8-r3/temp/build.log'.

So where do I go from here?

Matt

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, [EMAIL PROTECTED] wrote:
  Probably just means that qt-3.x is broken e.g. cause by the expat bump.
  Use
  revdep-rebuild to fix it (see the numerous recent threads on this list).
 
  --
  Bo Andresen

 I'm in a right mess here.  I did a revdep-rebuild -p. It wanted to
 rebuild, essentially all of kde-3.5.5, because I'm in the middle of a big
 emerge, everything is missing libexpat, presumably because expat was early
 in the emerge.  There was no mention of qt-3.3.8-r3, but of course the
 first thing revdep-rebuild wants to rebuild is kdelibs which wont rebuild
 because of the qt problem.
 I've tried rebuilding qt-3.3.8-r3 but that wont rebuild either, it stops
 with the following error messages:

 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1
 make[3]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designe
r/uic' make[2]: *** [sub-uic] Error 2
 make[2]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools/designe
r' make[1]: *** [sub-designer] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/x11-libs/qt-3.3.8-r3/work/qt-x11-free-3.3.8/tools'
 make: *** [sub-tools] Error 2

 !!! ERROR: x11-libs/qt-3.3.8-r3 failed.
 Call stack:
   ebuild.sh, line 1632:   Called dyn_compile
   ebuild.sh, line 983:   Called qa_call 'src_compile'
   ebuild.sh, line 44:   Called src_compile
   qt-3.3.8-r3.ebuild, line 214:   Called die

 !!! (no error message)
 !!! If you need support, post the topmost build error, and the call stack
 if relevant.
 !!! A complete build log is located at
 '/var/tmp/portage/x11-libs/qt-3.3.8-r3/temp/build.log'.

 So where do I go from here?

 Matt

with a little bit more information - like stuff that was before the error. 
Also look again at the output of revdep-rebuilt (just run revdep-rebuilt, DO 
NOT run revdep-rebuilt -X expatblabla) ignore the kde packages, have a look 
at the rest. What else is there?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Saturday 18 August 2007 22:43:52 [EMAIL PROTECTED] wrote:
 There was no mention of qt-3.3.8-r3, but of course the first thing
 revdep-rebuild wants to rebuild is kdelibs which wont rebuild because of the
 qt problem. 

Probably bug #188782. Make sure you have the latest version of portage (at 
least 2.1.2.12).

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Alex Schuster
[EMAIL PROTECTED] writes:

 Today after an emerge update the system wants to update to kde 3.5.7
 However I've run into a major problem, kdelibs wont compile
 It keeps stopping at the following point:

 checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
 qt-mt) not found. Please check your installation!
 For more details about this problem, look at the end of config.log.
 Make sure that you have compiled Qt with thread support!

I bet this comes from your recent update of expat from 1.x to 2.x., I had 
the same error I think. Because I did not have time to work this out yet, 
I just downgraded expat back to 1.x by adding 
=dev-libs/expat-2
to /etc/portage/package.mask. The real solution would be to use 
revdep-rebuild, but from what I read it seems that does not always solve 
all the issues.

Check this list for some recent postings about that topic, there are some 
threads (sorry, no time to find them for you as I'm in a hurry right now, 
but some have expat in their subject). Or look at forums.gentoo.org and 
search for expat, I'm sure you will find something.

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Samstag, 18. August 2007, Alex Schuster wrote:
 [EMAIL PROTECTED] writes:
  Today after an emerge update the system wants to update to kde 3.5.7
  However I've run into a major problem, kdelibs wont compile
  It keeps stopping at the following point:
 
  checking for Qt... configure: error: Qt (= Qt 3.3 and  4.0) (library
  qt-mt) not found. Please check your installation!
  For more details about this problem, look at the end of config.log.
  Make sure that you have compiled Qt with thread support!

 I bet this comes from your recent update of expat from 1.x to 2.x., I had
 the same error I think. Because I did not have time to work this out yet,
 I just downgraded expat back to 1.x by adding

 =dev-libs/expat-2

 to /etc/portage/package.mask. The real solution would be to use
 revdep-rebuild, but from what I read it seems that does not always solve
 all the issues.

it does, if you run revdep-rebuilt without options.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
output leaves the following packages:
dev-libs/apr-util-1.2.8
dev-libs/apr-util-0.9.12-r1
x11-libs/pango-1.16.4
x11-libs/wxGTK-2.6.3.3

In answer to the other question, I'm using portage-2.1.2.11

The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetCharacterDataHa$
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_GetCurrentLineNumbers'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1

Matt

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread gentoo


 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

OK, masking expat allowed me to rebuild qt-3.3.8-r8.  I've started
rebuilding kdelibs-3.5.7-r2 and it's got past where it stopped last time,
so fingers crossed I can finish the emerge now.
Obviously there is some issue with expat-2
Thanks for the advice
Matt
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Sonntag, 19. August 2007, [EMAIL PROTECTED] wrote:
  it does, if you run revdep-rebuilt without options.
 
 
  --
  [EMAIL PROTECTED] mailing list

 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

so you have to rebuilt fontconfig first.
Then qt.
Everytime you get an error like this, the lib is linked against old expat. 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Dale
[EMAIL PROTECTED] wrote:
 it does, if you run revdep-rebuilt without options.


 --
 [EMAIL PROTECTED] mailing list


 
 Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
 output leaves the following packages:
 dev-libs/apr-util-1.2.8
 dev-libs/apr-util-0.9.12-r1
 x11-libs/pango-1.16.4
 x11-libs/wxGTK-2.6.3.3

 In answer to the other question, I'm using portage-2.1.2.11

 The output from the faile qt-3.3.8-r3 rebuild prior to the error is:

 usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_SetCharacterDataHa$
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
 /usr/X11R6/lib/libfontconfig.so: undefined reference to
 `XML_GetCurrentLineNumbers'
 collect2: ld returned 1 exit status
 make[3]: *** [../../../bin/uic] Error 1

 Matt

   
When I ran into this I had to recompile XML-Parser among a few others. 
That may help though.

Dale

:-)  :-)


Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Volker Armin Hemmann
On Sonntag, 19. August 2007, [EMAIL PROTECTED] wrote:
  it does, if you run revdep-rebuilt without options.
 
 
  --
  [EMAIL PROTECTED] mailing list
 
  Right, Ignoring all the kde and media stuff in the revdep-rebuild -p
  output leaves the following packages:
  dev-libs/apr-util-1.2.8
  dev-libs/apr-util-0.9.12-r1
  x11-libs/pango-1.16.4
  x11-libs/wxGTK-2.6.3.3
 
  In answer to the other question, I'm using portage-2.1.2.11
 
  The output from the faile qt-3.3.8-r3 rebuild prior to the error is:
 
  usr/X11R6/lib/libfontconfig.so: undefined reference to
  `XML_SetCharacterDataHa$
  /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
  /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
  /usr/X11R6/lib/libfontconfig.so: undefined reference to
  `XML_ParserCreate' /usr/X11R6/lib/libfontconfig.so: undefined reference
  to `XML_SetUserData' /usr/X11R6/lib/libfontconfig.so: undefined reference
  to `XML_GetErrorCode' /usr/X11R6/lib/libfontconfig.so: undefined
  reference to `XML_GetBuffer' /usr/X11R6/lib/libfontconfig.so: undefined
  reference to
  `XML_GetCurrentLineNumbers'
  collect2: ld returned 1 exit status
  make[3]: *** [../../../bin/uic] Error 1
 
  Matt

 OK, masking expat allowed me to rebuild qt-3.3.8-r8.  I've started
 rebuilding kdelibs-3.5.7-r2 and it's got past where it stopped last time,
 so fingers crossed I can finish the emerge now.
 Obviously there is some issue with expat-2
 Thanks for the advice
 Matt

NO! don't mask expat!

There is some reason why it got stable. expats current form is out for ages.

emerge latest expat, emerge fontconfig, emerge qt and everything else broken.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdelibs wont compile

2007-08-18 Thread Bo Ørsted Andresen
On Sunday 19 August 2007 00:05:44 [EMAIL PROTECTED] wrote:
 In answer to the other question, I'm using portage-2.1.2.11

Soo.. as said. You should fix that. That will change the order in which 
revdep-rebuild rebuilds things..

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.