[Solved]PKG Build file usage

If a developer creates a fork of an application (cgminer) and updates some files, can I use the same PKG Build file that I used to build the un-forked version?
Thanks.
Last edited by ThinkFast (2014-01-29 04:29:51)

In most cases, you just need to modify the sources-array. Sometimes you'll have to copy some additional files or adjust some paths.

Similar Messages

  • [svn] 1636: update the framework build file we put in the sdk pkg.

    Revision: 1636
    Author: [email protected]
    Date: 2008-05-09 10:05:15 -0700 (Fri, 09 May 2008)
    Log Message:
    update the framework build file we put in the sdk pkg. I think this is probably going to go away, but I wanted to make sure it worked while it is still being put in.
    Modified Paths:
    flex/sdk/trunk/frameworks/build_framework.xml

    Hi Kevin,
    Dunno if you saw my other post to you, but I've put up a copy of the SDK that you were looking for and asked that we change our procedures going forward.  As for the actual issue, would you mind creating a bug report at bugbase.adobe.com if you haven't already?
    Thanks
    Chris

  • [SOLVED] Cannot build lightspark

    Hi,
    I have tried to build lightspark 0.7.2-1 and lightspark-git 20130215-2 from AUR but it always fails with same errors: "A failure occurred in build().".
    I also tried to modify the pkgver to 0.7.1 in the lightspark PKGBUILD to see if it was verion related, but it didn't change anything.
    Here is the output of lightspark 0.7.2-1 (note that I temporarily changed the locale to English to post it on the forum):
    bp@bp-laptop ~
    > yaourt -S lightspark
    ==> Downloading lightspark PKGBUILD from AUR...
    bsdtar: Failed to set default locale
    x PKGBUILD
    x lightspark.install
    Comment by tsester (2013-02-02 15:00)
    it takes too much ram while compiling
    Comment by FredBezies (2013-04-30 11:03)
    0.7.2 PKGBUILD : http://pastebin.com/JR8xT9T7
    Comment by cactaur (2013-06-20 18:41)
    When I tried to build, I got that it failed with an error:
    [ 4%] Building CXX object src/CMakeFiles/spark.dir/scripting/abc.cpp.o
    /home/gregory/lightspark/src/lightspark-0.7.2/src/scripting/abc.cpp:26:25: fatal error: llvm/Module.h: No such file or directory
    #include llvm/Module.h
    Apparently this had to do with a change in naming in LLVM 3.3, which is now released, and that broke the code.
    https://bugs.launchpad.net/lightspark/+bug/1157158
    The issue was fixed in the development version, but hasn't been officially released yet. I'm not sure if there's a workaround for this release that can be incorporated into the PKGBUILD or if it should just stay broken until the official upstream release, but in the meantime, the lightspark-git package should provide a program that compiles. Just thought I'd give a heads-up.
    Comment by the-kyle (2013-08-09 17:39)
    I am seeing errors similar to the following when I try to build this package.
    In file included from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/scripting/toplevel/ASString.h:23,
    from /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/allclasses.cpp:20:
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro ‘MAX_AUDIO_FRAME_SIZE’
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor ‘lightspark::AudioDecoder::FrameSamples::FrameSamples()’:
    /tmp/packerbuild-1000/lightspark/lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: ‘samples’ was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/asobject.cpp.o] Error 1
    I only included one such error here, but these appear to be numerous. Am I missing a package that hasn't been included as a dependency? I'm building on a 64-bit system with 8 processor cores that satisfies all the dependencies listed above.
    Comment by dlh (2013-08-13 15:39)
    I have the same issue as @the-kyle
    lightspark 0.7.2-1 (Sat Feb 11 02:47:02 CET 2012)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> lightspark dependencies:
    - gtk2 (already installed)
    - ffmpeg (already installed)
    - glew (already installed)
    - curl (already installed)
    - boost-libs (already installed)
    - libxml++ (already installed)
    - desktop-file-utils (already installed)
    - hicolor-icon-theme (already installed)
    - cmake (already installed)
    - nasm (already installed)
    - xulrunner (already installed)
    - llvm (already installed)
    - glproto (already installed)
    - boost (already installed)
    - fontconfig (already installed)
    ==> Edit lightspark.install ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==> n
    ==> Continue building lightspark ? [Y/n]
    ==> ------------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: lightspark 0.7.2-1 (Sat Aug 17 12:44:43 CEST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Downloading lightspark-0.7.2.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 933k 100 933k 0 0 482k 0 0:00:01 0:00:01 --:--:-- 756k
    -> Downloading lightspark-0.7.2.tar.gz.asc...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 490 100 490 0 0 848 0 --:--:-- --:--:-- --:--:-- 848
    ==> Validating source files with md5sums...
    lightspark-0.7.2.tar.gz ... Passed
    lightspark-0.7.2.tar.gz.asc ... Skipped
    ==> Verifying source file signatures with gpg...
    lightspark-0.7.2.tar.gz ... FAILED (unknown public key B96B97E45A52AE91)
    ==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
    ==> Extracting sources...
    -> Extracting lightspark-0.7.2.tar.gz with bsdtar
    bsdtar: Failed to set default locale
    ==> Starting build()...
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Performing Test GCC_IS_4_6
    -- Performing Test GCC_IS_4_6 - Success
    -- Found gnash path: /usr/bin/gtk-gnash
    -- The ASM-NASM compiler identification is unknown
    -- Found assembler: /usr/bin/nasm
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- LLVM llvm-config found at: /usr/bin/llvm-config
    -- LLVM version: 3.3
    -- Looking for C++ include llvm/Support/TargetSelect.h
    -- Looking for C++ include llvm/Support/TargetSelect.h - found
    -- HAVE_SUPPORT_TARGETSELECT_H: 1
    -- Looking for C++ include llvm/IRBuilder.h
    -- Looking for C++ include llvm/IRBuilder.h - not found
    -- HAVE_IRBUILDER_H:
    -- Looking for C++ include llvm/DataLayout.h
    -- Looking for C++ include llvm/DataLayout.h - not found
    -- HAVE_DATALAYOUT_H:
    -- LLVM CXX flags: -I/usr/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual
    -- LLVM LD flags: -L/usr/lib -lz -lpthread -lffi -ldl -lm
    -- LLVM core libs: -lLLVMLinker-lLLVMBitWriter-lLLVMBitReader-lLLVMInstrumentation-lLLVMipo-lLLVMObjCARCOpts-lLLVMVectorize-lLLVMScalarOpts-lLLVMInstCombine-lLLVMTransformUtils-lLLVMipa-lLLVMAnalysis-lLLVMTarget-lLLVMMC-lLLVMObject-lLLVMCore-lLLVMSupport
    -- LLVM JIT libs: -lLLVMX86Disassembler-lLLVMX86AsmParser-lLLVMX86CodeGen-lLLVMSelectionDAG-lLLVMAsmPrinter-lLLVMMCParser-lLLVMX86Desc-lLLVMX86Info-lLLVMX86AsmPrinter-lLLVMX86Utils-lLLVMJIT-lLLVMRuntimeDyld-lLLVMExecutionEngine-lLLVMCodeGen-lLLVMObjCARCOpts-lLLVMScalarOpts-lLLVMInstCombine-lLLVMTransformUtils-lLLVMipa-lLLVMAnalysis-lLLVMTarget-lLLVMMC-lLLVMObject-lLLVMCore-lLLVMSupport
    -- LLVM JIT objs:
    -- Found LLVM: /usr/include
    -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
    -- Found Freetype: /usr/lib64/libfreetype.so
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.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
    -- Found OpenGL: /usr/lib64/libGL.so
    -- Found GLEW: /usr/lib64/libGLEW.so
    -- Found PCRE: /usr/lib64/libpcre.so
    -- Found JPEG: /usr/lib64/libjpeg.so
    -- Found PNG: /usr/lib64/libpng.so (found version "1.6.3")
    -- checking for module 'libxml++-2.6>=2.33.1'
    -- found libxml++-2.6, version 2.36.0
    -- checking for module 'liblzma'
    -- found liblzma, version 5.0.5
    -- Boost version: 1.54.0
    -- Found the following Boost libraries:
    -- filesystem
    -- system
    -- checking for modules 'cairo;pangocairo'
    -- found cairo, version 1.12.14
    -- found pangocairo, version 1.34.1
    -- checking for module 'x11'
    -- found x11, version 1.6.1
    -- checking for modules 'libavcodec;libavutil;libavformat'
    -- found libavcodec, version 55.18.102
    -- found libavutil, version 52.38.100
    -- found libavformat, version 55.12.100
    -- Looking for avcodec_decode_video2
    -- Looking for avcodec_decode_video2 - found
    -- Looking for avcodec_decode_audio3
    -- Looking for avcodec_decode_audio3 - found
    -- Looking for avcodec_decode_audio4
    -- Looking for avcodec_decode_audio4 - found
    -- Looking for avio_alloc_context
    -- Looking for avio_alloc_context - found
    -- Looking for avcodec_alloc_context3
    -- Looking for avcodec_alloc_context3 - found
    -- Looking for avcodec_open2
    -- Looking for avcodec_open2 - found
    -- Looking for avformat_close_input
    -- Looking for avformat_close_input - found
    -- Looking for avformat_find_stream_info
    -- Looking for avformat_find_stream_info - found
    -- checking for module 'glib-2.0'
    -- found glib-2.0, version 2.36.3
    -- checking for module 'gthread-2.0'
    -- found gthread-2.0, version 2.36.3
    -- checking for module 'gmodule-2.0'
    -- found gmodule-2.0, version 2.36.3
    -- checking for module 'glibmm-2.4'
    -- found glibmm-2.4, version 2.36.2
    -- checking for module 'gtk+-2.0'
    -- found gtk+-2.0, version 2.24.20
    -- checking for module 'libcurl'
    -- found libcurl, version 7.32.0
    -- checking for module 'librtmp'
    -- found librtmp, version v2.4
    -- Looking for C++ include atomic
    -- Looking for C++ include atomic - found
    -- checking for module 'libpulse'
    -- found libpulse, version 4.0
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/bld
    Scanning dependencies of target translations
    [ 1%] Scanning dependencies of target spark
    [ 2%] [ 3%] Generating fr.gmo
    Generating pl.gmo
    Generating zh_CN.gmo
    [ 3%] Built target translations
    [ 4%] [ 5%] [ 6%] [ 7%] Building CXX object src/CMakeFiles/spark.dir/compat.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/allclasses.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/asobject.cpp.o
    Building CXX object src/CMakeFiles/spark.dir/logger.cpp.o
    [ 8%] Building CXX object src/CMakeFiles/spark.dir/memory_support.cpp.o
    [ 9%] Building CXX object src/CMakeFiles/spark.dir/swf.cpp.o
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/toplevel/ASString.h:23,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/allclasses.cpp:20:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/parsing/tags.h:29,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/abc.h:25,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/asobject.cpp:20:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/memory_support.cpp:21:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    In file included from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.h:32,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/class.h:27,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/parsing/tags.h:29,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/scripting/abc.h:25,
    from /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:23:
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:31:30: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' was not declared in this scope
    #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro 'MAX_AUDIO_FRAME_SIZE'
    int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h: In constructor 'lightspark::AudioDecoder::FrameSamples::FrameSamples()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/backends/decoder.h:206:26: error: 'samples' was not declared in this scope
    FrameSamples():current(samples),len(0),time(0){}
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/allclasses.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [src/CMakeFiles/spark.dir/asobject.cpp.o] Error 1
    make[2]: *** [src/CMakeFiles/spark.dir/memory_support.cpp.o] Error 1
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'lightspark::SystemState* lightspark::getSys()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:58:35: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    SystemState* ret = (SystemState*)g_static_private_get(&tls_system);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:58:67: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    SystemState* ret = (SystemState*)g_static_private_get(&tls_system);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'void lightspark::setTLSSys(lightspark::SystemState*)':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:64:9: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&tls_system,sys,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:64:50: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&tls_system,sys,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In function 'lightspark::ParseThread* lightspark::getParseThread()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:70:34: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    ParseThread* pt = (ParseThread*)g_static_private_get(&parse_thread_tls);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:70:72: warning: 'void* g_static_private_get(GStaticPrivate*)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:246): Use 'g_private_get' instead [-Wdeprecated-declarations]
    ParseThread* pt = (ParseThread*)g_static_private_get(&parse_thread_tls);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp: In member function 'virtual void lightspark::ParseThread::execute()':
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:1274:2: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&parse_thread_tls,this,NULL);
    ^
    /tmp/yaourt-tmp-bp/aur-lightspark/src/lightspark-0.7.2/src/swf.cpp:1274:50: warning: 'void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:249): Use 'g_private_set' instead [-Wdeprecated-declarations]
    g_static_private_set(&parse_thread_tls,this,NULL);
    ^
    make[2]: *** [src/CMakeFiles/spark.dir/swf.cpp.o] Error 1
    make[1]: *** [src/CMakeFiles/spark.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build lightspark.
    ==> Restart building lightspark ? [y/N]
    ==> -----------------------------------
    ==>
    I can't find if it is related to the lighspark code or if it is specific to Arch Linux.
    Last edited by mau5kito (2013-08-17 14:48:24)

    It seems lightspark was written for an old version of ffmpeg.  I was able to solve some problems with patches, but more and more would keep popping up.
    There is a -git version which should work.  I'm compiling it now to verify - and so far so good (but it's taking a while on my old hardware).
    EDIT: confirmed, lightspark-git builds fine.
    Last edited by Trilby (2013-08-17 12:37:31)

  • High Page Reads/Sec on Windows 2008 R2 64-bit running on VMware but very low Real Memory & Page file Usage.

    Hello All,
    Below is the server configuration,
    OS: Windows 2008 R2 Enterprise 64 Bit
    Version: 6.1.7601 Service Pack 1 Build 7601
    CPU: 4 (@ 2.93 GHz, 1 core)
    Memory: 12 GB
    Page file: 12 GB
    1. The actual utilization, be it a 15 minute sample, hourly, weekly etc, the utilization of real memory has never crossed 20% and the page file usage is at 0.1%. For some reason, the Pages/Sec>Limit% counter reports 100% continuously regardless of the
    sampling intervals. Upon further observation, the Page Reads/Sec value is somewhere between 150~450 and Page Input/Sec is somewhere between 800~8000. Does this indicate a performance bottleneck? (I've in the interim asked the Users, App. Owners to see if they
    notice any performance degradation and awaiting response). If this indicates a performance issue, please could someone help list down how to track this down further to which process/memory mapped file is causing it? and what I should go about performing to
    fix this problem please?
    p.s., initially the Security logs were full on this server and since page file is tied to Application, Security and System logs, this was freed up to see if this is causing the high page reads but this doesn't.
    2. If the above does not necessarily indicate a performance problem, please can someone reference few KB articles that confirms this? Also, in this case, will there be any adverse effects if attempting to fine tune a server which is already running fine?
    assuming App. Owners confirm there isn't any performance degradation.
    Thanks in advance.

    Hi,
    Based on the description, we can try to download Server Performance Advisor (SPA) to help further analyze the performance of the server. SPA can generate comprehensive diagnostic reports and charts and provides recommendations to help you quickly analyze
    issues and develop corrective actions.
    Regarding this tool, the following articles can be referred to for more information.
    Microsoft Server Performance Advisor
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn481522.aspx
    Server Performance Advisor (SPA) 3.0
    http://blogs.technet.com/b/windowsserver/archive/2013/03/11/server-performance-advisor-spa-3-0.aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Swap file usage

    Hi
    We have recently updated a MII Server from Netweaver CE 7.1 SP4 with MII 12.1.5 (Build 86) to Netweaver CE 7.1 SP5 with MII 12.1.9 (Build 109). The MII server is running on a Windows Server 2003 64-bit with 8GB of RAM.
    After the update the swap file usage has increased from an average of 5-10% usage to now close to 80% usage. The only thing changed is the Netweaver and MII version, please advice how to proceed?
    Best Regards
    /Simon Bruun

    The first thing that happens on a new system has nothing to do with the swap file. It's the creation of the hibernation image file that is roughly equal to the amount of RAM in your computer. I'd guess yours is around 8 GBs.
    It's a terrible idea to try and run the computer from a flash drive. That may be useful for creating an installer disk or an emergency recovery disk that you use once in a while.
    Your only temporary solution is to change the hibernation mode and erase the hibernation sleep image file.
    Open the Terminal and paste the following at the prompt:
         sudo pmset -a hibernatemode 0
    Press RETURN.
         rm -rf /var/vm/*
    Press RETURN.
    After the first command you will be prompted to enter your admin password which is not echoed to the screen - type carefully.

  • [SOLVED]Awesome build process gets stuck

    Hi there Archers,
    When I try to build the latest version of Awesome it manages to install all the dependencies, but when it comes to actually building awesome it consistently gets stuck on the following line:
    Scanning dependencies of target man
    [ 57%] Generating manpages/man1/awesome.1.xml
    [ 57%] Generating manpages/man1/awesome.1
    It stays there indefinitely.
    On the AUR-page for this package I got the advice that running makepkg with root privileges might solve the problem, but I don't think this is a proper solution. Posts from Bionic_Apple seem to have some connection to my problem.
    With my limited understanding of the make files inside the build directory, I've concluded that it all looks OK, but that doesn't stop it from freezing half-way through the process.
    Any ideas on how I could make the install finish that doesn't involve root privileges?
    Last edited by linduxed (2012-01-19 00:48:12)

    Solved by building as root in a chroot environment.

  • Recompilation and ant build file

    Hi, all
    I already set precompile to false in weblogic.xml. However, when we deploy, the JSPs are recompiled again claiming that they are stale. And we are using workshop ant build file. And I found out that the timestamps of compiled classes of JSPs are elder than JSP because the ant build copies the classes first to staging directory. See the following;
    <for-each-resource-path>
    <echo level="info" message=".resource.path= ${.resource.path}"/>
    <if>
    <available file="${.resource.path}"/>
    <then>
    <if>
    <isfile path="${.resource.path}"/>
    <then>
    <copy file="${.resource.path}" tofile="${staging.dir}/${.resource.prefix}"/>
    </then>
    <else>
    <copy todir="${staging.dir}/${.resource.prefix}">
    <fileset dir="${.resource.path}" includes="${.resource.include}" excludes="${.resource.exclude}"/>
    </copy>
    </else>
    </if>
    </then>
    </if>
    </for-each-resource-path>
    Is there any work-around to solve this? I don't want recompilation to occur again during deployment. Thanks in advance.
    Stephen

    First of all, why exactly do you care if it recompiles all the JSPs on deployment (precompile=true), even if it doesn't need to? This isn't a user experience problem, as all the pages would be compiled by the time a user referenced the page.
    If you want to avoid compiling JSPs on deployment, then have your build process compile the JSPs, include the generated servlet classes, and exclude the JSPs the generated classes were based on.

  • At what process do DE shortcuts get created? Inconsistent PKG builds..

    I've only been using Arch for about 2 months now, but I've noticed some real inconsistencies with respect to whether a menu shortcut is created for a given application.  I'm wondering at what point in the package build process does this get determined.
    For example, the following programs automatically generate application shortcuts in the GNOME menu:
    K3b
    Inkscape
    dvd::rip
    Yet these applications don't:
    Acidrip
    K9copy
    lbreakout2
    stellarium
    I've looked through the ABS tree for differences in the individual build files, but I don't see a pattern that determines what does and doesn't have a GNOME shortcut.  Where is this determined?
    It would seem to me that any program which makes its way into the Current or Extra repos should also have the appropriate shortcuts provided for the DE automatically, if only for the sake of consistency.  Half the the time, I can't even tell whether I've already installed a program or not because there's no menu item for it.

    ezzetabi wrote:Considering there are lots of WM and DE with different format...
    I am the only one who thinks the packages should not create shortcut at all?
    It would be more useful adding an option to pacman -Ql that filter any non executable file.
    while it's true it's not standarized, .desktop files are nice and it's pretty likely to be more adopted, as it's a freedesktop.org spec (although then agin, I haven't seen a lot of implementations of their trash spec, but whatever)

  • REP-1057: ' PATH_TO_REPORT/report.rdf' is not a valid Report Builder file.

    Current Level : Report Builder 6.0.8.27.0
    We migrated custom reports build on Report 2.5 to 6.0.8.27.0 on apps/db version
    from 11.0.3 / 8.0.5 to 11.5.10.2/9.2.0.6. Platform was moved from HPUX to Redhat
    Linux 4.
    When we open migrated reports then original reports get converted and compiled
    by Report Builder 6 without any problem. But once saved and when modified some
    of the reports get corrupted and have 'REP-1057' error.
    Anyone had any similar problem and found solution?
    Thanks

    I have a .rdf file. When I try to open the same in Report Builder for 6i, nothing happens! It just does not open!
    I tried to convert the report into .REX from unix - I get the following error
    REP-1057: 'FAIAPXINROH.rdf' is not a valid Report Builder file.
    But, the report is running fine from Oracle apps.
    I need to open this .rdf to change somethings.
    Any suggestions?
    Regards,
    Arun Tirumale

  • Build Error while Running Ant Build File in Eclipse

    I am getting the following error while running the Ant build file in eclipse ,
    Can someone help me on this ?
    Error:
    weblogic.utils.compiler.ToolFailureException: com.bea.xml.XmlException

    You need to add the JAR containing the servlet API in the external JARs for the project.
    Regards,
    Carol.

  • Opening large ant xml build file(70KB+) hangs JDeveloper 11.1.2.1.0

    Hey everyone!
    I've been using JDeveloper for about 6 months and I've loved it from the beginning. Everythings seems to be where it's supposed to be and the visual editor greatly speeds up the development. And it's free - amazing. But the team I work with... all of them use IDEA/Eclipse, that is what people got used to - those monstrous IDE's that I'm not realy into - ...So all my persuasions to migrate to JDeveloper crash on one point: when opening large(70KB+) ant xml build files the JDeveloper seems to be doing some syntax checking and just hangs without saying anything. The strange thing is that these files open OK in IDEA/Eclipse.
    I use the latest version of JDeveloper 11g Release 2 11.1.2.1.0 on Windows7-64 and 1.6.0_30 java. Can I get some help on this one to increase the JDevelper popularity among fellow java developers? :)
    Thanks in advance!
    Edited by: 924380 on 29.03.2012 15:30

    Do you have access to Oracle Support to file an SR?
    Can you post your build.xml file somewhere, and I'd be happy to test?
    Another thing to try: run jdev.exe/jdev64.exe (assuming you're on windows) from jdeveloper\jdev\bin. This will open JDev in a command prompt window, and any stack traces that jdev might throw internally would be displayed in the console window. Not that this would help you fix anything, but might give Oracle a clue as to where the issue lies.
    John

  • Error in Build file

    Hi All,
    I have a simple build file which i am using Ant build in Eclipse to give build to.
    <project name="bobf" default="compile" basedir=".">
         <property name="build.home"    value="${basedir}"/>
         <target name="compile" >
              <mkdir  dir="${build.home}\bin"/>
         <javac srcdir="${build.home}"
              destdir="${build.home}\bin" >
              <classpath path="${build.home}\lib"/> 
        </javac>
         </target>
    </project>i am getting this error while running it in the eclipse
    C:\Saurav\bobf\build.xml:14: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    I have put the tools.jar in the ant buil's edit under classpath under user entries.
    Please help

    thanks both for the reply.
    I installed Ant
    here i am getting the new error
    C:\Saurav\bobf>ant build.xml
    Buildfile: build.xml
    BUILD FAILED
    java.lang.NoClassDefFoundError: javax/xml/parsers/FactoryConfigurationError
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    193)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    140)
            at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
            at org.apache.tools.ant.Main.runBuild(Main.java:653)
            at org.apache.tools.ant.Main.startAnt(Main.java:187)
            at org.apache.tools.ant.Main.start(Main.java:150)
            at org.apache.tools.ant.Main.main(Main.java:240)
    Total time: 0 seconds
    java.lang.NoClassDefFoundError: javax/xml/parsers/FactoryConfigurationError
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    193)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    140)
            at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
            at org.apache.tools.ant.Main.runBuild(Main.java:653)
            at org.apache.tools.ant.Main.startAnt(Main.java:187)
            at org.apache.tools.ant.Main.start(Main.java:150)
            at org.apache.tools.ant.Main.main(Main.java:240)
    javax/xml/parsers/FactoryConfigurationErrori have put the Ant library files in the classpath.
    Please help

  • FlexUnit is working with FlashBuilder and not working with Build file

    Hi
    I have few flexunit test cases . When I am running those testcases from Flashbuilder FlexUnit plugin I am able to run all the testcases and when I run Build file to run those testcases , build file is launching my testrunner swf file and it is throwing follwoing  runtime error in flash player
    VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()
    at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    here is the Build Console log
    [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
    test:
    [mxmlc] C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf (1626331 bytes)
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for the test run:
    [flexunit] FLEX_HOME: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328]
    [flexunit] haltonfailure: [false]
    [flexunit] headless: [false]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] command: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe]
    [flexunit] port: [1024]
    [flexunit] swf: [C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [C:\Users\user\Documents\workspace\project\report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Entry [C:\Users\user\Documents\workspace\project\bin-debug] already available in local trust file at [C:\Users\user\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
    [flexunit] Executing 'C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe' with arguments:
    [flexunit] 'C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf'
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    C:\Users\user\Documents\workspace\project\build\build.xml:33: The following error occurred while executing this line:
    C:\Users\user\Documents\workspace\project\build\build.xml:175: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Many thanks for In advance for your help ..

    We had a similar problem in my project.  Took a lot of research and trial and error, but we finally narrowed it down to the resource.properties file.  Turns out that if the file gets too big it causes this problem.  Extending the timeout doesn't help.  You have to break your resource.properties into more granular files to reduce the file size.  This seems to fix the problem.  We have had it happen several times since then and we know how to fix it, so we get it fixed pretty quickly.
    Not sure if this will fix your problem, but it fixed ours.

  • How to use the build file generated by Jdev to automate bpel deployment

    Hi everyone I am trying to deploy bpel jar files and human task ear files using ant. When i use the ant which is generated by Jdev I am gettinng an error
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
    Buildfile: build.xml
    deployTaskForm:
    BUILD FAILED
    C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:39: Could not create
    task or type of type: deployTaskForm.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'deployTaskForm'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.

    Ensure JDEV and SOA versions are in sync.

  • Page File Usage heavy with WebCamCenter

    First of all the Camer (Web Cam Live) is installed and working fine with all other related applications but when I start the Creative WebCamCenter my processor and Page file usage goes thru the roof and my PC is then so unresponsive as to be useless.
    XP Pro, SP2
    52k Meg Ram
    Norton Anti Virus 2004 & Netgear WG5 Wireless Network are the only other programs launched on startup.
    Any Ideas anyone?
    and Yes, I've uninstalled, re-installed (both with original and new Drivers) with no improvement.
    Message Edited by Maskerade on 10-31-2004 09:17 PM

    Maskarade,
    Have you tried installing with your AntiVirus and Firewall programs disabled? Disabling these during the install can help in making sure that you aren't experiencing any interference from these programs.
    Jeremy
    Message Edited by Jeremy-CL on 11-02-2004 08:41 PM

Maybe you are looking for

  • PC Suite crashing on open

    Hi there, I am using Windows Vista. I think i have the latest version of PC Suite - i can't check because every time i try and open it, it crashes! It was working fine until last night, when i downloaded the lastest phone update software and flashed

  • I want to be able to type an address into the url section. Google is on the main firefox page and I cant get rid of it. How can I restore Firefox mozilla only please?

    I need to enter the www.address. on this computer I can only enter the address in the google or yahoo section, not where the address should be. On the firefox home page the area where you search Google is the only way I can enter my address. There is

  • Internal Speakers Problem

    Hi, I am helping my sister diagnose a problem with her macbook. It is an '07 model. Using screen share I determined there appears to be a software 'gliche' that prevents her mac from ID-ing the built in speakers and sending output to them. If she plu

  • Trial Version: Crash in progress. Last logged message was ae.blitpipe

    I've downloaded and installed the trial version of AE CS4. The program installs fine and it starts up but when I try to import a video file (i've tried many many different formats) it crashes. I then updated the program using the "update" option from

  • Accessing Instance Variables

    Hi, I am trying to make a presentation that shows all instance variables of a determined process's instance. In order to do that, I have created a Gloabal Interactivity Activity with a presentation that ask for a key. So, I want to show in the next p