All of lore.kernel.org
 help / color / mirror / Atom feed
From: Apelete Seketeli <apelete@seketeli.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Package build failure
Date: Wed, 4 Apr 2012 21:57:04 +0200	[thread overview]
Message-ID: <20120404195704.GA16410@hermes> (raw)
In-Reply-To: <CAK18fxG5zusOY+WwnhBatbQ-3Kt8PUmHaafWoHTO=eWYzZ0Kyw@mail.gmail.com>

Le 03-Apr-12, Andrei Gherzan a écrit:
> On Tue, Apr 3, 2012 at 00:04, Apelete Seketeli <apelete@seketeli.net> wrote:
> >
> > It seems http://svn.openmoko.org is unreachable.
> > How can I resolve this issue ?
> >
> >
> You actually cant solve this issue as the upstream link is down. You have
> two simple choices:
> 1. Find an upstream mirror
> 2. Use a local archive instead.

Thanks for the advice.
I decided to try this upstream mirror:
http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/.

So I replaced the SRC_URI as follow (hereafter is the content of
opkg-utils_svn.bb):


~~ beginning of file ~~
DESCRIPTION = "OPKG Package Manager Utilities"
SECTION = "base"
HOMEPAGE = "http://wiki.openmoko.org/wiki/Opkg"
PRIORITY = "optional"
LICENSE = "GPLv2"
RDEPENDS_${PN} = "python"
RDEPENDS_${PN}_virtclass-native = ""
SRCREV = "4747"
PV = "0.1.8+svnr${SRCPV}"
PR = "r7"

SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=git \
           file://index-ignore-filenotfound.patch \
           file://arfile_header_split.patch \
           file://mtime-int.patch"

S = "${WORKDIR}/opkg-utils"

# Avoid circular dependencies from package_ipk.bbclass
PACKAGES_virtclass-native = ""

do_install() {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}

BBCLASSEXTEND = "native"
TARGET_CC_ARCH += "${LDFLAGS}"
~~ end of file ~~


During the execution of my test command 'bitbake nano' I get the
following error:


~~ beginning of build output ~~
NOTE: Running task 352 of 557 (ID: 70, virtual:native:/home/apelete/devel/openembedded/master/recipes/opkg-utils/opkg-utils_svn.bb, do_fetch)
NOTE: package opkg-utils-native-0.1.8+svnr0+4747-r7: task do_fetch: Started
NOTE: package gcc-cross-4.5-r38.1+svnr170880: task do_populate_sysroot: Succeeded
NOTE: Running task 353 of 557 (ID: 156, /home/apelete/devel/openembedded/master/recipes/libtool/libtool-cross_2.4.bb, do_configure)
NOTE: package libtool-cross-2.4-r28.2: task do_configure: Started
From git://git.yoctoproject.org/opkg-utils
  * branch            master     -> FETCH_HEAD
 fatal: Not a valid object name 4747
WARNING: /usr/lib/pymodules/python2.7/bb/fetch/git.py:191: DeprecationWarning: Call to deprecated function bb.mkdirhier: Please use bb.utils.mkdirhier instead.
  bb.mkdirhier(codir)

NOTE: package opkg-utils-native-0.1.8+svnr0+4747-r7: task Fetch failed: Unable to fetch URL git://git.yoctoproject.org/opkg-utils;protocol=git from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL git://git.yoctoproject.org/opkg-utils;protocol=git from any source.' failed
ERROR: Task 70 (virtual:native:/home/apelete/devel/openembedded/master/recipes/opkg-utils/opkg-utils_svn.bb, do_fetch) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_configure (pid 12101)
NOTE: package libtool-cross-2.4-r28.2: task do_configure: Succeeded
ERROR: 'virtual:native:/home/apelete/devel/openembedded/master/recipes/opkg-utils/opkg-utils_svn.bb' failed
~~ end of build output ~~


My guess is that the opkg-utils_svn.bb file now needs more changes, to
adapt to the new SRC_URI: it was an svn link and the mirror is now a
git link.

Somebody care to help some more ?
-- 
        Apelete



  reply	other threads:[~2012-04-04 20:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 21:04 Package build failure Apelete Seketeli
2012-04-02 22:48 ` Andrei Gherzan
2012-04-04 19:57   ` Apelete Seketeli [this message]
2012-04-04 20:00     ` Martin Jansa
2012-04-05  7:33       ` Andrei Gherzan
2012-04-05  7:41         ` Anders Darander
2012-04-05  7:57           ` Samuel Stirtzel
2012-04-05  8:09             ` Anders Darander
2012-04-05  8:47               ` Samuel Stirtzel
2012-04-05  8:52                 ` Paul Eggleton
2012-04-05  8:58                   ` Samuel Stirtzel
2012-04-05 21:40                     ` Apelete Seketeli
2012-04-05  9:16                   ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120404195704.GA16410@hermes \
    --to=apelete@seketeli.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.