[MacPorts] #31885: apple-gcc42 failed to compile: conflicting types for 'psignal'

MacPorts noreply at macports.org
Thu Nov 3 21:45:13 PDT 2011


#31885: apple-gcc42 failed to compile: conflicting types for 'psignal'
-----------------------------------+----------------------------------------
 Reporter:  macports@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:  apple-gcc42 lion       |        Port:                                       
-----------------------------------+----------------------------------------

Comment(by macports@…):

 Adding the the important part of the logfile again, with wikiformat :)

 {{{
 :info:build /Developer/usr/bin/clang -std=gnu89 -c -DHAVE_CONFIG_H -g
 -fkeep-inline-functions -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/libiberty/../include  -W -Wall -pedantic -Wwrite-
 strings -Wstrict-prototypes -Wc++-compat
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/libiberty/strverscmp.c -o strverscmp.o
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/libiberty/strsignal.c:552:1: error: conflicting
 types for 'psignal'
 :info:build psignal (unsigned signo, char *message)
 :info:build ^
 :info:build /usr/include/signal.h:105:6: note: previous declaration is
 here
 :info:build void    psignal(unsigned int, const char *);
 :info:build         ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-
 gcc42/work/objroot/src/libiberty/strsignal.c:558:30: warning: comparison
 of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
 :info:build   if ((signo <= 0) || (signo >= sys_nsig))
 :info:build                        ~~~~~ ^  ~~~~~~~~
 :info:build 1 warning and 1 error generated.
 :info:build make[4]: *** [strsignal.o] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build make[5]: Nothing to be done for `all'.
 :info:build make[3]: *** [all-stage1-libiberty] Error 2
 :info:build make[2]: *** [stage1-bubble] Error 2
 :info:build make[1]: *** [all] Error 2
 :info:build + exit 1
 :info:build make: *** [install] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
 && /usr/bin/make -j4 -w install CC="/Developer/usr/bin/clang -std=gnu89"
 PREFIX="/opt/local"
 SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3"
 OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot"
 SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/symroot"
 DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/destroot"
 RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64"
 TARGETS="i386" " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/31885#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list