Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329301 - www-plugins/lightspark-0.4.2_rc2 compile is broken
Summary: www-plugins/lightspark-0.4.2_rc2 compile is broken
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 16:03 UTC by David
Modified: 2010-07-31 14:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2010-07-21 16:03:59 UTC
can't compile
gcc version: gcc-Version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)



>>> Emerging (4 of 4) www-plugins/lightspark-0.4.2_rc2
>>> Failed to emerge www-plugins/lightspark-0.4.2_rc2, Log file:
>>>  '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/build.log'
 * CPV:  www-plugins/lightspark-0.4.2_rc2
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux selinux userland_GNU
 * Applying lightspark-0.4.2-ndebug.patch ...                             [ ok ]
>>> Working in BUILD_DIR: "/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2_build"
cmake -C /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCOMPILE_PLUGIN=OFF -DENABLE_SOUND=OFF -DPLUGIN_DIRECTORY=/usr/lib64/lightspark/plugins -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/gentoo_rules.cmake  /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2
loading initial cache file /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/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
-- Found assembler: /usr/bin/nasm
-- Found assembler: /usr/bin/nasm
-- Loaded CMakeASM-NASMInformation - ASM-NASM support is still experimental, please report issues
-- LLVM llvm-config found at: /usr/bin/llvm-config
-- LLVM version: 2.7
-- LLVM CXX flags: -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual
-- LLVM LD flags: -L/usr/lib  -lpthread -lffi -ldl -lm
-- LLVM core libs: -lLLVMLinker -lLLVMArchive -lLLVMBitWriter -lLLVMBitReader -lLLVMInstrumentation -lLLVMipo -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
-- LLVM JIT libs: -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
-- LLVM JIT objs: 
-- Found LLVM: /usr/include
-- 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 CURL: /usr/lib64/libcurl.so
-- Found ZLIB: /usr/lib64/libz.so
-- checking for modules 'gl;libpcrecpp;libavutil;ftgl;x11;glu;fontconfig;glew'
--   found gl, version 7.8.2
--   found libpcrecpp, version 7.9
--   found libavutil, version 50.14.0
--   found ftgl, version 2.1.3~rc5
--   found x11, version 1.3.4
--   found glu, version 7.8.2
--   found fontconfig, version 2.8.0
--   found glew, version 1.5.3
-- checking for module 'libavcodec'
--   found libavcodec, version 52.66.0
-- Looking for avcodec_decode_video2
-- Looking for avcodec_decode_video2 - found
-- Looking for avcodec_decode_audio3
-- Looking for avcodec_decode_audio3 - found
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=nocona -O2 -pipe 
C++              -Wall -Wnon-virtual-dtor -Woverloaded-virtual -pipe -fvisibility=hidden
Linker flags:
Executable      -Wl,--as-needed -Wl,--no-undefined
Module          -Wl,-O1
Shared          -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2_build
>>> Working in BUILD_DIR: "/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2_build"
Scanning dependencies of target spark
[  2%] [  5%] Building CXX object CMakeFiles/spark.dir/swftypes.cpp.o
[  7%] Building CXX object CMakeFiles/spark.dir/tags.cpp.o
Building CXX object CMakeFiles/spark.dir/swf.cpp.o
In file included from /usr/include/llvm/Attributes.h:18,
                 from /usr/include/llvm/Argument.h:18,
                 from /usr/include/llvm/Function.h:24,
                 from /usr/include/llvm/Module.h:18,
                 from /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2/abc.h:24,
                 from /var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lig
htspark-0.4.2/swf.cpp:26:
/usr/include/llvm/Support/MathExtras.h: In function »bool llvm::isInt(int64_t)«:
/usr/include/llvm/Support/MathExtras.h:57: Fehler: es gibt keine Argumente für »INT64_C«, die von einem Templateparameter abhängen, weshalb eine Deklaration von »INT64_C« verfügbar sein muss
/usr/include/llvm/Support/MathExtras.h:57: Fehler: (mit »-fpermissive« wird G++ den Code akzeptieren, aber die Verwendung eines nicht deklarierten Namens ist veraltet)
/usr/include/llvm/Support/MathExtras.h:57: Fehler: es gibt keine Argumente für »INT64_C«, die von einem Templateparameter abhängen, weshalb eine Deklaration von »INT64_C« verfügbar sein muss
/usr/include/llvm/Support/MathExtras.h: In function »bool llvm::isUint(uint64_t)«:
/usr/include/llvm/Support/MathExtras.h:62: Fehler: es gibt keine Argumente für »UINT64_C«, die von einem Templateparameter abhängen, weshalb eine Deklaration von »UINT64_C« verfügbar sein muss
make[2]: *** [CMakeFiles/spark.dir/swf.cpp.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [CMakeFiles/spark.dir/all] Fehler 2
make: *** [all] Fehler 2
 * ERROR: www-plugins/lightspark-0.4.2_rc2 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3025:  Called cmake-utils_src_compile
 *   environment, line  790:  Called _execute_optionaly 'src_compile'
 *   environment, line  259:  Called enable_cmake-utils_src_compile
 *   environment, line 1143:  Called cmake-utils_src_make
 *   environment, line  809:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =www-plugins/lightspark-0.4.2_rc2',
 * the complete build log and the output of 'emerge -pqv =www-plugins/lightspark-0.4.2_rc2'.
 * The complete build log is located at '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/environment'.
 * S: '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2'

 * Messages for package media-fonts/liberation-fonts-1.04:

 * The following fontconfig configuration files have been installed:
 * 
 *   60-liberation.conf
 * 
 * Use `eselect fontconfig` to enable/disable them.

 * Messages for package www-plugins/lightspark-0.4.2_rc2:
 * ERROR: www-plugins/lightspark-0.4.2_rc2 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3025:  Called cmake-utils_src_compile
 *   environment, line  790:  Called _execute_optionaly 'src_compile'
 *   environment, line  259:  Called enable_cmake-utils_src_compile
 *   environment, line 1143:  Called cmake-utils_src_make
 *   environment, line  809:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =www-plugins/lightspark-0.4.2_rc2',
 * the complete build log and the output of 'emerge -pqv =www-plugins/lightspark-0.4.2_rc2'.
 * The complete build log is located at '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/temp/environment'.
 * S: '/var/tmp/portage/www-plugins/lightspark-0.4.2_rc2/work/lightspark-0.4.2'
 * GNU info directory index is up-to-date.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-21 16:07:20 UTC
In the future, please set LC_MESSAGES=C before producing build logs.

I have not seen this error recently, please try with lightspark-0.4.2 and gcc-4.4 (older gcc will not work because of bug 329213).
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-31 14:52:54 UTC
Closing due to lack of response, please reopen when the issue still exists with current lightspark and gcc and you can provide logs.