Package Details: umbim-git r17.29aaf43-1

Git Clone URL: https://aur.archlinux.org/umbim-git.git (read-only, click to copy)
Package Base: umbim-git
Description: OpenWrt MBIM modem utility
Upstream URL: https://git.openwrt.org/project/umbim.git
Licenses: GPL2
Conflicts: umbim
Provides: umbim
Submitter: jrb
Maintainer: jrb
Last Packager: jrb
Votes: 0
Popularity: 0.000000
First Submitted: 2017-05-22 00:22 (UTC)
Last Updated: 2017-05-22 00:22 (UTC)

Dependencies (7)

Required by (0)

Sources (2)

Latest Comments

dreieck commented on 2021-02-26 17:13 (UTC)

Fails to build for me:

[...]
[ 80%] Building C object CMakeFiles/umbim.dir/mbim-msg.c.o
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_device_caps_response’:
/[...]/aur-umbim-git/src/umbim/cli.c:55:29: error: taking address of packed member of ‘struct mbim_basic_connect_device_caps_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   55 |  deviceid = mbim_get_string(&caps->deviceid, buffer);
      |                             ^~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:56:33: error: taking address of packed member of ‘struct mbim_basic_connect_device_caps_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   56 |  firmwareinfo = mbim_get_string(&caps->firmwareinfo, buffer);
      |                                 ^~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:57:33: error: taking address of packed member of ‘struct mbim_basic_connect_device_caps_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   57 |  hardwareinfo = mbim_get_string(&caps->hardwareinfo, buffer);
      |                                 ^~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_home_provider_response’:
/[...]/aur-umbim-git/src/umbim/cli.c:111:32: error: taking address of packed member of ‘struct mbimprovider’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  111 |  provider_id = mbim_get_string(&provider->providerid, buffer);
      |                                ^~~~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:112:34: error: taking address of packed member of ‘struct mbimprovider’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  112 |  provider_name = mbim_get_string(&provider->providername, buffer);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_registration_response’:
/[...]/aur-umbim-git/src/umbim/cli.c:135:32: error: taking address of packed member of ‘struct mbim_basic_connect_register_state_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  135 |  provider_id = mbim_get_string(&state->providerid, buffer);
      |                                ^~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:136:34: error: taking address of packed member of ‘struct mbim_basic_connect_register_state_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  136 |  provider_name = mbim_get_string(&state->providername, buffer);
      |                                  ^~~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:137:32: error: taking address of packed member of ‘struct mbim_basic_connect_register_state_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  137 |  roamingtext = mbim_get_string(&state->roamingtext, buffer);
      |                                ^~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_subscriber_response’:
/[...]/aur-umbim-git/src/umbim/cli.c:171:33: error: taking address of packed member of ‘struct mbim_basic_connect_subscriber_ready_status_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  171 |  subscriberid = mbim_get_string(&state->subscriberid, buffer);
      |                                 ^~~~~~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:172:29: error: taking address of packed member of ‘struct mbim_basic_connect_subscriber_ready_status_r’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  172 |  simiccid = mbim_get_string(&state->simiccid, buffer);
      |                             ^~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_connect_request’:
/[...]/aur-umbim-git/src/umbim/cli.c:407:22: error: taking address of packed member of ‘struct mbim_basic_connect_connect_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  407 |   mbim_encode_string(&c->accessstring, apn);
      |                      ^~~~~~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:418:23: error: taking address of packed member of ‘struct mbim_basic_connect_connect_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  418 |    mbim_encode_string(&c->username, _argv[2]);
      |                       ^~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c:419:23: error: taking address of packed member of ‘struct mbim_basic_connect_connect_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  419 |    mbim_encode_string(&c->password, _argv[3]);
      |                       ^~~~~~~~~~~~
/[...]/aur-umbim-git/src/umbim/cli.c: In function ‘mbim_pin_unlock_request’:
/[...]/aur-umbim-git/src/umbim/cli.c:475:21: error: taking address of packed member of ‘struct mbim_basic_connect_pin_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  475 |  mbim_encode_string(&p->pin, _argv[0]);
      |                     ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/umbim.dir/build.make:82: CMakeFiles/umbim.dir/cli.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/umbim.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Thanks for maintaining!

dreieck commented on 2018-02-09 22:14 (UTC) (edited on 2021-02-26 17:11 (UTC) by dreieck)

Can you add =${pkgver} to the entry in the provides variable?

And just a note: At least make, gcc and patch are part of the package group "base-devel", which is implicitly assumed to be installed when making packages and thus not needed to be listed in the makedepends.

I took your PKGBUILD as a template to make a package uqmi-git, btw. Thank you!