[MacPorts] #16728: Error Installing exiv2
#16728: Error Installing exiv2 --------------------------------+------------------------------------------- Reporter: jsnodgra@umich.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- On Mac0S 10.4.11, I receive this error when attempting to install exiv2: ---> Building exiv2 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_graphics_exiv2/work/exiv2-0.17.1" && make all " returned error 2 Command output: if test "x1" = "x1"; then cd xmpsdk/src && make xmpsdk; fi; make[1]: Nothing to be done for `xmpsdk'. cd src && make all Any help is appreciated! Thanks. -- Ticket URL: <http://trac.macports.org/ticket/16728> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * owner: macports-tickets@lists.macosforge.org => tcurdt@vafer.org * port: => exiv2 Old description:
On Mac0S 10.4.11, I receive this error when attempting to install exiv2:
---> Building exiv2 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_graphics_exiv2/work/exiv2-0.17.1" && make all " returned error 2 Command output: if test "x1" = "x1"; then cd xmpsdk/src && make xmpsdk; fi; make[1]: Nothing to be done for `xmpsdk'. cd src && make all
Any help is appreciated! Thanks.
New description: On Mac0S 10.4.11, I receive this error when attempting to install exiv2: {{{ ---> Building exiv2 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_graphics_exiv2/work/exiv2-0.17.1" && make all " returned error 2 Command output: if test "x1" = "x1"; then cd xmpsdk/src && make xmpsdk; fi; make[1]: Nothing to be done for `xmpsdk'. cd src && make all }}} Any help is appreciated! Thanks. -- Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): Please do a self update to get the latest version (0.17.1) and then try again. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by jsnodgra@umich.edu): I did a selfupdate, and then did a clean --all on exiv2. I still receive the same error... -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): Sorry, don't have a 10.4 machine available. Can only say building 0.17.1 on 10.5 worked just fine (for me). Just to find the problem: can you download the exiv2 0.17.1 source and do a ./configure make just to see if that builds for you? -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): The formatting swallowed the line break. Of course I meant: {{{./configure}}}[[BR]] {{{make}}} -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by gale@sefer.org): Also on 10.4.11, the upgrade to exiv2 0.17.1 fails to build. My error is far more verbose though. To avoid spamming the comments, I'll attach it as a file. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by gale@sefer.org): Replying to [comment:6 gale@…]:
My error is far more verbose though. To avoid spamming the comments, I'll attach it as a file.
Sorry, trac seems to choke on this text file. I guess I'll just paste it: $ sudo port upgrade exiv2 Password: ---> Building exiv2 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_graphics_exiv2/work/exiv2-0.17.1" && make all " returned error 2 Command output: if test "x1" = "x1"; then cd xmpsdk/src && make xmpsdk; fi; make[1]: Nothing to be done for `xmpsdk'. cd src && make all ../libtool --mode=link /usr/bin/g++-4.0 -L/opt/local/lib -L../xmpsdk/src -o libexiv2.la basicio.lo bmpimage.lo canonmn.lo convert.lo cr2image.lo crwimage.lo datasets.lo error.lo exif.lo futils.lo fujimn.lo gifimage.lo ifd.lo image.lo iptc.lo jp2image.lo jpgimage.lo makernote.lo makernote2.lo metadatum.lo minoltamn.lo mrwimage.lo nikonmn.lo olympusmn.lo orfimage.lo panasonicmn.lo pngimage.lo pngchunk.lo psdimage.lo rafimage.lo sigmamn.lo pentaxmn.lo sonymn.lo tags.lo tgaimage.lo tiffcomposite.lo tiffimage.lo tiffparser.lo tiffvisitor.lo types.lo value.lo version.lo properties.lo xmp.lo xmpsidecar.lo -rpath /opt/local/lib -version-info 4:1:0 -L/opt/local/lib -lintl -L/opt/local/lib -liconv -lc -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib -liconv -R/opt/local/lib -lz -lexpat -lxmpsdk /usr/bin/g++-4.0 -dynamiclib -single_module -flat_namespace -undefined suppress -o .libs/libexiv2.4.0.1.dylib .libs/basicio.o .libs/bmpimage.o .libs/canonmn.o .libs/convert.o .libs/cr2image.o .libs/crwimage.o .libs/datasets.o .libs/error.o .libs/exif.o .libs/futils.o .libs/fujimn.o .libs/gifimage.o .libs/ifd.o .libs/image.o .libs/iptc.o .libs/jp2image.o .libs/jpgimage.o .libs/makernote.o .libs/makernote2.o .libs/metadatum.o .libs/minoltamn.o .libs/mrwimage.o .libs/nikonmn.o .libs/olympusmn.o .libs/orfimage.o .libs/panasonicmn.o .libs/pngimage.o .libs/pngchunk.o .libs/psdimage.o .libs/rafimage.o .libs/sigmamn.o .libs/pentaxmn.o .libs/sonymn.o .libs/tags.o .libs/tgaimage.o .libs/tiffcomposite.o .libs/tiffimage.o .libs/tiffparser.o .libs/tiffvisitor.o .libs/types.o .libs/value.o .libs/version.o .libs/properties.o .libs/xmp.o .libs/xmpsidecar.o -all_load /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_exiv2/work/exiv2-0.17.1/xmpsdk/src/.libs/libxmpsdk.a -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_exiv2/work/exiv2-0.17.1/xmpsdk/src /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lz /opt/local/lib/libexpat.dylib -Wl,-framework -Wl,CoreFoundation -install_name /opt/local/lib/libexiv2.4.dylib -compatibility_version 5 -current_version 5.1 ld: multiple definitions of symbol ___floatdisf /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_floatdisf.o) private external definition of ___floatdisf in section (__TEXT,__text) /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_floatdisf_s.o) definition of ___floatdisf ld: multiple definitions of symbol ___floatdidf /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_floatdidf.o) private external definition of ___floatdidf in section (__TEXT,__text) /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_floatdidf_s.o) definition of ___floatdidf ld: multiple definitions of symbol ___divdi3 /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3 ld: multiple definitions of symbol ___udivdi3 /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_udivdi3.o) private external definition of ___udivdi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_udivdi3_s.o) definition of ___udivdi3 ld: multiple definitions of symbol ___umoddi3 /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_umoddi3.o) private external definition of ___umoddi3 in section (__TEXT,__text) /usr/lib/gcc/i686-apple- darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_umoddi3_s.o) definition of ___umoddi3 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed make[1]: *** [lib] Error 1 make: *** [all] Error 2 -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by gale@sefer.org): grr. I'm really sorry, trac globbed everything into one paragraph. I guess I needed to use some wiki formatting. Well, anyway, the point is that the link step complains about a lot of multiple symbol definitions. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): Could you please try a manual build from the source distribution and report back? -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by gale@sefer.org): Seems to compile OK, except for the following two issues: exiv2 did not recognize expat.h (I have the expat 2.0.1 port installed), even when I explicitly pointed to its location using --with-expat=/opt/local/include. So I had to use --disable-xmp, which causes exiv2 not to require expat. exiv2 did not find gettext, even though I have the gettext 0.17 port installed. So language support was disabled, and the build ended with {{{ cd po && make make[1]: Nothing to be done for `all'. }}} Other than that, it seemed to build OK. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): {{{ -- Exiv2 0.17.1 feature configuration summary -- -- Build a shared library......... YES -- PNG image support.............. YES -- Native language support........ NO gettext is required for native language support. Make sure the gettext header files are installed. You can get gettext from http://www.gnu.org/software/gettext/ -- Conversion of Windows XP tags.. YES -- Nikon lens database............ YES -- XMP metadata support........... YES }}} Is what I get on configure. And then a make runs through just fine for me on 10.5. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by kraka40@gmail.com): Got exiv2 to compile on 10.4 by: 1. port edit exiv2 add the following two lines to the bottom of the Portfile configure.env MACOSX_DEPLOYMENT_TARGET=10.4 build.env MACOSX_DEPLOYMENT_TARGET=10.4 2. port build exiv2 -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by kraka40@gmail.com): Got exiv2 to compile on 10.4 by:[[BR]] [[BR]] 1. port edit exiv2[[BR]] add the following two lines to the bottom of the Portfile[[BR]] [[BR]] configure.env MACOSX_DEPLOYMENT_TARGET=10.4[[BR]] build.env MACOSX_DEPLOYMENT_TARGET=10.4 [[BR]] [[BR]] 2. port build exiv2 -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by dbueno@gmail.com): Replying to [comment:14 kraka40@…]:
Got exiv2 to compile on 10.4 by:[[BR]] [[BR]] 1. port edit exiv2[[BR]] add the following two lines to the bottom of the Portfile[[BR]] [[BR]] configure.env MACOSX_DEPLOYMENT_TARGET=10.4[[BR]] build.env MACOSX_DEPLOYMENT_TARGET=10.4 [[BR]] [[BR]] 2. port build exiv2
I confirm that this works for me, too. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by blb@macports.org): Could be the same bug as noticed in #15109? -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by tcurdt@vafer.org): Hm. Sounds like it. Could someone provide a patch for it? Unfortunately I have no commit access myself. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@umich.edu | Owner: tcurdt@vafer.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by afb@macports.org): Replying to [comment:16 blb@…]:
Could be the same bug as noticed in #15109?
It's related, but not the same. In the other bug, it failed to link due to too old MDT. In this bug, it is libtool that guess wrong due to too old MDT... You can use the global variable macosx_deployment_target instead of setting environment, like in the generic workaround: {{{ platform darwin 7 { macosx_deployment_target 10.3 } platform darwin 8 { macosx_deployment_target 10.4 } platform darwin 9 { macosx_deployment_target 10.5 } }}} Should be fixed in base trunk. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 --------------------------------+------------------------------------------- Reporter: jsnodgra@… | Owner: tcurdt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: exiv2 --------------------------------+------------------------------------------- Comment(by devans@…): This should now be fixed in MacPorts version 1.7.0. Updated to version 0.18 in r44178 and builds without problems on 10.4.11 ppc. To upgrade from MacPorts 1.6.0 just {{{ sudo port selfupdate }}} -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@… | Owner: tcurdt@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:20 devans@…]:
This should now be fixed in MacPorts version 1.7.0. Then I think we can close this ticket.
-- Ticket URL: <http://trac.macports.org/ticket/16728#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16728: Error Installing exiv2 ---------------------------------+------------------------------------------ Reporter: jsnodgra@… | Owner: tcurdt@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: exiv2 | ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Has duplicate #17630. -- Ticket URL: <http://trac.macports.org/ticket/16728#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts