Opened 14 years ago

Closed 13 years ago

#26607 closed defect (wontfix)

gcj34 won't compile

Reported by: jklymak@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cdeil (Christoph Deil)
Port: gcj34

Description (last modified by ryandesign (Ryan Carsten Schmidt))

trying to insall pdftk

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1095: error: expected expression before ',' token
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build/../gcc/gcc.c:1506: warning: string length '833' is greater than the length '509' ISO C90 compilers are required to support
:info:build make[2]: *** [gcc.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [stage1_build] Error 2
:info:build make: *** [bootstrap-lean] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/work/gcc-3.4.6/build" && /usr/bin/make -j2 bootstrap-lean " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gcj34): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for gcj34 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcj34/main.log

Attachments (1)

main.log (94.6 KB) - added by jklymak@… 14 years ago.
log

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by jklymak@…

Attachment: main.log added

log

comment:1 Changed 14 years ago by jklymak@…

Cc: jklymak@… added

Cc Me!

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

Cc: ryandesign@… added; jklymak@… removed
Description: modified (diff)

Please use WikiFormatting.

gcj34 is ancient; not surprised it won't compile.

The log you've attached is not for gcj34 but for gcc42 and is already covered by #22203.

For the ticket that will soon make pdftk compile again, see #15420.

comment:3 in reply to:  2 Changed 13 years ago by cdeil (Christoph Deil)

Replying to ryandesign@…:

gcj34 is ancient; not surprised it won't compile.

Can the port then be removed now given that the gcj project seems to be dead (in "maintenance mode" since 2009), won't compile and doesn't have a port maintainer?

I'm new to Java and didn't know that, so I tried installing it. On Lion it currently fails with the following error:

:info:patch --->  Applying /opt/local/var/macports/sources/svn.macports.org/trunk/dports/lang/gcj34/files/patch-libjava_libltdl_ltmain.sh
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcj34/gcj34/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcj34/gcj34/work/gcc-3.4.6/build" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcj34/gcj34/work/gcc-3.4.6/build" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/svn.macports.org/trunk/dports/lang/gcj34/files/patch-libjava_libltdl_ltmain.sh'
:info:patch /usr/bin/patch: **** rejecting file name with ".." component: ../libjava/libltdl/ltmain.sh
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gcj34/gcj34/work/gcc-3.4.6/build" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/svn.macports.org/trunk/dports/lang/gcj34/files/patch-libjava_libltdl_ltmain.sh'" returned error 2
:error:patch Target org.macports.patch returned: shell command failed (see log for details)

http://stackoverflow.com/questions/3032727/java-jre-vs-gcj

comment:4 Changed 13 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Deleted, r83778.

Note: See TracTickets for help on using tickets.