Opened 12 years ago

Closed 12 years ago

#34509 closed defect (wontfix)

fail to upgrade openjdk6_bootstrap b16-r1_0 with broken files

Reported by: flier.lu@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: rev-upgrade Cc: neverpanic (Clemens Lang), frank@…, gnw3, lisheridan@…, pellekrogholt@…, gallomimia@…, tuoyo.ekperigin@…, john@…, mparchet@…, mel.pullen@…, mr.buob@…, imran077@…, andrewbass@…, supermanberger@…, brunosimioni@…, dave@…, piotr1212@…, cooljeanius (Eric Gallager), feanor981@…
Port: openjdk6_bootstrap

Description (last modified by neverpanic (Clemens Lang))

$ sudo port -d -y rev-upgrade > port.bug
Password:
DEBUG: Copying /Users/flier/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: skipping ppc in /Applications/MacPorts/Pallet.app/Contents/Frameworks/Growl.framework/Versions/A/Growl since this system can't run it anyway
DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/Pallet.app/Contents/MacOS/Pallet
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/bugpoint
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llc
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/lli
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-ar
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-as
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-bcanalyzer
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-cov
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-diff
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-dis
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-dwarfdump
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-extract
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-ld
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-link
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-mc
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-nm
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-objdump
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-prof
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-ranlib
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-rtdyld
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/llvm-size
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/macho-dump
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/llvm-3.0/bin/opt
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/libexec/ld64/ld
DEBUG: Missing architecture arm in file /usr/lib/libc++abi.dylib
DEBUG: Missing architecture arm in file outside prefix referenced from /opt/local/lib/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/libstdc++.dylib
DEBUG: Missing architecture arm in file /usr/lib/libSystem.B.dylib
DEBUG: Missing architecture arm in file outside prefix referenced from /opt/local/lib/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/libstdc++.dylib
DEBUG: skipping ppc in /opt/local/share/cmake-2.8/Modules/CPack.OSXScriptLauncher.in since this system can't run it anyway
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libattach.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libattach.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libfontmanager.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libfontmanager.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libfontmanager.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2gss.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2gss.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2pcsc.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2pcsc.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2pkcs11.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libj2pkcs11.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjaas_unix.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjaas_unix.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjava.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjava.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjpeg.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjpeg.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjsound.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libjsound.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/liblcms.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/liblcms.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/liblcms.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libmanagement.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libmanagement.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libmlib_image.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libmlib_image.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libnet.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libnet.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libnio.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libnio.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/librmi.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/librmi.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libunpack.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libunpack.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libverify.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libzip.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/libzip.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/xawt/libmawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/xawt/libmawt.dylib as broken
DEBUG: Missing architecture i386 in file /opt/local/lib/libXi.6.dylib
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/xawt/libmawt.dylib as broken
DEBUG: Missing architecture i386 in file /opt/local/lib/libXtst.6.dylib
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/xawt/libmawt.dylib as broken
DEBUG: Marking /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/xawt/libmawt.dylib as broken
DEBUG: Processing port openjdk6_bootstrap @0:b16-r1_0  
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: openjdk6_bootstrap b16-r1_0 exists in the ports tree
DEBUG: openjdk6_bootstrap b16-r1_0  is the latest installed
DEBUG: openjdk6_bootstrap b16-r1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/openjdk6_bootstrap
DEBUG: OS darwin/11.4.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Not following dependencies
DEBUG: Rebuilding port openjdk6_bootstrap finished with status 0
Warning: If this was no dry run, rev-upgrade would now run the checks again to find unresolved and newly created problems

Attachments (1)

openjdk6_bootstrap.log (371.2 KB) - added by dave@… 12 years ago.

Download all attachments as: .zip

Change History (29)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: cal@… added
Description: modified (diff)
Keywords: rev-upgrade added
Owner: changed from macports-tickets@… to landonf@…

Please remember to use WikiFormatting, preview your post and Cc the maintainer.

Apparently the openjdk6_bootstrap port downloads precompiled binaries that have missing dependencies. This is a perfect example of a port that we might want to exclude from the rev-upgrade checks, because I don't think this is fixable.

comment:2 Changed 12 years ago by neverpanic (Clemens Lang)

Actually, after taking an in-depth look, I think rev-upgrade's claim here is valid:

  • e.g. /opt/local/share/java/openjdk6_bootstrap/bin/appletviewer is i386, and references /opt/local/lib/libX11.6.dylib, which is present, but not i386 on my system.
  • some files reference non-existant files, e.g. /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib links against /opt/local/var/macports/build/_data_Users_landonf_Documents_Code_MacPorts_macports-trunk_dports_java_openjdk6/work/build/bsd-i586/lib/i386/libjava.dylib. Those paths should be fixed using install_name_tool(1).
  • some files link against relative paths, e.g. /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib against libjvm.dylib. Those should be changed to absolute paths using install_name_tool(1) where possible.

I'm not sure this has ever worked on a non-i386 macports or in a macports installation with different prefix than /opt/local.

comment:3 Changed 12 years ago by frank@…

Cc: frank@… added

Cc Me!

comment:4 Changed 12 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:5 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: lisheridan@… gallomimia@… pellekrogholt@… added

Has duplicate #34793.

comment:6 Changed 12 years ago by gallomimia@…

Cc: gallomimia@… removed

Cc Me!

comment:7 Changed 12 years ago by gallomimia@…

Cc: gallomimia@… added

Cc Me!

comment:8 Changed 12 years ago by tuoyo.ekperigin@…

Cc: tuoyo.ekperigin@… added

Cc Me!

comment:9 Changed 12 years ago by john@…

Cc: john@… added

Cc Me!

comment:10 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:11 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… removed

Cc Me!

comment:12 Changed 12 years ago by mparchet@…

Cc: mparchet@… added

Cc Me!

comment:13 Changed 12 years ago by mparchet@…

Bonjour,

It seems that is a port file error. it should be consider a script update.

Can you help me please ?

Best regards

mparchet

comment:14 Changed 12 years ago by mel.pullen@…

Cc: mel.pullen@… added

Cc Me!

comment:15 Changed 12 years ago by mr.buob@…

Cc: mr.buob@… added

Cc Me!

comment:16 Changed 12 years ago by imran077@…

Cc: imran077@… added

Cc Me!

comment:17 Changed 12 years ago by andrewbass@…

Cc: andrewbass@… added

Cc Me!

comment:18 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: supermanberger@… added
Port: openjdk6_bootstrap added; openjdk6 removed

Has duplicate #36631.

comment:19 in reply to:  2 Changed 12 years ago by supermanberger@…

Replying to cal@…:

Actually, after taking an in-depth look, I think rev-upgrade's claim here is valid:

  • e.g. /opt/local/share/java/openjdk6_bootstrap/bin/appletviewer is i386, and references /opt/local/lib/libX11.6.dylib, which is present, but not i386 on my system.
  • some files reference non-existant files, e.g. /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib links against /opt/local/var/macports/build/_data_Users_landonf_Documents_Code_MacPorts_macports-trunk_dports_java_openjdk6/work/build/bsd-i586/lib/i386/libjava.dylib. Those paths should be fixed using install_name_tool(1).
  • some files link against relative paths, e.g. /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386/headless/libmawt.dylib against libjvm.dylib. Those should be changed to absolute paths using install_name_tool(1) where possible.

I'm not sure this has ever worked on a non-i386 macports or in a macports installation with different prefix than /opt/local.

Sorry, I can't follow your answer, so I need to use the install_name_tool to do what? I've never used this command and the syntax for it has me baffled. Is this a fixable problem?

comment:20 Changed 12 years ago by cbsmith@…

Hit by this too. About ready to abandon macports for anything Java related.

comment:21 Changed 12 years ago by landonf (Landon Fuller)

The OpenJDK ports predate the official Oracle Mac-Port entirely. The bootstrap port is likely unnecessary now, and the main openjdk6 port should be replaced with an openjdk7 port -- Oracle has never officially supported openjdk6 on Mac OS X, so unless someone else wants to step into the role of JDK hacking, it's a *lot* of work to keep it running, and I'm unlikely to have time to do so.

I would be happy to look at patches or offer any advice I can on bringing over openjdk7 (or updating openjdk6, if you're feeling a bit more brave).

Last edited 12 years ago by landonf (Landon Fuller) (previous) (diff)

comment:22 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: brunosimioni@… added

Has duplicate #37248.

comment:23 Changed 12 years ago by dave@…

It appears that the maintainer's name (landonf) and paths on his/her machine are hardcoded into some of the files in the binary package. At least, I don't see any of this information in the Portfile and they are showing up in the build output. Please search the attached log for "landonf" and it will be apparent.

Changed 12 years ago by dave@…

Attachment: openjdk6_bootstrap.log added

comment:24 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dave@… added

Has duplicate #37521.

comment:25 Changed 12 years ago by piotr1212@…

Cc: piotr1212@… added

Cc Me!

comment:26 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:27 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: feanor981@… added

Has duplicate #37914.

comment:28 Changed 12 years ago by landonf (Landon Fuller)

Resolution: wontfix
Status: newclosed

openjdk6 is no longer supported and has been removed from the tree. The port may re-emerge if someone wants to get the (upstream supported) OpenJDK7 working.

Note: See TracTickets for help on using tickets.