[MacPorts] #13353: mc doesn't compile under 10.5.1/ppc

MacPorts trac at macosforge.org
Mon Nov 19 12:41:04 PST 2007


#13353: mc doesn't compile under 10.5.1/ppc
-----------------------+----------------------------------------------------
 Reporter:  as at kis.ru  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect     |      Status:  new                              
 Priority:  Normal     |   Milestone:                                   
Component:  ports      |     Version:  1.5.2                            
 Keywords:             |  
-----------------------+----------------------------------------------------
 {{{
 PowerBook-G4-12:~ as$ sudo port selfupdate
 MacPorts base version 1.520 installed
 Downloaded MacPorts base version 1.520
 The MacPorts installation is not outdated and so was not updated
 selfupdate done!
 PowerBook-G4-12:~ as$ sudo port list installed
 expat                          @2.0.1          textproc/expat
 gettext                        @0.17           devel/gettext
 glib2                          @2.14.3         devel/glib2
 libiconv                       @1.12           textproc/libiconv
 openssl                        @0.9.8g         devel/openssl
 pkgconfig                      @0.22           devel/pkgconfig
 wget                           @1.10.2         net/wget
 zlib                           @1.2.3          archivers/zlib
 PowerBook-G4-12:~ as$ sudo port install mc
 --->  Fetching mc
 --->  Verifying checksum(s) for mc
 --->  Extracting mc
 --->  Configuring mc
 --->  Building mc 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_sysutils_mc/work/mc-4.6.0"
 && make all " returned error 2
 Command output: widget.c:1340: warning: pointer targets in passing
 argument 1 of 'strlen' differ in signedness
 widget.c:1341: warning: pointer targets in passing argument 1 of 'strlen'
 differ in signedness
 widget.c: In function 'hist_prev':
 widget.c:1353: warning: pointer targets in passing argument 2 of
 'push_history' differ in signedness
 widget.c: In function 'hist_next':
 widget.c:1370: warning: pointer targets in passing argument 2 of
 'push_history' differ in signedness
 widget.c: In function 'input_event':
 widget.c:1589: warning: pointer targets in passing argument 1 of 'strlen'
 differ in signedness
 widget.c: In function 'input_new':
 widget.c:1646: warning: pointer targets in passing argument 1 of 'strcpy'
 differ in signedness
 widget.c:1647: warning: pointer targets in passing argument 1 of 'strlen'
 differ in signedness
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/opt/local/share/mc/"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -I..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -O2 -Wall -MT win.o -MD -MP -MF ".deps/win.Tpo" \
           -c -o win.o `test -f 'win.c' || echo './'`win.c; \
         then mv ".deps/win.Tpo" ".deps/win.Po"; \
         else rm -f ".deps/win.Tpo"; exit 1; \
         fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/opt/local/share/mc/"\"
 -DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include -I..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -O2 -Wall -MT wtools.o -MD -MP -MF
 ".deps/wtools.Tpo" \
           -c -o wtools.o `test -f 'wtools.c' || echo './'`wtools.c; \
         then mv ".deps/wtools.Tpo" ".deps/wtools.Po"; \
         else rm -f ".deps/wtools.Tpo"; exit 1; \
         fi
 wtools.c: In function 'quick_dialog_skip':
 wtools.c:368: warning: pointer targets in passing argument 1 of 'g_strdup'
 differ in signedness
 gcc -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -O2 -Wall  -L/opt/local/lib -o mc  achown.o
 background.o boxes.o chmod.o chown.o cmd.o color.o command.o complete.o
 cons.handler.o dialog.o dir.o dlg.o ext.o file.o filegui.o filenot.o
 fileopctx.o find.o findme.o fsusage.o help.o hotlist.o info.o key.o
 keyxdef.o layout.o learn.o listmode.o main.o menu.o mountlist.o mouse.o
 option.o panelize.o popt.o poptconfig.o popthelp.o poptparse.o profile.o
 regex.o rxvt.o screen.o setup.o slint.o subshell.o terms.o text.o
 textconf.o tree.o treestore.o user.o util.o utilunix.o view.o widget.o
 win.o wtools.o ../edit/libedit.a  ../vfs/libvfs-mc.a
 /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
 -L/opt/local/lib -lglib-2.0 -lintl -liconv   -lncurses
 /opt/local/lib/libiconv.dylib
 ld: duplicate symbol _g_bit_nth_lsf in background.o and achown.o

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

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13353>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list