User avatar
kyrios
Posts: 1505
Joined: Thu Sep 22, 2016 4:20 pm

[SOLVED] build dependencies names and double quotes ?

Tue Mar 14, 2017 7:09 pm

Hello,

I faced the following issue and I would like to know if it sounds like a bug or not:
I did generate a package.yml file using yauto.py
The script did generate some build dependencies among them there was:

Code: Select all

    - pkgconfig("libcurl")
But when I tried build the package, I got the following error:

Code: Select all

[pkgconfig:"libcurl"] This dependency is not in any repo
[BuildDep] pkgconfig("libcurl") build dep does not exist in the repository.
Which is weird since it exists in the repository.
After struggling for some time, I removed all dependencies and I added them manually and... it worked !
I then noticed that the difference is that I didn't quote the dependency name

Code: Select all

    - pkgconfig(libcurl)
I did play a little further and I did notice that for some dependencies it work just fine with or without the quotes but for some others, it only works without the quotes.

I find this quite confusing so I would like to know if everyone else already encountered such a problem or if this behaviour is normal ?
Last edited by kyrios on Tue Mar 14, 2017 7:11 pm, edited 1 time in total.

User avatar
kyrios
Posts: 1505
Joined: Thu Sep 22, 2016 4:20 pm

Re: build dependencies names and double quotes ?

Tue Mar 14, 2017 7:11 pm

Okay I answer to myself.
It should never be quoted.

Return to “Engagement”