Hi,

I'm the author of
https://github.com/apache/arrow/tree/master/dev/tasks/linux-packages
.

For both Debian and Fedora:

We need to use the system libraries as Suvayu said.

I've added system libraries support for some libraries such
as zlib, Protocol Buffers and Google Test but there are some
libraries that doesn't support the system libraries.

I think that
https://issues.apache.org/jira/browse/ARROW-4383
"[C++] Use the CMake's standard find features" will fix
this.

We need to consider how to update package versions.
We'll release Apache Arrow more frequency than Debian and
Fedora. If we don't update packages on Debian and Fedora,
they will ship old Apache Arrow.

We may be able to use stable-updates for providing the
latest Apache Arrow to Debian users:
https://wiki.debian.org/StableUpdates

Fedora releases a new version every six months. So this may
not be a big problem.

For Debian:

We need to fill debian/copyright:

https://github.com/apache/arrow/tree/master/dev/tasks/linux-packages/debian

We need to enable test:

https://github.com/apache/arrow/blob/master/dev/tasks/linux-packages/debian/rules#L66-L67

This will need the system gflags support.

We need to resolve warnings and errors from lintian:

https://travis-ci.org/kszucs/crossbow/builds/487806234#L9019-L9024

> W: apache-arrow source: package-needs-versioned-debhelper-build-depends 10

It's easy to fix. It's caused by reusing debian/ with Ubuntu
16.04.

> W: apache-arrow source: changelog-should-mention-nmu

It's easy to fix. We can add it when we move to the official
Debian repository.

> W: apache-arrow source: source-nmu-has-incorrect-version-number 
> 0.12.1.dev115-1

It's easy to fix. We can resolve it when we move to the official
Debian repository.

https://lintian.debian.org/tags/source-nmu-has-incorrect-version-number.html

> W: apache-arrow source: ancient-standards-version 3.9.6 (current is 3.9.8)

It's easy to fix. It's caused by reusing debian/ with Ubuntu
16.04.

> E: libarrow-dev: pkg-config-bad-directive 
> usr/lib/x86_64-linux-gnu/pkgconfig/arrow.pc -DNDEBUG

I don't think that this is a problem of Apache Arrow.
We need to ask a Debian developer about this.

> W: plasma-store-server: binary-without-manpage usr/bin/plasma_store_server

We need to add manpage.

For Fedora:

We need to run rpmlint and resolve warnings and errors from
it.


Thanks,
--
kou

In <caorrv3dmftxktqjp1sm6gqnjiffrraoezlxu+zwaklmf+nh...@mail.gmail.com>
  "Distributing Arrow in Debian and Fedora" on Fri, 1 Feb 2019 18:51:34 -0800,
  Javier Luraschi <[email protected]> wrote:

> Hi, in order to make Arrow available to the R community through CRAN (R's
> package archive), we need to get the Arrow binaries submitted to the Debian
> <https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html#adding-packages-to-debian>
> and
> the Fedora
> <https://fedoraproject.org/wiki/New_package_process_for_existing_contributors>
>  repositories.
> 
> The easiest way would be if someone in the Arrow community is already a
> Debian and Fedora developer that can help us get them distributed
> appropriately. Is this already the case? Also, is someone already working
> on these tasks?
> 
> ARROW-4450 <https://issues.apache.org/jira/browse/ARROW-4450> (Debian) and
> ARROW-4451 <https://issues.apache.org/jira/browse/ARROW-4451> (Fedora)
> track this work in JIRA.
> 
> Thanks in advance.
> Best, Javier

Reply via email to