Merge lp:~ted/snapcraft/pkg-config-sysroot into lp:~snappy-dev/snapcraft/core
| Status: | Merged |
|---|---|
| Approved by: | Sergio Schvezov on 2015-09-23 |
| Approved revision: | 190 |
| Merged at revision: | 205 |
| Proposed branch: | lp:~ted/snapcraft/pkg-config-sysroot |
| Merge into: | lp:~snappy-dev/snapcraft/core |
| Diff against target: |
129 lines (+76/-4) 6 files modified
integration-tests/data/build-tools/Makefile (+6/-0) integration-tests/data/build-tools/icon.svg (+1/-0) integration-tests/data/build-tools/snapcraft.yaml (+14/-0) integration-tests/units/jobs.pxu (+12/-0) snapcraft/__init__.py (+7/-0) snapcraft/yaml.py (+36/-4) |
| To merge this branch: | bzr merge lp:~ted/snapcraft/pkg-config-sysroot |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | 2015-09-20 | Approve on 2015-09-23 | |
| Daniel Holbach (community) | Needs Fixing on 2015-09-23 | ||
|
Review via email:
|
|||
Commit Message
Ensure C library configuration tools don't use system paths
Description of the Change
Creating a new dev box with Wily and realized that previously some deps were getting pulled from my system. Fixing them.
| Ted Gould (ted) wrote : | # |
Kinda a crazy test, but it does test the feature.
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~ted/snapcraft/pkg-config-sysroot into lp:snapcraft failed. Below is the output from the failed tests.
[1;31mThe project has gotten complex[0m.
Here's the list of units exceeding 10:
- ./snapcraft/
284:1: 'cmd' 13
name: # the name of the snap
version: # the version of the snap
# The vendor for the snap (replace 'Vendor <email address hidden>')
vendor: Vendor <email address hidden>
summary: # 79 char long summary
description: # A longer description for the snap
icon: # A path to an icon for the package
cp --preserve=all -R zzz /tmp/tmphawmcd9
cp --preserve=all -R src /tmp/tmpiw9glgq
cp --preserve=all -R src /tmp/tmpaqsrsx5
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
deb http://
=======
=======
This session is about 0.00% complete
Estimated duration is 97.30 for automated jobs.
Estimated duration cannot be determined for manual jobs.
Size of the desired job list: 27
Size of the effective execution plan: 27
=======
--------------[ Running job 1 / 27. Estimated time left: 0:01:37 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mCould not find snapcraft.yaml. Are you sure you are in the right directory? To start a new project, use 'snapcraft init'[0m
-------
Outcome: job passed
--------------[ Running job 2 / 27. Estimated time left: 0:01:37 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mCould not find snapcraft.yaml. Are you sure you are in the right directory? To start a new project, use 'snapcraft init'[0m
-------
Outcome: job passed
--------------[ Running job 3 / 27. Estimated time left: 0:01:37 ]--------------
-----------------[ snapcraft/
ID: 2015.com.
| Daniel Holbach (dholbach) wrote : | # |
2015.com.
+ cp -rT /tmp/tarmac/
+ snapcraft stage
No keyring installed in /tmp/cwd-
++ pwd
+ grep -q /tmp/cwd-
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found


Looks good, I'd just move the method to repo.Ubuntu.
Also a small integration or unit test would be great.