Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#30950 closed defect (fixed)

gdbm @1.9.1 update - broken dependencies

Reported by: ak.ml@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: kimuraw (kimura wataru), ghosthound, saispo@…, nerdling (Jeremy Lavergne), macports@…, vinc17@…
Port: gst, perl5.12, ruby, p5-xml-libxslt, perl5.10, perl5.14

Description

The update of gdbm in r82967 has caused some minor broken dependencies:

gst
  /opt/local/lib/smalltalk/gdbm-3.1.so
    /opt/local/lib/libgdbm.3.dylib
perl5.12
  /opt/local/lib/perl5/5.12.3/darwin-multi-2level/auto/GDBM_File/GDBM_File.bundle
    /opt/local/lib/libgdbm.3.dylib
ruby
  /opt/local/lib/ruby/1.8/i386-darwin10/gdbm.bundle
  /opt/local/lib/ruby/1.8/x86_64-darwin10/gdbm.bundle
    /opt/local/lib/libgdbm.3.dylib

So the affected ports are:

  • gst
  • perl5.12
  • ruby
$ port -v installed gdbm gst perl5.12 ruby
The following ports are currently installed:
  gdbm @1.9.1_0+universal (active) platform='darwin 10' archs='i386 x86_64'
  gst @3.1_2+gtk+tcltk (active) platform='darwin 10' archs='x86_64'
  perl5.12 @5.12.3_1+universal (active) platform='darwin 10' archs='i386 x86_64'
  ruby @1.8.7-p352_1+thread_hooks+universal (active) platform='darwin 10' archs='i386 x86_64'

I have a Macintel with 10.6.8.

Change History (18)

comment:1 Changed 11 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

Thanks for the heads up. As you know, all the ones that declared gdbm in their Portfile dependencies got revbumped.

I'll bump these three shortly.

comment:2 Changed 11 years ago by nerdling (Jeremy Lavergne)

saispo: gst does not use gdbm on a clean install.

/opt/local/bin/gst:
	/opt/local/lib/libgst.7.dylib (compatibility version 8.0.0, current version 8.2.0)
	/opt/local/lib/libsigsegv.2.dylib (compatibility version 3.0.0, current version 3.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/opt/local/lib/libffi.5.dylib (compatibility version 6.0.0, current version 6.10.0)
	/opt/local/lib/libreadline.6.2.dylib (compatibility version 6.0.0, current version 6.2.0)
	/opt/local/lib/libgmp.10.dylib (compatibility version 11.0.0, current version 11.2.0)

Seems to be a missing dependency. Let me know if you want me to mark it and revbump.

comment:3 Changed 11 years ago by nerdling (Jeremy Lavergne)

ricci: similarly, perl5.12 is missing the dependency: I don't see any gdbm files for perl5.12 in a clean environment but if I build gdbm first it then gets used.

Want me to add it to the dependency list and revbump?

comment:4 Changed 11 years ago by nerdling (Jeremy Lavergne)

kimuraw, ruby is also missing its dependency on gdbm. let me know if you want me to mark it with the revbump.

comment:5 Changed 11 years ago by kimuraw (kimura wataru)

done: r83045(ruby), r83046(ruby19)

comment:6 Changed 11 years ago by macports@…

zsh(-devel) also depend on gdbm, so they are also affected by this bug.

comment:7 in reply to:  6 ; Changed 11 years ago by macports@…

Replying to macports@…:

zsh(-devel) also depend on gdbm, so they are also affected by this bug.

Sorry, I meant that while zsh-devel have listed gdbm as a dependency, they get broken if gdbm is updated because of another install.

This does not seem like the proper behavior.

comment:8 Changed 11 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:9 in reply to:  7 Changed 11 years ago by ak.ml@…

zsh and zsh-devel were already revbumped (see r82967) so you shouldn't be affected (unless for some mysterious reason zsh was rebuilt before gdbm).
All ports which have a declared gdbm dependency were already revbumped.

comment:10 Changed 11 years ago by vinc17@…

Cc: vinc17@… added

Cc Me!

comment:11 Changed 11 years ago by vinc17@…

I've revbumped p5-xml-libxslt because of the urgency (it was no longer working), but it probably needs a dependency too since /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level/auto/XML/LibXSLT/LibXSLT.bundle uses libgdbm (see bug #31010).

comment:12 Changed 11 years ago by nerdling (Jeremy Lavergne)

revbump and added dependency for gst, r83272.

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

Declaring a dependency in p5-xml-libxslt would be redundant because perl depends on gdbm as shown above.

comment:14 Changed 11 years ago by nerdling (Jeremy Lavergne)

revbump and added dependency for perl5.12, r83275.

added dependency to p5-xml-libxslt, r83276.

comment:15 Changed 11 years ago by jmroot (Joshua Root)

This applies equally to perl5.10 and perl5.14 BTW.

comment:16 Changed 11 years ago by nerdling (Jeremy Lavergne)

Keywords: gst perl5.12 ruby removed
Port: gst perl5.12 ruby p5-xml-libxslt perl5.10 perl5.14 added; gdbm removed

comment:17 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

add dependency and revbump, perl5.10: r83280

add dependency and revbump, perl5.14: r83281

comment:18 in reply to:  13 Changed 11 years ago by vinc17@…

Replying to jmr@…:

Declaring a dependency in p5-xml-libxslt would be redundant because perl depends on gdbm as shown above.

I disagree, because unlike most Perl modules, p5-xml-libxslt has a direct reference to libgdbm. If it doesn't have a dependency on gdbm, then it will not get the necessary revbump when needed (unless the gdbm maintainer remembers to revbump p5-xml-libxslt even though it doesn't have a dependency on gdbm).

Note: See TracTickets for help on using tickets.