Opened 11 years ago

Closed 11 years ago

#41119 closed defect (fixed)

lua-luaexpat: fatal error: 'lua.h' file not found

Reported by: dustin@… Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: lua-luaexpat

Description

I originally experienced this when attempting to install prosody through port, but this log is when I attempted to install lua-luaexpat first. From other tickets here there's probably problems with some other lua-related ones that aren't reported. I've done the usual clean and selfupdate commands with no luck. Here's the log below.

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.1.0_0 exists in the ports tree
:debug:main expat 2.1.0_0  is the latest installed
:debug:main expat 2.1.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:msg:main --->  Computing dependencies for lua-luaexpat:info:main .:debug:main lua-luaexpat has no conflicts
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:msg:main 
:debug:main Executing org.macports.main (lua-luaexpat)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Fri Nov  1 08:33:10 CDT 2013
:msg:archivefetch --->  Fetching archive for lua-luaexpat
:debug:archivefetch Executing org.macports.archivefetch (lua-luaexpat)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  lua-luaexpat-1.1_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch lua-luaexpat-1.1_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/lua-luaexpat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch lua-luaexpat-1.1_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/lua-luaexpat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch lua-luaexpat-1.1_0.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/lua-luaexpat
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Nov  1 08:33:14 CDT 2013
:notice:fetch --->  Fetching distfiles for lua-luaexpat
:debug:fetch Executing org.macports.fetch (lua-luaexpat)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Nov  1 08:33:14 CDT 2013
:notice:checksum --->  Verifying checksums for lua-luaexpat
:debug:checksum Executing org.macports.checksum (lua-luaexpat)
:info:checksum --->  Checksumming luaexpat-1.1.tar.gz
:debug:checksum Correct (md5) checksum for luaexpat-1.1.tar.gz
:debug:checksum Correct (sha1) checksum for luaexpat-1.1.tar.gz
:debug:checksum Correct (rmd160) checksum for luaexpat-1.1.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Nov  1 08:33:14 CDT 2013
:notice:extract --->  Extracting lua-luaexpat
:debug:extract Executing org.macports.extract (lua-luaexpat)
:info:extract --->  Extracting luaexpat-1.1.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/lua-luaexpat/luaexpat-1.1.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/lua-luaexpat/luaexpat-1.1.tar.gz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/lua-luaexpat/luaexpat-1.1.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Nov  1 08:33:14 CDT 2013
:debug:patch Executing org.macports.patch (lua-luaexpat)
:notice:patch --->  Applying patches to lua-luaexpat
:info:patch --->  Applying config-patch.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/lua-luaexpat/files/config-patch.diff'
:info:patch patching file config
:info:patch --->  Applying makefile-patch.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/lua-luaexpat/files/makefile-patch.diff'
:info:patch patching file makefile
:debug:patch Executing proc-post-org.macports.patch-patch-0
:debug:patch Executing reinplace: /usr/bin/sed s|%PREFIX%|/opt/local|g < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1/config >@ file10
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1/config to macports
:debug:patch euid/egid changed to: 502/501
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1/config
:debug:patch euid/egid changed to: 502/501
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Nov  1 08:33:15 CDT 2013
:notice:configure --->  Configuring lua-luaexpat
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (lua-luaexpat)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Nov  1 08:33:15 CDT 2013
:notice:build --->  Building lua-luaexpat
:debug:build Executing org.macports.build (lua-luaexpat)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/make -j2 -w'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/make -j2 -w 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1'
:info:build gcc -Wall -pedantic -Waggregate-return -Wcast-align -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -ansi -O2 -I/opt/local/include -I../compat/src -I/opt/local/include   -c -o src/lxplib.o src/lxplib.c
:info:build src/lxplib.c:14:10: fatal error: 'lua.h' file not found
:info:build #include "lua.h"
:info:build          ^
:info:build 1 error generated.
:info:build make: *** [src/lxplib.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/work/luaexpat-1.1" && /usr/bin/make -j2 -w 
:info:build Exit code: 2
:error:build org.macports.build for port lua-luaexpat returned: command execution failed
:debug:build Error code: CHILDSTATUS 38696 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
"$procedure $targetname"
:info:build Warning: targets not executed for lua-luaexpat: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port lua-luaexpat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_lua-luaexpat/lua-luaexpat/main.log

Change History (3)

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

Keywords: mavericks added
Owner: changed from macports-tickets@… to and.damore@…
Port: lua-luaexpat added
Summary: lua-luaexpat fails to build in Mavericks with MacPorts 2.2.1lua-luaexpat: fatal error: 'lua.h' file not found

comment:2 Changed 11 years ago by anddam (Andrea D'Amore)

Status: newassigned

comment:3 Changed 11 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: assignedclosed

Port lua-luaexpat upgraded to 1.3.0 in r118488, this version is compatible with lua 5.2 . Also the port building has been fixed.

Ticket closed.

Note: See TracTickets for help on using tickets.