Replies: 8 comments 11 replies
|
Update (I've discovered something else that might be relevant...) If I try to build an even earlier version of glib (ver 2.70.1) I see a different error:-
whereas if I try a more recent version (ver 2.80.0) that one builds fine. So I tried a completely different package (curl) and for that one I can go back quite a long way and the previous versions build fine. So maybe it's just the case that some packages have retained good backwards compatibility whereas others haven't?? |
|
Oh I see.. that's something I didn't realise. Here's what I see (in git) for Glib:-
and you can see that the long SHA number for version 2.78.1 is 5c02b81 (which is the number I'd been using for my baseline). So are you saying that I can use one of the more recent numbers but still specify version 2.78.1? |
|
Yes I'm using manifest mode (which I thought I understood) but I must be doing something wrong. Let's say I'm building pango, which depends on glib (the one I want to set to ver 2.78.1). Here's how my vcpkg.json file would look at present:- and up to now I've been using a file called vcpkg-configuration.json looking like this:- So at the moment I'm not actually entering a baseline anywhere for glib. Is that the wrong approach? |
Start with those which are listed there:
|
|
Your manifest structure looks correct to me A recent So the important part is probably not the manifest layout, but the actual build failure The failure happens while I would check that file first and look for the first CMake error above the final ninja failure Given that Practical options:
But no, I would not add a separate baseline for |
|
Thanks Aleksandr Kovalko (@gistrec) - unfortunately the log files won't be available any more. Due to problems with hard drive space, I've needed to uninstall vcpkg for the time being. But thanks to all the help in this thread I think I'm (hopefully!) starting to understand the situation with baselines. Having said that, I've never heard the term overlay port before so that's beginning to make me wonder. Are they something different from conventional ports? |
|
Maybe you should keep things simple and stick to just vcpkg.json and the "builtin" registry instead of trying advanced difficulty with a) overriding the "default" registry and b) adding a second registry. |
|
Do you mean abandoning the file called vcpgk-configuration.json and just stick with vcpkg.json? |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I downloaded vcpkg a month or two ago and I've been experimenting with it on & off but I haven't yet used it for anything serious. In the past I've managed to build glib (in classic mode) which built version 2.86.4 (presumably the latest version?)
So this morning I thought I'd try building an earlier version (2.78.1) in manifest mode and I followed various instructions that people here helped me with. In fact I could post the contents of vcpkg.json and vcpkg-configuration.json here if needed.
Anyway, attempting vcpkg install --dry-run lists about half a dozen dependencies needed and then confirms it'll build glib at version 2.78.1 but whereas 2.86.4 built fine, 2.78.1 builds all the dependencies okay but when it comes to build glib, the process starts off normally but within a minute or so I see this output:-
Can anyone advise me as to whether or not I can fix this? For example, should I have maybe built some earlier version of the dependencies? Also, if someone can let me know which log file(s) would be appropriate I'd be happy to post them too.
All reactions