Opened 13 years ago

Last modified 13 years ago

#29741 closed defect

Error building tiff on sudo port upgrade xemacs — at Version 2

Reported by: caa@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
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 (2)

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
Note: See TracTickets for help on using tickets.