Package Details: bloaty 1.1-3

Git Clone URL: https://aur.archlinux.org/bloaty.git (read-only, click to copy)
Package Base: bloaty
Description: a size profiler for binaries
Upstream URL: https://github.com/google/bloaty
Licenses: Apache-2.0
Submitter: bertptrs
Maintainer: bertptrs
Last Packager: bertptrs
Votes: 4
Popularity: 0.006288
First Submitted: 2018-12-06 17:08 (UTC)
Last Updated: 2024-03-24 16:33 (UTC)

Latest Comments

flaviut commented on 2024-03-29 14:29 (UTC)

I use ninja with CMake by default, so the build was failing. Easy fix though, following the template from https://wiki.archlinux.org/title/CMake_package_guidelines#Template

diff --git a/PKGBUILD b/PKGBUILD
index 49d19e2..8bd1ac8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,10 +21,9 @@ prepare() {
 }

 build() {
-    cd "$pkgname-$pkgver"
-    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
+    cmake -B build -S "$pkgname-$pkgver" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_EXE_LINKER_FLAGS_RELEASE="$LDFLAGS" -Wno-dev
-    make
+    cmake --build build
 }

 # Not included in the source tarbal, use the git release instead
@@ -34,6 +33,5 @@ build() {
 # }

 package() {
-    cd "$pkgname-$pkgver"
-    make DESTDIR="$pkgdir/" install
+    DESTDIR="$pkgdir" cmake --install build
 }

bertptrs commented on 2023-10-16 15:56 (UTC)

Fedora patch appears to work, added! Thank you for helping.

J5lx commented on 2023-10-15 22:37 (UTC)

This currently doesn’t compile. Fedora carries a patch that fixes the build errors: https://src.fedoraproject.org/rpms/bloaty/blob/rawhide/f/bloaty-1.1-absl.patch

patlefort commented on 2023-09-21 14:30 (UTC)

Does not compile with many errors such as:

/usr/include/google/protobuf/repeated_field.h:433:46: error: ‘ABSL_ANNOTATE_MEMORY_IS_UNINITIALIZED’ was not declared in this scope; did you mean ‘ANNOTATE_MEMORY_IS_UNINITIALIZED’?
  433 |         ABSL_ANNOTATE_MEMORY_IS_UNINITIALIZED(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  434 |             unsafe_elements() + new_size,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  435 |             (old_size - new_size) * sizeof(Element));
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

potatoe commented on 2019-09-01 16:29 (UTC)

This seems to be installing /usr/lib/pkgconfig/protobuf.pc and protobuf-lite.pc which conflict with the pkgconfig files in the protobuf package.

It's also installing libproto*.a static libraries to /usr/lib, which don't cause file conflicts with the protobuf package but still seem like they could cause problems being present on the system if they get out of sync with the protobuf package's libraries/headers.

bertptrs commented on 2019-01-14 14:43 (UTC)

@aperez I could, but the convention is for the -git package to conflict the main one, and not the other way around, regardless of which came first. (which, admittedly, is yours)

Your package already includes the proper conflicts line, so the change wouldn't change anything, since they already block each other. Thanks for maintaining!

aperez commented on 2019-01-14 12:05 (UTC)

Could you please add conflicts=(bloaty-git) in order to make sure both packages won't be installed at the same time? Thanks!