Opened 10 years ago

Closed 10 years ago

#45641 closed defect (wontfix)

db48 4.8.30 +java fails to build against Java 1.4

Reported by: geoffd2 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: tiger Cc: jmroot (Joshua Root)
Port: db48

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

Tried to install twice (once as a dep of another package, once standalone) with the same result:

Error: org.macports.build for port db48 returned: command execution failed

Definitely running 'port' as root, so not sure about the 'privilege escalation/de-escalations'.

Logfile attached.

I do have /usr/bin/java:

"java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)"

if that is what is causing a conflict: there are no packages for db48-4.8.30_3+java.darwin_8.ppc on macports' servers though (see the log).

Thanks.

Attachments (2)

main.log (268.8 KB) - added by geoffd2 10 years ago.
Portfile.diff (479 bytes) - added by jmroot (Joshua Root) 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by geoffd2

Attachment: main.log added

Changed 10 years ago by jmroot (Joshua Root)

Attachment: Portfile.diff added

comment:1 Changed 10 years ago by jmroot (Joshua Root)

I can’t test on ppc/Tiger, but try this.

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

Description: modified (diff)
Keywords: tiger added; Tiger removed

if that is what is causing a conflict: there are no packages for db48-4.8.30_3+java.darwin_8.ppc on macports' servers though (see the log).

The earliest OS X version MacPorts offers packages for is 10.6 Snow Leopard.

comment:3 in reply to:  1 ; Changed 10 years ago by geoffd2

Replying to jmr@…:

I can’t test on ppc/Tiger, but try this.

Thanks, after I've patched the Portfile, do I just use the normal sudo port install db48 or do I have to follow other steps?

I don't think anything uses java, so it could be removed (I'd need instructions for that too).

comment:4 in reply to:  3 ; Changed 10 years ago by jmroot (Joshua Root)

Replying to geoffdown@…:

Replying to jmr@…:

I can’t test on ppc/Tiger, but try this.

Thanks, after I've patched the Portfile, do I just use the normal sudo port install db48

Yes. You could even just not patch the Portfile and try installing without the java variant :

sudo port install db48 -java

Apparently Java 1.5 is available for Tiger, so you could also try installing it.

comment:5 in reply to:  4 Changed 10 years ago by geoffd2

Replying to jmr@…:

Replying to geoffdown@…:

Replying to jmr@…:

I can’t test on ppc/Tiger, but try this.

Thanks, after I've patched the Portfile, do I just use the normal sudo port install db48

Yes. You could even just not patch the Portfile and try installing without the java variant :

sudo port install db48 -java

Apparently Java 1.5 is available for Tiger, so you could also try installing it.

I'd already patched the file, but sudo port install db48 -java worked after that, thanks.

comment:6 Changed 10 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed
Summary: db48 4.8.30 build failure OSXPPCdb48 4.8.30 +java fails to build against Java 1.4

I’m sure it's possible to check the java version and disable the variant accordingly, but I’m not inclined to put in the effort for a problem that only affects Tiger.

Note: See TracTickets for help on using tickets.