public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unable to emerge kdebase/kfilereplace-4.3.5
@ 2010-06-16 21:29 Thomas Revell
  2010-06-17  0:33 ` [gentoo-user] " walt
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Revell @ 2010-06-16 21:29 UTC (permalink / raw
  To: gentoo-user

Hi everyone,

I've got a bit of a problem with a new Gentoo install that I'm currently 
trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5 
is failing, apparently due to a missing header file in its sources.The 
full build log is as follows:

^[[32;01m*^[[0m CPV:  kde-base/kfilereplace-4.3.5
 ^[[32;01m*^[[0m REPO: gentoo
 ^[[32;01m*^[[0m USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 >>> Unpacking source...
 ^[[32;01m*^[[0m Unpacking parts of kdewebdev-4.3.5.tar.bz2 to 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work ...
^[[A^[[162C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 >>> Source unpacked in /var/tmp/portage/kde-base/kfilereplace-4.3.5/work
 >>> Preparing source in 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5 ...
 >>> Source prepared.
 >>> Configuring source in 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5 ...
 >>> Working in BUILD_DIR: 
"/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build" 

cmake -C 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/temp/gentoo_common_config.cmake 
-DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF 
-DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc 
-DWITH_KdepimLibs=OFF -DWITH_LibXml2=OFF -DWITH_LibXslt=OFF 
-DWITH_Boost=OFF -DWITH_LibTidy=OFF -DCMAKE_BUILD_TYPE=Gentoo 
-DCMAKE_INSTALL_DO_STRIP=OFF 
-DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/kfilereplace-4.3.5/temp/gentoo_rules.cmake  
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5
loading initial cache file 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/temp/gentoo_common_config.cmake 

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- 
works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in 
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so 

-- Looking for XOpenDisplay in 
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so 
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.3.80
-- Found Phonon: /usr/lib64/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=core2 -O2 -pipe -combine -mmmx -msse -msse2 
-msse3 -msse4 -msahf -maccumulate-outgoing-args -mno-align-stringops 
-minline-stringops-dynamically  -Wno-long-long -std=iso9899:1990 -Wundef 
-Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts 
-Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security 
-Wmissing-format-attribute -fno-common
C++             -march=core2 -O2 -pipe -combine -mmmx -msse -msse2 
-msse3 -msse4 -msahf -maccumulate-outgoing-args -mno-align-stringops 
-minline-stringops-dynamically  -Wnon-virtual-dtor -Wno-long-long -ansi 
-Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wformat-security -fno-exceptions -fno-check-new -fno-common 
-Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden 
-fvisibility-inlines-hidden
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1
Module          -Wl,--enable-new-dtags -Wl,--fatal-warnings 
-Wl,--no-undefined -lc -Wl,-O1
Shared          -Wl,--enable-new-dtags -Wl,--fatal-warnings 
-Wl,--no-undefined -lc -Wl,-O1

-- Configuring done
-- Generating done
-- Build files have been written to: 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build
 >>> Source configured.
 >>> Compiling source in 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5 ...
 >>> Working in BUILD_DIR: 
"/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build" 

make -j2
^[[35m^[[1mScanning dependencies of target kfilereplace_automoc
^[[35m^[[1mScanning dependencies of target kfilereplacepart_automoc
^[[0m^[[0m^[[34m^[[1mGenerating kfilereplace.moc
^[[0m^[[34m^[[1mGenerating commandengine.moc
^[[0m^[[34m^[[1mGenerating kaddstringdlg.moc
^[[0m^[[34m^[[1mGenerating knewprojectdlg.moc
^[[0m[  0%] Built target kfilereplace_automoc
^[[35m^[[1mScanning dependencies of target kfilereplace
^[[34m^[[1mGenerating kfilereplacepart.moc
^[[0m^[[0m[  2%] ^[[32mBuilding CXX object 
kfilereplace/CMakeFiles/kfilereplace.dir/kfilereplace_automoc.o
^[[0m[  5%] ^[[32mBuilding CXX object 
kfilereplace/CMakeFiles/kfilereplace.dir/kfilereplace.o
^[[0m^[[34m^[[1mGenerating kfilereplaceview.moc
^[[0m^[[34m^[[1mGenerating koptionsdlg.moc
^[[0m[  5%] Built target kfilereplacepart_automoc
[  8%] ^[[32mBuilding CXX object 
kfilereplace/CMakeFiles/kfilereplace.dir/main.o
^[[0m/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5/kfilereplace/kfilereplace.cpp: 
In constructor 'KFileReplace::KFileReplace()':
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5/kfilereplace/kfilereplace.cpp:31: 
warning: 'KParts::MainWindow::MainWindow(QWidget*, const char*, 
Qt::WindowFlags)' is deprecated (declared at 
/usr/include/kparts/mainwindow.h:55)
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5/kfilereplace/kfilereplace.cpp:34: 
warning: 'static KLibLoader* KLibLoader::self()' is deprecated (declared 
at /usr/include/klibloader.h:142)
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5/kfilereplace/kfilereplace.cpp:37: 
warning: 'QObject* KPluginFactory::create(QObject*, const char*, const 
QStringList&)' is deprecated (declared at 
/usr/include/kpluginfactory.h:342)
[ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
^[[0m^[[31m^[[1mLinking CXX executable kfilereplace
^[[0m[ 13%] ^[[34m^[[1mGenerating kfilereplaceadaptor.cpp, 
kfilereplaceadaptor.h
^[[0m[ 16%] ^[[34m^[[1mGenerating kfilereplaceviewwdg.h
^[[0m[ 19%] ^[[34m^[[1mGenerating kaddstringdlgs.h
^[[0m[ 22%] ^[[34m^[[1mGenerating knewprojectdlgs.h
^[[0m[ 25%] ^[[34m^[[1mGenerating koptionsdlgs.cpp
^[[0m[ 27%] ^[[34m^[[1mGenerating koptionsdlgs.moc.cpp
^[[0mmoc: 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h: 
No such file
make[2]: *** [kfilereplace/koptionsdlgs.moc.cpp] Error 1
make[1]: *** [kfilereplace/CMakeFiles/kfilereplacepart.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 27%] Built target kfilereplace
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: kde-base/kfilereplace-4.3.5 failed:
 ^[[31;01m*^[[0m   Make failed!
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   54:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 4224:  Called kde4-meta_src_compile
 ^[[31;01m*^[[0m   environment, line 3300:  Called kde4-base_src_compile
 ^[[31;01m*^[[0m   environment, line 2958:  Called cmake-utils_src_compile
 ^[[31;01m*^[[0m   environment, line 1094:  Called _execute_optionaly 
'src_compile'
 ^[[31;01m*^[[0m   environment, line  506:  Called 
enable_cmake-utils_src_compile
 ^[[31;01m*^[[0m   environment, line 1469:  Called cmake-utils_src_make
 ^[[31;01m*^[[0m   environment, line 1113:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m           emake "$@" || die "Make failed!";
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info 
=kde-base/kfilereplace-4.3.5',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv 
=kde-base/kfilereplace-4.3.5'.
 ^[[31;01m*^[[0m The complete build log is located at 
'/var/tmp/portage/kde-base/kfilereplace-4.3.5/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at 
'/var/tmp/portage/kde-base/kfilereplace-4.3.5/temp/environment'.
 ^[[31;01m*^[[0m S: 
'/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5'

It looks to me as though the relevant line is "moc: 
/var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h: 
No such file"

As requested by the above log, here is the output of emerge --info 
=kde-base/kfilereplace-4.3.5:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.4, 
glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: 
Linux-2.6.32-gentoo-r7-x86_64-Genuine_Intel-R-_CPU_U7300_@_1.30GHz-with-gentoo-1.12.13 
<mailto:Linux-2.6.32-gentoo-r7-x86_64-Genuine_Intel-R-_CPU_U7300_@_1.30GHz-with-gentoo-1.12.13> 

Timestamp of tree: Sun, 06 Jun 2010 16:45:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -combine -mmmx -msse -msse2 -msse3 -msse4 
-msahf -maccumulate-outgoing-args -mno-align-stringops 
-minline-stringops-dynamically"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d 
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -combine -mmmx -msse -msse2 -msse3 
-msse4 -msahf -maccumulate-outgoing-args -mno-align-stringops 
-minline-stringops-dynamically"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans 
userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 bash-completion bluetooth cdinstall cli 
consolekit crypt cups dga dri fbcon firefox flac gif gimp glut hal 
hardened hddtemp icu idn imap innodb ipv6 jabber java6 javascript jpeg 
kde kontact laptop latex lm_sensors mime mmx modules mp3 msn mudflap 
multilib nls nptl nptlonly nsplugin oci8 offensive opengl pam pango 
plasma png pppd qt3support rdesktop readline reflection samba 
semantic-desktop smp sse sse2 ssl subversion symlink sysfs threads 
truetype unicode usb videos vim-syntax wifi xcomposite xinetd xorg 
xscreensaver" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x 
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty 
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 
mulaw multi null plug rate route share shm softvol" 
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default 
authz_groupfile authz_host authz_owner authz_user autoindex cache dav 
dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache 
filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack 
vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" 
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 
lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" 
VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq 
steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, 
LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

And here's the output of emerge -pqv =kde-base/kfilereplace-4.3.5
[ebuild  N    ] kde-base/kfilereplace-4.3.5  USE="(-aqua) -debug 
-handbook (-kdeenablefinal) (-kdeprefix)"

According to http://bugs.gentoo.org/ there are no open bugs against this 
package (and in fact no bugs at all against the package since 2008), and 
I haven't been able to find anything by Googling.

Does anyone have any thoughts as to what I could try?

Thanks,
Tom Revell.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
  2010-06-16 21:29 [gentoo-user] Unable to emerge kdebase/kfilereplace-4.3.5 Thomas Revell
@ 2010-06-17  0:33 ` walt
  2010-06-17 15:02   ` Bill Longman
  0 siblings, 1 reply; 5+ messages in thread
From: walt @ 2010-06-17  0:33 UTC (permalink / raw
  To: gentoo-user

On 06/16/2010 02:29 PM, Thomas Revell wrote:
> Hi everyone,
>
> I've got a bit of a problem with a new Gentoo install that I'm currently
 > trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
 > is failing, apparently due to a missing header file in its sources.

   <snip>
> [ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
   <snip>
> ^[[0mmoc: /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
 > No such file

I have no idea what's going wrong, but I'm willing to make suggestions
anyway :)

The two lines of compiler output above show that the missing header file
is supposed to be generated on the fly by the qt/moc tools.  That means
that the header file is not actually being generated, or maybe (but not
likely) being generated in the wrong directory.

I don't know much about the kde/qt build system, but it seems to involve
the automoc and cmake packages as well as qmake, which is part of qt-core.

For lack of anything better to suggest, I would try the good old shotgun
technique of recompiling every package that has to do with building kde
and qt packages, e.g. automoc, cmake, qt-core, and maybe more that I know
nothing about.

In particular, though, I always suspect that old, stale, leftover files
from previous versions of related packages like qt and kde may be fouling
things up.  I pay close attention to the dates on files in /usr/include/*
and /usr/qt and /usr/kde and /usr/lib/qt and /usr/lib/kde to see if there
are just a few files with the same (old) date.  Oh, and /usr/lib/pkgconfig
is worth a look also.

Meanwhile, hope for someone to give you a better answer.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
  2010-06-17  0:33 ` [gentoo-user] " walt
@ 2010-06-17 15:02   ` Bill Longman
  2010-06-18  0:23     ` Walter Dnes
  0 siblings, 1 reply; 5+ messages in thread
From: Bill Longman @ 2010-06-17 15:02 UTC (permalink / raw
  To: gentoo-user

On 06/16/2010 05:33 PM, walt wrote:
> On 06/16/2010 02:29 PM, Thomas Revell wrote:
>> Hi everyone,
>>
>> I've got a bit of a problem with a new Gentoo install that I'm currently
>> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
>> is failing, apparently due to a missing header file in its sources.
> 
>   <snip>
>> [ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
>   <snip>
>> ^[[0mmoc:
>> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
>>
>> No such file
> 
> I have no idea what's going wrong, but I'm willing to make suggestions
> anyway :)

I have no better suggestion than to change your ricer CFLAGS and see if
"-O2 -pipe -march=core2" works first. Especially since you have:

 "-mno-align-stringops -minline-stringops-dynamically"

and kfilereplace.cpp:37 warns about QStringList& and further along, it
creates kaddstringdlgs.h.

BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
  2010-06-17 15:02   ` Bill Longman
@ 2010-06-18  0:23     ` Walter Dnes
  2010-06-18 15:48       ` Bill Longman
  0 siblings, 1 reply; 5+ messages in thread
From: Walter Dnes @ 2010-06-18  0:23 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote
> On 06/16/2010 05:33 PM, walt wrote:
> > On 06/16/2010 02:29 PM, Thomas Revell wrote:
> >> Hi everyone,
> >>
> >> I've got a bit of a problem with a new Gentoo install that I'm currently
> >> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
> >> is failing, apparently due to a missing header file in its sources.
> > 
> >   <snip>
> >> [ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
> >   <snip>
> >> ^[[0mmoc:
> >> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
> >>
> >> No such file
> > 
> > I have no idea what's going wrong, but I'm willing to make suggestions
> > anyway :)
> 
> I have no better suggestion than to change your ricer CFLAGS and see if
> "-O2 -pipe -march=core2" works first. Especially since you have:
> 
>  "-mno-align-stringops -minline-stringops-dynamically"
> 
> and kfilereplace.cpp:37 warns about QStringList& and further along, it
> creates kaddstringdlgs.h.
> 
> BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).

  Even better is "-march=native", and let the compiler figure out what
features are available/safe.  I use the following...

CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe"

If you're building 64-bit Gentoo, the "-mfpmath=sse" gets picked up by
"-march=native" and you can drop the explicit mention.

  And you wouldn't believe how many weird build problems are solved by...

MAKEOPTS="-j1"

...even on multi-core cpus.  The *BUILD PROCESS* is a bit slower, but
the final binary is identical with -j8 or whatever.  And the time you
"save" by a faster build in a tty will be lost the first time you start
bashing your head into a brick wall over some weird build problem.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
  2010-06-18  0:23     ` Walter Dnes
@ 2010-06-18 15:48       ` Bill Longman
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Longman @ 2010-06-18 15:48 UTC (permalink / raw
  To: gentoo-user

On 06/17/2010 05:23 PM, Walter Dnes wrote:
> On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote
>> On 06/16/2010 05:33 PM, walt wrote:
>>> On 06/16/2010 02:29 PM, Thomas Revell wrote:
>>>> Hi everyone,
>>>>
>>>> I've got a bit of a problem with a new Gentoo install that I'm currently
>>>> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
>>>> is failing, apparently due to a missing header file in its sources.
>>>
>>>   <snip>
>>>> [ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
>>>   <snip>
>>>> ^[[0mmoc:
>>>> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
>>>>
>>>> No such file
>>>
>>> I have no idea what's going wrong, but I'm willing to make suggestions
>>> anyway :)
>>
>> I have no better suggestion than to change your ricer CFLAGS and see if
>> "-O2 -pipe -march=core2" works first. Especially since you have:
>>
>>  "-mno-align-stringops -minline-stringops-dynamically"
>>
>> and kfilereplace.cpp:37 warns about QStringList& and further along, it
>> creates kaddstringdlgs.h.
>>
>> BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).
> 
>   Even better is "-march=native", and let the compiler figure out what
> features are available/safe.  I use the following...
> 
> CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe"
> 
> If you're building 64-bit Gentoo, the "-mfpmath=sse" gets picked up by
> "-march=native" and you can drop the explicit mention.
> 
>   And you wouldn't believe how many weird build problems are solved by...
> 
> MAKEOPTS="-j1"
> 
> ...even on multi-core cpus.  The *BUILD PROCESS* is a bit slower, but
> the final binary is identical with -j8 or whatever.  And the time you
> "save" by a faster build in a tty will be lost the first time you start
> bashing your head into a brick wall over some weird build problem.
> 

Exactly. And the same with distcc. If you do not use --keep-going,
you'll likely see that long compile end abruptly. My typical modus
operandii is to use distcc, then compile locally, then just use -j1
locally. You get there but you have to be willing to babysit it.

For example, I just upgraded two of my VMs to gcc 4.4 so I will
recompile "-qe world" on them. Since it's the weekend, I'll just turn
off distcc and let them run -j1. When I come back on Monday, I expect to
see a sparkling clean and shiny new Gentoo VM. Well, I can at least
hope! I'll probably run out of inodes or something....



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-18 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 21:29 [gentoo-user] Unable to emerge kdebase/kfilereplace-4.3.5 Thomas Revell
2010-06-17  0:33 ` [gentoo-user] " walt
2010-06-17 15:02   ` Bill Longman
2010-06-18  0:23     ` Walter Dnes
2010-06-18 15:48       ` Bill Longman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox