You are not logged in.
Apols as will have to quote Debian methods, but if I needed to add any source files to make a repo I would just apt-get install libattr1-dev -y and hey presto the up to date attr.h is avail for the current repo to compile.
I am slightly confused by abs, aps and yaourt and maybe I am missing something, but is the no equivalent of the above simplicity where you just install the dev package?
Just trying to get arm attr so I can compile https://github.com/kmxz/overlayfs-tools
Without main.c:15:10: fatal error: attr/xattr.h: No such file or directory
#include <attr/xattr.h>
Last edited by stuartiannaylor (2019-04-20 11:19:29)
Offline
-dev packages are not split out in Arch, they're part of the main package.
Offline
Its me being a Arch noob and maybe phrasing the question incorrect.
sudo pacman -Fs attr
core/attr 2.4.48-1
usr/bin/attr
extra/graphviz 2.40.1-14
usr/share/graphviz/gvpr/attr
So I have the binary but in debian if I want to make the source avail I just install the -dev package
My question is where is the source then ?
Offline
The source or the headers/library? Two completely different things.
Offline
where is the source then ?
https://wiki.archlinux.org/index.php/Arch_Build_System
And please change your thread title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline
stuartiannaylor wrote:where is the source then ?
https://wiki.archlinux.org/index.php/Arch_Build_System
And please change your thread title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
I am not really sure why the above always seems to be posted against what seems to be questions like this.
I am getting there though as for me the answer is packages are in /var/cache/pacman/pkg
and the source files / headers are in /usr/include
But getting there cheers
Still bemused why ABS is any use to me?
Offline
It's not. Again, you're not talking about source, you're talking about headers. Very, very different.
For the cause of your problem, see http://git.savannah.nongnu.org/cgit/att … bae9fd2c38 . The repo you're using is old and broken.
Last edited by Scimmia (2019-04-20 06:13:45)
Offline
Yeah was expecting it was my terminology the c source to me is the header h + c files lols and apols.
I am stuck as https://github.com/kmxz/overlayfs-tools isn't just old and broken its the only overlayfs tool in existence for a single lower that will merge, in fact I think its the only overlayfs tool in existence of any type.
Suppose you don't know of an alternative?
It does compile (make) on raspbian 4.14 (latest) but
Last edited by stuartiannaylor (2019-04-20 06:28:02)
Offline
And please change your thread title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline
jasonwryan wrote:And please change your thread title to one that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
What would that be then?
Offline
Offline
http://git.savannah.nongnu.org/cgit/att … bae9fd2c38
Edit:
Already provided by Scimmia
Pull request containing a fix for the issue https://github.com/kmxz/overlayfs-tools/pull/6
Last edited by loqs (2019-04-20 08:55:37)
Offline
http://git.savannah.nongnu.org/cgit/att … bae9fd2c38
Edit:
Already provided by Scimmia
Pull request containing a fix for the issue https://github.com/kmxz/overlayfs-tools/pull/6
I think I might make another though as basically my noob question of calling the C header & lib files just the source files.
But that got answered as after a pacman -Sw I was like where is it and went on a hunt.
So packages = /var/cache/pacman/pkg
C Includes = /usr/include
My C is non existent but it is really strange there is total lack of any tools for OverlayFS even if just a simple unmounted single lower merge.
To be able to run either a tmpfs / zram upper and merge down on stop has a few applications especially for ALARM type devices.
Whoops never noticed that guys cheers and apols wasn't taking much notice as its still outdated due to the redir options of later OverlayFS.
Been trying to get https://github.com/kmxz/overlayfs-tools/issues/7 to update but still puzzled there is practically zero apart from the above for OverlayFS.
Maybe I should have a got at a package when I get to grips with Arch a little more with https://github.com/StuartIanNaylor/log2 … /4.19-Arch
Last edited by stuartiannaylor (2019-04-20 11:29:47)
Offline
The following is build tested only
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=overlayfs-tools
pkgver=r15.0d44989
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url="https://github.com/kmxz/overlayfs-tools"
license=('custom')
groups=()
depends=('glibc')
makedepends=('git' 'attr')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
_commit=0d44989f1ab7f2e0f565e58f9aff7a9cffb32cd7
source=("git+https://github.com/kmxz/overlayfs-tools.git#commit=$_commit")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
git cherry-pick -n 8ef89ef29fa815a3d87d9b0437b6eecfb0eee5e4
}
build() {
cd "$pkgname"
make CFLAGS="-Wall -std=c99 $CPPFLAGS $CFLAGS" LFLAGS="$LDFLAGS"
}
#check() {
# cd "$pkgname"
# make -k check
#}
package() {
cd "$pkgname"
install -Dm 755 overlay "$pkgdir"/usr/bin/overlay
install -dm 755 "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
Edit:
Missing dependency on glibc.
References
https://wiki.archlinux.org/index.php/PKGBUILD
https://wiki.archlinux.org/index.php/VC … guidelines
Last edited by loqs (2019-04-20 12:08:45)
Offline