[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More problems with Ubuntu (was Re: Emsandbox in arm board)





On Thu, Nov 27, 2008 at 5:44 AM, Neil Williams <codehelp@debian.org> wrote:
On Wed, 26 Nov 2008 17:43:02 +0530
Sivakumar.R.J <rj.sivakumar@gmail.com> wrote:

> after emsource gcc and while emdebuild its giving a dependency error.

You probably don't have the normal build dependencies for gcc installed
inside the chroot.

emdebuild --build-dep only checks for the cross-dependencies, you still
need the normal build-dependencies:

# apt-get build-dep gcc-4.3

Or, use the emsource support:
# emsource --build-dep -c gcc-4.3
This will clean up your gcc-4.3 failed build, run apt-get build-dep and
then run emdebuild --build-dep

 yes, it worked for me and also succeeded in building gcc-4.3 for armel.Then i just want to know how to proceed.And start trying with the next package apt , but strucked with a error while emdebuild after emsource in the debian/rules ( what this debian/rules will do..  are we have to edit for each package building process..what is this mean for?)
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package apt
dpkg-buildpackage: source version 0.7.19em1
dpkg-buildpackage: source changed by root <root@siva-desktop>
dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type i486-linux-gnu.
 fakeroot debian/rules clean
dpkg-buildpackage: host architecture armel
debian/rules:146: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
Recording that the package failed to build.

 

> Could not open file
> /home/siva/.apt-cross/unstable/lists/http.us.debian.org_debian_dists_unstable_main_source_Sources
> - open (2 No such file or directory)

Ignore that message - libapt-pkg-perl is being unnecessarily noisy and
I can't find a way to silence it.

> apt-cross is unable to locate package: 'libc6-dev-amd64' - skipping
> apt-cross is unable to locate package: 'libc0.3-dev' - skipping
> apt-cross is unable to locate package: 'libc6.1-dev' - skipping
> apt-cross is unable to locate package: 'lib64gcc1' - skipping
> apt-cross is unable to locate package: 'libc6-dev-mips64' - skipping
> apt-cross is unable to locate package: 'libc6-dev-powerpc' - skipping
> apt-cross is unable to locate package: 'libunwind7-dev' - skipping
> apt-cross is unable to locate package: 'libc0.1-dev-i386' - skipping
> apt-cross is unable to locate package: 'libc6-dev-s390x' - skipping

I might downgrade the verbosity level for those "skipping" messages so
that they only show up when used with --verbose. They are useful when
debugging and developing but probably misleading in actual usage.
Ignore them - if you check the details of each package, you can
probably see why they are not found in the apt-cache for armel.

> apt(mychroot)
> root@siva-desktop:~/emdebian/target/trunk/g/gcc-4.3/trunk/gcc-4.3-4.3.2#
> emdebuild -a armel --build-depChecking installation of build tools:

It's possible that emdebuild has missed a few that apt-get build-dep
would normally install, due to the different ways that the two sets are
calculated. The autobuilder uses the emsource version and emdebuild
checks for any extra ones added via debian/xcontrol.

> > $ dget
> > http://www.emdebian.org/packages/pool/main/b/busybox/busybox_1.11.1-1em1.dsc
> > $ cd busybox-1.11.1/
> > $ emdebuild -a armel
> >
>
>  its giving me the error .whether i have to create a trunk link for
> this.

? extract the .dsc as normal with dpkg-source -x and then cd into that
directory.

  yes, it also worked and builted successfully.

 And what emdepends will do in emdebian built.. as you told  it will built all the binary packages into unique source package.. but when i try running your command

$ emdepends busybox dpkg libstdc++6 libgcc1 libc6 cdebconf debconf-shell libdebian-installer4 zlib1g libnewt0.52 libslang2 base-passwd apt gpgv libncurses5 libreadline5 readline-common debianutils makedev whiptail gnupg udev base-files debian-archive-keyring dhcp3-client util-linux module-init-tools initscripts

(its gave me this error)
Use of uninitialized value $cache in mkdir at /usr/bin/emdepends line 151.
Cannot create sources list: No such file or directory at /usr/bin/emdepends line 152.

how to proceed with this.



--


Neil Williams
=============
http://www.data-freedom.org/



--
Sivakumar.R.J

Reply to: