click-buddy with --dir option puts clicks in source tree

Bug #1376332 reported by Kyle Nitzsche
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since I prefer to build outside of my source tree, I tried using:
$ click-buddy --arch armhf --framework ubuntu-sdk-14.10 --dir PATH

This puts the built click in the source tree dir identified by PATH (and also in my pwd).

Expectation: click only ends up in pwd

Related branches

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I'll add that I wish --dir option supported NOT putting generated cmake files in the source tree either. This pollutes the source tree and requires that I bzr ignore these files for each and every project.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phablet-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
James Henstridge (jamesh) wrote :

To make matters more confusing, the behaviour seems to change depending on the value or --arch.

For "--arch all", it will correctly configure an out of tree build:

        cmake "$SOURCE" $CMAKE_PARAMS

Otherwise, it decides not to:

        cd "$SOURCE"
        ...
        click chroot -a$ARCH -f$FRAMEWORK run cmake $CMAKE_PARAMS

Revision history for this message
Larry Price (larryprice) wrote :

Looks like this MP does something similar but not quite what is requested: https://code.launchpad.net/~gcollura/phablet-tools/click-buddy/+merge/236950

Revision history for this message
Larry Price (larryprice) wrote :

I've linked an MP to this bug report that fixes this 18-month-old bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.