Closed
Bug 1163986
Opened 11 years ago
Closed 9 years ago
cfx testcfx fails with read-only $CUDDLEFISH_ROOT
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: dominik, Unassigned)
Details
Attachments
(1 file)
|
31.00 KB,
text/x-log
|
Details |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150416103922
Steps to reproduce:
I'm trying to package Add-on SDK 1.17 for Fedora to use it for building packages of Firefox extensions from source. In particular, I need it to build mozilla-privacy-badger extension from source.
Per Fedora packaging guidelines, I'm putting the Add-on SDK files in /usr/share/addon-sdk and adding a symlink /usr/bin/cfx -> /usr/share/addon-sdk/bin/cfx. This gets packaged as an RPM file. Once it's installed, I try to run cfx testcfx.
Actual results:
$ cfx testcfx
..F.........EEEExporting extension to simplest-test.xpi.
EEEEE........EEEEEEEEEEEEEEEEE.E..Warning: missing module: sdk/panel
Warning: missing module: sdk/tabs.js
Warning: missing module: sdk/panel
Warning: missing module: sdk/tabs.js
....EEEE...........
======================================================================
ERROR: test_cfx_init (cuddlefish.tests.test_init.TestCfxQuits)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/addon-sdk/python-lib/cuddlefish/tests/test_init.py", line 220, in test_cfx_init
os.makedirs(addon_path)
File "/usr/lib64/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/share/addon-sdk/.test_tmp'
[...]
----------------------------------------------------------------------
Ran 68 tests in 0.586s
FAILED (failures=1, errors=30)
other tests that try to write in $CUDDLEFISH_ROOT fail as well. Full log attached.
Expected results:
./cfx testcfx
...............Exporting extension to simplest-test.xpi.
..................................Warning: missing module: sdk/panel
Warning: missing module: sdk/tabs.js
Warning: missing module: sdk/panel
Warning: missing module: sdk/tabs.js
...................
----------------------------------------------------------------------
Ran 68 tests in 6.502s
OK
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment 2•11 years ago
|
||
We are trying to remove cfx in bug 1141776 fwiw
| Reporter | ||
Comment 3•11 years ago
|
||
Tell that to extension developers. ;)
What is the replacement for cfx?
Comment 4•11 years ago
|
||
mis-marked duplicate.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Comment 5•9 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•