[MacPorts] #70826: retawq fails to build: error: dereferencing pointer to incomplete type
MacPorts
noreply at macports.org
Fri Sep 20 07:41:34 UTC 2024
#70826: retawq fails to build: error: dereferencing pointer to incomplete type
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: retawq
--------------------------+--------------------
{{{
---> Configuring retawq
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/retawq-0.2.6c"
&& ./configure --path-prefix=/opt/local --path-man=/opt/local/share/man
--path-doc=/opt/local/share/doc/retawq
Checking how to run the C pre-processor... ccache /usr/bin/gcc-4.2 -E
Checking for ANSI-compliant C header files... yes
Checking whether the C header file inttypes.h exists... yes
Checking whether the C header file memory.h exists... yes
Checking whether the C header file stdint.h exists... yes
Checking whether the C header file stdlib.h exists... yes
Checking whether the C header file string.h exists... yes
Checking whether the C header file strings.h exists... yes
Checking whether the C header file sys/param.h exists... yes
Checking whether the C header file sys/stat.h exists... yes
Checking whether the C header file sys/types.h exists... yes
Checking whether the C header file unistd.h exists... yes
Checking whether the C header file arpa/inet.h exists... yes
Checking whether the C header file dirent.h exists... yes
Checking whether the C header file errno.h exists... yes
Checking whether the C header file fcntl.h exists... yes
Checking whether the C header file libintl.h exists... yes
Checking whether the C header file limits.h exists... yes
Checking whether the C header file memory.h exists... yes
Checking whether the C header file ndir.h exists... no
Checking whether the C header file netdb.h exists... yes
Checking whether the C header file netinet/in.h exists... yes
Checking whether the C header file stdarg.h exists... yes
Checking whether the C header file stdlib.h exists... yes
Checking whether the C header file string.h exists... yes
Checking whether the C header file strings.h exists... yes
Checking whether the C header file sys/dir.h exists... yes
Checking whether the C header file sys/ioctl.h exists... yes
Checking whether the C header file sys/ndir.h exists... no
Checking whether the C header file sys/poll.h exists... yes
Checking whether the C header file sys/select.h exists... yes
Checking whether the C header file sys/socket.h exists... yes
Checking whether the C header file sys/stat.h exists... yes
Checking whether the C header file sys/time.h exists... yes
Checking whether the C header file sys/types.h exists... yes
Checking whether the C header file sys/wait.h exists... yes
Checking whether the C header file termios.h exists... yes
Checking whether the C header file unistd.h exists... yes
Checking whether the C header file varargs.h exists... no
Checking whether the C const modifier works... yes
Checking whether the C inline modifier works... inline
Checking whether the C type gid_t exists... yes
Checking whether the C type mode_t exists... yes
Checking whether the C type off_t exists... yes
Checking whether the C type pid_t exists... yes
Checking whether the C type size_t exists... yes
Checking whether mmap() works... yes
Checking whether the C function bcopy() exists... yes
Checking whether the C function bzero() exists... yes
Checking whether the C function dup2() exists... yes
Checking whether the C function getcwd() exists... yes
Checking whether the C function gettimeofday() exists... yes
Checking whether the C function memcpy() exists... yes
Checking whether the C function memset() exists... yes
Checking whether the C function putenv() exists... yes
Checking whether the C function setenv() exists... yes
Checking whether the C function sigaction() exists... yes
Checking whether the C function sigdelset() exists... yes
Checking whether the C function sigfillset() exists... yes
Checking whether the C function sigprocmask() exists... yes
Checking whether the C function strcasecmp() exists... yes
Checking whether the C function strchr() exists... yes
Checking whether the C function strerror() exists... yes
Checking whether the C function strncasecmp() exists... yes
Checking whether the C function strrchr() exists... yes
Checking whether the C function strstr() exists... yes
Checking whether the C function uname() exists... yes
Checking whether the C function wait3() exists... yes
Checking whether the C function waitpid() exists... yes
Checking whether/where pthread_create() exists... yes (libc)
Checking whether/where getaddrinfo() exists... yes (libc)
Checking whether/where getnameinfo() exists... yes (libc)
Checking whether/where connect() exists... yes (libc)
Checking whether/where endservent() exists... yes (libc)
Checking whether/where freeaddrinfo() exists... yes (libc)
Checking whether/where gai_strerror() exists... yes (libc)
Checking whether/where getprotobyname() exists... yes (libc)
Checking whether/where getsockopt() exists... yes (libc)
Checking whether/where htonl() exists... yes (libc)
Checking whether/where htons() exists... yes (libc)
Checking whether/where ntohs() exists... yes (libc)
Checking whether/where setservent() exists... yes (libc)
Checking whether/where setsockopt() exists... yes (libc)
Checking whether/where socket() exists... yes (libc)
Checking whether/where getipnodebyname() exists... yes (libc)
Checking whether/where inet_addr() exists... yes (libc)
Checking whether/where inet_ntop() exists... yes (libc)
Checking whether/where inet_pton() exists... yes (libc)
Checking whether/where endhostent() exists... yes (libc)
Checking whether/where freehostent() exists... yes (libc)
Checking whether/where gethostbyname() exists... yes (libc)
Checking whether/where gethostent() exists... yes (libc)
Checking whether/where sethostent() exists... yes (libc)
---> Patching Makefile:
s|/opt/local|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local|
---> Building retawq
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/retawq-0.2.6c"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/retawq-0.2.6c'
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -D_REENTRANT -D_THREAD_SAFE
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local/include
-c init.c -o init.o
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -D_REENTRANT -D_THREAD_SAFE
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local/include
-c main.c -o main.o
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -D_REENTRANT -D_THREAD_SAFE
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local/include
-c parser.c -o parser.o
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -D_REENTRANT -D_THREAD_SAFE
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local/include
-c resource.c -o resource.o
ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -D_REENTRANT -D_THREAD_SAFE
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/destroot/opt/local/include
-c stuff.c -o stuff.o
main.c: In function ‘calculate_reqresmsg’:
main.c:1973: warning: format ‘%d’ expects type ‘int’, but argument 5 has
type ‘size_t’
main.c:1977: warning: format ‘%d’ expects type ‘int’, but argument 5 has
type ‘size_t’
main.c: In function ‘__curleft’:
main.c:4528: error: dereferencing pointer to incomplete type
main.c:4528: error: dereferencing pointer to incomplete type
main.c: In function ‘__curright’:
main.c:4531: error: dereferencing pointer to incomplete type
main.c:4531: error: dereferencing pointer to incomplete type
In file included from main.c:7059:
wk.c: In function ‘wk_browser_build_document_info’:
wk.c:376: warning: format ‘%d’ expects type ‘int’, but argument 6 has type
‘size_t’
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
stuff.c:333:200: warning: trigraph ??! ignored, use -trigraphs to enable
stuff.c:333:220: warning: trigraph ??' ignored, use -trigraphs to enable
init.c: In function ‘warn_section’:
init.c:748: warning: format ‘%d’ expects type ‘int’, but argument 6 has
type ‘size_t’
resource.c: In function ‘fetch_about’:
resource.c:3681: warning: format ‘%d’ expects type ‘int’, but argument 6
has type ‘size_t’
resource.c: In function ‘http_setup_reqstr’:
resource.c:5052: warning: format ‘%d’ expects type ‘int’, but argument 6
has type ‘size_t’
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/retawq-0.2.6c'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_retawq/retawq/work/retawq-0.2.6c"
&& /usr/bin/make -j6 -w all
Exit code: 2
Error: Failed to build retawq: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70826>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list