Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apr-util and 386/686
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Sat May 05, 2007 4:15 pm    Post subject: apr-util and 386/686 Reply with quote

When doing a revdep-rebuilt, emerge is not able to install apr-util:
Code:
>>> Emerging (5 of 39) dev-libs/apr-util-0.9.12 to /
 * apr-util-0.9.12.tar.gz RMD160 ;-) ...                                                        [ ok ]
 * apr-util-0.9.12.tar.gz SHA1 ;-) ...                                                          [ ok ]
 * apr-util-0.9.12.tar.gz SHA256 ;-) ...                                                        [ ok ]
 * apr-util-0.9.12.tar.gz size ;-) ...                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                          [ ok ]
 * checking apr-util-0.9.12.tar.gz ;-) ...                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking apr-util-0.9.12.tar.gz to /var/tmp/portage/dev-libs/apr-util-0.9.12/work
 * Applying apr-util-0.9.12-linking.patch ...                                                   [ ok ]
 * Running elibtoolize in: apr-util-0.9.12/xml/expat/conftools
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/apr-util-0.9.12/work/apr-util-0.9.12 ...
 * Found db version 4.3
 * Found db version 4.3
include version 4.3
 * econf: updating apr-util-0.9.12/build/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating apr-util-0.9.12/build/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating apr-util-0.9.12/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating apr-util-0.9.12/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/apr-util-0 --with-apr=/usr --with-expat=/usr --with-gdbm --with-dbm=db43 --with-berkeley-db=/usr/include/db4.3:/usr/lib --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for working mkdir -p... yes
APR-util Version: 0.9.12
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "i386-pc-linux-gnu-gcc"
  setting CPP to "i386-pc-linux-gnu-gcc -E"
  adding "-pthread" to CFLAGS
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
checking for i686-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-libs/apr-util-0.9.12/work/apr-util-0.9.12/config.log

!!! ERROR: dev-libs/apr-util-0.9.12 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3902:   Called src_compile
  apr-util-0.9.12.ebuild, line 50:   Called econf '--datadir=/usr/share/apr-util-0' '--with-apr=/usr' '--with-expat=/usr' '--with-gdbm' '--with-dbm=db43' '--with-berkeley-db=/usr/include/db4.3:/usr/lib'
  ebuild.sh, line 577:   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/log/portage/dev-libs:apr-util-0.9.12:20070505-174924.log'


This error is also the content of the given logfile. I've switched from i386-pc-linux-gnu-gcc to i686-pc-linux-gnu-gcc a long time ago and everything went fine. I have no clue what lib or package remained as i386. Is there any possibility to solve this error without re-emerging my whole world?
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat May 05, 2007 8:50 pm    Post subject: Reply with quote

Have you fillowed the GCC upgrade guide religiously? If you're not sure, you can try
Code:
fix_libtool_files.sh --oldarch i386
before retrying the failing package.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Sun May 06, 2007 1:13 pm    Post subject: Reply with quote

I followed the guide word by word in those days and I never had any problems with inconsistencies. Fix_libtool_files.sh hasn't found anything and therefor hasn't fixed anything. Is there any possibility to find out which lib/package causes the error? My world is >1000 packages and I really want to avoid to keep my system on for days.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun May 06, 2007 2:21 pm    Post subject: Reply with quote

We'll have to dig deeper if that wasn't it. Can you please post the contents of
Code:
/var/log/portage/dev-libs:apr-util-0.9.12:20070505-174924.log
?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
d135-1r43
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 129

PostPosted: Sat May 12, 2007 3:50 pm    Post subject: Reply with quote

I solved the problem: I've created symlinks from every empty folder with "i386-pc-linux-gnu-gcc" in its name to the corresponding "i386-pc-linux-gnu-gcc" folder.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum