Page MenuHomeFreeBSD

[new port] net/ceph14: delivers object, block, and file storage in a unified system
ClosedPublic

Authored by wjw_digiware.nl on Sep 27 2019, 11:34 AM.
Tags
None
Referenced Files
F103134457: D21815.id62752.diff
Thu, Nov 21, 11:16 AM
F103102462: D21815.id62706.diff
Thu, Nov 21, 12:43 AM
F103087682: D21815.diff
Wed, Nov 20, 7:16 PM
Unknown Object (File)
Tue, Nov 19, 11:34 PM
Unknown Object (File)
Tue, Nov 19, 8:23 PM
Unknown Object (File)
Fri, Nov 15, 1:04 PM
Unknown Object (File)
Fri, Nov 15, 10:36 AM
Unknown Object (File)
Thu, Nov 14, 7:27 PM

Details

Summary

First commit of the Ceph Nautilus version

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Just be curious, we already have net/ceph12 and net/ceph13 in the ports tree. Will we retire the old versions?

Just be curious, we already have net/ceph12 and net/ceph13 in the ports tree. Will we retire the old versions?

I would expect so, I'm trying to keep up with:

[[ https://docs.ceph.com/docs/master/releases/schedule/ | Ceph Releases ]]

And then allow some extra time.
But atm. ceph 12 is not yet called EOL by the ceph-developers.

It seems not passing poudriere cleanly: https://gist.github.com/6a204afe88fc4531bc9f1b0614bdbb10

Can you help check this?

It seems not passing poudriere cleanly: https://gist.github.com/6a204afe88fc4531bc9f1b0614bdbb10

Can you help check this?

I had a lot of trouble in getting poudriere to do its thing as well.
Lots of changes in all kinds of tools, buildsystem and ceph code.
So lots of locations to err.
Will take a look at the log.

linimon retitled this revision from net/ceph14: New ported version. to [new port] net/ceph14: delivers object, block, and file storage in a unified system.Sep 28 2019, 2:49 PM

It seems not passing poudriere cleanly: https://gist.github.com/6a204afe88fc4531bc9f1b0614bdbb10

Can you help check this?

I had a lot of trouble in getting poudriere to do its thing as well.
Lots of changes in all kinds of tools, buildsystem and ceph code.
So lots of locations to err.
Will take a look at the log.

/usr/local/bin/ld: ../../lib/libceph-common.so.0: undefined reference to `ceph::buffer::v14_2_0::create_small_page_aligned(unsigned int)'
/usr/local/bin/ld: ../../lib/libceph-common.so.0: undefined reference to `ceph::buffer::v14_2_0::copy(char const*, unsigned int)'
/usr/local/bin/ld: ../../lib/libceph-common.so.0: undefined reference to `ceph::buffer::v14_2_0::create(unsigned int)'
/usr/local/bin/ld: ../../lib/libceph-common.so.0: undefined reference to `ceph::buffer::v14_2_0::create_static(unsigned int, char*)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [src/tools/CMakeFiles/ceph-authtool.dir/build.make:120: bin/ceph-authtool] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/ceph14/work/.build'
gmake[2]: *** [CMakeFiles/Makefile2:4842: src/tools/CMakeFiles/ceph-authtool.dir/all] Error 2
gmake[2]: *** Waiting for unfinished jobs....

This is the versioning again acting up.....

I've ran my poudriere on 11.3.
Got to find a 12.0 system and see what brings there.
My original 12.0 system has moved onto 12.1 so check what that brings.

I've ran my poudriere on 11.3.
Got to find a 12.0 system and see what brings there.
My original 12.0 system has moved onto 12.1 so check what that brings.

I'm not sure if I understand these correctly, but you can run 11.3 and 12.0 jails in poudriere on 12.1. It should be fine. (Please report a bug if it doesn't.)

Yup, I have the same problem on my 12.0 poudriere.....
That will take some time to figure out...

Yup, I have the same problem on my 12.0 poudriere.....
That will take some time to figure out...

Right, I guess that it is the compiler.
12.0 has Clang 6.0
11.3, 12.1 and 13.0 have Clang 8.x

So I need a way to get CMAKE to use Clang8, but have not yet found that incarnation.
Ports does not have a explicit way to do that, USES=compiler:c++17-lang has no effect.

And -D CMAKE_C_COMPILER=/usr/local/bin/clang80 does not work either.

fixing building on 12.0, which has Clang 6.0 adn that version
of the compiler does not work with the versioning used by ceph.

Undo debuging in Mk/Uses/cmake.mk

@lwhsu

fixing building on 12.0, which has Clang 6.0 adn that version
of the compiler does not work with the versioning used by ceph.

I this fixes compilation 12.0 at my end.
Hopefully acceptable way of fixing it.

This will run under poudriere as well.

Put .if conditional in the correct block.

Weird, I specifically updated the plist as well before the last commit.
But it looks like it did not make it here
Will try to commit again.

Update pkg-plist with new dashboard files.

Is there anything I need to do to get this committed?

This revision was not accepted when it landed; it landed in state Needs Review.Oct 23 2019, 3:34 PM
This revision was automatically updated to reflect the committed changes.