Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35637 closed defect (duplicate)

ghostscript: No rule to make target `soobj/libtiff_.dev', needed by `soobj/libtiff.dev'. Stop.

Reported by: macports@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: ghostscript

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

ghostscript failing to build
osx 10.6.8

MacBookPro-002332D9A480-2 06:54:14 ~/bin $ sudo port uninstall ghostscript
MacBookPro-002332D9A480-2 06:54:25 ~/bin $ sudo port upgrade outdated
--->  Computing dependencies for ghostscript
--->  Building ghostscript
Error: org.macports.build for port ghostscript returned: command execution failed
Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/ghostscript/main.log
Error: Problem while installing ghostscript
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
MacBookPro-002332D9A480-2 06:54:43 ~/bin $ sudo port -f uninstall ghostscript


MacBookPro-002332D9A480-2 06:56:50 ~/bin $ /usr/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
    uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8: tue may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 '
    config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=gcc-4.2'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
    optimize='-Os',
    cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
	/Library/Perl/Updates/<version> comes before system perl directories
	installprivlib and installarchlib points to the Updates directory
  Built under darwin
  Compiled at Jun 24 2009 00:35:27
  @INC:
    /Library/Perl/Updates/5.10.0
    /System/Library/Perl/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/5.10.0
    /Library/Perl/5.10.0/darwin-thread-multi-2level
    /Library/Perl/5.10.0
    /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
    /Network/Library/Perl/5.10.0
    /Network/Library/Perl
    /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.10.0
    .

Attachments (1)

main.log (105.0 KB) - added by macports@… 12 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to takanori@…
Port: ghostscript added

Please "sudo port clean ghostscript", then try again, and if it fails again, attach the main.log file so we can see what happened.

comment:2 Changed 12 years ago by macports@…

I am doing a file search for main.log file right now. I am not sure where it resides.

$ sudo port clean ghostscript
Password:
--->  Cleaning ghostscript

MacBookPro-002332D9A480-2 02:29:37 ~/bin $ sudo port upgrade outdated
--->  Computing dependencies for ghostscript
--->  Fetching archive for ghostscript
--->  Attempting to fetch ghostscript-9.05_2.darwin_10.x86_64.tbz2 from http://macports.packages.ionic.de/ghostscript
--->  Attempting to fetch ghostscript-9.05_2.darwin_10.x86_64.tbz2 from http://packages.macports.org/ghostscript
--->  Fetching distfiles for ghostscript
--->  Verifying checksum(s) for ghostscript
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
--->  Building ghostscript
Error: org.macports.build for port ghostscript returned: command execution failed
Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/ghostscript/main.log
Error: Problem while installing ghostscript
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Changed 12 years ago by macports@…

Attachment: main.log added

comment:3 in reply to:  1 Changed 12 years ago by macports@…

Replying to ryandesign@…:

Please "sudo port clean ghostscript", then try again, and if it fails again, attach the main.log file so we can see what happened.

attached the main.log file. thanks for your time in advance.

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:5 in reply to:  2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Replying to macports@…:

I am doing a file search for main.log file right now. I am not sure where it resides.

The port logfile target will show you:

port logfile ghostscript

comment:6 Changed 12 years ago by macports@…

HI there,

I attache the main.log file to the case -is there any feedback on it? what are the next steps for troubleshooting this issue?

Cheers, noah

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: ghostscript failing to buildghostscript: No rule to make target `soobj/libtiff_.dev', needed by `soobj/libtiff.dev'. Stop.

Ok, the log says:

No rule to make target `soobj/libtiff_.dev', needed by `soobj/libtiff.dev'.  Stop.

So this is a duplicate of #29065.

comment:8 Changed 12 years ago by takanori@…

I couldn't reproduce your problem. In your build log:

...
:info:configure checking for libtiff with pkg-config... checking for TIFFOpen in
 -ltiff... no
:info:configure configure: Could not find a copy of libtiff on your system.
:info:configure Disabling tiff output devices.
:info:configure ./configure: line 6262: test: -eq: unary operator expected
...

should be:

...
checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
...

so I guess there is a problem with your pkgconfig/libtiff or something.

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Seeing the config.log might be useful. But let's continue the conversation in #29065.

Note: See TracTickets for help on using tickets.