Opened 11 years ago

Closed 11 years ago

#38213 closed defect (fixed)

enscript @1.6.4 command execution failed

Reported by: angel.suarez@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: enscript

Description (last modified by mf2k (Frank Schima))

Hello, I'm trying to install macports for a user running Mountain Lion. This is the main.log output. Many thanks for you help.

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.2_2 exists in the ports tree
:debug:main gettext 0.18.2_2  is the latest installed
:debug:main gettext 0.18.2_2  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/www.macports.org/files/ports/devel/gettext
:debug:main OS darwin/12.2.1 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Using group file /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/variant_descriptions.conf
:debug:main compiler clang 425.0.24 not blacklisted because does not match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! gettext 0.18.2_2 >= gettext 0.18.2_2
: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/www.macports.org/files/ports/textproc/expat
:debug:main OS darwin/12.2.1 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_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/www.macports.org/files/ports/textproc/libiconv
:debug:main OS darwin/12.2.1 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_2 exists in the ports tree
:debug:main ncurses 5.9_2  is the latest installed
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/www.macports.org/files/ports/devel/ncurses
:debug:main OS darwin/12.2.1 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/www.macports.org/files/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! ncurses 5.9_2 >= ncurses 5.9_2
:msg:main --->  Computing dependencies for enscript:info:main .:debug:main enscript has no conflicts
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:msg:main 
:debug:main Executing org.macports.main (enscript)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (enscript)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (enscript)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (enscript)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (enscript)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Feb 26 10:02:19 EST 2013
:notice:build --->  Building enscript
:debug:build Executing org.macports.build (enscript)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4'
:info:build /usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4'
:info:build Making all in intl
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/intl'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/intl'
:info:build Making all in m4
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/m4'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/m4'
:info:build Making all in compat
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/compat'
:info:build gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../intl -I../intl  -I/opt/local/include  -pipe -O2 -arch x86_64 -c `test -f 'regex.c' || echo './'`regex.c
:info:build regex.c:5545:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
:info:build regex.c:5550:1: error: expected identifier or '(' before '{' token
:info:build regex.c:5626:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
:info:build regex.c:5633:1: error: expected identifier or '(' before '{' token
:info:build regex.c:5734:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
:info:build regex.c:5737:1: error: expected identifier or '(' before '{' token
:info:build regex.c:5631:16: warning: array 'pmatch' assumed to have one element [enabled by default]
:info:build make[2]: *** [regex.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4/compat'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/work/enscript-1.6.4" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port enscript returned: command execution failed
:debug:build Error code: CHILDSTATUS 24275 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 enscript: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port enscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_print_enscript/enscript/main.log
gs611-mercury:enscript gissadm$ 

Attachments (1)

main.log (35.6 KB) - added by angel.suarez@… 11 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: enscript added

comment:2 Changed 11 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting, fill in the Port field and attach the main.log file instead of pasting the contents into the description unformatted.

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Also this is not a clean build attempt, please clean and retry building before attaching your main.log.

Changed 11 years ago by angel.suarez@…

Attachment: main.log added

comment:4 in reply to:  3 Changed 11 years ago by angel.suarez@…

Replying to egall@…:

Also this is not a clean build attempt, please clean and retry building before attaching your main.log.

Sorry about the format. I ran

sudo port uninstall enscript ; sudo port clean enscript ; sudo port install enscript

I attached the main.log

Thanks again! Angel

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Owner: changed from macports-tickets@… to ryandesign@…

I do not see this problem on my system, which is also OS X 10.8.2, but I see the port is out of date and is not UsingTheRightCompiler. I will try to correct those problems and we'll see if that helps you. Please also verify that you have Xcode 4.6 and up-to-date command line tools.

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

r103479. Please wait 30 minutes, then run sudo port selfupdate and try again.

comment:7 in reply to:  6 Changed 11 years ago by angel.suarez@…

Replying to ryandesign@…:

r103479. Please wait 30 minutes, then run sudo port selfupdate and try again.

That worked! My xcode is 4.5.2 Many thanks! Angel

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.