Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58891 - FlatBuffers packages is not compelete

Attached to Project: Arch Linux
Opened by Daniel Bershatsky (daskol) - Wednesday, 06 June 2018, 12:48 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 06 June 2018, 12:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There is not static library libflatbuffers.a in community/flatbuffers package. It is quite strange since manual build from github repo installs the static lib. I don't know how but it looks like the static lib was lost.


Additional info:
* community/flatbuffers 1.9.0-1


Steps to reproduce:
1. The simplest way just look at output of `pacman -Ql flatbuffers`.
2. The much more complex way write simple CMakeLists.txt like the following.

cmake_minimum_required(VERSION 3.11)
project(sample VERSION 0.0.0 LANGUAGES CXX)
find_package(Flatbuffers)

It fails with the following error message.

CMake Error at /usr/lib64/cmake/flatbuffers/FlatbuffersTargets.cmake:83 (message):
The imported target "flatbuffers::flatbuffers" references the file

"/usr/lib/libflatbuffers.a"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib64/cmake/flatbuffers/FlatbuffersTargets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib64/cmake/flatbuffers/FlatbuffersConfig.cmake:1 (include)
CMakeLists.txt:3 (find_package)
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 06 June 2018, 12:54 GMT
Reason for closing:  Not a bug
Additional comments about closing:  We have a policy not to install static libs, this is in accordance with basically every other package in our repos... all ~6.5K of the x86_64 packages

Loading...