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

FEATURE REQUEST: specify packages to fetch instead of building #1067

Closed
vermaden opened this issue Aug 1, 2023 · 7 comments
Closed

FEATURE REQUEST: specify packages to fetch instead of building #1067

vermaden opened this issue Aug 1, 2023 · 7 comments

Comments

@vermaden
Copy link

vermaden commented Aug 1, 2023

I have a question about Poudriere.

Is there option to - fetch for example 'lang/gcc12' as package - and then build other things you want to build in that repo?

The 'lang/gcc12' fails to build (multiple times I tried):

@vermaden vermaden changed the title FEATURE REQUEST: I have a question about #Poudriere. Is there option to - fetch 'lang/gcc12' as package - and then build other things you want to build? The 'lang/gcc12' fails to build (multiple times I tried): - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272862… FEATURE REQUEST: specify packages to fetch instead of building Aug 1, 2023
@nunotexbsd
Copy link

poudriere-devel have -b latest|quarterly that I use frequently doing testport on releases.

@vermaden
Copy link
Author

vermaden commented Aug 1, 2023

Nice, I will try that right away. thank You.

@brd brd closed this as completed Aug 1, 2023
@vermaden
Copy link
Author

vermaden commented Aug 1, 2023

I have tried the poudriere-devel with -b latest but it still wants to build lang/gcc12.

How can I FORCE Poudriere to NOT build lang/gcc12 EVER AGAIN and always fetch it from repositories?

Thanks.

@igalic
Copy link
Contributor

igalic commented Aug 1, 2023

@vermaden can you test #1064 and see if that helps?

@vermaden
Copy link
Author

vermaden commented Aug 1, 2023

After applying this patch:

I believe it works as desired and only several ports were actually compiled.

These I wanted:

security/krb5
security/sudo
security/cyrus-sasl2
security/cyrus-sasl2-gssapi
net/openldap26-client
net/samba413

These were compiled:

devel/p5-Parse-Yapp	
security/cyrus-sasl2-gssapi
net/openldap26-client	
dns/bind-tools	
databases/ldb22
net/samba413	
security/sssd@default	
security/sudo	        

That is what I was looking for.

I hope this common.sh patch will make it upstream into the poudriere-devel and sometime in the future into poudriere port/package.

Regards,
vermaden

@vermaden
Copy link
Author

vermaden commented Aug 1, 2023

... and most important - thank You very much for you help and suggestions.

You saved me a lot of time.

@patmaddox
Copy link
Contributor

patmaddox commented Aug 2, 2023

If you want to see why it's building, when you think it should fetch: run poudriere bulk -v -n and look at the output. The things to look for are:

  1. remote / local version mismatch
  2. options wanted / remote mismatch
  3. deps wanted / remote mismatch

So at least you can check that the packages it builds makes sense. That's how I found the issue with the duplicate options and deps. With #1064, it only builds packages where there's a true version / options / deps mismatch between local and remote.

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

No branches or pull requests

5 participants