Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 15:32:25 +0200
From:      Kurt Jaeger <pi@freebsd.org>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Fwd: [package - head-i386-default][astro/opencpn] Failed for opencpn-5.0.0_1 in build
Message-ID:  <20200828133225.GQ3539@home.opsec.eu>
In-Reply-To: <e5e84816-f17e-0a04-66d3-3bf8b4857c69@netfence.it>
References:  <202008280933.07S9X3J2074396@beefy17.nyi.freebsd.org> <e5e84816-f17e-0a04-66d3-3bf8b4857c69@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> Should I consider the following or just trash it, given the warning?

The 'jail is newer' warning can be ignored, most of the time.

The 'package build' error is probably real.

Reason: Very recently, llvm11 was imported, see:

  https://lists.freebsd.org/pipermail/svn-src-all/2020-August/201174.html

That compiler now defaults to -fno-common, where it was -fcommon
in the past. This means: variables defined as

int xyz;

in one .c file and similarly in some other .c file, when linked together,
fail to link because there are duplicate definitions.

See man cc:

       -fcommon, -fno-common
              This flag specifies that variables without initializers get
              common linkage.  It can be disabled with -fno-common.

So, if possible, fix your port.

> You are receiving this mail as a port that you maintain
> is failing to build on the FreeBSD package build server.
> Please investigate the failure and submit a PR to fix
> build.
> 
> ...
> !!! Jail is newer than host. (Jail: 1300113, Host: 1300100) !!!
> !!! This is not supported. !!!
> !!! Host kernel must be same or newer than jail. !!!
> !!! Expect build failures. !!!
> ...

-- 
pi@opsec.eu            +49 171 3101372                    Now what ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200828133225.GQ3539>