Opened 13 years ago

Closed 13 years ago

#29741 closed defect (duplicate)

tiff: tiff-3.9.5: No such file or directory

Reported by: caa@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: waqar@…
Port: tiff

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

I got this when trying to upgrade xemacs. Now xemacs doesn't work, help!

--->  Fetching Xaw3d
--->  Verifying checksum(s) for Xaw3d
--->  Extracting Xaw3d
--->  Configuring Xaw3d
--->  Building Xaw3d
--->  Staging Xaw3d into destroot
--->  Unable to uninstall Xaw3d 1.5E_4, the following ports depend on it:
--->      xemacs
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating Xaw3d @1.5E_4
--->  Uninstalling Xaw3d @1.5E_4
--->  Computing dependencies for Xaw3d
--->  Installing Xaw3d @1.5E_4
--->  Activating Xaw3d @1.5E_4
--->  Cleaning Xaw3d
--->  Fetching jpeg
--->  Attempting to fetch jpegsrc.v8c.tar.gz from http://distfiles.macports.org/jpeg
--->  Verifying checksum(s) for jpeg
--->  Extracting jpeg
--->  Configuring jpeg
--->  Building jpeg
--->  Staging jpeg into destroot
--->  Installing jpeg @8c_0
--->  Deactivating jpeg @8b_0
--->  Activating jpeg @8c_0
--->  Cleaning jpeg
--->  Computing dependencies for tiff
--->  Building tiff
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for tiff is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
[caa@nox ~/wfcam-multiframes]% 

main.log contains:

[caa@nox ~/wfcam-multiframes]% c /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/main.log
version:1
:msg:main --->  Computing dependencies for tiff:info:main .:debug:main Searching for dependency: jpeg
:debug:main Found Dependency: receipt exists for jpeg
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:msg:main 
:debug:main Executing org.macports.main (tiff)
:debug:main Skipping completed org.macports.fetch (tiff)
:debug:main Skipping completed org.macports.checksum (tiff)
:debug:main Skipping completed org.macports.extract (tiff)
:debug:main Skipping completed org.macports.patch (tiff)
:debug:main Skipping completed org.macports.configure (tiff)
:msg:main --->  Building tiff
:debug:build build phase started at Tue Jun  7 21:27:33 HST 2011
:debug:build Executing org.macports.build (tiff)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.5" && /usr/bin/make all'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.5: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.9.5" && /usr/bin/make all " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for tiff): org.macports.destroot org.macports.build
:notice:build Log for tiff is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_tiff/main.log

Change History (4)

comment:1 in reply to:  description Changed 13 years ago by caa@…

OK, I found that tiff.3.9.5_0 didn't exist so I put a soft link in to link tiff.3.9.4_0 and now it works.

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.ma ports.org_release_ports_graphics_tiff/work/

[caa@nox work]% sudo ln -s tiff-3.9.4 tiff-3.9.5
Password:
[caa@nox work]% d
total 8
drwxrwxrwx  34 root  admin  1156 Jun  7 16:18 tiff-3.9.4/
lrwxr-xr-x   1 root  admin    10 Jun  7 21:54 tiff-3.9.5@ -> tiff-3.9.4

[caa@nox ~]% sudo port upgrade xemacs
--->  Computing dependencies for tiff
--->  Building tiff
--->  Staging tiff into destroot
--->  Computing dependencies for tiff
--->  Installing tiff @3.9.5_0
--->  Deactivating tiff @3.9.2_3
--->  Activating tiff @3.9.5_0
--->  Cleaning tiff

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: tiff added
Priority: HighNormal

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: waqar@… added
Owner: changed from macports-tickets@… to ryandesign@…
Summary: Error building tiff on sudo port upgrade xemacstiff: tiff-3.9.5: No such file or directory

Please remember to use WikiFormatting.

This is probably another case of #29223.

Creating a symlink was certainly the wrong way to try to fix it. By doing this, you've probably actually installed 3.9.4, though MacPorts thinks it succeeded in installing 3.9.5. To find out if that's the case, you could run "tiffinfo" and look at the first line of output. If that confirms that you actually have 3.9.4 and not 3.9.5, uninstall tiff, then reinstall it.

sudo port -f uninstall tiff
sudo port clean tiff
sudo port install tiff

The correct way to have corrected the problem in the first place would have been to simply clean the port and try installing it again. That's the first thing you should try any time any port fails.

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.