← Back to team overview

ubuntu-phone team mailing list archive

Re: compiling and running the Telegram client telegram-cli on BQ (r24)

 

El día Thursday, August 13, 2015 a las 07:49:33PM +0100, Alan Pope escribió:

> >
> > To clarify: you run all these cmds/script on a Ubuntu laptop while
> > sitting in the directory 'ubuntu-terminal-app' fetched by 'bzr', right?
> >
> 
> No, all the chroot ones can be run from anywhere. The only one that
> needs to be done from the checked out directory is the
> make_fat_package script.

Thanks.

I have on my BQ a jail already (for compiling stuff like mutt) and
thought, why not start there because the BQ I always carry with me, the
Ubuntu laptop has mi wife (mine runs FreeBSD). I did:

    $ sudo chroot myRoot   # this is where my jail is
    # sudo phablet
    $ sudo apt-get install click-dev
    $ sudo apt-get install schroot
    $ sudo apt-get install debootstrap
    $ sudo click chroot -a armhf -f ubuntu-sdk-15.04 create
    I: Retrieving Release 
    I: Retrieving Release.gpg 
    I: Checking Release signature
    I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
    I: Retrieving Packages 
    I: Retrieving Packages 
    I: Retrieving Packages 
    E: Couldn't download dists/vivid/main/binary-armhf/Packages
    Traceback (most recent call last):
    ...
    subprocess.CalledProcessError: Command '['debootstrap', '--arch', 'armhf', '--variant=buildd', '--components=main,restricted,universe,multiverse', 'vivid', '/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf', 'http://archive.ubuntu.com/ubuntu']' returned non-zero exit status 1
    Error in sys.excepthook:
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 510, in add_proc_info
    self['ExecutablePath'] = os.readlink('/proc/' + pid + '/exe')
    FileNotFoundError: [Errno 2] No such file or directory: '/proc/4745/exe'

    argh :-( my jail has no /proc device mouonted

Have to wait until kick-off my wife from her laptop :-)

-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, http://www.unixarea.de/  ☎ +49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!


Follow ups

References