Package Details: paho-mqtt-c-git 1.3.13.r11.g6b1e202-1

Git Clone URL: https://aur.archlinux.org/paho-mqtt-c-git.git (read-only, click to copy)
Package Base: paho-mqtt-c-git
Description: Eclipse Paho C Client Library for the MQTT Protocol
Upstream URL: https://www.eclipse.org/paho/clients/c/
Licenses: custom:EDL, custom:EPL2
Conflicts: paho-mqtt-c
Provides: paho-mqtt-c
Submitter: codyps
Maintainer: codyps (MagnificentSpam, pogojotz, i1314925)
Last Packager: pogojotz
Votes: 6
Popularity: 0.000000
First Submitted: 2016-05-23 19:53 (UTC)
Last Updated: 2024-02-10 23:03 (UTC)

Dependencies (3)

Required by (13)

Sources (1)

Latest Comments

1 2 Next › Last »

pogojotz commented on 2024-02-10 23:07 (UTC)

Updated the package to use CMake build, making the patches obsolete.

i1314925 commented on 2023-12-13 15:48 (UTC)

Seems like the patches are on longer valid.

==> Making package: paho-mqtt-c-git 1.3.2.r3.g031a7b9-1 (Wed 13 Dec 2023 04:40:26 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating paho.mqtt.c git repo...
  -> Found 0001-make-pull-out-optimization-debug-flags.patch
  -> Found 0002-make-make-all-dirs-required-in-install.patch
  -> Found 0003-Fix-Makefile-install-target.patch
==> Validating source files with md5sums...
    paho.mqtt.c ... Skipped
    0001-make-pull-out-optimization-debug-flags.patch ... Passed
    0002-make-make-all-dirs-required-in-install.patch ... Passed
    0003-Fix-Makefile-install-target.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of paho.mqtt.c git repo...
Cloning into 'paho.mqtt.c'...
done.
==> Starting prepare()...
patching file Makefile
Hunk #1 FAILED at 158.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: paho-mqtt-c-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
paho-mqtt-c-git - exit status 4

codyps commented on 2020-04-26 22:55 (UTC)

Thanks @foxxy. I've rebased the patches.

foxxy commented on 2020-04-25 11:56 (UTC)

The first patch fails to apply. Thanks for the package.

ahirapatel commented on 2019-08-13 13:54 (UTC)

The 533.patch file no longer applies and causes a build error. It looks like the paho-mqtt-c repo maintainer fixed this there.

Martchus commented on 2018-12-19 16:46 (UTC)

thanks

codyps commented on 2018-12-08 22:05 (UTC)

@Martchus: applied (though I haven't seen a parallel build failure for this package before).

Martchus commented on 2018-12-08 12:14 (UTC) (edited on 2018-12-08 12:23 (UTC) by Martchus)

Can you git am https://martchus.no-ip.biz/shares/a4f78bd3d1154882e0feb89711c615/0001-Fix-dependencies-and-makeflags.patch ?

Because it seems to require Doxygen on build time and parallel builds appear to be broken (maybe not reproducible 100 % of the time).

codyps commented on 2018-10-29 23:00 (UTC)

@dimytch: that fails because you've removed the LDCONFIG=echo variable override, which avoids the makefile's attempt to execute ldconfig.

@MagnificentSpam: thanks for the advise and links. I'm (clearly) not really paying attention to this package, so I've added you as a co-maintainer.

dimytch commented on 2018-10-29 07:42 (UTC)

I've modified PKGBUILD

    package() {
      cd "$srcdir/paho.mqtt.c"
    #  mkdir -p "$pkgdir/usr/lib"
    #  mkdir -p "$pkgdir/usr/bin"
    #  mkdir -p "$pkgdir/usr/include"
      make prefix=/usr DESTDIR="$pkgdir" install
    }

And got errors when packaging.

    ==> Entering fakeroot environment...
    ==> Starting package()...
    mkdir -p build/output/samples
    mkdir -p build/output/test
    echo OSTYPE is Linux
    OSTYPE is Linux
    mkdir -p /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/include
    install -m 644  build/output/libpaho-mqtt3c.so.1.0 /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/lib
    install -m 644  build/output/libpaho-mqtt3cs.so.1.0 /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/lib
    install -m 644  build/output/libpaho-mqtt3a.so.1.0 /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/lib
    install -m 644  build/output/libpaho-mqtt3as.so.1.0 /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/lib
    install  build/output/paho_c_version /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/bin
    install  build/output/samples/paho_c_pub /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/bin
    install  build/output/samples/paho_c_sub /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/bin
    install  build/output/samples/paho_cs_pub /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/bin
    install  build/output/samples/paho_cs_sub /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/bin
    /sbin/ldconfig /home/devuser/i/paho-mqtt-c-git/pkg/paho-mqtt-c-git/usr/lib
    /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
    make: *** [Makefile:283: install] Error 1
    ==> ERROR: A failure occurred in package().
        Aborting...