Opened 15 years ago

Closed 14 years ago

#24282 closed defect (fixed)

libproxy tries to use kde library

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: kde Cc:
Port: libproxy

Description

libproxy failed to build for me:

--->  Computing dependencies for libproxy
--->  Fetching libproxy
--->  Verifying checksum(s) for libproxy
--->  Extracting libproxy
--->  Applying patches to libproxy
--->  Configuring libproxy
--->  Building libproxy
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_libproxy/work/libproxy-0.4.0" && /usr/bin/nice -n 10 /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2  -O2 -arch x86_64 -arch i386  -O3 -DNDEBUG -arch x86_64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wl,-search_paths_first -headerpad_max_install_names -L/opt/local/lib -arch x86_64 -arch i386 CMakeFiles/proxy.dir/proxy.c.o  -o proxy  ../lib/libproxy.1.0.0.dylib ../libmodman/libmodman.0.dylib -lm -lpthread -framework SystemConfiguration -framework CoreFoundation -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat -lfreetype -lxml2 -lz -lm -lpthread -framework SystemConfiguration -framework CoreFoundation -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat -lfreetype -lxml2 -lz -ldl -lgnutls -ltasn1 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_libproxy/work/libproxy-0.4.0/CMakeFiles  21
[100%] Built target proxy
Linking CXX shared module ../lib/config_kde4.so
cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_libproxy/work/libproxy-0.4.0/libproxy && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/config_kde4.dir/link.txt --verbose=1
/usr/bin/g++-4.2  -g -Wall -Werror -fvisibility=hidden -O2 -arch x86_64 -arch i386  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -bundle -headerpad_max_install_names -multiply_defined suppress -L/opt/local/lib -arch x86_64 -arch i386 -o ../lib/config_kde4.so CMakeFiles/config_kde4.dir/modules/config_kde4.cpp.o -F/opt/local/libexec/qt4-mac/lib -L/opt/local/lib ../lib/libproxy.1.0.0.dylib /opt/local/lib/libkdecore.5.4.0.dylib -lXmu -lXext -lXt -lX11 -lSM -lXau -lXdmcp -lICE ../libmodman/libmodman.0.dylib -lm -lpthread -framework SystemConfiguration -framework CoreFoundation -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lpango-1.0 -lfontconfig -lexpat -lfreetype -lxml2 -lz -lm -lpthread -framework SystemConfiguration -framework CoreFoundation -lwebkit-1.0 -lgtk-x11-2.0 -lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lpango-1.0 -lfontconfig -lexpat -lfreetype -lxml2 -lz -ldl -lgnutls -ltasn1 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -framework QtDBus -framework QtCore -lpthread -framework Carbon -lXext -lX11 -lXau -lXdmcp 
ld: warning: in /opt/local/lib/libkdecore.5.4.0.dylib, file is not of required architecture
Undefined symbols for architecture i386:
  "KConfigGroup::readEntry(char const*, char const*) const", referenced from:
      kde_config_extension::get_config(libproxy::url)        in config_kde4.cpp.o
      kde_config_extension::get_config(libproxy::url)        in config_kde4.cpp.o
      kde_config_extension::get_config(libproxy::url)        in config_kde4.cpp.o
  "KConfig::KConfig(QString const&, QFlags<KConfig::OpenFlag>, char const*)", referenced from:
      kde_config_extension_init()      in config_kde4.cpp.o
  "KConfigGroup::readEntry(char const*, QVariant const&) const", referenced from:
      kde_config_extension::get_ignore(libproxy::url)        in config_kde4.cpp.o
      kde_config_extension::get_ignore(libproxy::url)        in config_kde4.cpp.o
      kde_config_extension::get_config(libproxy::url)        in config_kde4.cpp.o
  "KConfigGroup::readEntry(char const*, QStringList const&) const", referenced from:
      kde_config_extension::get_ignore(libproxy::url)        in config_kde4.cpp.o
  "KConfigGroup::readEntry(QString const&, char const*) const", referenced from:
      kde_config_extension::get_config(libproxy::url)        in config_kde4.cpp.o
  "KConfigGroup::KConfigGroup(KConfigBase*, char const*)", referenced from:
      kde_config_extension_init()      in config_kde4.cpp.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccQzbqhb.out (No such file or directory)
make[2]: *** [lib/config_kde4.so] Error 1
make[1]: *** [libproxy/CMakeFiles/config_kde4.dir/all] Error 2
make: *** [all] Error 2

Yes, I am trying to build libproxy universal, and yes, libkdecore.5.4.0.dylib which is provided by kdelibs4 is not universal, but libproxy should not be using any part of kde since it does not declare a dependency on any kde ports.

Change History (1)

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

Keywords: kde added
Resolution: fixed
Status: newclosed

Updated to version 0.4.6 in r71365. KDE support disabled by default. Use +kde for KDE4 support.

Note: See TracTickets for help on using tickets.