cvs commit: ports/lang/perl5.10 Makefile ports/lang/perl5.12 Makefile ports/lang/perl5.8 Makefile

Sergey Skvortsov skv at FreeBSD.org
Fri Nov 5 16:45:44 UTC 2010


On 05.11.2010 17:53, Sunpoet Po-Chuan Hsieh wrote:
> On Fri, Nov 5, 2010 at 10:29 PM, Emanuel Haupt <ehaupt at freebsd.org> wrote:
>> Sergey Skvortsov <skv at FreeBSD.org> wrote:
>>> skv         2010-11-05 10:23:25 UTC
>>>
>>>   FreeBSD ports repository
>>>
>>>   Modified files:
>>>     lang/perl5.10        Makefile
>>>     lang/perl5.12        Makefile
>>>     lang/perl5.8         Makefile
>>>   Log:
>>>   Specify LICENSE.
>>
>> I get the following error on 8.1/amd64:
>>
>> --->  Upgrading 'perl-threaded-5.12.2_3' to 'perl-threaded-5.12.2_4' (lang/perl5.12)
>> --->  Building '/usr/ports/lang/perl5.12'
>> ===>  Cleaning for perl-threaded-5.12.2_4
>> ===>  Vulnerability check disabled, database not found
>> ===>  License not correctly defined: multiple licenses in LICENSE, but LICENSE_COMB is set to single (or undefined)
>> *** Error code 1
>>
>> Stop in /usr/ports/lang/perl5.12.
>> *** Error code 1
>>
>> Stop in /usr/ports/lang/perl5.12.
>> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20101105-53152-1qqns1p-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=perl-threaded-5.12.2_3 UPGRADE_PORT_VER=5.12.2_3 make
>> ** Fix the problem and try again.
>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>>        ! lang/perl5.12 (perl-threaded-5.12.2_3)        (unknown build error)
>>
>>
>> Emanuel
>>
> 
> Yes, we need a LICENSE_COMB= dual in lang/perl5.*/Makefile.
> Workaround: add DISABLE_LICENSES=yes to either /etc/make.conf or command line.


My fault.

I can only try to prevent such issues in the future by tuning portlint:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151966

Of course more strict checks for "LICENSE*" vars are required.

-- 
Sergey Skvortsov
mailto: skv at FreeBSD.org


More information about the cvs-ports mailing list