Opened 18 years ago

Closed 15 years ago

Last modified 15 years ago

#6715 closed defect (worksforme)

Xaw3d: mv: rename libXaw3d.7.0.dylib~ to libXaw3d.7.0.dylib: No such file or directory

Reported by: askg@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Xaw3d Cc: trutane@…
Port: Xaw3d

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

Log file:

GiBook:~ g$ sudo port -d build xemacs                     
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/xemacs
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/editors/xemacs
DEBUG: Requested variant powerpc is not provided by port xemacs.
DEBUG: Requested variant darwin is not provided by port xemacs.
DEBUG: Requested variant macosx is not provided by port xemacs.
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/libpng
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/libpng
DEBUG: Searching for dependency: libpng
DEBUG: Didn't find receipt, going to depspec regex for: libpng
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/Xaw3d
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/Xaw3d
DEBUG: Searching for dependency: Xaw3d
DEBUG: Didn't find receipt, going to depspec regex for: Xaw3d
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Searching for dependency: zlib
DEBUG: Didn't find receipt, going to depspec regex for: zlib
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/XFree86
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/XFree86
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Requested variant powerpc is not provided by port Xaw3d.
DEBUG: Requested variant darwin is not provided by port Xaw3d.
DEBUG: Requested variant macosx is not provided by port Xaw3d.
DEBUG: Skipping completed com.apple.main (Xaw3d)
DEBUG: Skipping completed com.apple.unarchive (Xaw3d)
DEBUG: Skipping completed com.apple.fetch (Xaw3d)
DEBUG: Skipping completed com.apple.checksum (Xaw3d)
DEBUG: Skipping completed com.apple.extract (Xaw3d)
DEBUG: Skipping completed com.apple.patch (Xaw3d)
DEBUG: Skipping completed com.apple.configure (Xaw3d)
--->  Building Xaw3d with target all
DEBUG: Executing com.apple.build (Xaw3d)
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_Xaw3d/work/xc/lib/Xaw3d" && make all'
rm -f libXaw3d.7.0.dylib~
+ cd .
+ /usr/bin/cc -o ./libXaw3d.7.0.dylib~ -dynamiclib -install_name /usr/X11R6/lib/libXaw3d.7.dylib -current_version 7.0 -compatibility_version 7.0 -seg_addr_table_filename /usr/X11R6/lib/libXaw3d.7.0.dylib AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o XawIm.o XawI18n.o -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library)
+ rm -f libXaw3d.7.dylib
+ ln -s libXaw3d.7.0.dylib libXaw3d.7.dylib
+ true
rm -f libXaw3d.7.0.dylib
mv -f libXaw3d.7.0.dylib~ libXaw3d.7.0.dylib
mv: rename libXaw3d.7.0.dylib~ to libXaw3d.7.0.dylib: No such file or directory
make: *** [libXaw3d.7.0.dylib] Error 1
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_Xaw3d/work/xc/lib/Xaw3d" && make all" returned error 2
Command output: rm -f libXaw3d.7.0.dylib~
+ cd .
+ /usr/bin/cc -o ./libXaw3d.7.0.dylib~ -dynamiclib -install_name /usr/X11R6/lib/libXaw3d.7.dylib -current_version 7.0 -compatibility_version 7.0 -seg_addr_table_filename /usr/X11R6/lib/libXaw3d.7.0.dylib AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o XawIm.o XawI18n.o -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library)
+ rm -f libXaw3d.7.dylib
+ ln -s libXaw3d.7.0.dylib libXaw3d.7.dylib
+ true
rm -f libXaw3d.7.0.dylib
mv -f libXaw3d.7.0.dylib~ libXaw3d.7.0.dylib
mv: rename libXaw3d.7.0.dylib~ to libXaw3d.7.0.dylib: No such file or directory
make: *** [libXaw3d.7.0.dylib] Error 1

Warning: the following items did not execute (for Xaw3d): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
Error: The following dependencies failed to build: Xaw3d libpng zlib
Error: /opt/local/bin/port: Status 1 encountered during processing.
GiBook:~ g$

Change History (8)

comment:1 Changed 18 years ago by ben@…

Cc: ben@… removed

comment:2 Changed 18 years ago by trutane@…

Cc: trutane@… added

Here's my experience with this bug. Note that I recently upgraded my port installation (on 9 Aug 2006), and am running MacPorts 1.400.

I am attempting to upgrading my xemacs port (+sumo) from 21.4.17_2 to 21.4.17_3. The previous upgrade from revision 1 worked fine with it, and the dependencies for it have not changed. A possible contributing factor is the that I have since upgraded my X11 SDK installation via Apple's Xcode 2.3 and then 2.4.

To summarize, I was unable to upgrade xemacs +sumo without using force due to trouble with the Xaw3d dependency. My initial attempt to upgrade failed because it 'Could not find a suitable Athena library to build with.'

I noticed that Xaw3d was not installed, but attempting to install it failed because the dylib for it already existed in my Apple X11 installation and it did not belong to any registered port. This caused the Xaw3d port activation step to fail.

I then tried to force the Xaw3d install, as suggested here http://www.opendarwin.org/pipermail/darwinports/2005-February/024308.html but that failed because it was already registered as installed (just not active). I could not uninstall it because xemacs depends on it.

So, in the end, I decided to force upgrade xemacs, which worked, but it produced an error that looks scary:

Error: Uninstall XFree86 4.5.0_2 failed: Registry error: XFree86 4.5.0_2 not registered as installed.

Here's the blow-by-blow:

First, the initial attempt (note that I already had xemacs +sumo installed. I probably should have used upgrade rather than install, but this is what I did when upgrading from revision 1 -> 2, which worked without problems.)

% sudo port install xemacs +sumo ---> Fetching xemacs ---> Verifying checksum(s) for xemacs ---> Extracting xemacs ---> Configuring xemacs Error: Target com.apple.configure returned: configure failure: shell command "cd "/op t/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports. org_dpupdate_dports_editors_xemacs/work/xemacs-21.4.17" && ./configure --prefix=/opt/ local --with-dialogs=athena --with-widgets=athena --with-athena=3d --without-postgres ql --without-ldap --with-sound=none --pdump --site-prefixes=/opt/local --with-tty" re turned error 1 Command output: checking for tt_c.h... no checking for Tt/tt_c.h... no checking for desktop/tt_c.h... no checking for Dt/Dt.h... no configure: warning: No CDE without generic Drag'n'Drop support configure: warning: No OffiX without generic Drag'n'Drop support checking for LDAP checking for graphics libraries checking for Xpm - no older than 3.4f... yes checking for "FOR_MSW" xpm... no checking for compface.h... no checking for inflate in -lc... no checking for inflate in -lz... yes checking for jpeglib.h... yes checking for jpeg_destroy_decompress in -ljpeg... yes checking for pow... yes checking for png.h... yes checking for png_read_image in -lpng... yes checking for workable png version information... yes checking for tiffio.h... yes checking for TIFFClientOpen in -ltiff... yes checking for X11 graphics libraries checking for the Athena widgets checking for Xaw3dComputeBottomShadowRGB in -lXaw3d... yes checking for X11/Xaw3d/XawInit.h... no checking for Xaw3d/XawInit.h... no checking for X11/Xaw/ThreeD.h... no configure: warning: Could not find a suitable 3d Athena header set. checking for Xm/Xm.h... no Error: Could not find a suitable Athena library to build with.

Error: Status 1 encountered during processing.

Then, my attempt to install Xaw3d:

% sudo port installed Xaw3d Port Xaw3d is not installed. No ports are installed.

% sudo port install Xaw3d ---> Fetching Xaw3d ---> Attempting to fetch Xaw3d-1.5E.tar.gz from ftp://ftp.visi.com/users/hawkeyd/X/ ---> Verifying checksum(s) for Xaw3d ---> Extracting Xaw3d ---> Configuring Xaw3d ---> Building Xaw3d with target all ---> Staging Xaw3d into destroot ---> Packaging tgz archive for Xaw3d 1.5E_0 ---> Installing Xaw3d 1.5E_0 ---> Activating Xaw3d 1.5E_0 Error: Target com.apple.activate returned: Image error: /usr/X11R6/lib/libXaw3d.7.0.dylib already exists and does not belong to a registered port. Unable to activate port Xaw3d. Error: Status 1 encountered during processing.

Using force:

% sudo port -f install Xaw3d ---> Installing Xaw3d 1.5E_0 Error: Target com.apple.install returned: Registry error: Xaw3d 1.5E_0 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing.

% sudo port clean Xaw3d ---> Cleaning Xaw3d

% sudo port -f install Xaw3d ---> Fetching Xaw3d ---> Verifying checksum(s) for Xaw3d ---> Extracting Xaw3d ---> Configuring Xaw3d ---> Building Xaw3d with target all ---> Staging Xaw3d into destroot ---> Packaging tgz archive for Xaw3d 1.5E_0 ---> Installing Xaw3d 1.5E_0 Error: Target com.apple.install returned: Registry error: Xaw3d 1.5E_0 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing.

% sudo port uninstall Xaw3d ---> Unable to uninstall Xaw3d 1.5E_0, the following ports depend on it: ---> xemacs ---> xemacs Error: port uninstall failed: Please uninstall the ports that depend on Xaw3d first.

% port installed xemacs The following ports are currently installed:

xemacs @21.4.17_2+sumo (active)

Now forcing upgrade on xemacs:

% sudo port -f upgrade xemacs ---> Unable to uninstall zlib 1.2.3_0, the following ports depend on it: ---> freetype ---> openssl ---> ruby ---> lighttpd ---> lighttpd ---> openssh ---> tiff ---> openssl ---> freetype ---> libpng ---> tiff Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating zlib 1.2.3_0 ---> Uninstalling zlib 1.2.3_0 ---> Fetching zlib ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Configuring zlib ---> Building zlib with target all ---> Staging zlib into destroot ---> Packaging tgz archive for zlib 1.2.3_0 ---> Installing zlib 1.2.3_0 ---> Activating zlib 1.2.3_0 ---> Cleaning zlib ---> Unable to uninstall libpng 1.2.10_2+darwin_8, the following ports depend on it: ---> gd2 ---> xemacs ---> xemacs ---> xv Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating libpng 1.2.10_2+darwin_8 ---> Uninstalling libpng 1.2.10_2+darwin_8 ---> Fetching libpng ---> Verifying checksum(s) for libpng ---> Extracting libpng ---> Configuring libpng ---> Building libpng with target all ---> Staging libpng into destroot ---> Packaging tgz archive for libpng 1.2.10_2+darwin_8 ---> Installing libpng 1.2.10_2+darwin_8 ---> Activating libpng 1.2.10_2+darwin_8 ---> Cleaning libpng ---> Activating Xaw3d 1.5E_0 Warning: File /usr/X11R6/lib/libXaw3d.7.0.dylib already exists. Moving to: /usr/X11R6/lib/libXaw3d.7.0.dylib.dp_1155377003. Warning: File /usr/X11R6/lib/libXaw3d.a already exists. Moving to: /usr/X11R6/lib/libXaw3d.a.dp_1155377003. Error: Uninstall XFree86 4.5.0_2 failed: Registry error: XFree86 4.5.0_2 not registered as installed. ---> Unable to uninstall Xaw3d 1.5E_0, the following ports depend on it: ---> xemacs ---> xemacs Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating Xaw3d 1.5E_0 ---> Uninstalling Xaw3d 1.5E_0 ---> Installing Xaw3d 1.5E_0 ---> Activating Xaw3d 1.5E_0 ---> Cleaning Xaw3d ---> Deactivating xemacs 21.4.17_2+sumo ---> Uninstalling xemacs 21.4.17_2+sumo ---> Configuring xemacs ---> Building xemacs with target all ---> Staging xemacs into destroot ---> Packaging tgz archive for xemacs 21.4.17_3+sumo ---> Installing xemacs 21.4.17_3+sumo ---> Activating xemacs 21.4.17_3+sumo ---> Cleaning xemacs

% port installed xemacs The following ports are currently installed:

xemacs @21.4.17_3+sumo (active)

comment:3 Changed 18 years ago by kevin@…

Component: darwinbuilddports
Keywords: DarwinPorts added; darwinbuild removed
product: darwinbuildDarwinPorts
Version: current1.2

comment:4 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ExpectedNormal
Summary: Build problem for xemacsBUG: Build problem for xemacs
Version: 1.2

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Keywords: Xaw3d added; DarwinPorts removed
Owner: changed from kvv@… to mww@…

Reassigning to current xemacs maintainer. No problems installing here (on Leopard), BTW.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: Xaw3d added
Summary: BUG: Build problem for xemacsXaw3d: mv: rename libXaw3d.7.0.dylib~ to libXaw3d.7.0.dylib: No such file or directory

comment:7 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

Closing, lack of response (if there are xemacs issues, please open a new ticket for them).

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.