#26676: cm3 5.2.6 - failed to find cm3/system.tgz to open -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -----------------------------+---------------------------------------------- cm3 5.2.6 - failed to find cm3/system.tgz to open Mac OS X 10.6.4 {{{ sh-3.2# port -v install cm3 ---> Computing dependencies for cm3. ---> Extracting cm3 ---> Extracting cm3-src-all-5.2.6.tgz tar: Error opening archive: Failed to open '/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3/system.tgz': No such file or directory shell command "tar -C /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap -zxf /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3/system.tgz" returned error 1 Error: Target org.macports.extract returned: shell command failed Warning: the following items did not execute (for cm3): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for cm3 is at: /opt/local/var/macports/logs/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/main.log Error: Status 1 encountered during processing. }}} took a look in the directory .. the bootstrap dir is empty. The cm3 dir is populated so something got unpacked. now here is something interesting .. i went to the [http://modula3.elegosoft.com/cm3/ elego Critical Mass site] and downloaded cm3-bin-core-I386_DARWIN-5.8.6-REL.tgz and when i unpacked it .. lo and behold there is system.tgz so .. i put a copy into the cm3 directory and tried the install cmd again {{{ sh-3.2# port -v install cm3 ---> Computing dependencies for cm3. ---> Extracting cm3 ---> Extracting cm3-src-all-5.2.6.tgz ---> Configuring cm3 ---> Building cm3 /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3/scripts/pkgmap.sh -c "cm3 -build -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3' && cm3 -ship -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3' " m3gc-simple m3core libm3 m3middle m3linker m3front m3quake m3cc cm3 m3scanner m3tools m3cgcat m3cggen m3bundle bitvector digraph parseparams realgeometry set slisp sortedtableextras table-list tempfiles === package /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3/m3-libs /m3gc-simple === +++ cm3 -build -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3' && cm3 -ship -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3' +++ --- building in PPC_DARWIN --- new source -> compiling RTVM.c new source -> compiling sysdeps.c ... }}} blah blah .. the C files compiled and the library built. then {{{ new source -> compiling write.c -> archiving libm3gcdefs.a libtool: can't locate file for: -lcc_dynamic libtool: file: -lcc_dynamic is not an object file (not allowed in a library) make_lib => 1 librarian failed building: m3gcdefs Fatal Error: package build failed *** execution of failed *** shell command "cd /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/cm3/scripts && env PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin ./do-cm3-core.sh buildship" returned error 1 }}} so it unpacked the system.tgz into the bootstrap dir .. i checked .. but the next step failed because a file called cc_dynamic is not an object file .. no idea where that is coming from. i also see that the sysinfo.sh is reading the uname -p command wrongly and so think tha the system is PPC_DARWIN when it should be I386_DARWIN i have not been able to get bash to echo commands for debugging so i don't know why this is -- Ticket URL: <https://trac.macports.org/ticket/26676> MacPorts <http://www.macports.org/> Ports system for Mac OS