Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40535 closed defect (fixed)

cgilib: build failure: error: required file './compile' not found

Reported by: mikeegg1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: cgilib

Description

I'm attempting to build a clisp(1) with the fast cgi module. Executed the command:

sudo port install cgilib

with the output:

--->  Computing dependencies for cgilib
--->  Fetching archive for cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cgilib
--->  Fetching distfiles for cgilib
--->  Attempting to fetch cgilib-0.7.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/cgilib
--->  Verifying checksums for cgilib
--->  Extracting cgilib
--->  Configuring cgilib
--->  Building cgilib
Error: org.macports.build for port cgilib returned: command execution failed
Please see the log file for port cgilib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cgilib failed

The log reads:

version:1
:debug:main epoch: in tree: 1 installed: 1
:debug:main autoconf 2.69_2 exists in the ports tree
:debug:main autoconf 2.69_2  is the latest installed
:debug:main autoconf 2.69_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/rsync.macports.org/release/tarballs/ports/devel/autoconf
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main only one arch supported, so not adding the default universal variant
: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! autoconf 2.69_2 >= autoconf 2.69_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5 5.12.4_0 exists in the ports tree
:debug:main perl5 5.12.4_0 +perl5_12 is the latest installed
:debug:main perl5 5.12.4_0 +perl5_12 is active
:debug:main Merging existing variants '+perl5_12' into variants
:debug:main new fully merged portvariants: perl5_12 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Executing variant perl5_12 provides perl5_12
: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! perl5 5.12.4_0 >= perl5 5.12.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5.12 5.12.4_2 exists in the ports tree
:debug:main perl5.12 5.12.4_2  is the latest installed
:debug:main perl5.12 5.12.4_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/rsync.macports.org/release/tarballs/ports/lang/perl5.12
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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! perl5.12 5.12.4_2 >= perl5.12 5.12.4_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main gdbm 1.10_2 exists in the ports tree
:debug:main gdbm 1.10_2  is the latest installed
:debug:main gdbm 1.10_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/rsync.macports.org/release/tarballs/ports/databases/gdbm
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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! gdbm 1.10_2 >= gdbm 1.10_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.3.1_1 exists in the ports tree
:debug:main gettext 0.18.3.1_1 +universal is the latest installed
:debug:main gettext 0.18.3.1_1 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
: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 compiler clang 425.0.28 not blacklisted because does not match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
: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! gettext 0.18.3.1_1 >= gettext 0.18.3.1_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 +universal is the latest installed
:debug:main expat 2.1.0_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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 Executing variant universal provides universal
: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
: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 +universal is the latest installed
:debug:main libiconv 1.14_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
: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 universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
: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! 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 +universal is the latest installed
:debug:main ncurses 5.9_2 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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 Executing variant universal provides universal
: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! ncurses 5.9_2 >= ncurses 5.9_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main m4 1.4.16_0 exists in the ports tree
:debug:main m4 1.4.16_0  is the latest installed
:debug:main m4 1.4.16_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/devel/m4
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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! m4 1.4.16_0 >= m4 1.4.16_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main automake 1.14_0 exists in the ports tree
:debug:main automake 1.14_0  is the latest installed
:debug:main automake 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/rsync.macports.org/release/tarballs/ports/devel/automake
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main only one arch supported, so not adding the default universal variant
: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! automake 1.14_0 >= automake 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libtool 2.4.2_3 exists in the ports tree
:debug:main libtool 2.4.2_3  is the latest installed
:debug:main libtool 2.4.2_3  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/devel/libtool
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) 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! libtool 2.4.2_3 >= libtool 2.4.2_3
:msg:main --->  Computing dependencies for cgilib:info:main .:debug:main cgilib has no conflicts
:debug:main Searching for dependency: autoconf
:debug:main Found Dependency: receipt exists for autoconf
:debug:main Searching for dependency: automake
:debug:main Found Dependency: receipt exists for automake
:debug:main Searching for dependency: libtool
:debug:main Found Dependency: receipt exists for libtool
:msg:main 
:debug:main Executing org.macports.main (cgilib)
: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 (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (cgilib)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Sep 19 15:24:57 CDT 2013
:notice:build --->  Building cgilib
:debug:build Executing org.macports.build (cgilib)
: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_www_cgilib/cgilib/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_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/work/cgilib-0.7" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/work/cgilib-0.7" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/work/cgilib-0.7'
:info:build  cd . && automake-1.14 --foreign 
:info:build configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
:info:build configure.ac:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
:info:build configure.ac:6: error: required file './compile' not found
:info:build configure.ac:6:   'automake --add-missing' can install 'compile'
:info:build make: *** [Makefile.in] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/work/cgilib-0.7'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/work/cgilib-0.7" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port cgilib returned: command execution failed
:debug:build Error code: CHILDSTATUS 27857 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 cgilib: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port cgilib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/main.log

Attachments (1)

main.log (14.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (6)

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

Keywords: install removed
Summary: cgilib installation failurecgilib: build failure: error: required file './compile' not found

This log is incomplete, but I can confirm the issue and I'll attach a complete log.

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Fixed in r111387.

comment:3 Changed 11 years ago by mikeegg1@…

What am I missing to try this fix? My effort so far is:

dagny:clisp-2.49 mikee$ sudo port clean cgilib
--->  Cleaning cgilib
dagny:clisp-2.49 mikee$ sudo port install cgilib
--->  Computing dependencies for cgilib
--->  Fetching archive for cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cgilib
--->  Fetching distfiles for cgilib
--->  Verifying checksums for cgilib
--->  Extracting cgilib
--->  Configuring cgilib
--->  Building cgilib
Error: org.macports.build for port cgilib returned: command execution failed
Please see the log file for port cgilib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_cgilib/cgilib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cgilib failed
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 in reply to:  3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mikeegg1@…:

What am I missing to try this fix?

Run "sudo port selfupdate"

comment:5 Changed 11 years ago by mikeegg1@…

Works. Thanks.

dagny:clisp-2.49 mikee$ sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.2.0 installed,
MacPorts base version 2.2.0 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
dagny:clisp-2.49 mikee$ sudo port upgrade outdated
Password:
Nothing to upgrade.
dagny:clisp-2.49 mikee$ sudo port install cgilib
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for cgilib
--->  Fetching archive for cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/cgilib
--->  Attempting to fetch cgilib-0.7_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cgilib
--->  Fetching distfiles for cgilib
--->  Verifying checksums for cgilib
--->  Extracting cgilib
--->  Applying patches to cgilib
--->  Configuring cgilib
--->  Building cgilib
--->  Staging cgilib into destroot
--->  Installing cgilib @0.7_0
--->  Activating cgilib @0.7_0
--->  Cleaning cgilib
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.