[kde-freebsd] building KDE4 on CURRENT r255948 ports r328930 still fails

Schaich Alonso alonsoschaich at fastmail.fm
Wed Oct 2 17:15:56 UTC 2013


On Wed, 2 Oct 2013 14:02:03 +0200
Matthias Apitz <guru at unixarea.de> wrote:

> 
> Hello,
> 
> After the unsuccessfull attempts in May/June I though it's time to give
> it a try again to build the port x11/kde4 in
> 
> $ uname -a
> FreeBSD aurora.Sisis.de 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255948: Tue
> Oct  1 09:00:53 CEST 2013
> guru at aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC  i386
> 
> with /usr/ports as well from October 1st (r328930); it still fails, this
> time in multimedia/ffmpeg1 (see attached nohup.out below);
> 
> I've built the port multimedia/ffmpeg1 with gcc46 to be able to continue; 
> 
> Vy 73
> 
> 	matthias
> 

Hi,

The build log indicates you're running into a clang bug while building
ffmpeg1. Can you re-check ffmpeg1 is installed?

If you have CPUTYPE/CFLAGS/COPTFLAGS set, removing them might resolve the
clang issue, as might disabling the OPTIMIZED_CFLAGS port option of ffmpeg1.

Alonso

ps: When reporting build issues, please attach the run the output of the
build process ran with WITH_MAKE_JOBS_UNSAFE=YES and without BATCH.

> 
> # make install clean BATCH=yes
> ....
> ===>  Installing for kde-4.10.5
> ===>   kde-4.10.5 depends on package: kdeaccessibility>=4.8.0 - not found
> ===>    Verifying install for kdeaccessibility>=4.8.0
> in /usr/ports/accessibility/kdeaccessibility4 ===>  Installing for
> kdeaccessibility-4.10.5 ===>   kdeaccessibility-4.10.5 depends on
> file: /usr/local/kde4/bin/jovie - not found ===>    Verifying install
> for /usr/local/kde4/bin/jovie in /usr/ports/accessibility/jovie ===>
> jovie-4.10.5 depends on file: /usr/local/bin/cmake - found ===>
> jovie-4.10.5 depends on file: /usr/local/bin/moc-qt4 - found ===>
> jovie-4.10.5 depends on file: /usr/local/bin/qmake-qt4 - found ===>
> jovie-4.10.5 depends on file: /usr/local/bin/rcc - found ===>
> jovie-4.10.5 depends on file: /usr/local/bin/uic-qt4 - found ===>
> jovie-4.10.5 depends on file: /usr/local/lib/qt4/libQtXml.so - found ===>
> jovie-4.10.5 depends on file: /usr/local/bin/automoc4 - found ===>
> jovie-4.10.5 depends on file: /usr/local/kde4/lib/libkdecore.so.7 - not
> found ===>    Verifying install for /usr/local/kde4/lib/libkdecore.so.7
> in /usr/ports/x11/kdelibs4 ===>   kdelibs-4.10.5 depends on
> file: /usr/local/share/xml/docbook/4.2/docbookx.dtd - found ===>
> kdelibs-4.10.5 depends on
> file: /usr/local/share/xsl/docbook/html/docbook.xsl - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/bin/cmake - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
> ===>   kdelibs-4.10.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc
> - found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/libdata/pkgconfig/xcursor.pc - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc -
> found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/libdata/pkgconfig/xrender.pc - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtCore.so - found
> ===>   kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtDBus.so -
> found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/lib/qt4/libQtDeclarative.so - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/bin/designer-qt4 - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/lib/qt4/libQtGui.so - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/bin/moc-qt4 - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtNetwork.so - found
> ===>   kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtOpenGL.so -
> found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/lib/qt4/libphonon.so - found ===>   kdelibs-4.10.5 depends
> on file: /usr/local/bin/qmake-qt4 - found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/lib/qt4/libQt3Support.so - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/lib/qt4/libQtTest.so - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/bin/rcc - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtScript.so - found
> ===>   kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtSql.so -
> found ===>   kdelibs-4.10.5 depends on file: /usr/local/lib/qt4/libQtSvg.so
> - found ===>   kdelibs-4.10.5 depends on file: /usr/local/bin/uic-qt4 -
> found ===>   kdelibs-4.10.5 depends on
> file: /usr/local/lib/qt4/libQtWebKit.so - found ===>   kdelibs-4.10.5
> depends on file: /usr/local/lib/qt4/libQtXml.so - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/lib/libattica.so.0 - found
> ===>   kdelibs-4.10.5 depends on file: /usr/local/bin/automoc4 - found
> ===>   kdelibs-4.10.5 depends on
> file: /usr/local/share/ontology/core/rdf.ontology - found ===>
> kdelibs-4.10.5 depends on package: kde4-shared-mime-info>=0 - found ===>
> kdelibs-4.10.5 depends on file: /usr/local/lib/libsoprano.so.4 - found
> ===>   kdelibs-4.10.5 depends on
> file: /usr/local/lib/libstreamanalyzer.so.0 - not found ===>    Verifying
> install for /usr/local/lib/libstreamanalyzer.so.0
> in /usr/ports/deskutils/libstreamanalyzer ===>   libstreamanalyzer-0.7.8_1
> depends on executable: pkgconf - found ===>   libstreamanalyzer-0.7.8_1
> depends on file: /usr/local/bin/cmake - found ===>
> libstreamanalyzer-0.7.8_1 depends on shared library: avcodec1 - not found
> ===>    Verifying install for avcodec1 in /usr/ports/multimedia/ffmpeg1
> ===>  Building for ffmpeg1-1.2.3 gmake[6]: Entering directory
> `/usr/ports/multimedia/ffmpeg1/work/ffmpeg-1.2.3' AR
> libavdevice/libavdevice1.a LD	libavutil/libavutil1.so.52 CC
> libavcodec/g723_1.o CC	libavcodec/gsmdec.o
> libavcodec/g723_1.c:2351:14: warning: initializing 'int16_t *' (aka 'short
> *') with an expression of type 'const int16_t *' (aka 'const short *')
> discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
> int16_t *in = (const int16_t *)frame->data[0]; ^
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC	libavcodec/gsmdec_data.o
> CC	libavcodec/h261.o CC	libavcodec/h261_parser.o CC
> libavcodec/h261data.o CC	libavcodec/h261dec.o CC
> libavcodec/h261enc.o libavcodec/h261enc.c:332:23: warning: incompatible
> pointer types initializing 'int (*)(AVCodecContext *, AVPacket *, const
> AVFrame *, int *)' with an expression of type 'int (AVCodecContext *,
> AVPacket *, AVFrame *, int
> *)' [-Wincompatible-pointer-types] .encode2        = ff_MPV_encode_picture,
> ^~~~~~~~~~~~~~~~~~~~~ Assertion failed: (N.getNode()->getNodeId() !=
> NewNode && "Mapped to new node!"), function RemapValue,
> file /usr/src/lib/clang/libllvmselectiondag/../../../contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp,
> line 618. 1 warning generated. Stack dump:
> 0.	Program arguments: /usr/bin/cc -cc1 -triple
> i386-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name g723_1.c
> -mrelocation-model static -relaxed-aliasing -masm-verbose
> -mconstructor-aliases -target-cpu pentium3 -target-feature +sse
> -coverage-file /usr/ports/multimedia/ffmpeg1/work/ffmpeg-1.2.3/libavcodec/g723_1.o
> -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file
> libavcodec/g723_1.d -MT libavcodec/g723_1.o -D _ISOC99_SOURCE -D
> _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D HAVE_AV_CONFIG_H -I . -I ./
> -I /usr/local/include/vorbis -I /usr/local/include -O3
> -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch
> -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith
> -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef
> -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes
> -Werror=implicit-function-declaration -Werror=missing-prototypes
> -Werror=return-type -std=c99 -fconst-strings
> -fdebug-compilation-dir /usr/ports/ multimedia/ffmpeg1/work/ffmpeg-1.2.3
> -ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep
> -fobjc-default-synthesize-properties -fdiagnostics-show-option
> -backend-option -vectorize-loops -o libavcodec/g723_1.o -x c
> libavcodec/g723_1.c 
> 1.	<eof> parser at end of file
> 2.	Code generation
> 3.	Running pass 'Function Pass Manager' on module
> 'libavcodec/g723_1.c'.
> 4.	Running pass 'X86 DAG->DAG Instruction Selection' on function
> '@g723_1_encode_frame' CC	libavcodec/h263.o
> cc: error: unable to execute command: Abort trap (core dumped)
> cc: error: clang frontend command failed due to signal (use -v to see
> invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502)
> 20130610 Target: i386-unknown-freebsd10.0
> Thread model: posix
> cc: note: diagnostic msg: PLEASE submit a bug report to
> http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
> and associated run script. cc: note: diagnostic msg: ********************
> 
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> cc: note: diagnostic msg: /tmp/g723_1-YBk78w.c
> cc: note: diagnostic msg: /tmp/g723_1-YBk78w.sh
> cc: note: diagnostic msg: 
> 
> ********************
> gmake[6]: *** [libavcodec/g723_1.o] Error 254
> gmake[6]: *** Waiting for unfinished jobs....
> gmake[6]: Leaving directory `/usr/ports/multimedia/ffmpeg1
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[5]: stopped in /usr/ports/multimedia/ffmpeg1
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/ports/deskutils/libstreamanalyzer
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/x11/kdelibs4
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/accessibility/jovie
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/accessibility/kdeaccessibility4
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/x11/kde4
> 
> -- 
> Matthias Apitz               |  /"\ ASCII Ribbon Campaign:
> www.asciiribbon.org E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in
> E-mail WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
> phone: +49-170-4527211       |  / \ - Respect for open standards
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd
> See also http://freebsd.kde.org/ for latest information


More information about the kde-freebsd mailing list