Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 20:31:16 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44187: ImageMagick port fails to build
Message-ID:  <200210180131.g9I1VGSL023087@cauchy.math.missouri.edu>

next in thread | raw e-mail | index | archive | help

>Number:         44187
>Category:       ports
>Synopsis:       ImageMagick port fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 18:40:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD cauchy 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Oct 10 11:21:53 CDT 2002 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386


	
>Description:

On my system the ImageMagick port does not build.  This is kind of 
mysterious, as it used to build.  It could be that I upgraded XFree86-4,
or that I upgraded FreeBSD itself.  Nevertheless I seem to have found a
cure that works at least for me.

>How-To-Repeat:

cd /usr/ports/graphics/ImageMagick
make install clean

Eventually you get

source='xwindow.c' object='xwindow.lo' libtool=yes \
depfile='.deps/xwindow.Plo' tmpdepfile='.deps/xwindow.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I. -I. -I. 
-I.. -I../ltdl  -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6
/include -I/X11 -I/usr/local/include/libxml2  -O -pipe -Wall -c -o xwindow.lo `t
est -f 'xwindow.c' || echo './'`xwindow.c
xwindow.c: In function `XInitializeWindows':
xwindow.c:4730: warning: int format, time_t arg (arg 3)
xwindow.c:4755: warning: int format, time_t arg (arg 3)
xwindow.c:4806: warning: int format, time_t arg (arg 3)
xwindow.c: In function `XMakeImage':
xwindow.c:5062: warning: implicit declaration of function `shmget'
xwindow.c:5062: `IPC_PRIVATE' undeclared (first use in this function)
xwindow.c:5062: (Each undeclared identifier is reported only once
xwindow.c:5062: for each function it appears in.)
xwindow.c:5063: `IPC_CREAT' undeclared (first use in this function)
xwindow.c:5067: warning: implicit declaration of function `shmat'
xwindow.c:5085: warning: implicit declaration of function `shmdt'
xwindow.c:5086: warning: implicit declaration of function `shmctl'
xwindow.c:5086: `IPC_RMID' undeclared (first use in this function)
xwindow.c:5116: warning: int format, time_t arg (arg 3)
xwindow.c:5178: warning: int format, time_t arg (arg 3)
xwindow.c: In function `XMakePixmap':
xwindow.c:6860: warning: int format, time_t arg (arg 3)
xwindow.c: In function `XMakeStandardColormap':
xwindow.c:7040: warning: int format, time_t arg (arg 3)
xwindow.c:7478: warning: int format, time_t arg (arg 3)
xwindow.c: In function `XSignalHandler':
xwindow.c:8355: `IPC_RMID' undeclared (first use in this function)
gmake[2]: *** [xwindow.lo] Error 1
gmake[2]: Leaving directory `/usr/ports-current/graphics/ImageMagick/work/ImageM
agick-5.4.8/magick'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports-current/graphics/ImageMagick/work/ImageM
agick-5.4.8/magick'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports-current/graphics/ImageMagick.

>Fix:


Removing files/patch-mi seems to fix the problem.  This patch removes
lines 
#include <sys/ipc.h>
#include <sys/shm.h>
but I don't see how calls to shmat or references to IPC_PRIVATE or such like
can possibly work without these files being included.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210180131.g9I1VGSL023087>