Package Details: openlitespeed 1.5.6-3

Git Clone URL: https://aur.archlinux.org/openlitespeed.git (read-only)
Package Base: openlitespeed
Description: A high-performance, lightweight, open source HTTP server
Upstream URL: https://openlitespeed.org/downloads/
Licenses: GPLv3
Provides: openlitespeed
Submitter: kprkpr
Maintainer: kprkpr (JoseluCross)
Last Packager: kprkpr
Votes: 3
Popularity: 0.74
First Submitted: 2016-11-13 11:54
Last Updated: 2019-08-26 10:36

Latest Comments

kprkpr commented on 2018-07-09 22:06

Hi @mrvik I updated to 1.4.34 because it compiles too and its not an rc and I had to edit more the PKGBUILD

Thanks :)

mrvik commented on 2018-07-09 21:47

1.5.0rc4 compiles now! Please, update PKGBUILD

mrvik commented on 2017-07-02 14:00

+kprkpr
Trying to compile with gcc 7.1.1-2

EDIT: gcc 7.1.1-2 FAILED
g++ -DHAVE_CONFIG_H -I. -I../../src -I../../openssl/include/ -I../../include -I../../src -D_FORTIFY_SOURCE=2 -I../../ssl/include -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg -I/usr/include -I/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/thirdparty/udns-0.4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector -MT modulemanager.o -MD -MP -MF .deps/modulemanager.Tpo -c -o modulemanager.o modulemanager.cpp
In file included from ../../src/lsiapi/moduletimer.h:22:0,
from modulemanager.cpp:27:
../../src/util/gmap.h: En la función miembro ‘TMap<T>::const_iterator TMap<T>::find(const void*) const’:
../../src/util/gmap.h:180:31: error: no matching function for call to ‘TMap<T>::find(const void*&) const’
{ return GMap::find(pKey); }
^
../../src/util/gmap.h:71:14: nota: candidate: GMap::GMapNode* GMap::find(const void*) <coincidencia cercana>
iterator find(const void *pKey)
^~~~
../../src/util/gmap.h:71:14: nota: passing ‘const TMap<T>*’ as ‘this’ argument discards qualifiers
modulemanager.cpp: En la función ‘void checkModuleDef(lsi_module_t*)’:
modulemanager.cpp:247:14: aviso: se descarta el valor de devolución de ‘char* fgets(char*, int, FILE*)’, se declaró con el atributo warn_unused_result [-Wunused-result]
fgets(sLine, 255, fp);
~~~~~^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:387: modulemanager.o] Error 1
make[3]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src/lsiapi'
make[2]: *** [Makefile:2097: all-recursive] Error 1
make[2]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src'
make[1]: *** [Makefile:535: all] Error 2
make[1]: se sale del directorio '/tmp/yaourt-tmp-mrvik/aur-openlitespeed/src/openlitespeed-1.4.26/src'
make: *** [Makefile:396: all-recursive] Error 1

END COMPILE ERROR
-----------------------------------

btw: Do you have gcc or gcc-multilib?

kprkpr commented on 2017-06-21 15:07

+mrvik
Yea.. I see it, but it seems a programming error of openlitespeed
I will return PKGBUILD to 1.4.25 until next version or there are some fix for it
Thanks

Edit: Something with 1.4.25 now, strange.. Some updates in GCC?

---
g++ -DHAVE_CONFIG_H -I. -I../../src -I../../openssl/include/ -I../../include -I../../src -D_FORTIFY_SOURCE=2 -I../../ssl/include -I../../src -I../../include -I/usr/local/include -I/usr/local -I/usr -I/usr/pkg -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector -MT modulemanager.o -MD -MP -MF .deps/modulemanager.Tpo -c -o modulemanager.o modulemanager.cpp
In file included from ../../src/lsiapi/moduletimer.h:22:0,
from modulemanager.cpp:27:
../../src/util/gmap.h: En la función miembro ‘TMap<T>::const_iterator TMap<T>::find(const void*) const’:
../../src/util/gmap.h:180:31: error: no matching function for call to ‘TMap<T>::find(const void*&) const’
{ return GMap::find(pKey); }
---

Is the same in .25 and .26. Help?

mrvik commented on 2017-06-21 10:54

Failed on build() function:


httpserver.cpp: En la función ‘int generateConnReport(int)’:
httpserver.cpp:542:10: aviso: se descarta el valor de devolución de ‘ssize_t write(int, const void*, size_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
write(fd, achBuf, n);
~~~~~^~~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘int HttpServerImpl::generateProcessReport(int)’:
httpserver.cpp:577:10: aviso: se descarta el valor de devolución de ‘ssize_t write(int, const void*, size_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
write(fd, achBuf, p - achBuf);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘int HttpServerImpl::readVersion(const char*)’:
httpserver.cpp:913:14: aviso: se descarta el valor de devolución de ‘size_t fread(void*, size_t, size_t, FILE*)’, se declaró con el atributo warn_unused_result [-Wunused-result]
fread(s, 1, 20, fp);
~~~~~^~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘int HttpServerImpl::gracefulShutdown()’:
httpserver.cpp:1123:9: aviso: se descarta el valor de devolución de ‘int nice(int)’, se declaró con el atributo warn_unused_result [-Wunused-result]
nice(3);
~~~~^~~
httpserver.cpp: En la función miembro ‘HttpVHost* HttpServerImpl::createAdminVhost(LocalWorker*, int, char*)’:
httpserver.cpp:1779:14: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(&pAdminSock[5], pVHostAdmin->getUid(), pVHostAdmin->getGid());
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘int HttpServerImpl::configTuning(const XmlNode*)’:
httpserver.cpp:2029:22: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(achBuf,
~~~~~^~~~~~~~
ServerProcessConfig::getInstance().getUid(),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ServerProcessConfig::getInstance().getGid());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘void HttpServerImpl::verifyStatDir(const char*)’:
httpserver.cpp:2604:26: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(str.c_str(), pw->pw_uid, pw->pw_gid);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp:2615:26: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(path, pw->pw_uid, pw->pw_gid);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp: En la función miembro ‘int HttpServerImpl::configServerBasics(int, const XmlNode*)’:
httpserver.cpp:2683:22: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(HttpLog::getErrorLogFileName(),
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
procConf.getUid(), procConf.getGid());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp:2685:22: aviso: se descarta el valor de devolución de ‘int chown(const char*, __uid_t, __gid_t)’, se declaró con el atributo warn_unused_result [-Wunused-result]
chown(HttpLog::getAccessLogFileName(),
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
procConf.getUid(), procConf.getGid());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plainconf.cpp: En la función miembro static ‘static void plainconf::loadConfFile(const char*)’:
plainconf.cpp:1214:18: aviso: se descarta el valor de devolución de ‘char* fgets(char*, int, FILE*)’, se declaró con el atributo warn_unused_result [-Wunused-result]
fgets(sLine, MAX_LINE_LENGTH, fp);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar: `u' modifier ignored since `D' is the default (see `U')
In file included from /usr/include/alloca.h:24:0,
from /usr/include/stdlib.h:469,
from /usr/include/c++/7.1.1/cstdlib:75,
from /usr/include/c++/7.1.1/stdlib.h:36,
from ../../include/lsr/ls_str.h:22,
from ../../src/util/autostr.h:21,
from ../../src/util/duplicable.h:24,
from ../../src/log4cxx/logger.h:28,
from aiosendfile.cpp:19:
aiosendfile.cpp: En la función miembro static ‘static Aiosfcb* Aiosfcb::getCbPtr(ls_lfnodei_t*)’:
aiosendfile.cpp:26:49: aviso: offsetof within non-standard-layout type ‘Aiosfcb’ is undefined [-Winvalid-offsetof]
return (Aiosfcb *)((char *)pNode - offsetof(Aiosfcb, m_node));
^
ar: `u' modifier ignored since `D' is the default (see `U')
In file included from ../../src/lsiapi/moduletimer.h:22:0,
from modulemanager.cpp:27:
../../src/util/gmap.h: En la función miembro ‘TMap<T>::const_iterator TMap<T>::find(const void*) const’:
../../src/util/gmap.h:180:31: error: no matching function for call to ‘TMap<T>::find(const void*&) const’
{ return GMap::find(pKey); }
^
../../src/util/gmap.h:71:14: nota: candidate: GMap::GMapNode* GMap::find(const void*) <coincidencia cercana>
iterator find(const void *pKey)
^~~~
../../src/util/gmap.h:71:14: nota: passing ‘const TMap<T>*’ as ‘this’ argument discards qualifiers
modulemanager.cpp: En la función ‘void checkModuleDef(lsi_module_t*)’:
modulemanager.cpp:247:14: aviso: se descarta el valor de devolución de ‘char* fgets(char*, int, FILE*)’, se declaró con el atributo warn_unused_result [-Wunused-result]
fgets(sLine, 255, fp);
~~~~~^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:387: modulemanager.o] Error 1
make[2]: *** [Makefile:2097: all-recursive] Error 1
make[1]: *** [Makefile:535: all] Error 2
make: *** [Makefile:396: all-recursive] Error 1
==> ERROR: Se produjo un fallo en build().
Cancelando...
==> ERROR: Makepkg no ha podido compilar openlitespeed.
==> ¿Reiniciar la compilación de openlitespeed? [s/N]