tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

protobuf/protobuf-c woes (not a big deal)



I'm doing pkg_rr, and got failure in postgis, because it runs protoc-c.

  $ ldd /usr/pkg/bin/protoc-c|egrep :\|not
  /usr/pkg/bin/protoc-c:
          -lprotoc.25.2.0 => not found
          -lprotobuf.25.2.0 => not found
          [ many that work :-) ]

  protoc-c is "unsafe_depends_strict" but not "unsafe_depends".

Ine /usr/pkg/lib:

  lrwxr-xr-x  1 root  wheel       19 Mar 26 18:51 /usr/pkg/lib/libprotoc.so -> libprotoc.so.25.3.0
  -rwxr-xr-x  1 root  wheel  4233928 Mar 26 18:51 /usr/pkg/lib/libprotoc.so.25.3.0

  lrwxr-xr-x  1 root  wheel       21 Mar 26 18:51 /usr/pkg/lib/libprotobuf.so -> libprotobuf.so.25.3.0
  -rwxr-xr-x  1 root  wheel  4015104 Mar 26 18:51 /usr/pkg/lib/libprotobuf.so.25.3.0

The conventional wisdom is that 25 is the shlib major.  However, there
are no .25 links, so 25.2.0 to 25.3.0 is a change requiring a revbump.

I'm not sure what the bug is, either:

  A) revbump all depending packages of protobuf on all updates

  B) install .25 symlink and have users use that

B would be true if this followed normal conventions, so I suspect
upstream thinks they know better and that they are super special.

For now, I'm going to bump protobuf-c, and unless anyone wants to
volunteer to do B in the next few weeks, will add a comment to protobuf
that a revbump is needed for all shlib name changes, not just 'major'.



Home | Main Index | Thread Index | Old Index