Package Details: soci 4.0.1-3

Git Clone URL: https://aur.archlinux.org/soci.git (read-only, click to copy)
Package Base: soci
Description: Database access library for C++
Upstream URL: http://soci.sf.net
Licenses: custom:boost
Submitter: None
Maintainer: holishing
Last Packager: holishing
Votes: 10
Popularity: 0.000569
First Submitted: 2010-05-04 19:04
Last Updated: 2020-12-17 14:26

Latest Comments

1 2 Next › Last »

JanMarvin commented on 2021-01-24 22:13

Hi @holishing, could you add something like this to your PKGBUILD? Otherwise there is a folder /usr/cmake for SOCI only. I've played around with it here but this should be enough (until it is fixed upstream).

    # https://github.com/SOCI/soci/issues/849
    mv ${pkgdir}/usr/cmake ${pkgdir}/usr/lib/cmake

holishing commented on 2020-12-17 14:28

Updated, please help to check again, thx!

BluePeril commented on 2020-12-17 13:56

Please add -DCMAKE_CXX_STANDARD=11 to the cmake call, otherwise you can't build rstudio-desktop or lime

artemklevtsov commented on 2020-12-16 04:51

Seems the lates version breaks rstudio-desktop-git build:

In file included from /usr/include/soci/soci.h:12, from /tmp/makepkg/rstudio-desktop-git/src/rstudio/src/cpp/core/include/core/Database.hpp:27, from /tmp/makepkg/rstudio-desktop-git/src/rstudio/src/cpp/core/Database.cpp:16: /usr/include/soci/soci-platform.h:146:10: error: #error "SOCI must be configured with C++11 support when using C++11" 146 | #error "SOCI must be configured with C++11 support when using C++11" |

SOCI_CXX11 disabled by default.

bartus commented on 2020-04-07 07:11

@holishing: works fine, thanks.

holishing commented on 2020-04-05 04:39

@bartus: Updated, please test again. thanks!

bartus commented on 2020-04-04 15:25

@holishing: Can we have boost in makedepends and boost-libs in optdepends ? I can't build rstudio-desktop against this version of soci without this change.

hwkiller commented on 2020-03-26 20:19

It's due to cmake's FindBoost.cmake.

Edit: I have boost and boost-libs versions 1.72.0, and cmake 3.17. I assume it compiled for you in the chroot because boost is listed as optional, and it didn't pull in that dependency for you?

CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "Boost::date_time" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: soci

holishing commented on 2020-03-26 19:09

Well, I can compile it without that option in chroot environment (e.g. docker container). Could you provide related message?

hwkiller commented on 2020-03-26 04:53

This does not currently compile.

Fix:

Adding -DBoost_NO_BOOST_CMAKE=ON to the cmake options in build().