You are not logged in.

#1 2015-05-22 00:27:34

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

[SOLVED] Failure to Install Openchange Email Server

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

#2 2015-05-22 16:01:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [SOLVED] Failure to Install Openchange Email Server


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

#3 2015-05-23 02:51:28

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Failure to Install Openchange Email Server

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

#4 2015-05-23 03:19:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Failure to Install Openchange Email Server

What is the output of `uname -a`?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-05-23 03:20:35

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Failure to Install Openchange Email Server

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

#6 2015-05-23 12:02:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [SOLVED] Failure to Install Openchange Email Server

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

#7 2015-05-23 17:02:39

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Failure to Install Openchange Email Server

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

#8 2015-05-23 19:15:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Failure to Install Openchange Email Server

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-05-23 19:16:59

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [SOLVED] Failure to Install Openchange Email Server

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

#10 2015-05-24 02:05:42

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Failure to Install Openchange Email Server

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

#11 2015-05-24 12:28:19

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [SOLVED] Failure to Install Openchange Email Server

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

#12 2015-05-25 02:55:16

patelvrajn
Member
From: Jersey City, New Jersey
Registered: 2014-01-18
Posts: 49

Re: [SOLVED] Failure to Install Openchange Email Server

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

Board footer

Powered by FluxBB