Can't compile kde4 and kdelibs4 with an uptodate amd64 Releng machine. (

Edwin L. Culp W. edwinlculp at gmail.com
Tue Nov 22 19:28:22 UTC 2011


On Mon, Nov 21, 2011 at 10:27 AM, Olivier Smedts <olivier at gid0.org> wrote:
> 2011/11/21 Conrad J. Sabatier <conrads at cox.net>:
>> On Mon, 21 Nov 2011 07:42:43 -0600
>> eculp <eculp at encontacto.net> wrote:
>>>
>>> I have tried building both from the different ports and even more
>>> using portmaster and all stop ate similar locations in kdelabs4.
>>> Maybe there is something that I should or could build first.
>>>
>>> Thanks,
>>>
>>> ed
>>>
>>> errors follow:
>>>
>>> kdelibs stops here:
>>>
>>> Generating kurlnavigator.moc
>>> Generating moc_kdiroperatordetailview_p.cpp
>>> [  1%] Built target kfile_automoc
>>> Scanning dependencies of target kdeinit_kconf_update_automoc
>>> Scanning dependencies of target docbookl10nhelper_automoc
>>> [  1%] Built target kdeinit_kconf_update_automoc
>>> [  1%] Built target docbookl10nhelper_automoc
>>> Scanning dependencies of target genshortcutents_automoc
>>> Scanning dependencies of target kio_ghelp_automoc
>>> [  1%] Built target genshortcutents_automoc
>>> [  1%] Built target kio_ghelp_automoc
>>> Scanning dependencies of target kio_help_automoc
>>> Scanning dependencies of target meinproc4_automoc
>>> [  1%] Built target kio_help_automoc
>>> [  1%] Built target meinproc4_automoc
>>> Scanning dependencies of target meinproc4_simple_automoc
>>> Scanning dependencies of target kio_file_automoc
>>> [  1%] Built target meinproc4_simple_automoc
>
> I've got this behavior on the 2 desktop machines I use.
>
>>> kdepimlibs4 stops here:
>>>
>>> Scanning dependencies of target kimg_pcx_automoc
>>> Scanning dependencies of target kimg_pic_automoc
>>> [  1%] Built target kimg_pcx_automoc
>>> [  1%] Built target kimg_pic_automoc
>>> Scanning dependencies of target kimg_psd_automoc
>>> Scanning dependencies of target kimg_ras_automoc
>>> [  1%] Built target kimg_psd_automoc
>>> [  1%] Built target kimg_ras_automoc
>>> Scanning dependencies of target kimg_rgb_automoc
>>> Scanning dependencies of target kimg_tga_automoc
>>> [  1%] Built target kimg_rgb_automoc
>>> [  1%] Built target kimg_tga_automoc
>>> Scanning dependencies of target kimg_xcf_automoc
>>> Scanning dependencies of target kimg_xview_automoc
>>> [  1%] Built target kimg_xview_automoc
>>> [  1%] Built target kimg_xcf_automoc
>>> Scanning dependencies of target kdnssd_automoc
>>> Scanning dependencies of target krosscore_automoc
>>> Generating interpreter.moc
>>> Generating script.moc
>>> Generating action.moc
>>> Generating actioncollection.moc
>>> Generating manager.moc
>>> [  1%] Built target krosscore_automoc
>>
>> So where are the errors?  There are none in the output you posted.
>
> I think there's no error (if it's the same problem as mine).

True.  There is no error anywhere.


>
> For me, the build process seems to stop/freeze randomly, most often
> after "Built target XXX". It affects only KDE ports, no other
> qt4-qmake or cmake consumer. No CPU usage. No disk usage. No excessive
> or changing memory usage... I didn't report it earlier because I don't
> know how to debug this, and it did not seem to affect other users
> (until now).
>
> Here is the "workaround" I painfully used on my 2 desktop machines :
>
> # cd /usr/ports/x11/kde4
> # make
> wait for a freeze...
> ^C
> # make
> wait for a freeze...
> ^C
> # make

I'm doing this and it is compiling.  It never dawned on me to try
that.  I have the "bad habit" of erasing everything re-suping and
trying again.  I even blew away all my ports and started with a
totally new one.  I then blew away everything built from kde4.  Boy am
I dumb.


> ...
> I maybe had to restart the build one or two hundred times to have a
> fully installed KDE4.
>
> I've got this behavior since KDE 4.7.X (4.7.2 and 4.7.3), I had no
> problems building KDE 4.6.X.
>
> I even tried deleting all ports, cleaning /usr/local, tried again. No
> change. Tried compiling all ports with gcc instead of clang, no
> change. Forced make jobs UNSAFE, no change.
>
> I use FreeBSD 9.0 amd64, system built with clang (are you ?).

Yep.  I don't understand why but.  It is well on its way to building.

Thanks a bunch.  You are a "life saver".  I started admining unix7
back in the early eighties with dumb terminals but now kde has me
happily spoiled.

ed
>
> %cat /etc/make.conf
> SVN_UPDATE=yes
> SVN=/usr/local/bin/svn
> CPUTYPE?=core2
> KERNCONF=CORE
> CFLAGS=-O2 -pipe -march=core2 -fomit-frame-pointer
> NO_CPU_CFLAGS=yes
> COPTFLAGS=-O2 -pipe -march=corei7 -fomit-frame-pointer
> NO_CPU_COPTFLAGS=yes
> BOOTWAIT=0
> WITHOUT_PROFILE=yes
>
> .if !${.CURDIR:M/usr/ports/deskutils/kdepimlibs4*} &&
> !${.CURDIR:M/usr/ports/devel/icu*} &&
> !${.CURDIR:M/usr/ports/editors/kate*} &&
> !${.CURDIR:M/usr/ports/games/kdegames4*} &&
> !${.CURDIR:M/usr/ports/graphics/libwpg*} &&
> !${.CURDIR:M/usr/ports/graphics/netpbm*} &&
> !${.CURDIR:M/usr/ports/graphics/vigra*} &&
> !${.CURDIR:M/usr/ports/multimedia/kdemultimedia4*} &&
> !${.CURDIR:M/usr/ports/net/hupnp*} &&
> !${.CURDIR:M/usr/ports/net/kdenetwork4*} &&
> !${.CURDIR:M/usr/ports/textproc/libwpd*} &&
> !${.CURDIR:M/usr/ports/textproc/libwps*} &&
> !${.CURDIR:M/usr/ports/www/firefox*} &&
> !${.CURDIR:M/usr/ports/www/libxul*} &&
> !${.CURDIR:M/usr/ports/www/qt4-webkit*} &&
> !${.CURDIR:M/usr/ports/x11/kde4-baseapps*} &&
> !${.CURDIR:M/usr/ports/x11/kde4-runtime*} &&
> !${.CURDIR:M/usr/ports/x11/kde4-workspace*} &&
> !${.CURDIR:M/usr/ports/x11/kdelibs4*}
> .if !defined(CC) || ${CC} == "cc"
> CC=clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX=clang++
> .endif
> .if !defined(CPP) || ${CPP} == "cpp"
> CPP=clang -E
> .endif
> NO_WERROR=
> WERROR=
> .endif
>
> EXPLICIT_PACKAGE_DEPENDS=yes
> FORCE_MAKE_JOBS=yes
> WRKDIRPREFIX=/tmp
> WITHOUT_X11R6_SYMLINK=yes
> NOPORTDOCS=yes
> NOPORTEXAMPLES=yes
> WITH_OPTIMIZED_CFLAGS=yes
> VIDEO_DRIVER=ati
> WITHOUT_NOUVEAU=yes
> WITHOUT_HAL=yes
> WITHOUT_DBUS=yes
> WITHOUT_GCONF=yes
> WITHOUT_LIBNOTIFY=yes
> WITHOUT_AVAHI=yes
> WITH_CDROM=/dev/cd0
> WITHOUT_SWITCHER=yes
> THUNDERBIRD_I18N=fr
> LOCALIZED_LANG=fr
> PERL_VERSION=5.10.1
>
> # locale
> LANG=fr_FR.ISO8859-15
> LC_CTYPE="fr_FR.ISO8859-15"
> LC_COLLATE="fr_FR.ISO8859-15"
> LC_TIME="fr_FR.ISO8859-15"
> LC_NUMERIC="fr_FR.ISO8859-15"
> LC_MONETARY="fr_FR.ISO8859-15"
> LC_MESSAGES="fr_FR.ISO8859-15"
> LC_ALL=
>
> --
> Olivier Smedts                                                 _
>                                         ASCII ribbon campaign ( )
> e-mail: olivier at gid0.org        - against HTML email & vCards  X
> www: http://www.gid0.org    - against proprietary attachments / \
>
>   "Il y a seulement 10 sortes de gens dans le monde :
>   ceux qui comprennent le binaire,
>   et ceux qui ne le comprennent pas."
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list