This ought to be stupid simple but I'm slamming my head against the wall to find it.
Fork of CopperSpice project with [RPM branch](https://github.com/RolandHughes/copperspice/tree/RPM) so I can package the library in RPM form now that I have Debian working. I tried to be the least invasive possible when creating the Debian packages, but RPM leaves little choice. Must modify the package cmake files.
Exactly one library file fails the final path test of RPM packaging.
Code: Select all
[developer@fedora lib64]$ grep -i --byte-offset --only-matching --text '/home/developer/rpmbuild/BUILDROOT/copperspice-1.8-1.x86_64' *
grep: cmake: Is a directory
grep: copperspice: Is a directory
libCsCore1.8.so:8298432:/home/developer/rpmbuild/BUILDROOT/copperspice-1.8-1.x86_64
grep: pkgconfig: Is a directory
[developer@fedora lib64]$
[developer@fedora lib64]$ readelf -d libCsCore1.8.so | head -20
Code: Select all
Dynamic section at offset 0xb124e0 contains 31 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x000000000000000e (SONAME) Library soname: [libCsCore1.8.so]
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib64/copperspice/bin:$ORIGIN/..]
0x000000000000000c (INIT) 0x1f9000
0x000000000000000d (FINI) 0x7dcf9c
0x0000000000000019 (INIT_ARRAY) 0xae3df8
0x000000000000001b (INIT_ARRAYSZ) 56 (bytes)
0x000000000000001a (FINI_ARRAY) 0xae3e30
0x000000000000001c (FINI_ARRAYSZ) 16 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x338
0x0000000000000005 (STRTAB) 0x78ad8
0x0000000000000006 (SYMTAB) 0x1b6b8
[developer@fedora lib64]$
Initial CMakeLists.txt is in the same directory
the CsCore library is built by src/core/CMakeLists.txt
I cannot for the life of me figure out what is thumping in the root of the RPM build directory.
Can anyone see where CMake is thumping this into the library?
This is the final set and the only problem I know of stopping RPM creation. Everything is properly built when you get down to path verification. I've built many RPM packages before. Just need someone to point me to where this is broken.
Once this is done I will redo the Debian packaging since I already had to walk on project cmake files to get RPM this far along.
Thanks,