Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fakeroot: Add version 1.25.2_p13_g24d6b08
[Web site][1]

From the manual:

> fakeroot  -  run a command in an environment faking root privileges for
> file manipulation

> fakeroot runs a command in an environment wherein it  appears  to  have
> root  privileges  for  file  manipulation.  This is useful for allowing
> users to create archives (tar, ar, .deb etc.) with files in  them  with
> root  permissions/ownership.   Without  fakeroot one would need to have
> root privileges to create the constituent files of  the  archives  with
> the  correct  permissions  and ownership, and then pack them up, or one
> would have to  construct  the  archives  directly,  without  using  the
> archiver.

For whatever reason, building this with `unshare -r`, `./bootstrap`
fails with the error below, so build as root with sudo.

    [BEE] ./bootstrap
    libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./config.guess'
    libtoolize: linking file `./config.sub'
    libtoolize: linking file `./install-sh'
    libtoolize: linking file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux'.
    libtoolize: linking file `build-aux/libtool.m4'
    libtoolize: linking file `build-aux/ltoptions.m4'
    libtoolize: linking file `build-aux/ltsugar.m4'
    libtoolize: linking file `build-aux/ltversion.m4'
    libtoolize: linking file `build-aux/lt~obsolete.m4'
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I build-aux
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in `.'.
    libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build-aux'.
    libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `build-aux/'
    libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `build-aux/'
    libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `build-aux/'
    libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `build-aux/'
    libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `build-aux/'
    autoreconf: libtoolize failed with exit status: 1

Lastly, upstream development also happens at salsa.debian.org, so take
the commit from the upstream branch, which also [contains build fixes
wtih glibc 2.33][2].

[1]: https://salsa.debian.org/clint/fakeroot
[2]: https://salsa.debian.org/clint/fakeroot/-/merge_requests/10
  • Loading branch information
pmenzel committed May 4, 2021
1 parent 306a489 commit b3b7d6f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions fakeroot.be0
@@ -0,0 +1,39 @@
#!/usr/bin/env beesh

# BEE_VERSION fakeroot-1.25.2_p13_g24d6b08-0

# more info: https://salsa.debian.org/clint/fakeroot/

# https://salsa.debian.org/clint/fakeroot/-/tree/24d6b0857396cad87b2cabd32fb8af9ef4799915
SRCURL[0]="https://beehive.molgen.mpg.de/eaf3f407c2f04b7bd5004cfe8ed86835/fakeroot-24d6b0857396cad87b2cabd32fb8af9ef4799915.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

mee_patch() {
bee_patch "${@}"
start_cmd ./bootstrap
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}

0 comments on commit b3b7d6f

Please sign in to comment.