Bug 216360 - archivers/freeze: License NONE needs confirmation, but BATCH is defined
Summary: archivers/freeze: License NONE needs confirmation, but BATCH is defined
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-21 21:10 UTC by Marko Cupać
Modified: 2021-01-19 14:39 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gabor)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2017-01-21 21:10:06 UTC
Hi,

adding license 'NONE' broke the ability to build freeze in poudriere.

Here's message I get:

License NONE needs confirmation, but BATCH is defined
Comment 1 Markus Mann 2017-02-23 00:55:57 UTC
You can add 'LICENSES_ACCEPTED+=NONE' to your /usr/local/etc/poudriere.d/make.conf and it will build.
Comment 2 gessel 2018-04-09 18:06:26 UTC
If you're running portmaster and get:


===>  Cleaning for freeze-2.5_2
===>  freeze-2.5_2 License NONE needs confirmation, but BATCH is defined.
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/freeze

===>>> make build failed for archivers/freeze
===>>> Aborting update

===>>> Update for archivers/freeze failed
===>>> Aborting update

adding 'LICENSES_ACCEPTED+=NONE' to /etc/make.conf will, likewise, solve the issue for non-poudriere users.
Comment 3 Jeremy Felpel 2021-01-19 14:31:31 UTC
(In reply to gessel from comment #2)

Thank you for that last line!

"adding 'LICENSES_ACCEPTED+=NONE' to /etc/make.conf will, likewise, solve the issue for non-poudriere users."

That fixed my issue!

But, just to double check and make sure I am not breaking anything...
My new FreeBSD 12.2 VM did not have a '/etc/make.conf' file.
So I created it and I am now able to run "make -DBATCH install clean" without issue. 

File creation process:
vi /etc/make.conf
i
LICENSES_ACCEPTED+=NONE
'esc'
:
x

Will creating the make.conf file in this manner cause any issues down the road?

thank you for any advice on this matter.
-JF