Package Details: bcunit 5.3.94-2

Git Clone URL: https://aur.archlinux.org/bcunit.git (read-only, click to copy)
Package Base: bcunit
Description: Lightweight system for writing, administering, and running unit tests in C
Upstream URL: https://gitlab.linphone.org/BC/public/bcunit
Licenses: LGPL
Submitter: arojas
Maintainer: RAMChYLD
Last Packager: RAMChYLD
Votes: 1
Popularity: 0.000000
First Submitted: 2022-11-05 09:01 (UTC)
Last Updated: 2024-11-01 16:12 (UTC)

Latest Comments

RAMChYLD commented on 2024-11-01 16:05 (UTC)

Noted with thanks. I will add your fixes to the PKGBUILD file.

cknoblauch commented on 2024-10-31 12:49 (UTC)

Latest package cannot be build as-is, I got it working by replacing the paths like this:

prepare() {
  mkdir -p $pkgname-$pkgver/build
}

build() {
  cd $pkgname-$pkgver/build
  cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DENABLE_DOC=ON \
    -DENABLE_STATIC=OFF
  make
}

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

RAMChYLD commented on 2024-10-31 03:03 (UTC) (edited on 2024-10-31 03:33 (UTC) by RAMChYLD)

Noted. I will check it out and find out how to fix this. Sorry.

Edit:

I have updated the package to 5.3.94.

jghodd commented on 2024-09-18 19:22 (UTC) (edited on 2024-09-19 23:13 (UTC) by jghodd)

What gets checked out will only build 5.3.69. Been trying for months now to get 5.3.7, but your PKGBUILD only ever builds 5.3.69. What do I need to change in PKGBUILD to get this version? From what I can tell, the commit tag must be wrong.

Edit: the PKGBUILD certainly says it's supposed to be building 5.3.7, but your pkgver function is changing the actual PKGBUILD so that pkgver is actually changing from 5.3.7 to 5.3.69 in the PKGBUILD file.

Edit2:

First, a listing of the directory after checking out bcunit:


# ll
total 64
-rw-r--r-- 1 root root 60047 Sep 18 15:18 bcunit-5.3.69-1-x86_64.pkg.tar.zst
-rw-rw-r-- 1 root root   950 Sep 18 15:24 PKGBUILD

Now we run makepkg, where you can see that commit tag bd57ee7f2e29b5418bfa4a428639d42ce608d15e appears to correspond to 5.3.69, not 5.3.7:


# makepkg
==> Making package: bcunit 5.3.69-1 (Thu 19 Sep 2024 07:01:11 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning bcunit git repo...
Cloning into bare repository '/distro/local/repository/bcunit/bcunit'...
remote: Enumerating objects: 3092, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 3092 (delta 4), reused 0 (delta 0), pack-reused 3086
Receiving objects: 100% (3092/3092), 4.80 MiB | 2.25 MiB/s, done.
Resolving deltas: 100% (459/459), done.
==> Validating source files with sha256sums...
    bcunit ... Skipped
==> Extracting sources...
  -> Creating working copy of bcunit git repo...
Cloning into 'bcunit'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> ERROR: A package has already been built. (use -f to overwrite)

Your new PKGBUILD starts out like this:


pkgname=bcunit
pkgver=5.3.7
_commit=bd57ee7f2e29b5418bfa4a428639d42ce608d15e
pkgrel=1

...and after running makepkg, it's been changed to 5.3.69:


pkgname=bcunit
pkgver=5.3.69
_commit=bd57ee7f2e29b5418bfa4a428639d42ce608d15e
pkgrel=1

What needs to be done to get to 5.3.7?

RAMChYLD commented on 2024-01-11 08:43 (UTC)

I know 5.4.0-alpha is released, but I think I'll push out 5.3.7 for now because of that gut feeling. Let me know if you want to see 5.4.0-alpha instead.

RAMChYLD commented on 2024-01-02 09:24 (UTC) (edited on 2024-01-02 09:24 (UTC) by RAMChYLD)

Srry for the delay. I will do it as soon as I can get access to a Linux PC again. Shouldn't be long now.

dreieck commented on 2023-12-22 14:23 (UTC)

Can you change $url to https://gitlab.linphone.org/BC/public/bcunit, please?

Regards!

RAMChYLD commented on 2023-01-29 20:10 (UTC)

Gotcha. Update should be up by the time I type this.

gnaggnoyil commented on 2023-01-29 19:05 (UTC)

git describe --tags | sed 's/-/+/g' gives 5.2.0+1+ge910154 instead of 3.0.2+19+ge910154. Since this is not a "-git" package, I think we should set the pkgver variable in PKGBUILD directly and update SRCINFO correspondingly.