Opened 18 years ago

Closed 18 years ago

Last modified 8 years ago

#7131 closed defect (fixed)

Monotone port appears to be broken (and out of date)

Reported by: luc@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port: monotone

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

Tried to install monotone today (which by the way is still at 0.23 while the current version is 0.25) and while build process appeared to went fine I ended up with a broken executable, which when invoked leads to this error message:

dyld: Library not loaded: libboost_regex-1_33.dylib
  Referenced from: /opt/local/bin/monotone
  Reason: image not found
zsh: trace trap  monotone

The boost libraries are correctly installed and shows up in ${prefix}/lib.

Looking closer at the monotone executable shows that the boost libraries aren't correctly referenced:

% otool -L /opt/local/bin/monotone                                                                      [~]
/opt/local/bin/monotone:
        /opt/local/lib/libiconv.2.dylib (compatibility version 6.0.0, current version 6.0.0)
        /opt/local/lib/libintl.3.dylib (compatibility version 8.0.0, current version 8.3.0)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
        libboost_regex-1_33.dylib (compatibility version 0.0.0, current version 0.0.0)
        libboost_date_time-1_33.dylib (compatibility version 0.0.0, current version 0.0.0)
        libboost_filesystem-1_33.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.3.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.2)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

I can workaround this problem by setting DYLD_LIBRARY_PATH but I guess that the problem still remains.

Attachments (2)

Portfile.diff (259 bytes) - added by andrewmy@… 18 years ago.
Portfile patch for monotone 25.2
Portfile.2.diff (797 bytes) - added by andrewmy@… 18 years ago.
Ok, the actual patch using diff -u

Download all attachments as: .zip

Change History (7)

comment:1 Changed 18 years ago by blb@…

Owner: changed from darwinports-bugs@… to toby@…

Assigning to maintainer.

comment:2 Changed 18 years ago by toby@…

This looks like a problem with boost.

Changed 18 years ago by andrewmy@…

Attachment: Portfile.diff added

Portfile patch for monotone 25.2

comment:3 Changed 18 years ago by andrewmy@…

(From update of attachment 7244)

--- Portfile.old        2006-03-22 13:07:30.000000000 -0500
+++ Portfile    2006-03-22 21:23:31.000000000 -0500
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name             monotone
-version          0.23
+version          0.25.2
 categories       devel
 maintainers      toby@opendarwin.org
 description      A distributed version control system
@@ -15,7 +15,8 @@
 homepage         http://www.venge.net/monotone/
 platforms        darwin
 master_sites     ${homepage}downloads/
-checksums        sha1 77408bbd7bb58f4ed8af4c5708039065ce12faa9
+checksums        sha1 84eb3490c261728b0e3d4ece7eb3fb59cd8fe327 \
+                 md5 108c18666ce6ff9c05643f923027de8e
 depends_lib      lib:XXX:boost
 configure.env    LDFLAGS=-L${prefix}/lib
 configure.args   --infodir=${prefix}/share/info --mandir=${prefix}/share/man
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 18 years ago by andrewmy@…

Attachment: Portfile.2.diff added

Ok, the actual patch using diff -u

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

The boost problem that generated the errors was fixed: #7221. Committed a monotone version update to 0.26. Thanks!

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: monotone added
Note: See TracTickets for help on using tickets.