#13462: gnutar port broken in Leopard

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

#13462: gnutar port broken in Leopard

Calendar and Contacts Server
#13462: gnutar port broken in Leopard
-----------------------------+----------------------------------------------
 Reporter:  [hidden email]  |       Owner:  [hidden email]
     Type:  defect           |      Status:  new                              
 Priority:  Normal           |   Milestone:                                  
Component:  ports            |     Version:  1.5.2                            
 Keywords:                   |  
-----------------------------+----------------------------------------------
 I'm not sure if port specific issues are posted here. Hopefully this can
 get routed to the proper spot.
 I'm not able to build gnutar on MacPorts, this wouldn't be a problem but
 Leopard's tar does not recognize the --exclude flag.

 Here is what I'm running:

 Running MacPorts 1.520
 Mac OS X 10.5.1

 gnutar relies on the following two ports, here are the versions I have
 installed

 {{{ $ port installed | grep gettext
   gettext @0.16.1_0 (active)
 }}}

 {{{ $ port installed | grep libiconv
   libiconv @1.11_6 (active)
 }}}

 and here is the results of trying to install

 {{{

 $ port install gnutar
 --->  Fetching gnutar
 --->  Verifying checksum(s) for gnutar
 --->  Extracting gnutar
 --->  Applying patches to gnutar
 --->  Configuring gnutar
 --->  Building gnutar 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_archivers_gnutar/work/tar-1.19"
 && make all " returned error 2
 Command output:         then mv -f ".deps/xheader.Tpo" ".deps/xheader.Po";
 else rm -f ".deps/xheader.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT incremen.o -MD -MP -MF ".deps/incremen.Tpo"
 -c -o incremen.o incremen.c; \
         then mv -f ".deps/incremen.Tpo" ".deps/incremen.Po"; else rm -f
 ".deps/incremen.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o
 list.o list.c; \
         then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f
 ".deps/list.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o
 misc.o misc.c; \
         then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f
 ".deps/misc.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT names.o -MD -MP -MF ".deps/names.Tpo" -c -o
 names.o names.c; \
         then mv -f ".deps/names.Tpo" ".deps/names.Po"; else rm -f
 ".deps/names.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT sparse.o -MD -MP -MF ".deps/sparse.Tpo" -c
 -o sparse.o sparse.c; \
         then mv -f ".deps/sparse.Tpo" ".deps/sparse.Po"; else rm -f
 ".deps/sparse.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT system.o -MD -MP -MF ".deps/system.Tpo" -c
 -o system.o system.c; \
         then mv -f ".deps/system.Tpo" ".deps/system.Po"; else rm -f
 ".deps/system.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT tar.o -MD -MP -MF ".deps/tar.Tpo" -c -o
 tar.o tar.c; \
         then mv -f ".deps/tar.Tpo" ".deps/tar.Po"; else rm -f
 ".deps/tar.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT transform.o -MD -MP -MF
 ".deps/transform.Tpo" -c -o transform.o transform.c; \
         then mv -f ".deps/transform.Tpo" ".deps/transform.Po"; else rm -f
 ".deps/transform.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT update.o -MD -MP -MF ".deps/update.Tpo" -c
 -o update.o update.c; \
         then mv -f ".deps/update.Tpo" ".deps/update.Po"; else rm -f
 ".deps/update.Tpo"; exit 1; fi
 if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib
 -I/opt/local/include  -O2 -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" -c -o
 utf8.o utf8.c; \
         then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; else rm -f
 ".deps/utf8.Tpo"; exit 1; fi
 utf8.c: In function 'string_ascii_p':
 utf8.c:94: warning: comparison is always true due to limited range of data
 type
 gcc -std=gnu99  -O2  -L/opt/local/lib -o tar  buffer.o compare.o create.o
 delete.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o
 system.o tar.o transform.o update.o utf8.o ../lib/libtar.a -lintl -liconv
 -lc  -Wl,-framework -Wl,CoreFoundation -liconv
 ld: duplicate symbol _argp_fmtstream_write in ../lib/libtar.a(argp-help.o)
 and tar.o

 collect2: ld returned 1 exit status
 make[2]: *** [tar] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.

 }}}

--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13462>
MacPorts </projects/macports>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|

Re: #13462: gnutar 1.19_0 build failure in Leopard: duplicate symbol _argp_fmtstream_write

Calendar and Contacts Server
#13462: gnutar 1.19_0 build failure in Leopard: duplicate symbol
_argp_fmtstream_write
------------------------------+---------------------------------------------
  Reporter:  [hidden email]  |       Owner:  [hidden email]
      Type:  defect           |      Status:  new            
  Priority:  Normal           |   Milestone:  Port Bugs      
 Component:  ports            |     Version:  1.5.2          
Resolution:                   |    Keywords:                  
------------------------------+---------------------------------------------
Changes (by [hidden email]):

  * owner:  [hidden email] => [hidden email]
  * summary:  gnutar port broken in Leopard => gnutar 1.19_0 build failure
              in Leopard: duplicate symbol
              _argp_fmtstream_write
  * milestone:  => Port Bugs

Comment:

 FYI: You can use `port installed gettext` instead of resorting to (the
 much slower) `port installed | grep gettext`.

 If you're still on MacPorts 1.5.2, you should update to 1.6.0. Also, you
 should update to gettext 0.17 and libiconv 1.12.

 {{{
 sudo port selfupdate
 sudo port upgrade libiconv
 sudo port upgrade gettext
 sudo port -f uninstall gettext @0.16.1_0
 sudo port -f uninstall libiconv @1.11_6
 }}}

 Then try again. However, I don't believe it will help. I see this problem
 was [http://www.mail-archive.com/bug-tar@.../msg01683.html already
 reported] to the developers of gnutar last month, and seems to be a
 problem specific to Leopard.

--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13462#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-tickets