Opened 18 years ago

Closed 18 years ago

#9226 closed defect (fixed)

octave build script incorrectly tries to use gcc 3.4 on Intel Macs

Reported by: brand@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

The install script for octave specifies a variant for darwin_8 that uses gcc40 instead of gcc34 (according to http://article.gmane.org/gmane.os.opendarwin.darwinports/16957 this is necessary for octave to work on Intel Macs). The port command acknowledges this variant but then ignores it and tries to install and use gcc 3.4.

I am trying this on a new MacBook with the latest of everything:

Darwin Kernel Version 8.6.2: Thu Apr 13 18:48:29 PDT 2006; root:xnu-792.9.59.obj~1/RELEASE_I386 i386 i386

DarwinPorts version 1.211

Xcode version 2.3

gcc version 4.0.1 (Apple Computer, Inc. build 5341

# port -d install octave

DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/octave DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/octave DEBUG: Requested variant darwin is not provided by port octave. DEBUG: Requested variant i386 is not provided by port octave. DEBUG: Requested variant macosx is not provided by port octave. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Executing variant test provides test DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/readline DEBUG: Searching for dependency: readline DEBUG: Found Dependency: receipt exists for readline DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/science/hdf5 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/science/hdf5 DEBUG: Searching for dependency: hdf5 DEBUG: Found Dependency: receipt exists for hdf5 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/fftw-3 DEBUG: Searching for dependency: fftw-3 DEBUG: Found Dependency: receipt exists for fftw-3 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/texinfo DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/texinfo DEBUG: Searching for dependency: texinfo DEBUG: Found Dependency: receipt exists for texinfo DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/print/teTeX DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/print/teTeX DEBUG: Searching for dependency: teTeX DEBUG: Found Dependency: receipt exists for teTeX DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/gcc34 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/gcc34 DEBUG: Searching for dependency: gcc34 DEBUG: Didn't find receipt, going to depspec regex for: gcc34 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/dejagnu DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/dejagnu DEBUG: Searching for dependency: dejagnu DEBUG: Found Dependency: receipt exists for dejagnu DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/gnuplot DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/math/gnuplot DEBUG: Searching for dependency: gnuplot DEBUG: Found Dependency: receipt exists for gnuplot DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/gcc40 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/gcc40 DEBUG: Searching for dependency: gcc40 DEBUG: Didn't find receipt, going to depspec regex for: gcc40 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gmp DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gmp DEBUG: Searching for dependency: gmp DEBUG: Found Dependency: receipt exists for gmp DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/mpfr DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/mpfr DEBUG: Searching for dependency: mpfr DEBUG: Found Dependency: receipt exists for mpfr DEBUG: Requested variant darwin is not provided by port gcc34. DEBUG: Requested variant i386 is not provided by port gcc34. DEBUG: Requested variant macosx is not provided by port gcc34. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Executing com.apple.main (gcc34) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/i386/gcc34-3.4.6_0+darwin_8.i386.tgz DEBUG: Skipping unarchive (gcc34) since no archive found DEBUG: Skipping completed com.apple.unarchive (gcc34) ---> Fetching gcc34 DEBUG: Executing com.apple.fetch (gcc34) ---> gcc-3.4.6.tar.bz2 doesn't seem to exist in /opt/local/var/db/dports/distfiles/gcc34 ---> Attempting to fetch gcc-3.4.6.tar.bz2 from ... C

By the way, I also tried to install gcc40 but that failed due to a compiler error. I'll report that elsewhere.

Attachments (1)

errs (8.3 KB) - added by brand@… 18 years ago.
output of sudo port -d install octave >/tmp/errs 2>&1

Download all attachments as: .zip

Change History (6)

comment:1 Changed 18 years ago by gwright@…

Owner: changed from darwinports-bugs@… to gwright@…

Should be fixed. The gcc34 dependency had crept into two places; only one was changed for builds on Tiger (darwin 8). Thus DP went off trying to build both gcc34 and gcc40.

Wait a few hours, update, let me know if it works. (At least to the extent that it doesn't build gcc34. I don't know about the gcc40 issue.)

-Greg

comment:2 Changed 18 years ago by gwright@…

severity: blockernormal
Status: newassigned

Change severity: blocker -> normal

(In DP usage, "blocker" means "prevents any ports at all from building".)

Changed 18 years ago by brand@…

Attachment: errs added

output of sudo port -d install octave >/tmp/errs 2>&1

comment:3 Changed 18 years ago by m@…

(In reply to comment #3)

Created an attachment (id=8740) [edit] output of sudo port -d install octave >/tmp/errs 2>&1

Wasn't able to install gcc41 or gcc40, but gcc42 did install. Unfortunately it has a problem with one of the source files for octave.

I got the same error.

comment:4 Changed 18 years ago by m@…

I suggest the maintainer close this bug as octave no longer tries to use gcc 3.4.

I will be opening a new bug regarding the new problem.

comment:5 Changed 18 years ago by markd@…

Resolution: fixed
Status: assignedclosed

Closing as per comments above.

Note: See TracTickets for help on using tickets.