[MacPorts] #15672: shared-mime-info fails to build
#15672: shared-mime-info fails to build -------------------------------+-------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- I have been trying to install shared-mime-info, but get an error message. Any help would be appreciated (I'm trying to install it so I can install gimp). Here is the log: Fetching shared-mime-info Attempting to fetch shared-mime-info-0.40.tar.bz2 from http://people.freedesktop.org/~hadess/ Verifying checksum(s) for shared-mime-info Extracting shared-mime-info Configuring shared-mime-info Building shared-mime-info with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_shared-mime-info/work/shared-mime-info-0.40" && make all " returned error 2 Command output: && rm -f $file && /opt/local/bin/msgfmt -o $file zh_CN.po file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /opt/local/bin/msgfmt -o $file zh_TW.po rm -f missing notexist srcdir=. ../intltool-update -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT update_mime_database-update-mime-database. o -MD -MP -MF .deps/update_mime_database-update-mime-database.Tpo -c -o update_mime_database-update-mime-database.o `test -f 'update-mime- database.c' || echo './'`update-mime-database.c mv -f .deps/update_mime_database-update-mime-database.Tpo .deps /update_mime_database-update-mime-database.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o update-mime-database update_mime_database-update-mime-database.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT test_subclassing-test-subclassing.o -MD -MP -MF .deps/test_subclassing- test-subclassing.Tpo -c -o test_subclassing-test-subclassing.o `test -f 'test-subclassing.c' || echo './'`test-subclassing.c mv -f .deps/test_subclassing-test-subclassing.Tpo .deps/test_subclassing- test-subclassing.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o test-subclassing test_subclassing- test-subclassing.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml Generating and caching the translation database Merging translations into freedesktop.org.xml. CREATED freedesktop.org.xml dyld: lazy symbol binding failed: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace dyld: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace /bin/sh: line 1: 68036 Trace/BPT trap xmllint --noout --valid ./freedesktop.org.xml make: *** [check] Error 133 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/15672> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by afb@macports.org): Seems like you need to rebuild libxml2 port ? -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * cc: ric@otte.ucsc.edu (removed) * cc: jmr@macports.org (added) * milestone: => Port Bugs Comment: Why are we using flat namespace in the first place? And what's with the other weird flags in the port (-L in cppflags?!) {{{ configure.cppflags-append -L${prefix}/lib configure.cflags-append -no-cpp-precomp -flat_namespace -undefined suppress -L${prefix}/lib }}} -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by ric@otte.ucsc.edu): Replying to [comment:2 afb@macports.org]:
Seems like you need to rebuild libxml2 port ? This worked. Once I rebuilt it (and a few others) it compiled fine. Thanks
-- Ticket URL: <http://trac.macports.org/ticket/15672#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: --------------------------------+------------------------------------------- Changes (by jmr@macports.org): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by geir@aalberg.com): * status: closed => reopened * resolution: worksforme => Comment: Didn't work here: {{{ ~ $ sudo port -f upgrade libxml ---> Configuring pkgconfig ---> Building pkgconfig with target all ---> Staging pkgconfig into destroot ---> Unable to uninstall pkgconfig 0.23_0+universal, the following ports depend on it: ---> xorg-util-macros ---> libxml Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating pkgconfig 0.23_0+universal ---> Uninstalling pkgconfig 0.23_0+universal ---> Installing pkgconfig 0.23_0+universal ---> Activating pkgconfig 0.23_0+universal ---> Cleaning pkgconfig ---> Fetching libxml ---> Verifying checksum(s) for libxml ---> Extracting libxml ---> Applying patches to libxml ---> Configuring libxml ---> Building libxml with target all ---> Staging libxml into destroot ---> Deactivating libxml 1.8.17_0 ---> Uninstalling libxml 1.8.17_0 ---> Installing libxml 1.8.17_0 ---> Activating libxml 1.8.17_0 ---> Cleaning libxml ~ $ xmllint foo.xml dyld: lazy symbol binding failed: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace dyld: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace Trace/BPT trap }}} I'd show you the build log if I could find it, but there's nothing in /opt/local/var/macports/build. -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@otte.ucsc.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by afb@macports.org): Replying to [comment:6 geir@aalberg.com]:
Didn't work here:
This says "libxml" (as in: 1), while above (and library) was libxml2 ? -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: shared-mime-info | --------------------------------+------------------------------------------- Changes (by jmr@…): * port: => shared-mime-info Old description:
I have been trying to install shared-mime-info, but get an error message. Any help would be appreciated (I'm trying to install it so I can install gimp). Here is the log:
Fetching shared-mime-info Attempting to fetch shared-mime-info-0.40.tar.bz2 from http://people.freedesktop.org/~hadess/ Verifying checksum(s) for shared-mime-info Extracting shared-mime-info Configuring shared-mime-info Building shared-mime-info with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_shared-mime-info/work/shared-mime-info-0.40" && make all " returned error 2 Command output: && rm -f $file && /opt/local/bin/msgfmt -o $file zh_CN.po file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /opt/local/bin/msgfmt -o $file zh_TW.po rm -f missing notexist srcdir=. ../intltool-update -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT update_mime_database-update-mime-database. o -MD -MP -MF .deps/update_mime_database-update-mime-database.Tpo -c -o update_mime_database-update-mime-database.o `test -f 'update-mime- database.c' || echo './'`update-mime-database.c mv -f .deps/update_mime_database-update-mime-database.Tpo .deps /update_mime_database-update-mime-database.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o update-mime-database update_mime_database-update-mime-database.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT test_subclassing-test-subclassing.o -MD -MP -MF .deps/test_subclassing- test-subclassing.Tpo -c -o test_subclassing-test-subclassing.o `test -f 'test-subclassing.c' || echo './'`test-subclassing.c mv -f .deps/test_subclassing-test-subclassing.Tpo .deps/test_subclassing- test-subclassing.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o test-subclassing test_subclassing- test-subclassing.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml Generating and caching the translation database Merging translations into freedesktop.org.xml. CREATED freedesktop.org.xml dyld: lazy symbol binding failed: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace dyld: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace /bin/sh: line 1: 68036 Trace/BPT trap xmllint --noout --valid ./freedesktop.org.xml make: *** [check] Error 133 Error: Status 1 encountered during processing.
New description: I have been trying to install shared-mime-info, but get an error message. Any help would be appreciated (I'm trying to install it so I can install gimp). Here is the log: {{{ Fetching shared-mime-info Attempting to fetch shared-mime-info-0.40.tar.bz2 from http://people.freedesktop.org/~hadess/ Verifying checksum(s) for shared-mime-info Extracting shared-mime-info Configuring shared-mime-info Building shared-mime-info with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_shared-mime-info/work/shared-mime-info-0.40" && make all " returned error 2 Command output: && rm -f $file && /opt/local/bin/msgfmt -o $file zh_CN.po file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /opt/local/bin/msgfmt -o $file zh_TW.po rm -f missing notexist srcdir=. ../intltool-update -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT update_mime_database-update-mime-database. o -MD -MP -MF .deps/update_mime_database-update-mime-database.Tpo -c -o update_mime_database-update-mime-database.o `test -f 'update-mime- database.c' || echo './'`update-mime-database.c mv -f .deps/update_mime_database-update-mime-database.Tpo .deps /update_mime_database-update-mime-database.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o update-mime-database update_mime_database-update-mime-database.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp- precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -MT test_subclassing-test-subclassing.o -MD -MP -MF .deps/test_subclassing- test-subclassing.Tpo -c -o test_subclassing-test-subclassing.o `test -f 'test-subclassing.c' || echo './'`test-subclassing.c mv -f .deps/test_subclassing-test-subclassing.Tpo .deps/test_subclassing- test-subclassing.Po /usr/bin/gcc-4.0 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/opt/local/lib -o test-subclassing test_subclassing- test-subclassing.o -L/opt/local/lib -lxml2 -lpthread -lm -lglib-2.0 -lintl -liconv ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml Generating and caching the translation database Merging translations into freedesktop.org.xml. CREATED freedesktop.org.xml dyld: lazy symbol binding failed: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace dyld: Symbol not found: _gzopen Referenced from: /opt/local/lib/libxml2.2.dylib Expected in: flat namespace /bin/sh: line 1: 68036 Trace/BPT trap xmllint --noout --valid ./freedesktop.org.xml make: *** [check] Error 133 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15672: shared-mime-info fails to build --------------------------------+------------------------------------------- Reporter: ric@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: shared-mime-info | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: Anders is right, that's a different port. Anyway, libxml2 and shared-mime- info are no longer building with flat_namespace (r38015 and r41339). -- Ticket URL: <http://trac.macports.org/ticket/15672#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts