(Q) Building error

Search This thread

Tunderpimp

Senior Member
Jul 13, 2012
415
73
First some info, I'm a newb and I'm on the newest Ubuntu desktop, I'm cherry picking with git from one nexus 5 rom to another. I've taking pie from PA and cherry picked into this rom http://xdaforums.com/google-nexus-5/orig-development/rom-rastakat-vanilla-t2541185. When I type make otapackage -j5 ( 5 because I have a 4 core cpu) Everything runs fine for awhile, then I get this errorI.

Copy xml: out/target/product/hammerhead/system/etc/apns-conf.xml
Copy: out/target/product/hammerhead/system/media/audio/alarms/Argon.ogg
/bin/bash: xmllint: command not found
make: *** [out/target/product/hammerhead/system/etc/apns-conf.xml] Error 127
make: *** Waiting for unfinished jobs....

P.S I cherry picked it into the same folder that I picked it from /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar.

I've done alot of googling first
 

The-Immortal

Senior Member
Aug 5, 2014
144
87
Scroll up and see there many errors

I think one or more

The lines you pasted is only shows unfinished jobs and total errors

Its a cherry -picking error
 

MiyagiSan

Senior Member
Sep 18, 2014
632
167
First some info, I'm a newb and I'm on the newest Ubuntu desktop, I'm cherry picking with git from one nexus 5 rom to another. I've taking pie from PA and cherry picked into this rom http://xdaforums.com/google-nexus-5/orig-development/rom-rastakat-vanilla-t2541185. When I type make otapackage -j5 ( 5 because I have a 4 core cpu) Everything runs fine for awhile, then I get this errorI.

Copy xml: out/target/product/hammerhead/system/etc/apns-conf.xml
Copy: out/target/product/hammerhead/system/media/audio/alarms/Argon.ogg
/bin/bash: xmllint: command not found
make: *** [out/target/product/hammerhead/system/etc/apns-conf.xml] Error 127
make: *** Waiting for unfinished jobs....

P.S I cherry picked it into the same folder that I picked it from /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar.

I've done alot of googling first

This seems like a key error in that snippet you posted:

Code:
Copy xml: out/target/product/hammerhead/system/etc/apns-conf.xml
Copy: out/target/product/hammerhead/system/media/audio/alarms/Argon.ogg
[COLOR="Red"]/bin/bash: xmllint: command not found[/COLOR]
make: *** [out/target/product/hammerhead/system/etc/apns-conf.xml] Error 127
make: *** Waiting for unfinished jobs....

You can install xmllint on Ubuntu by running the following in a terminal:

Code:
 sudo apt-get install libxml2-utils
 
Last edited:
  • Like
Reactions: Tunderpimp

Tunderpimp

Senior Member
Jul 13, 2012
415
73
You got it installing it fixed my issue

Sent from my Nexus 5 using XDA Free mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    First some info, I'm a newb and I'm on the newest Ubuntu desktop, I'm cherry picking with git from one nexus 5 rom to another. I've taking pie from PA and cherry picked into this rom http://xdaforums.com/google-nexus-5/orig-development/rom-rastakat-vanilla-t2541185. When I type make otapackage -j5 ( 5 because I have a 4 core cpu) Everything runs fine for awhile, then I get this errorI.

    Copy xml: out/target/product/hammerhead/system/etc/apns-conf.xml
    Copy: out/target/product/hammerhead/system/media/audio/alarms/Argon.ogg
    /bin/bash: xmllint: command not found
    make: *** [out/target/product/hammerhead/system/etc/apns-conf.xml] Error 127
    make: *** Waiting for unfinished jobs....

    P.S I cherry picked it into the same folder that I picked it from /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar.

    I've done alot of googling first

    This seems like a key error in that snippet you posted:

    Code:
    Copy xml: out/target/product/hammerhead/system/etc/apns-conf.xml
    Copy: out/target/product/hammerhead/system/media/audio/alarms/Argon.ogg
    [COLOR="Red"]/bin/bash: xmllint: command not found[/COLOR]
    make: *** [out/target/product/hammerhead/system/etc/apns-conf.xml] Error 127
    make: *** Waiting for unfinished jobs....

    You can install xmllint on Ubuntu by running the following in a terminal:

    Code:
     sudo apt-get install libxml2-utils