Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2010 09:34:11 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-ports@freebsd.org, garga@freebsd.org
Subject:   LUA fails upgrade on 7.2/amd64
Message-ID:  <4C85EAF3.1090205@netfence.it>

next in thread | raw e-mail | index | archive | help
--->  Upgrading 'lua-5.1.4' to 'lua-5.1.4_1' (lang/lua)
--->  Building '/usr/ports/lang/lua'
===>  Cleaning for lua-5.1.4_1
===>  License check disabled, port has not defined LICENSE
===>  Extracting for lua-5.1.4_1
=> MD5 Checksum OK for lua-5.1.4.tar.gz.
=> SHA256 Checksum OK for lua-5.1.4.tar.gz.
===>  Patching for lua-5.1.4_1
===>  Applying FreeBSD patches for lua-5.1.4_1
===>   lua-5.1.4_1 depends on executable: pkg-config - found
===>  Configuring for lua-5.1.4_1
===>  Building for lua-5.1.4_1
cd src && make freebsd
make all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E -lreadline"
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lapi.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lcode.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ldebug.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ldo.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ldump.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lfunc.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lgc.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c llex.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lmem.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lobject.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lopcodes.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lparser.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lstate.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lstring.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ltable.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ltm.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lundump.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lvm.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lzio.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lauxlib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lbaselib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ldblib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c liolib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lmathlib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c loslib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c ltablib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lstrlib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c loadlib.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c linit.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c lua.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c luac.c
cc -pipe -O  -Wall -DLUA_USE_LINUX -c print.c
cc -o liblua.so  -shared -Wl,-soname=liblua-5.1.so.1 lapi.o lcode.o 
ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o 
lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o 
lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o 
lstrlib.o loadlib.o linit.o
/usr/bin/ld: lapi.o: relocation R_X86_64_32 can not be used when making 
a shared object; recompile with -fPIC
lapi.o: could not read symbols: Bad value
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/lang/lua.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20100907-97247-142gdn1-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=lua-5.1.4 UPGRADE_PORT_VER=5.1.4 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! lang/lua (lua-5.1.4)  (unknown build error)



Any hint?

  bye
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C85EAF3.1090205>