Bug 1286009 - make distcheck fails due to permission denied for target 'vdsm-api.html
Summary: make distcheck fails due to permission denied for target 'vdsm-api.html
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: vdsm
Classification: oVirt
Component: Build
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Yaniv Bronhaim
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-27 08:54 UTC by Sandro Bonazzola
Modified: 2022-06-30 08:11 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-29 10:23:05 UTC
oVirt Team: Infra
Embargoed:
sbonazzo: ovirt-4.2-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-46779 0 None None None 2022-06-30 08:11:01 UTC

Description Sandro Bonazzola 2015-11-27 08:54:20 UTC
Description of problem:
make distcheck fails with:

make[3]: Entering directory '/NotBackedUp/sbonazzo/upstream/vdsm/vdsm-4.17.999/_build/sub/lib/api'
  Generate vdsm-api.html
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=../../../../lib/api/../lib \
    /usr/bin/python ../../../../lib/api/process-schema.py \
              ../../../../lib/api/vdsmapi-schema.json ../../../../lib/api/vdsm-api.html
Traceback (most recent call last):
  File "../../../../lib/api/process-schema.py", line 372, in <module>
    main()
  File "../../../../lib/api/process-schema.py", line 368, in main
    create_doc(symbols, output)
  File "../../../../lib/api/process-schema.py", line 292, in create_doc
    with open(filename, 'w') as f:
IOError: [Errno 13] Permission denied: '../../../../lib/api/vdsm-api.html'
Makefile:646: recipe for target 'vdsm-api.html' failed
make[3]: *** [vdsm-api.html] Error 1
make[3]: Leaving directory '/NotBackedUp/sbonazzo/upstream/vdsm/vdsm-4.17.999/_build/sub/lib/api'
Makefile:463: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/NotBackedUp/sbonazzo/upstream/vdsm/vdsm-4.17.999/_build/sub/lib'
Makefile:549: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/NotBackedUp/sbonazzo/upstream/vdsm/vdsm-4.17.999/_build/sub'
Makefile:758: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1

Comment 1 Yaniv Kaul 2016-03-13 15:16:51 UTC
Is this going to be handled in 4.0?

Comment 2 Yaniv Bronhaim 2016-04-18 11:16:40 UTC
part of the work is on progress (https://gerrit.ovirt.org/#/c/52508/) but still delayed. hopefully we'll get to fix it to 4.0. The urgency is not high and this doesn't block anything. its a bit complex due to vdsm template files

Comment 3 Sandro Bonazzola 2016-05-02 10:02:17 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 4 Yaniv Bronhaim 2016-11-29 10:22:52 UTC
I rechecked that again. We can fix specific parts but the main issue is our way of generating the in files during make. In distcheck the generated files are not generated in the dist folder

I do not see us investing more time in this use case. please re-open if relevant


Note You need to log in before you can comment on or make changes to this bug.