Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2020 12:54:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248453] databases/cassandra3: fix 13-current build (devel/sigar is broken)
Message-ID:  <bug-248453-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248453

            Bug ID: 248453
           Summary: databases/cassandra3: fix 13-current build
                    (devel/sigar is broken)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ronald-lists@klop.ws
                CC: language.devel@gmail.com
                CC: language.devel@gmail.com
             Flags: maintainer-feedback?(language.devel@gmail.com)

Created attachment 216990
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216990&action=
=3Dedit
disable OPTION SIGAR on 13 (svn diff to the databases/ dir)

I noticed cassandra3/4 is not build on 13-current. It does build on 11 and =
12.
The cause is breakage in the devel/sigar port on 13-current. It is a fairly
recent breakage.

works:
http://beefy18.nyi.freebsd.org/data/head-amd64-default/p541901_s363088/logs=
/sigar-1.7.3_2.log

broken:
http://beefy18.nyi.freebsd.org/data/head-amd64-default/p543559_s363627/logs=
/errors/sigar-1.7.3_2.log

broken also:
http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p542683_s363381/lo=
gs/errors/sigar-1.7.3_2.log

The error seems to be in a missing sys/filedesc.h include. This is a big gu=
ess
of my side.
darwin_sigar.c:1968:27: error: no member named 'fd_lastfile' in 'struct
filedesc'
    procfd->total =3D filed.fd_lastfile;

I noticed the working build is in Jail OSVERSION: 1300101 and the broken on=
e is
in Jail OSVERSION: 1300101.
I'm wondering if it is possible to get a more fine grained version nr of the
working/broken version. And while I'm typing this I see that the URLs conta=
in
s363088 and s363381. So this narrows it down to about 300 commits *if* the
cause is in the FreeBSD source.

In the meantime I have a patch to disable the dependency on "sigar" on Free=
BSD
13. The patch does not change anything on 11 and 12.
If somebody comes up with a patch for devel/sigar we can enable this option
again.

The patch is for cassandra4 also.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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