You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/25 08:09:09 UTC

[GitHub] [apisix-docker] jclivi opened a new issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

jclivi opened a new issue #88:
URL: https://github.com/apache/apisix-docker/issues/88


   OK: 326 MiB in 81 packages
   + luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-master-0.rockspec '--tree=/usr/local/apisix/deps'
   
   Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')
   ERROR: Service 'apisix' failed to build : The command '/bin/sh -c set -x     && /bin/sed -i 's,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g' /etc/apk/repositories     && apk add --no-cache --virtual .builddeps     automake     autoconf     libtool     pkgconfig     cmake     git     && luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-${APISIX_VERSION}-0.rockspec --tree=/usr/local/apisix/deps     && cp -v /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/     && bin='#! /usr/local/openresty/luajit/bin/luajit\npackage.path = "/usr/local/apisix/?.lua;" .. package.path'     && sed -i "1s@.*@$bin@" /usr/bin/apisix     && mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix     && apk del .builddeps build-base make unzip' returned a non-zero code: 1
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752808568


   @UnderTreeTech 
   Try it again? I always turn on the VPN when I need to use luarocks.
   You may need to capture network to see what happened.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] jclivi commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
jclivi commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-733552691


   OK!Thank you!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] UnderTreeTech edited a comment on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
UnderTreeTech edited a comment on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752831569


   I've already start global proxy, but it still comes the same issue and get following error output:
   ```
   + /bin/sed -i s,http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g /etc/apk/repositories
   fetch https://mirrors.aliyun.com/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
   fetch https://mirrors.aliyun.com/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
   + apk add --no-cache --virtual .builddeps automake autoconf libtool pkgconfig cmake git
   WARNING: Ignoring https://mirrors.aliyun.com/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: could not connect to server (check repositories file)
   WARNING: Ignoring https://mirrors.aliyun.com/alpine/v3.12/community/x86_64/APKINDEX.tar.gz: could not connect to server (check repositories file)
   ERROR: unsatisfiable constraints:
     automake (missing):
       required by: .builddeps-20201231.034826[automake]
     autoconf (missing):
       required by: .builddeps-20201231.034826[autoconf]
     libtool (missing):
       required by: .builddeps-20201231.034826[libtool]
     pkgconfig (missing):
       required by: .builddeps-20201231.034826[pkgconfig]
     cmake (missing):
       required by: .builddeps-20201231.034826[cmake]
     git (missing):
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] membphis commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-733544824


   this step is unstable in china: `luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-master-0.rockspec`
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752834053


   You can make a network capture to see what happened. BTW, it would be better to submit this issue to luarocks since we don't control the `luarocks.org`. There is few things we can do in our side.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] UnderTreeTech commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
UnderTreeTech commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752834593


   I don't think so, lua install execute right now. It's build error now.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752835182


   It is apparently that luarocks is downloading something which it expects to be JSON but HTML actually. We can't solve the problem if you don't provide a network capture file.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] UnderTreeTech commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
UnderTreeTech commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752655873


   > this step is unstable in china: `luarocks install https://github.com/apache/apisix/blob/master/rockspec/apisix-master-0.rockspec`
   
   Meet same issue, but it does not work using your suggestion.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] UnderTreeTech commented on issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
UnderTreeTech commented on issue #88:
URL: https://github.com/apache/apisix-docker/issues/88#issuecomment-752831569


   I've already start global proxy, but it still comes the same issue. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] spacewander closed issue #88: Error: Could not load rockspec file /tmp/luarocks_luarocks-rockspec-apisix-master-0-kbdBgI/apisix-master-0.rockspec (Error loading file: [string "/tmp/luarocks_luarocks-rockspec-apisix-master..."]:7: unexpected symbol near '<')

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #88:
URL: https://github.com/apache/apisix-docker/issues/88


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org