Package Details: usermode 1.114-1

Git Clone URL: https://aur.archlinux.org/usermode.git (read-only, click to copy)
Package Base: usermode
Description: Allow configured programs to be run with superuser privileges by ordinary users
Upstream URL: https://pagure.io/usermode
Licenses: GPL2
Submitter: td123
Maintainer: larchunix
Last Packager: larchunix
Votes: 3
Popularity: 0.000000
First Submitted: 2011-02-23 05:24 (UTC)
Last Updated: 2021-12-28 15:37 (UTC)

Latest Comments

digger commented on 2018-10-06 22:02 (UTC)

@larchunix, it works. Thank you.

larchunix commented on 2018-10-06 19:25 (UTC)

@digger: backported a couple of patches, should be ok now

digger commented on 2018-10-06 01:07 (UTC) (edited on 2018-10-06 22:43 (UTC) by digger)

Fails. :(

$ makepkg -sic 
==> Making package: usermode 1.112-1 (Fri 05 Oct 2018 06:00:08 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found usermode-1.112.tar.xz
==> Validating source files with md5sums...
    usermode-1.112.tar.xz ... Passed
==> Extracting sources...
  -> Extracting usermode-1.112.tar.xz with bsdtar
==> Starting prepare()...
+ mkdir -p admin
+ glib-gettextize -f
Symlinking file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

+ intltoolize --force
+ aclocal -Wall
+ autoconf -Wall
configure.ac:29: warning: The macro `GLIB_GNU_GETTEXT' is obsolete.
configure.ac:29: You should run autoupdate.
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:29: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
configure.ac:29: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:29: You should run autoupdate.
../../lib/autoconf/status.m4:1026: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:29: the top level
+ autoheader -Wall
+ automake -Wall --add-missing
==> Removing existing $pkgdir/ directory...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ranlib... ranlib
checking for mount... /sbin/mount
checking for umount... /sbin/umount
checking for mkfs... /sbin/mkfs
checking for fdformat... /sbin/fdformat
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.28.0
checking for XML::Parser... ok
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTK... yes
checking for LIBUSER... yes
checking for startup notification... yes
checking for SN... yes
checking for pam_start... no
checking for pam_start in -lpam... yes
checking for misc_conv... no
checking for misc_conv in -lpam_misc... yes
checking whether we should avoid deprecated functions... no
checking whether we should enable debugging messages... no
checking whether we should use ElectricFence... no
checking whether we should use SELinux... no
checking for available GCC warning flags...  -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
checking whether we should use -Werror... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make  all-recursive
make[1]: Entering directory '/home/<user>/aur/usermode/src/usermode-1.112'
Making all in po
make[2]: Entering directory '/home/<user>/aur/usermode/src/usermode-1.112/po'
file=`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file tr.po
make[2]: Leaving directory '/home/<user>/aur/usermode/src/usermode-1.112/po'
make[2]: Entering directory '/home/<user>/aur/usermode/src/usermode-1.112'
gcc -I/usr/include/startup-notification-1.0  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -pthread  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt  -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o usermount usermount-usermount.o liblib.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lblkid  
/usr/bin/ld: usermount-usermount.o: in function `build_mountinfo_list':
usermount.c:(.text+0x496): undefined reference to `major'
/usr/bin/ld: usermount.c:(.text+0x4b1): undefined reference to `major'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:728: usermount] Error 1
make[2]: Leaving directory '/home/<user>/aur/usermode/src/usermode-1.112'
make[1]: *** [Makefile:1092: all-recursive] Error 1
make[1]: Leaving directory '/home/<user>/aur/usermode/src/usermode-1.112'
make: *** [Makefile:554: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

k0ste commented on 2015-03-17 07:18 (UTC)

But why not all needed packages? In file included from gsmclient.c:26:0: ./props.h:26:28: fatal error: X11/ICE/ICElib.h: No such file or directory #include <X11/ICE/ICElib.h> ^ compilation terminated. In file included from gsmclient.c:26:0: ./props.h:27:26: fatal error: X11/SM/SMlib.h: No such file or directory #include <X11/SM/SMlib.h> ^ compilation terminated. for i in userinfo.desktop usermount.desktop userpasswd.desktop; do \ desktop-file-install --vendor=redhat \ --dir=/tmp/yaourt-tmp-k0ste/aur-usermode/pkg/usermode/usr/share/applications \ ./$i; \ done /bin/sh: line 1: desktop-file-install: command not found /bin/sh: line 1: desktop-file-install: command not found /bin/sh: line 1: desktop-file-install: command not found Makefile:1439: recipe for target 'install-data-local' failed make[2]: *** [install-data-local] Error 127

koneu commented on 2015-03-16 08:57 (UTC)

The dependencies have been updated.

k0ste commented on 2015-03-16 08:30 (UTC)

This packages are requred for building, please add to pkgbuild: gtk2 libice libsm desktop-file-utils

koneu commented on 2015-01-28 07:23 (UTC)

Good suggestion. I changed it.

pnorcks commented on 2015-01-28 06:44 (UTC)

I would recommend passing '--sysconfdir=/etc' to ./configure so that userhelper will read under /etc/security/console.apps/ instead.