Closed Bug 526872 Opened 15 years ago Closed 14 years ago

Upload SDK package for mobile builds

Categories

(Release Engineering :: General, defect, P5)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: romaxa, Unassigned)

Details

(Whiteboard: [mobile][automation])

I think it would be nice to have official builds with SDK and debug files for fennec/mobile. It should make easier fennec debugging, and faster native extensions development/compilation.
Stuart: how important is this, relative to other mobile goals? romaxa: if someone can provide the necessary configs (or config deltas) for generating these builds, that would greatly speed up the setup of these builds.
coop: it would be nice to do, but is lower than everything else right now.
OK, will revisit in a few weeks, or possibly sooner if someone provides the needed mozconfig files and settings.
Component: Release Engineering → Release Engineering: Future
Priority: -- → P3
Mass move of bugs from Release Engineering:Future -> Release Engineering. See http://coop.deadsquid.com/2010/02/kiss-the-future-goodbye/ for more details.
Component: Release Engineering: Future → Release Engineering
Revisiting comment 1: what mozconfig/other magic is required to do this?
This will most likely be obsoleted by bug 555674. [11:08] <blassey> export MOZ_DEBUG_SYMBOLS=1 in the mozconfig then zip up dist/bin <ted> if you're on trunk, --enable-debug-symbols blassey: ew, no --disable-install-strip <aki> heh [11:09] <blassey> ted, we want both stripped and unstripped from the same build no? <ted> why? <blassey> basically "oh, I'm crashing with this nightly build.... let me pull down the corresponding symbols" <ted> oh [11:10] we should just get the breakpad patches landed and start uploading symbols that uploads debug symbols to the symbol server <aki> sounds like that's a better option <blassey> yes, ideally how far are we from that? [11:11] <ted> bug 555674 just needs review <aki> nice
Can this be resolved now that bug 555674 is fixed?
Priority: P3 → P5
Whiteboard: [mobile][automation]
I think it's not fixed yet, but can probably be duped against bug 557572, which I'm actively working on.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Oleg asked for two fairly different things here. The debug symbols is being taken care of by the breakpad work, but as far as I know we still don't upload the sdk.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
(In reply to comment #9) > Oleg asked for two fairly different things here. The debug symbols is being > taken care of by the breakpad work, but as far as I know we still don't upload > the sdk. OK, then changing the summary to something more accurate.
Summary: Weekly or daily mobile/fennec builds with debug symbols and SDK package → Upload SDK package for mobile builds
Re: the sdk, this should be a one time thing per sdk, correct? Seems like we should be able to upload the Chinook sdk and the Fremantle sdk and call this bug fixed?
(In reply to comment #11) > Re: the sdk, this should be a one time thing per sdk, correct? > Seems like we should be able to upload the Chinook sdk and the Fremantle sdk > and call this bug fixed? That's true for final releases, but for nightlies, we would want the SDK updated and on the FTP site with the builds. Kinda like the "tests" archive.
1) nightly directories are kept forever (or, years at least, before they're archived) 2) we build a lot of nightlies 3) these sdks hardly ever change do we really need to upload the same thing hundreds of times?
I was thinking of just putting the SDK in the "latest-mobile-*" folder and then in the release folders. Is that any better?
To be clear, is this bug requesting the mozilla internal sdk [1] or the entire scratchbox+sdk? If it is requesting the mozilla internal sdk, can we generate that from a fennec build or do we need to do a seperate xulrunner build for linux-arm? [1] Example: ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla-central/xulrunner-2.0b2pre.en-US.linux-x86_64.sdk.tar.bz2
its requesting the gecko sdk like we generate and upload for desktop
and I assume we could use a fennec build to create the SDK... but I have not tested that theory
I'm not finding a gecko sdk for desktop in firefox/nightly/latest-mozilla-central ? Do you know how we would create this? I'm not sure where to look.
it seems that they are normally built against xulrunner not firefox. There are examples of where you can find a desktop sdk build in comment 15. Mark, would running |make package-sdk| in the objdir of a mobile build be what is required to get this going?
(In reply to comment #19) > it seems that they are normally built against xulrunner not firefox. There are > examples of where you can find a desktop sdk build in comment 15. > > Mark, would running |make package-sdk| in the objdir of a mobile build be what > is required to get this going? sorry, make -f client.mk sdk in the top source directory. from: http://hg.mozilla.org/build/buildbotcustom/file/48958f359127/process/factory.py#l928
make -f client.mk sdk Failed to find a target make -C objdir package sdk Just made a normal package, not an SDK
if that is the case, it sounds like we would need to do a xulrunner +sdk build for the devices. Is this something that we still want to do?
I say we put this on hold for now. If someone has a really good reason why js-ctypes can't be our binary FFI, let me know.
Sounds good.
Status: REOPENED → RESOLVED
Closed: 15 years ago14 years ago
Resolution: --- → INCOMPLETE
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.