Question : buildpkg not support local-repo ? #95
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: Ste74
Hello guys , I used to build packages buildpkg script but had some dependencies that were not present in the repo Manjaro so I had to use the classic makepkg -s and add the missing files in my local repo present in my pacman.conf
The problem comes when I have to build packages in chroot ( 32bit ) as Manjaro-tool and devtools arch are not compatible or not?
Created by: udeved
There is technically no support for a local repo, because you don't need it.
If some dependency is not in the repo, you have to install this dependency in the chroot(-n).
After you installed all depends without cleaning the chroot, you can then build your target package.
Created by: udeved
You could create a buildset for your package, which contains all depends in order and just use the buildset, also using -n switch.
Created by: Ste74
@udeved Can you explain with an example ?
https://github.com/Ste74/Pantheon-PKGBUILD-Repo/tree/master/manjaro-gala-bzr
this pakages need this file 'granite-bzr' 'mutter-manjaro-pantheon' and give me error . I have build with makepkg and 'granite-bzr' 'mutter-manjaro-pantheon' i have compiled a part and copied in my local repo.
Thank artoo
Created by: udeved
I believe you need granite pkgbuild too.
You need to get all depends which are not in the repos.
Forget about local repo. ;)
After you got all depends, you need to order the depends. You can find out with pkgtree.
Then you create a buildset.
Add the ordered depends and finally you package.
if you are on x86_86 and want to build i686 pkgs.
Created by: Ste74
Thanks Artoo friendly as always . Upon my packages for 32bit try and if I still have questions post them on our forum ;-)