Xorg build fails due to "Failed to clone lib/libxcvt"

Aaron Plattner aplattner at nvidia.com
Wed Jun 22 19:04:48 UTC 2022


On 5/26/22 3:00 PM, Jérémy Hervé wrote:
> Dear Xorg-Devel List,
>
> I am trying to build the Xorg server.
> I am using the instructions available here :
> https://wiki.x.org/wiki/Building_the_X_Window_System/
>
> and chose the option "Build Process Based on build.sh Script".
>
> I type the following command :
>
> jdh at thinkpad:~/X$ ./util/modular/build.sh --clone ~/X_Build
>
> The process appears to be going on well until the following message 
> appear :
>
> ======================================================================
> ==  Processing:  "lib/libxcvt"
> ==        configuration options:
> Cloning into 'lib/libxcvt'...
> fatal: remote error: access denied or repository not exported: 
> /git/xorg/lib/libxcvt
> Failed to clone lib/libxcvt. Ignoring.
> ./util/modular/build.sh: 691: --prefix=/home/jdh/X_Build: not found
> build.sh: "lib" failed on libxcvt
> build.sh: error processing:  "libxcvt"
>
>
> A quick look to the build.sh sources let me think that the script is 
> looking to the next place
>
> http://anongit.freedesktop.org/git/xorg/lib/
>
> For a "libxcvt" folder but fails to do it.
>
>
> How to the Xorg team build the server ? Am I using the right 
> instructions ?
> If so, could you please help me solving this issue ?
libxcvt isn't available via anongit, you have to fetch it from gitlab.

I had to add an override for my repo manifest for that: 
https://cgit.freedesktop.org/~aplattner/xorg-manifest/commit/?id=d5e6e78399b96b80adf89b5f4da0d840c73c2e86

I think build.sh is going to need something similar to override $GITROOT 
based on which project it's fetching.

-- Aaron



More information about the xorg-devel mailing list