Closed djnym closed 3 years ago
Hi, I just stumbled across the same issue. I have an OTP app with c_src
files which builds just fine in its own app directory using any pc
version. When I include it as a remote source dependency in deps
in another OTP app's rebar.config
, it builds fine using pc
version <= 1.9.1
, but with 1.10.1
I get the same error ===> Found no source files for:
. Looks like 94f0327 might be the reason, as @djnym says, but I don't know enough about pc
to try to fix it confidently. Will stick to 1.9.1
for now but wonder if other people are seeing it too.
@igorclark @djnym Does #56 solve your issue? I experience a similar problem.
@tolbrino sorry for the lateness, this does fix the issue, we should get this patch merged in and cut a new version of the plugin. @tuncer what do you think?
Hi, I was going through and attempting to update dependencies on a project and ran into an issue with the port_compiler v1.10.1.
Here's my test rebar.config
Then if I compile this
However, if I switch back to v1.9.1 everything works as expected.
Since there were only a few commits between v1.9.1 and v1.10.1 I check them all, and found this commit will cause the breakage https://github.com/blt/port_compiler/commit/94f0327672ab263e8e2e3d80826a0981046742e4 I'm not sure why as it seems innocuous enough, but maybe the filename:join/1 call is necessary?