Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.2.0-dev] Target Cairo version doesn't exist #1798

Closed
EliteMasterEric opened this issue Jun 13, 2024 · 5 comments
Closed

[8.2.0-dev] Target Cairo version doesn't exist #1798

EliteMasterEric opened this issue Jun 13, 2024 · 5 comments

Comments

@EliteMasterEric
Copy link
Contributor

Trying to clone and build this branch but this commit (7824a39) refers to a commit on freedesktop/cairo, which is a repo that doesn't exist.

@player-03
Copy link
Contributor

Yeah, we had to update .gitmodules to point to freedesktop.org (2b3fe0a). You should already have this commit, but you may still need to run git submodule sync && git submodule update.

@joshtynjala
Copy link
Member

And if you need to switch back from 8.2.0-Dev to develop, you will need to run git submodule sync && git submodule update again to go back to the original module URLs that develop is still using for our 8.1 updates. After we merge 8.2.0-Dev into develop, this commands won't be needed anymore.

@EliteMasterEric
Copy link
Contributor Author

The issue I was having was that I was unable to checkout the branch due to the missing submodule. I ended up being able to use --no-recurse-submodules and that allowed me to check out the corrected .gitmodules file, and then after that I could perform the git submodule sync.

@player-03
Copy link
Contributor

Weird. My best guess is that when you previously checked out that branch, github.com/freedesktop/cairo still existed, and it remembered that URL. Maybe another solution would have been to delete your local copy of 8.2.0-Dev, then run git checkout upstream 8.2.0-Dev.

Anyway, glad you got it working.

@EliteMasterEric
Copy link
Contributor Author

EliteMasterEric commented Jun 13, 2024

Logging it here in case people try to find it, I encountered an error if I ever attempted to fetch the cairo submodule repository in its entirety:

error: object e5b831b107ad18e78ec9ea5e6da68eb30bf71126: missingSpaceBeforeDate: invalid author/committer line - missing space before date
fatal: fsck error in packed object
fatal: fetch-pack: invalid index-pack output

It seems some old commit in that repo is corrupted and needs to be fixed by them. In the meantime, I was able to do this to pull just the commit I needed:

git fetch --depth 1 origin tag 1.17.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants