[MacPorts] #13670: swi-prolog 5.6.48 build failure

MacPorts trac at macosforge.org
Fri Dec 21 06:38:42 PST 2007


#13670: swi-prolog 5.6.48 build failure
---------------------------------+------------------------------------------
  Reporter:  istellit at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect              |      Status:  new                                  
  Priority:  Normal              |   Milestone:  Port Bugs                            
 Component:  ports               |     Version:  1.6.0                                
Resolution:                      |    Keywords:  swi-prolog 1.6  5.6.48               
---------------------------------+------------------------------------------
Old description:

> I just update my macport to 1.6 and try to install swi-prolog under
> 1.6(which has some problem under macport 1.5).
> But I got this error during build phase:
> > -----------------------------
> --->  Building swi-prolog 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_lang_swi-prolog/work/pl-5.6.48" && make all " returned
> error 2
> Command output: config.status: creating Makefile
> config.status: creating config.h
> touch .pkg-config
> cd packages && make
> for p in clib cpp odbc table xpce sgml sgml/RDF semweb http chr clpqr nlp
> ssl pldoc plunit jpl zlib; do \
>             if [ -r $p/Makefile ]; then make -C $p || exit 1; fi; \
>        done
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o random.o random.c
> ../plld.sh -shared -o random.dylib random.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o error.o error.c
> error.c: In function 'pl_error':
> error.c:78: warning: unused variable 'argn'
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o process.o process.c
> ../plld.sh -shared -o unix.dylib error.o process.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o socket.o socket.c
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o nonblockio.o nonblockio.c
> ../plld.sh -shared -o socket.dylib error.o socket.o nonblockio.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o form.o form.c
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o cgi.o cgi.c
> ../plld.sh -shared -o cgi.dylib error.o form.o cgi.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o memfile.o memfile.c
> ../plld.sh -shared -o memfile.dylib error.o memfile.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o files.o files.c
> ../plld.sh -shared -o files.dylib error.o files.o
> ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
> -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o mime.o mime.c
> (cd maildrop/rfc2045 && make)
> make[3]: *** No targets specified and no makefile found.  Stop.
> make[2]: *** [maildrop/rfc2045/librfc2045.a] Error 2
> make[1]: *** [objects] Error 1
> make: *** [packages] Error 2
>
> Error: Status 1 encountered during processing.
> > ---------------

New description:

 I just update my macport to 1.6 and try to install swi-prolog under
 1.6(which has some problem under macport 1.5).
 But I got this error during build phase:

 {{{
 Building swi-prolog 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_lang_swi-prolog/work/pl-5.6.48" && make all " returned
 error 2
 Command output: config.status: creating Makefile
 config.status: creating config.h
 touch .pkg-config
 cd packages && make
 for p in clib cpp odbc table xpce sgml sgml/RDF semweb http chr clpqr nlp
 ssl pldoc plunit jpl zlib; do \
             if [ -r $p/Makefile ]; then make -C $p || exit 1; fi; \
        done
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o random.o random.c
 ../plld.sh -shared -o random.dylib random.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o error.o error.c
 error.c: In function 'pl_error':
 error.c:78: warning: unused variable 'argn'
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o process.o process.c
 ../plld.sh -shared -o unix.dylib error.o process.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o socket.o socket.c
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o nonblockio.o nonblockio.c
 ../plld.sh -shared -o socket.dylib error.o socket.o nonblockio.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o form.o form.c
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o cgi.o cgi.c
 ../plld.sh -shared -o cgi.dylib error.o form.o cgi.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o memfile.o memfile.c
 ../plld.sh -shared -o memfile.dylib error.o memfile.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o files.o files.c
 ../plld.sh -shared -o files.dylib error.o files.o
 ../plld.sh -O2 -fno-strict-aliasing -Wall -fpic -I. -Imaildrop/rfc2045
 -Imaildrop/rfc822 -DHAVE_CONFIG_H   -c -o mime.o mime.c
 (cd maildrop/rfc2045 && make)
 make[3]: *** No targets specified and no makefile found.  Stop.
 make[2]: *** [maildrop/rfc2045/librfc2045.a] Error 2
 make[1]: *** [objects] Error 1
 make: *** [packages] Error 2

 Error: Status 1 encountered during processing.
 }}}

Comment (by jmpp at macports.org):

 Please read WikiFormatting to learn how to paste terminal output as
 "preformatted text".

 -jmpp

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13670#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list