Installs dead in the water with MacPorts
System: 1.5Ghz G4 PPC Laptop OS: OSX 10.4.8 DarwinPorts base version 1.4 I got this error: ---> Building freetype with target all 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_dp orts_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. Error: The following dependencies failed to build: libgsf gnome-vfs gconf gtk2 pango Xft2 fontconfig freetype xrender render cairo tiff jpeg libbonobo intltool p5-xml-parser perl5.8 orbit2 libidl popt gnome-mime-data heimdal howl Error: Status 1 encountered during processing. kardia-3:~ Kardia$ Now I keep getting this error when I try to install any port. Ken... Ken Pettit BIG Images 2304 Broad St San Luis Obispo CA, 93401 email:kpettit@big-images.com phone:805-781-9301 fax:805-781-9303 it is not the past, but the future that awaits you, that determines who you are right now.
On Mar 20, 2007, at 17:45, Ken Pettit wrote:
System: 1.5Ghz G4 PPC Laptop OS: OSX 10.4.8 DarwinPorts base version 1.4
I got this error:
---> Building freetype with target all 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_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop.
Error: The following dependencies failed to build: libgsf gnome-vfs gconf gtk2 pango Xft2 fontconfig freetype xrender render cairo tiff jpeg libbonobo intltool p5-xml-parser perl5.8 orbit2 libidl popt gnome-mime-data heimdal howl Error: Status 1 encountered during processing. kardia-3:~ Kardia$
Now I keep getting this error when I try to install any port.
I don't know what to make of it. I also have a 1.5-GHz PowerBook G4. freetype 2.1.10 was already installed, but I told it to forcibly reinstall it, and it worked fine. You get this error when installing any port because those other ports all depend on freetype? Or are we talking about other ports that have nothing to do with freetype? If so, can you show us that output? Others seem to have this problem with freetype 2.1.10 on other platforms, like this: http://www.openembedded.org/wiki/PossibleFailures Have you tried to clean the work area and start again? "sudo port clean --work freetype", then "sudo port install freetype"? Do you have Fink installed, or anything in /usr/local that might be interfering with the MacPorts build?
Cleaning: kardia-3:~ Kardia$ sudo port clean --work freetype Password: ---> Cleaning freetype Install: kardia-3:~ Kardia$ sudo port install freetype ---> Fetching freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all 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_dp orts_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. Error: Status 1 encountered during processing. kardia-3:~ Kardia$ Cleaning again: kardia-3:~ Kardia$ sudo port clean --work freetype ---> Cleaning freetype kardia-3:~ Kardia$ Try to install something different... gconf kardia-3:~ Kardia$ sudo port install gconf Password: ---> Fetching freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all 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_dp orts_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. Error: The following dependencies failed to build: gtk2 pango Xft2 fontconfig freetype xrender render cairo tiff jpeg libbonobo intltool p5-xml-parser perl5.8 orbit2 libidl popt Error: Status 1 encountered during processing. kardia-3:~ Kardia$ Same error... Arrrgh Thanks for the help. Ken... Ken Pettit BIG Images 2304 Broad St San Luis Obispo CA, 93401 email:kpettit@big-images.com phone:805-781-9301 fax:805-781-9303 it is not the past, but the future that awaits you, that determines who you are right now. On Mar 20, 2007, at 4:08 PM, Ryan Schmidt wrote: On Mar 20, 2007, at 17:45, Ken Pettit wrote:
System: 1.5Ghz G4 PPC Laptop OS: OSX 10.4.8 DarwinPorts base version 1.4
I got this error:
---> Building freetype with target all 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_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop.
Error: The following dependencies failed to build: libgsf gnome-vfs gconf gtk2 pango Xft2 fontconfig freetype xrender render cairo tiff jpeg libbonobo intltool p5-xml-parser perl5.8 orbit2 libidl popt gnome-mime-data heimdal howl Error: Status 1 encountered during processing. kardia-3:~ Kardia$
Now I keep getting this error when I try to install any port.
I don't know what to make of it. I also have a 1.5-GHz PowerBook G4. freetype 2.1.10 was already installed, but I told it to forcibly reinstall it, and it worked fine. You get this error when installing any port because those other ports all depend on freetype? Or are we talking about other ports that have nothing to do with freetype? If so, can you show us that output? Others seem to have this problem with freetype 2.1.10 on other platforms, like this: http://www.openembedded.org/wiki/PossibleFailures Have you tried to clean the work area and start again? "sudo port clean --work freetype", then "sudo port install freetype"? Do you have Fink installed, or anything in /usr/local that might be interfering with the MacPorts build?
On Mar 20, 2007, at 7:26 PM, Ken Pettit wrote:
kardia-3:~ Kardia$ sudo port install freetype
Try again, but this time pass the -dv flags so that you can see what is actually going on. ie: sudo port clean --all freetype sudo port -d -v install freetype -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Clean: kardia-3:~ Kardia$ sudo port clean --all freetype Password: ---> Cleaning freetype Install: kardia-3:~ Kardia$ sudo port -d -v install freetype DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/print/freetype DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/print/freetype DEBUG: Requested variant powerpc is not provided by port freetype. DEBUG: Requested variant darwin is not provided by port freetype. DEBUG: Requested variant macosx is not provided by port freetype. 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: Found Dependency: receipt exists for zlib DEBUG: Executing com.apple.main (freetype) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/ powerpc/freetype-2.1.10_1.powerpc.tgz DEBUG: Skipping unarchive (freetype) since no archive found DEBUG: Skipping completed com.apple.unarchive (freetype) ---> Fetching freetype DEBUG: Executing com.apple.fetch (freetype) ---> freetype-2.1.10.tar.bz2 doesn't seem to exist in /opt/local/var/ db/dports/distfiles/freetype ---> Attempting to fetch freetype-2.1.10.tar.bz2 from http:// download.savannah.gnu.org/releases/freetype/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1012k 100 1012k 0 0 24107 0 0:00:43 0:00:43 --:--:-- 25519 ---> Verifying checksum(s) for freetype DEBUG: Executing com.apple.checksum (freetype) ---> Checksumming freetype-2.1.10.tar.bz2 DEBUG: Correct (md5) checksum for freetype-2.1.10.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting freetype DEBUG: Executing com.apple.extract (freetype) ---> Extracting freetype-2.1.10.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/db/dports/ distfiles/freetype/freetype-2.1.10.tar.bz2 DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_print_freetype/work" && /opt/local/bin/bzip2 -dc /opt/local/var/ db/dports/distfiles/freetype/freetype-2.1.10.tar.bz2 | /usr/bin/ gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (freetype) ---> Applying patches to freetype ---> Applying /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/print/freetype/files/ patch-ftconfig.h DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_print_freetype/work/freetype-2.1.10" && patch -p0' patching file include/freetype/config/ftconfig.h Hunk #1 succeeded at 124 (offset 3 lines). ---> Configuring freetype DEBUG: Executing com.apple.configure (freetype) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_print_freetype/work/freetype-2.1.10" && CPPFLAGS="-I/opt/local/ include" LDFLAGS="-L/opt/local/lib" ./configure --prefix=/opt/local -- with-zlib=/opt/local' ./builds/unix/configure --prefix=/opt/local --with-zlib=/opt/local checking build system type... powerpc-apple-darwin8.8.0 checking host system type... powerpc-apple-darwin8.8.0 checking target system type... powerpc-apple-darwin8.8.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for rm... rm -f checking for rmdir... rmdir checking for a BSD-compatible install... /usr/bin/install -c checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether munmap is declared... yes checking for munmap's first parameter type... void * checking for memcpy... yes checking for memmove... yes checking for gzsetparams in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating unix-cc.mk config.status: creating unix-def.mk config.status: creating freetype-config config.status: creating freetype2.pc config.status: creating ftconfig.h FreeType build system -- automatic system detection The following settings are used: platform unix compiler cc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file `config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `make' again to build the library, or `make refdoc' to build the API reference (the latter needs python). make: Nothing to be done for `unix'. ---> Building freetype with target all DEBUG: Executing com.apple.build (freetype) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_print_freetype/work/freetype-2.1.10" && make all' config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. 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_dp orts_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop. Warning: the following items did not execute (for freetype): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: Status 1 encountered during processing. kardia-3:~ Kardia$ Thanks Daniel for the help. Ken... Ken Pettit BIG Images 2304 Broad St San Luis Obispo CA, 93401 email:kpettit@big-images.com phone:805-781-9301 fax:805-781-9303 it is not the past, but the future that awaits you, that determines who you are right now. On Mar 20, 2007, at 4:39 PM, Daniel J. Luke wrote: On Mar 20, 2007, at 7:26 PM, Ken Pettit wrote:
kardia-3:~ Kardia$ sudo port install freetype
Try again, but this time pass the -dv flags so that you can see what is actually going on. ie: sudo port clean --all freetype sudo port -d -v install freetype -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Mar 20, 2007, at 18:26, Ken Pettit wrote:
Cleaning: kardia-3:~ Kardia$ sudo port clean --work freetype Password: ---> Cleaning freetype
Install: kardia-3:~ Kardia$ sudo port install freetype ---> Fetching freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all 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_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop.
Error: Status 1 encountered during processing. kardia-3:~ Kardia$
Ok, so cleaning didn't help...
Try to install something different... gconf
kardia-3:~ Kardia$ sudo port install gconf Password: ---> Fetching freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all 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_print_freetype/work/freetype-2.1.10" && make all" returned error 2 Command output: config.mk:25: /unix-def.mk: No such file or directory config.mk:26: /unix-cc.mk: No such file or directory make: *** No rule to make target `/unix-cc.mk'. Stop.
Error: The following dependencies failed to build: gtk2 pango Xft2 fontconfig freetype xrender render cairo tiff jpeg libbonobo intltool p5-xml-parser perl5.8 orbit2 libidl popt Error: Status 1 encountered during processing. kardia-3:~ Kardia$
Same error... Arrrgh
Yes, but only because gconf depends on freetype: $ port deps gconf gconf has library dependencies on: gtk2 <----- libbonobo orbit2 $ port deps gtk2 gtk2 has library dependencies on: glib2 tiff libpng atk pango <----- gettext XFree86 $ port deps pango pango has library dependencies on: glib2 XFree86 Xft2 cairo <----- $ port deps cairo cairo has library dependencies on: xrender fontconfig freetype <----- libpng render zlib expat $ I assume you are able to install other ports that do not depend on freetype? You didn't address this:
On Mar 20, 2007, at 4:08 PM, Ryan Schmidt wrote:
Do you have Fink installed, or anything in /usr/local that might be interfering with the MacPorts build?
Is there anything in /sw or /usr/local? It may be interfering with MacPorts, not sure. If you send me the config.log I might be able to see something unusual in it. I recommend you send it to me privately since it's probably big. The config.log should be in the directory / opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_print_freetype/work/freetype-2.1.10
On Mar 20, 2007, at 18:45, Ken Pettit wrote:
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_print_freetype/work/freetype-2.1.10" && CPPFLAGS="-I/opt/ local/include" LDFLAGS="-L/opt/local/lib" ./configure --prefix=/opt/ local --with-zlib=/opt/local' ./builds/unix/configure --prefix=/opt/local --with-zlib=/opt/local
Comparing your output to that on my system, this is the line that differs. On mine: DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _Users_rschmidt_macports_dports_print_freetype/work/freetype-2.1.10" && CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./ configure --prefix=/opt/local --with-zlib=/opt/local' cd builds/unix; ./configure --prefix=/opt/local --with-zlib=/opt/local The path to the work area is different because I have my ports tree in a Subversion working copy in my home directory, but that shouldn't matter. What's interesting is that on my machine it configures the unix build by running "cd builds/unix; ./configure" which works, but yours runs "./builds/unix/configure" which apparently doesn't work. I don't know why yours does that, however. The other difference on my system is that the configure script finds / opt/local/bin/sed while yours finds /usr/bin/sed. On my system, I had installed the gsed port, which installs /opt/local/bin/gnused, and I had manually installed a symlink to that at /opt/local/bin/sed. But even if I remove that symlink, the freetype port installs just fine. Other difference: I have 10.4.9 now, but that shouldn't matter either; I first built freetype 2.1.10 several versions of Mac OS X ago. You do have the latest version of Xcode? 2.4.1? You are using gcc 4.0.1, aren't you? You haven't used gcc_select to select an earlier version of gcc? Have you installed a different make? My make is the one Apple provides in /usr/bin/make. What does "which make" say for you? What about "make --version"? Mine's 3.80.
participants (3)
-
Daniel J. Luke
-
Ken Pettit
-
Ryan Schmidt