Opened 14 years ago
Last modified 6 months ago
#28950 new defect
dmapd: build fails when GraphicsMagick is installed
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | dmapd |
Description
When the GraphicsMagick port is installed, dmapd fails to build, as follows:
libtool: compile: ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -I/opt/local/include/libdmapsharing-3.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libsoup-2.4 -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/GraphicsMagick -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -DLOCKPATH=\"/opt/local/var/lock/subsys/dmapd\" -DRUNDIR=\"/opt/local/var/run/dmapd\" -DMODULEDIR=\"/opt/local/lib/dmapd/0.0.39/modules\" -DSYSCONFDIR=\"/opt/local/etc\" -pipe -O2 -arch x86_64 -MT photo-meta-reader-graphicsmagick.lo -MD -MP -MF .deps/photo-meta-reader-graphicsmagick.Tpo -c photo-meta-reader-graphicsmagick.c -fno-common -DPIC -o .libs/photo-meta-reader-graphicsmagick.o photo-meta-reader-graphicsmagick.c: In function 'photo_meta_reader_graphicsmagick_read': photo-meta-reader-graphicsmagick.c:118: error: 'port' undeclared (first use in this function) photo-meta-reader-graphicsmagick.c:118: error: (Each undeclared identifier is reported only once photo-meta-reader-graphicsmagick.c:118: error: for each function it appears in.) photo-meta-reader-graphicsmagick.c:118: error: expected ';' before 'to' make[2]: *** [photo-meta-reader-graphicsmagick.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
dmapd shouldn't even be attempting to use GraphicsMagick since it doesn't declare a dependency on it.
Attachments (1)
Change History (5)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.bz2 added |
---|
comment:1 Changed 14 years ago by mike@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
With dmapd 0.0.45 (and both GraphicsMagick and ImageMagick installed) the build succeeds, but it ends up linking with both of these, though only a dependency on ImageMagic is declared (through vips).
comment:3 Changed 8 years ago by jmroot (Joshua Root)
Owner: | changed from mike@… to devans@… |
---|
There appears to be a dependency now?
comment:4 Changed 6 months ago by barracuda156
This is not an issue now, but port does not build with tests enabled:
dmapd-stress-test.c:114:63: error: invalid use of incomplete typedef 'SoupMessage' {aka 'struct _SoupMessage'} 114 | g_print ("done; length was %zd bytes.\n", soup_message->response_body->length); | ^~ make[2]: *** [dmapd-stress-test.o] Error 1 make[2]: *** Waiting for unfinished jobs....
Note: See
TracTickets for help on using
tickets.
I will fix this in the next version of dmapd.