Package Details: ubase-git 0.r602.g5579553-1

Git Clone URL: (read-only, click to copy)
Package Base: ubase-git
Description: An extension of the sbase *nix core utilities - git checkout
Upstream URL:
Licenses: MIT
Submitter: WFCody
Maintainer: eworm
Last Packager: eworm
Votes: 5
Popularity: 0.000000
First Submitted: 2013-10-10 04:46 (UTC)
Last Updated: 2018-05-30 11:26 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Hekuran commented on 2024-01-17 18:25 (UTC) (edited on 2024-01-17 18:26 (UTC) by Hekuran)

thanks @noyb it seems they have fixed it upstream

somehow this repo also ships dd and mknod

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) ubase-git-0.r611.ga015607-1

Total Installed Size:  0,80 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                       [###########################] 100%
(1/1) checking package integrity                     [###########################] 100%
(1/1) loading package files                          [###########################] 100%
(1/1) checking for file conflicts                    [###########################] 100%
error: failed to commit transaction (conflicting files)
ubase-git: /opt/sbase/bin/dd exists in filesystem (owned by sbase-git)
ubase-git: /opt/sbase/bin/mknod exists in filesystem (owned by sbase-git)
ubase-git: /opt/sbase/man/man1/dd.1 exists in filesystem (owned by sbase-git)
ubase-git: /opt/sbase/man/man1/mknod.1 exists in filesystem (owned by sbase-git)
Errors occurred, no packages were upgraded.

noyb commented on 2021-09-04 14:54 (UTC) (edited on 2021-09-04 14:54 (UTC) by noyb)


#include <sys/sysmacros.h>

in util.h fixes the mknod compile error for me.

Hekuran commented on 2021-08-26 17:26 (UTC)

Hi @eworm , could you please update this pkg. I don't know much about C, to fiddle around with config.h and

This is the output of makepkg -sr:

==> Making package: ubase-git 0.r602.g5579553-1 (Enj 26 Gsh 2021 07:22:54.MD)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning ubase git repo...
Cloning into bare repository '/tmp/ubase-git/ubase'...
==> Validating source files with sha256sums...
    ubase ... Skipped
==> Extracting sources...
  -> Creating working copy of ubase git repo...
Cloning into 'ubase'...
==> Starting pkgver()...
==> Updated version: ubase-git 0.r610.g3c88778-1
==> Starting build()...
cp config.def.h config.h
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o blkdiscard.o -c blkdiscard.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/agetcwd.o -c libutil/agetcwd.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/agetline.o -c libutil/agetline.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/apathmax.o -c libutil/apathmax.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/concat.o -c libutil/concat.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/ealloc.o -c libutil/ealloc.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/eprintf.o -c libutil/eprintf.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/estrtol.o -c libutil/estrtol.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/estrtoul.o -c libutil/estrtoul.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/explicit_bzero.o -c libutil/explicit_bzero.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/passwd.o -c libutil/passwd.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/proc.o -c libutil/proc.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/putword.o -c libutil/putword.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/recurse.o -c libutil/recurse.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/strlcat.o -c libutil/strlcat.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/strlcpy.o -c libutil/strlcpy.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/strtonum.o -c libutil/strtonum.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o libutil/tty.o -c libutil/tty.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o chvt.o -c chvt.c
libutil/tty.c: In function ‘ttytostr’:
libutil/tty.c:73:26: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration]
   73 |                 if ((int)major(sb.st_rdev) == tty_maj &&
      |                          ^~~~~
libutil/tty.c:74:26: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration]
   74 |                     (int)minor(sb.st_rdev) == tty_min) {
      |                          ^~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o clear.o -c clear.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o ctrlaltdel.o -c ctrlaltdel.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o dd.o -c dd.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o df.o -c df.c
df.c: In function ‘main’:
df.c:114:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  114 |                 eprintf("not implemented\n");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
df.c:115:9: note: here
  115 |         default:
      |         ^~~~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o dmesg.o -c dmesg.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o eject.o -c eject.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o fallocate.o -c fallocate.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o free.o -c free.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o freeramdisk.o -c freeramdisk.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o fsfreeze.o -c fsfreeze.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o getty.o -c getty.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o halt.o -c halt.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o hwclock.o -c hwclock.c
getty.c: In function ‘main’:
getty.c:100:29: warning: ‘strcmp’ argument 1 declared attribute ‘nonstring’ [-Wstringop-overread]
  100 |                         if (strcmp(usr.ut_line, tty) != 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/utmp.h:29,
                 from getty.c:13:
/usr/include/bits/utmp.h:62:8: note: argument ‘ut_line’ declared here
   62 |   char ut_line[UT_LINESIZE]
      |        ^~~~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o id.o -c id.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o insmod.o -c insmod.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o killall5.o -c killall5.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o last.o -c last.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o lastlog.o -c lastlog.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o login.o -c login.c
last.c: In function ‘main’:
last.c:53:30: warning: ‘strcmp’ argument 2 declared attribute ‘nonstring’ [-Wstringop-overread]
   53 |                     (user && strcmp(user, ut.ut_name))) {
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/utmp.h:29,
                 from last.c:10:
/usr/include/bits/utmp.h:66:8: note: argument ‘ut_user’ declared here
   66 |   char ut_user[UT_NAMESIZE]
      |        ^~~~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o lsmod.o -c lsmod.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o lsusb.o -c lsusb.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o mesg.o -c mesg.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o mknod.o -c mknod.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o mkswap.o -c mkswap.c
mknod.c: In function ‘main’:
mknod.c:40:15: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration]
   40 |         dev = makedev(estrtol(argv[2], 0), estrtol(argv[3], 0));
      |               ^~~~~~~
mkswap.c: In function ‘main’:
mkswap.c:75:9: warning: ‘strncpy’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation]
   75 |         strncpy(buf + pagesize - 10, "SWAPSPACE2", 10);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o mount.o -c mount.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o mountpoint.o -c mountpoint.c
mountpoint.c: In function ‘main’:
mountpoint.c:58:35: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration]
   58 |                 printf("%u:%u\n", major(st1.st_rdev),
      |                                   ^~~~~
mountpoint.c:59:24: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration]
   59 |                        minor(st1.st_rdev));
      |                        ^~~~~
mount.c: In function ‘main’:
mount.c:267:33: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  267 |                                 if (!fsopts[0])
      |                                 ^~
mount.c:269:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  269 |                                         parseopts(fsopts, &flags, data, sizeof(data));
      |                                         ^~~~~~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o nologin.o -c nologin.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o pagesize.o -c pagesize.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o passwd.o -c passwd.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o pidof.o -c pidof.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o pivot_root.o -c pivot_root.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o ps.o -c ps.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o pwdx.o -c pwdx.c
pwdx.c: In function ‘main’:
pwdx.c:34:32: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
   34 |                 if (n < 0 || n >= sizeof(path)) {
      |                                ^~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o readahead.o -c readahead.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o respawn.o -c respawn.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o rmmod.o -c rmmod.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o stat.o -c stat.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o su.o -c su.c
stat.c: In function ‘show_stat_terse’:
stat.c:22:26: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration]
   22 |         printf("%d %d ", major(st->st_rdev), minor(st->st_rdev));
      |                          ^~~~~
stat.c:22:46: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration]
   22 |         printf("%d %d ", major(st->st_rdev), minor(st->st_rdev));
      |                                              ^~~~~
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o swaplabel.o -c swaplabel.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o swapoff.o -c swapoff.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o swapon.o -c swapon.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o switch_root.o -c switch_root.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o sysctl.o -c sysctl.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o truncate.o -c truncate.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o umount.o -c umount.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o unshare.o -c unshare.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o uptime.o -c uptime.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o vtallow.o -c vtallow.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o watch.o -c watch.c
cc -std=c99 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -o who.o -c who.c
ar rc libutil.a libutil/agetcwd.o libutil/agetline.o libutil/apathmax.o libutil/concat.o libutil/ealloc.o libutil/eprintf.o libutil/estrtol.o libutil/estrtoul.o libutil/explicit_bzero.o libutil/passwd.o libutil/proc.o libutil/putword.o libutil/recurse.o libutil/strlcat.o libutil/strlcpy.o libutil/strtonum.o libutil/tty.o
who.c: In function ‘main’:
who.c:54:35: warning: ‘strcmp’ argument 1 declared attribute ‘nonstring’ [-Wstringop-overread]
   54 |                 if (mflag != 0 && strcmp(usr.ut_line, tty) != 0)
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/utmp.h:29,
                 from who.c:7:
/usr/include/bits/utmp.h:62:8: note: argument ‘ut_line’ declared here
   62 |   char ut_line[UT_LINESIZE]
      |        ^~~~~~~
ranlib libutil.a
cc -s -o blkdiscard blkdiscard.o libutil.a -lcrypt
cc -s -o chvt chvt.o libutil.a -lcrypt
cc -s -o clear clear.o libutil.a -lcrypt
cc -s -o ctrlaltdel ctrlaltdel.o libutil.a -lcrypt
cc -s -o dd dd.o libutil.a -lcrypt
cc -s -o df df.o libutil.a -lcrypt
cc -s -o dmesg dmesg.o libutil.a -lcrypt
cc -s -o eject eject.o libutil.a -lcrypt
cc -s -o fallocate fallocate.o libutil.a -lcrypt
cc -s -o free free.o libutil.a -lcrypt
cc -s -o freeramdisk freeramdisk.o libutil.a -lcrypt
cc -s -o fsfreeze fsfreeze.o libutil.a -lcrypt
cc -s -o getty getty.o libutil.a -lcrypt
cc -s -o halt halt.o libutil.a -lcrypt
cc -s -o hwclock hwclock.o libutil.a -lcrypt
cc -s -o id id.o libutil.a -lcrypt
cc -s -o insmod insmod.o libutil.a -lcrypt
cc -s -o killall5 killall5.o libutil.a -lcrypt
cc -s -o last last.o libutil.a -lcrypt
cc -s -o lastlog lastlog.o libutil.a -lcrypt
cc -s -o login login.o libutil.a -lcrypt
cc -s -o lsmod lsmod.o libutil.a -lcrypt
cc -s -o lsusb lsusb.o libutil.a -lcrypt
cc -s -o mesg mesg.o libutil.a -lcrypt
cc -s -o mknod mknod.o libutil.a -lcrypt
cc -s -o mkswap mkswap.o libutil.a -lcrypt
/usr/bin/ld: mknod.o: in function `main':
mknod.c:(.text+0x280): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make: *** [Makefile:161: mknod] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().