Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    7
    Vote Rating
    3
    l1ndroid is on a distinguished road

      1  

    Default Failed to build on RHEL5 x86

    Failed to build on RHEL5 x86


    The "sencha ant build"command return an error on RHEL 5.

    [INFO ] Capturing theme image
    [ERROR] BUILD FAILED
    [ERROR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 127 :
    [ERROR] /opt/Sencha/Cmd/3.0.0.181/phantomjs/phantom/bin/phantomjs: error while loading shared libraries: /opt/Sencha/Cmd/3.0.0.181/phantomjs/phantom/bin/../lib/libQtWebKit.so.4: ELF file OS ABI invalid
    [ERROR] at com.sencha.command.theme.ThemeCommands$CaptureCommand.execute(ThemeCommands.java:201)
    [ERROR] at com.sencha.command.theme.ThemeCommands$BuildCommand.execute(ThemeCommands.java:142)
    ......
    I am using the latest version of command : 3.0.0.181

    I had the same error on phantomjs with the 2.X senchaSDK tools

    I do not have this error on ubuntu 12.04 x64

    Do someone have an idea on how to fix this ?

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,512
    Vote Rating
    176
    dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of

      0  

    Default


    It sounds like a PhantomJS issue. We are looking at options to remove PhantomJS that would leverage new Java API's in JRE 7. We are not ready to do that just yet because the switch over will take some effort. Would JRE 7 be an option if/when we get to that point?
    Don Griffin
    Engineering Manager - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    7
    Vote Rating
    3
    l1ndroid is on a distinguished road

      2  

    Default


    Yes it's a phantomJS build issue. It was compiled with a debian/ubuntu and the libs just not work with our RHEL version and maybe with all RPM based distrib.

    I was able to fix this issue with https://github.com/jbraeuer/phantomjs-rpms instructions. I build my own RPM and replace phantomjs 1.5 from Sencha Cmd with a symbolic link to the server version.

    If you change phantomJs version in a future Cmd release, it might be a good idea to include the change in the changelog so I can compile the new phantomJS version.

    For JRE 7, If this can help you to build a more reliable tool than I would say let's go !

Thread Participants: 1