Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26219 closed defect (fixed)

libproxy fails to install pkg-config files causing breakage with dependents

Reported by: derflorianlang@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc: nerdling (Jeremy Lavergne)
Port: libproxy

Description

somethings wrong when i try to configure libsoup, any ideas?

my system macos 10.6.4, macport 1.9.1

in port:
Error: Target org.macports.configure returned: configure failure: shell command failed Log for libsoup is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libsoup/main.log
Error: The following dependencies failed to build: gnome-python26-extras libgda4 libsoup libgtkhtml py26-gnome libbonobo libbonoboui libgnome esound audiofile libgnomecanvas libart_lgpl libgnomeui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport p5-xml-sax p5-xml-sax-expat py26-gtk py26-cairo py26-numpy atlas gcc44 gmp mpfr gzip fftw-3 py26-nose py26-distribute py26-gobject libffi py26-orbit
Error: Status 1 encountered during processing.

in log: :msg:main ---> Configuring libsoup
:debug:main Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Tue Aug 24 01:08:53 CEST 2010
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (libsoup)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt$
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rs$
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... no
:info:configure checking for mawk... no
:info:configure checking for nawk... no
:info:configure checking for awk... awk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make sets $(MAKE)... (cached) yes
:info:configure checking for gcc... /usr/bin/gcc-4.2
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables...
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
:info:configure checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/gcc-4.2... gcc3
:info:configure checking build system type... x86_64-apple-darwin10.4.0
:info:configure checking host system type... x86_64-apple-darwin10.4.0
:info:configure checking for a sed that does not truncate output... /usr/bin/sed
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for fgrep... /usr/bin/grep -F
:info:configure checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
:info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
:info:configure checking the name lister (/usr/bin/nm) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking whether the shell understands some XSI constructs... yes
:info:configure checking whether the shell understands "+="... yes
:info:configure checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files.$
:info:configure checking for objdump... no
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for ar... ar
:info:configure checking for strip... strip

Attachments (2)

main.log (8.1 KB) - added by derflorianlang@… 14 years ago.
libsoup log
main.2.log (144.8 KB) - added by derflorianlang@… 14 years ago.
gramps log (where problem first occured)

Download all attachments as: .zip

Change History (9)

comment:1 Changed 14 years ago by blb@…

Owner: changed from macports-tickets@… to devans@…

Can you attach the full log at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libsoup/main.log ?

Changed 14 years ago by derflorianlang@…

Attachment: main.log added

libsoup log

Changed 14 years ago by derflorianlang@…

Attachment: main.2.log added

gramps log (where problem first occured)

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Summary: cannot configure libsouplibsoup is unable to find libproxy

By default it tries to use pkgconfig, but there are two variables we can use to pass in:

LIBPROXY_CFLAGS: C compiler flags for LIBPROXY, overriding pkg-config

LIBPROXY_LIBS: linker flags for LIBPROXY, overriding pkg-config

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Keywords: haspatch added

Here's my patch.

+configure.env-append \
+                LIBPROXY_CFLAGS=-I${prefix}/include \
+                LIBPROXY_LIBS=-L${prefix}/lib/libproxy.dylib
+

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Let's try that again:

+configure.env-append \
+                LIBPROXY_CFLAGS=-I${prefix}/include \
+                LIBPROXY_LIBS=-L${prefix}/lib/libproxy.dylib
+

I get some undefined symbols now.

Also saw an old zlib artifact in configure:

In file included from /opt/local/include/zlib.h:34,
                 from soup-coding-gzip.c:15:
/opt/local/include/zconf.h:373:6: warning: "_LARGEFILE64_SOURCE" is not defined
In file included from soup-coding-gzip.c:15:
/opt/local/include/zlib.h:1574:32: warning: "_FILE_OFFSET_BITS" is not defined

comment:5 Changed 14 years ago by dbevans (David B. Evans)

Port: libproxy added; libsoup removed
Status: newassigned
Summary: libsoup is unable to find libproxylibproxy fails to install pkg-config files causing breakage with dependents

The problem is that the recently upgraded version of libproxy is not installing the appropriate pkgconfig files. The previous version did so this is breakage in libproxy.

comment:6 Changed 14 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

libproxy reverted to previous version until pkg-config problems in later versions can be resolved (r70873).

comment:7 Changed 14 years ago by dbevans (David B. Evans)

Fixed in r71365 with upgrade to 0.4.6.

Note: See TracTickets for help on using tickets.