Opened 9 years ago

Closed 9 years ago

#49085 closed defect (duplicate)

ipe @7.1.8 build fails with lua 5.3

Reported by: Limbo999 (Franziska Wegner) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: m7.thon@…
Port: ipe

Description

Hi, I tried to install ipe, but during the build it failed and returned the following:

...
--->  Extracting ipe
--->  Configuring ipe
--->  Building ipe
Error: org.macports.build for port ipe returned: command execution failed
Please see the log file for port ipe for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ice failed

And in the main.log is the following (see also attachment):

...

:info:build Compiling ipelib.cpp...
:info:build /usr/bin/clang++ -arch x86_64 -Wall -g -O2 -fpic -DIPEUI_QT -I../include -I/opt/local/include   -c -o ../../build/obj/ipelua/ipelib.o ipelib.cpp
:info:build ipelib.cpp:143:11: error: use of undeclared identifier 'luaL_checkint'; did you mean 'luaL_checkany'?
:info:build   int n = luaL_checkint(L, i);
:info:build           ^~~~~~~~~~~~~
:info:build           luaL_checkany
:info:build /opt/local/include/lauxlib.h:52:18: note: 'luaL_checkany' declared here
:info:build LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
:info:build                  ^
:info:build ipelib.cpp:143:7: error: cannot initialize a variable of type 'int' with an rvalue of type 'void'
:info:build   int n = luaL_checkint(L, i);
:info:build       ^   ~~~~~~~~~~~~~~~~~~~
:info:build ipelib.cpp:175:11: error: use of undeclared identifier 'luaL_checkint'; did you mean 'luaL_checkany'?
:info:build   int i = luaL_checkint(L, 2);
:info:build           ^~~~~~~~~~~~~
:info:build           luaL_checkany
:info:build /opt/local/include/lauxlib.h:52:18: note: 'luaL_checkany' declared here
:info:build LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
:info:build                  ^
:info:build ipelib.cpp:175:7: error: cannot initialize a variable of type 'int' with an rvalue of type 'void'
:info:build   int i = luaL_checkint(L, 2);
:info:build       ^   ~~~~~~~~~~~~~~~~~~~
:info:build 4 errors generated.
:info:build make[1]: *** [../../build/obj/ipelua/ipelib.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src/ipelua'
:info:build make: *** [ipelua] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src" && /usr/bin/make -w all IPEPREFIX=/opt/local ZLIB_CFLAGS="`pkg-config --cflags zlib`" ZLIB_LIBS="`pkg-config --libs zlib`" JPEG_LIBS="-ljpeg" PNG_CFLAGS="`pkg-config --cflags libpng`" PNG_LIBS="`pkg-config --libs libpng`" FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" FREETYPE_LIBS="`pkg-config --libs freetype2`" CAIRO_CFLAGS="`pkg-config --cflags cairo`" CAIRO_LIBS="`pkg-config --libs cairo`" LUA_CFLAGS="`pkg-config --cflags lua`" LUA_LIBS="`pkg-config --libs lua`" QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" QT_LIBS="`pkg-config --libs QtGui QtCore`" MOC=/opt/local/bin/moc CXX=/usr/bin/clang++ IPEQVORONOI=1 QHULL_CFLAGS=-I/opt/local/include/qhull 
:info:build Exit code: 2
:error:build org.macports.build for port ipe returned: command execution failed
:debug:build Error code: CHILDSTATUS 521 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for ipe: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port ipe for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log
:info:build Compiling ipelib.cpp...
:info:build /usr/bin/clang++ -arch x86_64 -Wall -g -O2 -fpic -DIPEUI_QT -I../include -I/opt/local/include   -c -o ../../build/obj/ipelua/ipelib.o ipelib.cpp
:info:build ipelib.cpp:143:11: error: use of undeclared identifier 'luaL_checkint'; did you mean 'luaL_checkany'?
:info:build   int n = luaL_checkint(L, i);
:info:build           ^~~~~~~~~~~~~
:info:build           luaL_checkany
:info:build /opt/local/include/lauxlib.h:52:18: note: 'luaL_checkany' declared here
:info:build LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
:info:build                  ^
:info:build ipelib.cpp:143:7: error: cannot initialize a variable of type 'int' with an rvalue of type 'void'
:info:build   int n = luaL_checkint(L, i);
:info:build       ^   ~~~~~~~~~~~~~~~~~~~
:info:build ipelib.cpp:175:11: error: use of undeclared identifier 'luaL_checkint'; did you mean 'luaL_checkany'?
:info:build   int i = luaL_checkint(L, 2);
:info:build           ^~~~~~~~~~~~~
:info:build           luaL_checkany
:info:build /opt/local/include/lauxlib.h:52:18: note: 'luaL_checkany' declared here
:info:build LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
:info:build                  ^
:info:build ipelib.cpp:175:7: error: cannot initialize a variable of type 'int' with an rvalue of type 'void'
:info:build   int i = luaL_checkint(L, 2);
:info:build       ^   ~~~~~~~~~~~~~~~~~~~
:info:build 4 errors generated.
:info:build make[1]: *** [../../build/obj/ipelua/ipelib.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src/ipelua'
:info:build make: *** [ipelua] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.8/src" && /usr/bin/make -w all IPEPREFIX=/opt/local ZLIB_CFLAGS="`pkg-config --cflags zlib`" ZLIB_LIBS="`pkg-config --libs zlib`" JPEG_LIBS="-ljpeg" PNG_CFLAGS="`pkg-config --cflags libpng`" PNG_LIBS="`pkg-config --libs libpng`" FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" FREETYPE_LIBS="`pkg-config --libs freetype2`" CAIRO_CFLAGS="`pkg-config --cflags cairo`" CAIRO_LIBS="`pkg-config --libs cairo`" LUA_CFLAGS="`pkg-config --cflags lua`" LUA_LIBS="`pkg-config --libs lua`" QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" QT_LIBS="`pkg-config --libs QtGui QtCore`" MOC=/opt/local/bin/moc CXX=/usr/bin/clang++ IPEQVORONOI=1 QHULL_CFLAGS=-I/opt/local/include/qhull 
:info:build Exit code: 2
:error:build org.macports.build for port ipe returned: command execution failed
:debug:build Error code: CHILDSTATUS 521 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for ipe: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port ipe for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log

Before this build error, there was an error concerning qt4, which I resolved using https://trac.macports.org/ticket/48129.

I am thankful for every help!

Best regards.

Attachments (1)

main.log (77.5 KB) - added by Limbo999 (Franziska Wegner) 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Limbo999 (Franziska Wegner)

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: m7.thon@… added
Keywords: ipe build El Capitan removed
Priority: HighNormal
Resolution: duplicate
Status: newclosed
Summary: ipe @7.1.8 ice could not build on El Capitan 10.11ipe @7.1.8 build fails with lua 5.3

Duplicate of #48873.

Note: See TracTickets for help on using tickets.