Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#37718 closed defect (invalid)

bzip2: /opt/local/lib/libbz2.1.0.dylib already exists and does not belong to a registered port

Reported by: jeepfreak2002@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: bzip2

Description (last modified by mf2k (Frank Schima))

I have followed these instructions on 3 other Mac's and it has always worked:

http://www.davidbaumgold.com/tutorials/wine-mac/

It appears that there is an error installing bzip2.

I have followed all steps and I am now getting this error:

Thank you for your help.

--->  Computing dependencies for wine
--->  Dependencies to be installed: fontconfig freetype bzip2 zlib libiconv gst-plugins-base gnome-vfs desktop-file-utils popt gettext libunistring ncurses gconf dbus-glib dbus gtk2 atk gobject-introspection cairo libpixman libpng lzo2 pkgconfig xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xz xorg-xextproto xorg-xcb-util xrender xorg-renderproto libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Activating bzip2 @1.0.6_0+universal
Error: org.macports.activate for port bzip2 returned: Image error: /opt/local/lib/libbz2.1.0.dylib already exists and does not belong to a registered port.  Unable to activate port bzip2. Use 'port -f activate bzip2' to force the activation.
Error: Failed to install bzip2
Please see the log file for port bzip2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log
Error: The following dependencies were not installed: fontconfig freetype bzip2 zlib libiconv gst-plugins-base gnome-vfs desktop-file-utils popt gettext libunistring ncurses gconf dbus-glib dbus gtk2 atk gobject-introspection cairo libpixman libpng lzo2 pkgconfig xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xz xorg-xextproto xorg-xcb-util xrender xorg-renderproto libffi gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 perl5 perl5.12 gdbm shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison m4 flex gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms libxslt mesa makedepend py27-libxml2 xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed

Change History (4)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Please attach the main.log file that the error message mentions.

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Cc: ryandesign@… added
Description: modified (diff)
Port: bzip2 added
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting, fill in the port field with the failed port, and Cc that port's maintainer(s).

Per the output, you already have a file present for bzip2. So you need to do what it says.

Error: org.macports.activate for port bzip2 returned: Image error: /opt/local/lib/libbz2.1.0.dylib already exists and does not belong to a registered port.  
Unable to activate port bzip2. Use 'port -f activate bzip2' to force the activation.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Failing to port Wine onto iMac running serverbzip2: /opt/local/lib/libbz2.1.0.dylib already exists and does not belong to a registered port

Why does /opt/local/lib/libbz2.1.0.dylib already exist if it does not belong to a registered port? If you do not know, please read: wiki:ProblemHotlist#xmlwf It talks about a different file, but it's the same principle and the advice is the same.

Note: See TracTickets for help on using tickets.