Opened 14 years ago

Last modified 9 years ago

#26676 new defect

cm3 5.2.6 - failed to find cm3/system.tgz to open

Reported by: vulcan_@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: cooljeanius (Eric Gallager), jhi
Port: cm3

Description

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 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

Change History (10)

comment:1 Changed 14 years ago by vulcan_@…

Cc: vulcan_@… added

Cc Me!

comment:2 Changed 14 years ago by vulcan_@…

i had to fool around with bash to find the debug trace .. but i got it. sysinfo.sh is working fine. the detection of PPC_DARWIN is happening much later when the first attempt to build a package happens:

+ for PKG in '${PKGS}'
+ echo '=== package m3-libs/m3gc-simple ==='
=== package m3-libs/m3gc-simple ===
+ exec_cmd m3-libs/m3gc-simple
+ echo ' +++ /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/cm3 -build -DROOT='\''/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/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'\''  +++'
 +++ /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/cm3 -build -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/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'  +++
+ '[' '' = yes ']'
+ /bin/sh -c 'cd m3-libs/m3gc-simple && /opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/cm3 -build -DROOT='\''/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/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 ---

 -> 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

note that i am running this from the command line with this

 ./scripts/pkgmap.sh -c "/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/cm3 -build -DROOT='/opt/local/var/macports/build/_Volumes_10.5var_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_cm3/work/bootstrap/bin/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

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Cc: vulcan_@… removed
Port: cm3 added

Please remember to fill in the Port field.

comment:4 Changed 14 years ago by vulcan_@…

Cc: vulcan_@… added

Cc Me!

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

The cm3 port has not been materially updated since r7978 six years ago; it's unsurprising it's broken. Perhaps it can be updated to the latest version of the software, which appears to be 5.8.6.

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

Cc: vulcan_@… removed

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Their web site says the only supported architecture on Mac OS X is 32-bit PowerPC; that's not promising.

comment:8 Changed 14 years ago by vulcan_@…

well that is fine for me .. my MacBook 13 only has a Intel Duo Core .. only 32 bits in this baby.

I will have a look at what it will take to update to the 5.8.6 version .. unless you guys beat me to it. Is there an official maintainer for this puppy?

comment:9 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jhi@… added

Has duplicate #49770.

Note: See TracTickets for help on using tickets.