Package Details: aws-sdk-cpp-git 1.7.19.r0.gc18f2daa64-1

Git Clone URL: https://aur.archlinux.org/aws-sdk-cpp-git.git (read-only)
Package Base: aws-sdk-cpp-git
Description: AWS SDK for C++
Upstream URL: https://github.com/aws/aws-sdk-cpp
Licenses: BSD
Submitter: m3thodic
Maintainer: m3thodic
Last Packager: m3thodic
Votes: 2
Popularity: 0.002309
First Submitted: 2016-07-17 08:24
Last Updated: 2018-12-14 21:48

Latest Comments

m3thodic commented on 2018-12-04 00:06

@ETHIN the build issues are directly related to some refactoring in their code base where they're attempting to make things more "modular" but are running into the classic chicken-vs-egg catch22. I've been keeping my eye on the github issues and I'll introduce a fix when the devs have settled on unbreaking how it used to build.

The reason you had to run sudo using the current PKGBUILD is because one of the subpackages it wants during build-time is aws-checksums. The issue here is because they're using the cmake variable -DCMAKE_INSTALL_PREFIX incorrectly and the build process is attempting to create the path /usr/include/aws/checksums on the live system as opposed using the staged setup created by makepkg/fakeroot during packaging.

ETHIN commented on 2018-12-03 23:10

This package fails to build on latest arch; I had to modify the PKGBUILD to run almost all the commands as sudo because of it. (The CMake apparently tries to install packages during configuration.) I'd highly recommend either finding a workaround to this problem, or making it build and install with sudo privileges, unless this is somehow fixed.

Uroc327 commented on 2018-10-23 10:10

The provided cmake file seems to be unable to find the core library. For example when building the cpp/example_code/s3 example from github.com/awsdocs/aws-doc-sdk-examples the cmake command gives the following error:

CMake Error at /usr/lib64/cmake/AWSSDK/AWSSDKConfig.cmake:127 (message):
  AWS SDK for C++ headers found, but we were unable to locate the binaries.
  Have you deleted or moved it?

              Please make sure header files and binaries are located in INSTALL_ROOT_DIR/INCLUDE_DIR/ and INSTALL_ROOT_DIR/LIB_DIR/[PLATFORM_PREFIX]/[Debug|Config|OtherConfigs]
Call Stack (most recent call first):
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!

jksimek commented on 2018-06-14 19:30

Why is this built with -DNO_HTTP_CLIENT=1 option? Wouldn't most people want it on by default, especially since curl is required anyway?

m3thodic commented on 2017-05-26 18:59

@fuzzy2 @big_gie thanks for the feedback, changes have been merged.

big_gie commented on 2017-05-25 19:46

Here's a diff with:
1. Don't use an old version in the directory name, as suggested by fuzzy2
2. Install the libraries into /usr/lib (not /usr/lib64) as to prevent collision.

```
diff --git a/PKGBUILD b/PKGBUILD [1/30956]
index 8668fad..6c4502e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tony Lambiris <tony@criticalstack.com>
pkgname=aws-sdk-cpp-git
-pkgver=1.0.117.r0.g9a0c471c3
-pkgrel=1
+pkgver=1.0.131.r0.gc5f07b655
+pkgrel=2
epoch=
pkgdesc="AWS SDK for C++"
arch=(any)
@@ -19,23 +19,23 @@ backup=()
options=()
install=
changelog=
-source=("${pkgname}-${pkgver}::git+https://github.com/aws/aws-sdk-cpp")
+source=("${pkgname}::git+https://github.com/aws/aws-sdk-cpp")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()

-_gitname=${pkgname}-${pkgver}

pkgver() {
- cd $_gitname
+ cd ${pkgname}

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
- cd $_gitname
+ cd ${pkgname}

CMAKE_FLAGS="-Wno-dev -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=OFF \
-DSTATIC_LINKING=1 -DNO_HTTP_CLIENT=1 \
-DMINIMIZE_SIZE=ON -DBUILD_SHARED_LIBS=OFF"
@@ -45,7 +45,7 @@ build() {
}

package() {
- cd $_gitname
+ cd ${pkgname}

make DESTDIR="${pkgdir}" install
}
```

AnAkkk commented on 2016-09-30 16:06

Could you please upload a lib32- version as well?

m3thodic commented on 2016-09-29 20:05

Updated version, commented out the part that builds the package version on-the-fly (I'll only use for updates). Thanks!

fuzzy2 commented on 2016-09-28 09:14

The package is currently broken, it downloads a newer Git commit than expected. Consider either removing the commit-ish from the folder name or pinning the commit.