letting a port depending on rust-nightly

MR mr at freebsd.org
Fri Dec 18 13:17:35 UTC 2020


Hi,

Zitat von Jan Beich <jbeich at freebsd.org>:

> MR <mr at freebsd.org> writes:
>
>> Hi,
>>
>>
>> thanks a lot for your hints!
>>
>> This (and RUSTC_BOOTSTRAP=1) seems to work mostly:
>>
>> It does build now interactively bit still seems to download repos from
>> github during config:
>
> Likely due to CARGO_GIT_SUBDIR being incomplete/incorrect, so some
> packages still don't use local overrides.
>
>   Cargo.toml:134:rocket_contrib = { git =  
> 'https://github.com/SergioBenitez/Rocket', rev =  
> '1010f6a2a88fac899dec0cd2f642156908038a53' }
>
> after adding CARGO_GIT_SUBDIR+=rocket:rocket_contrib:contrib/lib
>

yes, it was this missing line you provided above.
Now it compiles with poudriere.

Since rust is completely new to me the build workflow is it too.
And it's not the most obvious one too...

Many thanks again for your support!


>   Cargo.toml:134:rocket_contrib = { path =  
> "WRKDIR/Rocket-1010f6a2a88fac899dec0cd2f642156908038a53/contrib/lib", rev =  
> '1010f6a2a88fac899dec0cd2f642156908038a53' }
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


-- 
greetings
---
mike mr at freebsd.org



More information about the freebsd-ports mailing list