Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#9730 closed defect (wontfix)

The port gcj34 fails to compile

Reported by: rich@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: blb@…, gwright@…
Port:

Description

I'll attach (assuming I can once I get past this screen...) a text file containing the full debug output of the install attempt, along with various other information requested on the Wiki when reporting bugs.

Change History (8)

comment:1 Changed 18 years ago by rhwood@…

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

Assigning to maintainer.

comment:2 Changed 18 years ago by blb@…

Does the current revision for gcc34 (3.4.6 revision 1) build for you? gcj34 will be going away since gcc34 now builds java as well, and the dependency for pdftk will be updated accordingly, once I can test it.

comment:3 Changed 18 years ago by rich@…

(In reply to comment #3)

Does the current revision for gcc34 (3.4.6 revision 1) build for you? gcj34 will be going away since gcc34 now builds java as well, and the dependency for pdftk will be updated accordingly, once I can test it.

Just tried to install gcc34 for this... here is the result:

109 $ sudo port -vd install gcc34 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: 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: Skipping completed com.apple.main (gcc34) DEBUG: Skipping completed com.apple.unarchive (gcc34) DEBUG: Skipping completed com.apple.fetch (gcc34) DEBUG: Skipping completed com.apple.checksum (gcc34) DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 DEBUG: Skipping completed com.apple.extract (gcc34) DEBUG: Skipping completed com.apple.patch (gcc34) ---> Configuring gcc34 DEBUG: Executing com.apple.configure (gcc34) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/build" && CC=/usr/bin/gcc-3.3 /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/gcc-3.4.6/configure --prefix=/opt/local --enable-languages=c,c++,f77,objc,java --libdir=/opt/local/lib/gcc-3.4 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-system-zlib --disable-nls --program-suffix=-dp-3.4 --with-local-prefix=/opt/local --with-gxx-include-dir=/opt/local/include/gcc-3.4/c++/' loading cache ./config.cache checking host system type... i686-apple-darwin8.7.1 checking target system type... i686-apple-darwin8.7.1 checking build system type... i686-apple-darwin8.7.1 checking for a BSD compatible install... /usr/bin/install -c * This configuration is not supported in the following subdirectories:

target-libobjc target-libffi target-boehm-gc target-zlib target-libjava

(Any other directories should still work fine.)

gcc-3.3: installation problem, cannot exec `cc1': No such file or directory gcc-3.3: installation problem, cannot exec `cc1': No such file or directory * The command '/usr/bin/gcc-3.3 -o conftest -g conftest.c' failed. * You must set the environment variable CC to a working compiler. Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/build" && CC=/usr/bin/gcc-3.3 /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc34/work/gcc-3.4.6/configure --prefix=/opt/local --enable-languages=c,c++,f77,objc,java --libdir=/opt/local/lib/gcc-3.4 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-system-zlib --disable-nls --program-suffix=-dp-3.4 --with-local-prefix=/opt/local --with-gxx-include-dir=/opt/local/include/gcc-3.4/c++/" returned error 1 Command output: loading cache ./config.cache checking host system type... i686-apple-darwin8.7.1 checking target system type... i686-apple-darwin8.7.1 checking build system type... i686-apple-darwin8.7.1 checking for a BSD compatible install... /usr/bin/install -c * This configuration is not supported in the following subdirectories:

target-libobjc target-libffi target-boehm-gc target-zlib target-libjava

(Any other directories should still work fine.)

gcc-3.3: installation problem, cannot exec `cc1': No such file or directory gcc-3.3: installation problem, cannot exec `cc1': No such file or directory * The command '/usr/bin/gcc-3.3 -o conftest -g conftest.c' failed. * You must set the environment variable CC to a working compiler.

Warning: the following items did not execute (for gcc34): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:4 Changed 18 years ago by blb@…

Cc: blb@… gwright@… added
Owner: changed from blb@… to darwinports-bugs@…

Ah, this would be the gcc3 on Intel-based machines problem; Apple didn't ship a working gcc 3.x compiler, just 4.x, but building a given gcc with a newer one (eg, gcc 3.4 with 4.0) isn't supported. Because of this, gcc34 forces the use of the (non-functional on Intel) gcc 3.3 to build. Hence the failure.

If you only need it for pdftk, use the +gcc40 variant to build with that instead. Otherwise, if you truly need 3.4 for something, I'm not sure of the solution.

comment:5 Changed 18 years ago by rich@…

I'm afraid that doesn't seem to be an option, either, as it also fails. Thinking that I may have to explicitly install gcc 4 via ports first (even though Apple ships it), I tried to do a port install of gcc40. Failed. So I tried gcc41. Also failed.

Oh, well. I do only need this for pdftk... which is something I don't really need all that much -- just wanted to play with it.

comment:6 Changed 17 years ago by pipping@…

Milestone: Port Bugs

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

Resolution: wontfix
Status: newclosed

wontfix the gcj34 port because pdftk compiles just fine on Intel and PowerPC Macs using gcc42, which has been the default for pdftk since r25014.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.