Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18335 closed defect (invalid)

xorg-libXfont: libbz2 is required for bzip2 support

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: xorg-libXfont

Description

I can't upgrade xorg-libXfont from 1.3.4_0 to 1.3.4_1. Curiously, it can't find my bzip2 library. This is on Mac OS X 10.4.11 Intel, Xcode 2.5, MacPorts 1.7.0.

--->  Fetching xorg-libXfont
--->  Verifying checksum(s) for xorg-libXfont
--->  Extracting xorg-libXfont
--->  Applying patches to xorg-libXfont
--->  Configuring xorg-libXfont
Error: Target org.macports.configure returned: configure failure: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_xorg-libXfont/work/libXfont-1.3.4" && ./configure --prefix=/mp --with-bzip2 --disable-dependency-tracking " returned error 1
Command output: checking for objdir... .libs
checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.1 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
checking for pkg-config... /mp/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll... yes
checking for FREETYPE... yes
checking for gzopen in -lz... yes
checking for BZ2_bzopen in -lbz2... no
configure: error: *** libbz2 is required for bzip2 support

Error: Unable to upgrade port: 1

I do have bzip2 installed and active:

$ port installed bzip2
The following ports are currently installed:
  bzip2 @1.0.5_1 (active)
  bzip2 @1.0.5_1+universal
$

Change History (2)

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

Resolution: invalid
Status: newclosed

My mistake, it was a universal build problem. I tried it both with bzip2 universal and non-universal, but my bzip2 universal wasn't as universal as it needed to be. :) I rebuilt it and now xorg-libXfont builds fine.

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.