[4.1/master] vmodtool parallell make dependency problem #1866
Labels
No labels
a=ActionBeforeRelease
a=Bugwash Today
a=Implement
a=Move To VIP
a=NextVCL
a=OK'ed
a=RunByUPLEX
a=VDD
a=duplicate
a=feedback please
a=freeze
a=help wanted
a=invalid
a=last call
a=more-info-needed
a=need bugwash
b=breaking
b=bug
b=cleanup
b=enhancement
c=H/2
c=build
c=doc
c=packaging
c=varnishadm
c=varnishapi
c=varnishd
c=varnishhist
c=varnishlog
c=varnishncsa
c=varnishstat
c=varnishtest
c=varnishtop
c=vmod
r=6.0
r=7.0
r=7.1
r=7.2
r=7.3
r=7.4
r=7.5
r=8.0
r=trunk
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vinyl-cache/vinyl-cache#1866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From time to time the build jobs in jenkins fail, usually recovering after a manual rebuild.
I think this is because vmodtool isn't done writing vcc_if.[ch], but I haven't verified this.
Below is 4.1 but should be identical in master.
Job link: https://jenkins.varnish-software.com/view/VC-4.1/job/varnish-4.1-build-el6-x86_64/
I ran into the same issue in vmod-example, so I first declared all
vmodtool.pyoutput files tomake:It could still run up to 4 times (confirmed with
make -j 32) but I would always get proper output. After a comment from @gquintard I ended up using a temp file to fix that too.See https://github.com/varnish/libvmod-example/pull/30#issuecomment-184592855
Before I committed 82d2522712892b6edffdc4d805ce7400c52d1f34 I found no other way than to set the vmodtool build target to one file and create a dependency of all other files to that file
@nigoroll where's the sha1 pointing to?
github.com/varnish/libvmod-example@82d2522712Ah, I've actually seen that but wasn't fond of the idea of having output from a same target being dependencies of each other. But I changed it only because I had introduced variables (
VCC_FILESandDOC_FILES) for those files that get referenced in several places.On 07/03/16 14:48, Dridi Boukelmoune wrote:
I don't like it either, but this is just how make works.
@lkarsten please let me know whether this issue still happens when building the master branch. I'll take care of back-porting the fix to maintenance branches and close this issue.
@Dridi we could close this one if you're done with backporting
This was fixed in vmodtool.py in
6693cfc538. Closing.This was backported in
0b1ff5170e, removing tag.