You are not logged in.
Hey Guys,
I have a bit of a problem that I ran into using both makepkg and yaourt.
The following code is an except from yaourt post-command:
==> ERROR: Failure while downloading openchange-2.2-NANOPROBE.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build openchange-server.The top portion of the above code also represents the error spit out by makepkg when manually installing it via a tarball.
I also looked at packages in AUR directory (links provided below) and their respective comments however, found nothing recent to my situation.
https://aur.archlinux.org/packages/sogo-openchange/
https://aur.archlinux.org/packages/openchange-server/
Last edited by patelvrajn (2015-05-25 02:55:45)
Offline
Looks like the url has changed, try
https://github.com/openchange/openchang … OBE.tar.gz
or for latest version :
https://github.com/openchange/openchang … CAN.tar.gz
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
For both of the packages you suggested I recieve errors of this type:
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgrel is not allowed to be empty.
==> ERROR: is not available for the 'x86_64' architecture.
I know pkgrel and pkgver are both variables of the PKGBUILD file that have to be declared but not sure as to what to declare them as to create a working package in this particular case.
Also I am running a 64 bit version of Arch so I really have no idea about the last error.
Last edited by patelvrajn (2015-05-23 02:51:56)
Offline
What is the output of `uname -a`?
Offline
The output is:
Linux VArch 4.0.4-1-ARCH #1 SMP PREEMPT Mon May 18 06:43:19 CEST 2015 x86_64 GNU/Linux
Offline
patelvrajn,
the original AUR PKGBUILD for openchange-server does appear to have those vars set correctly.
Please post the PKGBUILD you are using.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
So when I generate the PKGBUILD using the command
makepkg -g >> PKGBUILD it generates a blank PKGBUILD with no contents for both of the packages I downloaded from the links you provided.
After I discovered that I copied the original PKGBUILD to the 2.2 version package you gave me from the link and ran the
makepkg -sci command and it gave me the following error:
rl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading openchange-2.2-NANOPROBE.tar.gz
Aborting...Offline
You are using the wrong distribution. Nothing you are doing is documented anywhere in Arch: either you have completely misconstrued the instructions, or you are randomly typing things into the terminal and hoping they will work. In either event, we can't help you. This is just help vampirism.
Offline
patelvrajn, seems that you are a bit new to editing PKGBUILD files.
Open the AUR openchange-server PKGBUILD in a text editor
Look up the source= lines :
source=("http://tracker.openchange.org/attachments/download/${_dlid}/${_pkgname}-${pkgver}-${_codename}.tar.gz"
"ocsmanager.service"
"openchange-samba42-1.patch")In the source array, replace the url that starts with http://tracker with the one i posted.
https://github.com/openchange/openchang … OBE.tar.gz
Save the PKGBUILD, then try running makepkg again.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That worked for openchange-server, thank you. However, the other issue still remains where I cannot install sogo-openchange because it gives an error saying that it cannot find target "sogo=2.2.17."
Seeing that it is a depedency and is listed under the prerequisites for the OpenChange server I installed it beforehand. But I realised that sogo has been update to sogo version 2.2.17a-1 and that is why
it cannot find its dependency. Similaur to what you suggested with openchange-server, I looked at github for the latest repository to see if they changed the link and googled a bit but could not find anything.
Should sogo-openchange be flagged out of date? Also, is there a solution as to how I can fix this issue.
*Note: I did find a way around by just editting the running pkgbuild when using yaourt on the depends variable. However, I do not know if that was the right thing to do.
Source(s):
https://aur.archlinux.org/packages/sogo-openchange/
https://aur.archlinux.org/packages/sogo/
https://wiki.archlinux.org/index.php/OpenChange_server
Last edited by patelvrajn (2015-05-24 06:21:54)
Offline
Both sogo-openchange and sogo should be flagged out of date.
It would be nice if you did that, and added a comment about the new versions and where they can be found to the aur pages.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank You for All Your Help Lone_Wolf,
I believe this issue is resolved to the fullest possible extent and I will mark this topic as solved.
Offline