can't install openpht on Archlinux

yesterday I installed Arch on my PC, after installing a few Apps and updates I decided to install Plex, first I installed plex media server, and everything was OK, but then I’ve tried to installed openpht and I got some errors:

yaourt openpht
1 aur/openpht 1.5.2.514-3 (7) (1,89)
    OpenPHT is a community driven fork of Plex Home Theater
==> Introduzca el número de los paquetes desea instalar (ejemplos: 1 2 3 ó 1-3)
==> ---------------------------------------------------------------------------
==> 1


==> Descargando PKGBUILD para openpht desde AUR...
x .SRCINFO
x PKGBUILD
x fribidi.patch
x plexhometheater.sh
Tanath commented on 2016-05-24 21:35			 
I'm up to date, rebooted, and still get same result. What package(s) should I check the version of?

md2prof commented on 2016-05-24 22:30			 
I can reproduce the same build error - so it isn't your system.  I'm going to try a git-clone (more recent openpht work in progress) to see if that will build.

md2prof commented on 2016-05-25 02:08			 
gcc and gcc-libs update to 6.1.1 broke this build.  gcc is way above my paygrade, so my best alternative is to downgrade both gcc and gcc-libs back to 5.3.0.  This also requires downgrading llvm-libs to 3.7.1 and glibc to 2.23-1.  I've updated the dependencies to reflect this.  I tried building with 6.1.1 with git sources on the OpenPHT branch of RasPlex, but same error - so there is no upstream solution from the OpenPHT developers either.  I fear this will be the end of openpht eventually, as its dependencies are developed but it is not.  I will do my best in the future.  Search "arch downgrade package" to learn how to downgrade gcc.  On my super simple build system the downgrade didn't break anything.  Your mileage may vary...

New PKGBUILD has been updated in AUR.

Tanath commented on 2016-05-25 03:23			 
Wait OpenPHT isn't being developed either? I read that Plex wasn't but this was a community fork that was still maintained...

md2prof commented on 2016-05-25 03:26			 
There hasn't been a new release for some time.  I've heard that most of the development is in RasPlex (for Raspberry Pi).  I could be wrong - gcc 6.1.1 is still pretty new, so maybe they will update the code...

openpht 1.5.2.514-3  (2016-05-25 02:04)
(Paquete sin soporte: ¡podría ser peligroso!)
==> ¿Quiere editar PKGBUILD? [S/n] ("A" para anular)
==> ------------------------------------------------
==> n

==> dependencias de openpht:
 - alsa-lib (ya instalado)
 - avahi (ya instalado)
 - curl (ya instalado)
 - expat (ya instalado)
 - freetype2 (ya instalado)
 - fribidi (ya instalado)
 - libcdio (ya instalado)
 - libgl (ya instalado)
 - libjpeg (ya instalado)
 - libmad (ya instalado)
 - libmpeg2 (ya instalado)
 - libpng (ya instalado)
 - libpulse (ya instalado)
 - libsamplerate (ya instalado)
 - libssh (ya instalado)
 - libtiff (ya instalado)
 - libusb-compat (ya instalado)
 - libva (ya instalado)
 - libvdpau (ya instalado)
 - libx11 (ya instalado)
 - libxext (ya instalado)
 - libxrandr (ya instalado)
 - lzo (ya instalado)
 - pcre (ya instalado)
 - python2 (ya instalado)
 - sdl (ya instalado)
 - sdl_image (ya instalado)
 - sqlite (ya instalado)
 - smbclient (ya instalado)
 - taglib (ya instalado)
 - yajl (ya instalado)
 - zlib (ya instalado)
 - cmake (ya instalado) [makedepend]
 - libplist (ya instalado) [makedepend]
 - boost-libs (paquete encontrado)
 - gcc-libs<=5.3.0 (compilando desde AUR)
 - glew (paquete encontrado)
 - glibc<=2.23-1 (compilando desde AUR)
 - glu (paquete encontrado)
 - libmicrohttpd (paquete encontrado)
 - llvm-libs<=3.7.1 (compilando desde AUR)
 - sdl_mixer (paquete encontrado)
 - tinyxml (paquete encontrado)
 - boost (paquete encontrado) [makedepend]
 - doxygen (paquete encontrado) [makedepend]
 - ffmpeg-compat (paquete encontrado) [makedepend]
 - git (paquete encontrado) [makedepend]
 - java-environment (paquete encontrado) [makedepend]
 - libcec (paquete encontrado) [makedepend]
 - nasm (paquete encontrado) [makedepend]
 - swig (paquete encontrado) [makedepend]
 - unzip (paquete encontrado) [makedepend]
 - zip (paquete encontrado) [makedepend]


==> Continuar compilando openpht? [S/n]
==> -----------------------------------
==> 

==> Compilando e instalando el paquete
==> Instalar o compilar las dependencias que faltan para openpht:
:: Existen 2 proveedores disponibles para java-environment:
:: Repositorio extra
   1) jdk7-openjdk  2) jdk8-openjdk

Introduzca un número (por omisión=1): 
error: destino no encontrado: llvm-libs<=3.7.1
error: destino no encontrado: gcc-libs<=5.3.0
error: destino no encontrado: glibc<=2.23-1

I read in openpht AUR comments section that somebody else has the same trouble than me, but doesn’t say how he got it fixed, if he did.

Arch 4.5.4-1 X64

Edited: I think I posted it in a wrong place. it should be at “Plex Home Theater for Linux”, I want to install Plex Home Theater on Arch.

I have the same problem.
Did you find a solution?