[Bug 1343656] Re: Unable to install crossbuild-essential-powerpc on x86_64 (amd64)
Dimitri John Ledkov
launchpad at surgut.co.uk
Fri Jul 18 09:38:23 UTC 2014
On 18 July 2014 00:00, semi-newbie <1343656 at bugs.launchpad.net> wrote:
>
> First, I executed "sudo apt-get install build-essential".
> Second, I executed "sudo dpkg --add-architecture powerpc".
> Third, I executed "sudo apt-get install crossbuild-essential-powerpc".
>
Second, sub-step 2:
Add ports archive:
deb [arch=armhf,arm64,powerpc,ppc64el]
http://ports.ubuntu.com/ubuntu-ports SERIES main restricted universe
multiverse
Second, sub-step 3:
Run $ apt-get update"
Does above help?
Plus, in general it's a bad idea to do above on your host. Instead to
create a cross-building chroot it's easiest to use mk-sbuild
$ mk-sbuild --target powerpc $SERIES
Will create a cross-building chroot from your current arch to powerpc.
--
Regards,
Dimitri.
** Changed in: build-essential (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to build-essential in Ubuntu.
https://bugs.launchpad.net/bugs/1343656
Title:
Unable to install crossbuild-essential-powerpc on x86_64 (amd64)
Status in “build-essential” package in Ubuntu:
Incomplete
Bug description:
The Ubuntu 14.04LTS 64-bit is installed within a brand-new VM (using
VirtualBox 4.3.12). The host machine and the VM are both x86_64
(amd64). I would like to get a powerpc-linux-gnu cross-toolchain up
and running, and noticed that Ubuntu had a specific package for this.
First, I executed "sudo apt-get install build-essential".
Second, I executed "sudo dpkg --add-architecture powerpc".
Third, I executed "sudo apt-get install crossbuild-essential-powerpc".
I expected the third command to succeed. Instead, it failed while providing the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
crossbuild-essential-powerpc : Depends: libc6-dev:powerpc but it is not installable
E: Unable to correct problems, you have held broken packages.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: crossbuild-essential-powerpc (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Thu Jul 17 13:53:14 2014
InstallationDate: Installed on 2014-07-17 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: build-essential
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/build-essential/+bug/1343656/+subscriptions
More information about the foundations-bugs
mailing list