Opened 18 years ago

Closed 18 years ago

#5557 closed defect (fixed)

BUG: Inkscape fails to build

Reported by: unix13@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: wsimpson@…
Port:

Description

It hangs up here when installing libgnomeprint =========================================== ---> Attempting to fetch libgnomeprint-2.12.1.tar.bz2 from http://www.gtlib.cc.gatech.edu/pub/ gnome/sources/libgnomeprint/2.12/ ---> Verifying checksum(s) for libgnomeprint ---> Extracting libgnomeprint ---> Configuring libgnomeprint ---> Building libgnomeprint with target all ---> Staging libgnomeprint into destroot Error: Target com.apple.destroot returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/libgnomeprint-2.12.1" && make install DESTDIR=/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot" returned error 2 Command output: mkdir -p -- /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private

/usr/bin/install -c -m 644 gpa-node.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-node.h

/usr/bin/install -c -m 644 gpa-utils.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-utils.h

/usr/bin/install -c -m 644 gpa-printer.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-printer.h

/usr/bin/install -c -m 644 gpa-key.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-key.h

/usr/bin/install -c -m 644 gpa-state.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-state.h

/usr/bin/install -c -m 644 gpa-option.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-option.h

/usr/bin/install -c -m 644 gpa-node-private.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-node-private.h

/usr/bin/install -c -m 644 gpa-list.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-list.h

/usr/bin/install -c -m 644 gpa-model.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-model.h

/usr/bin/install -c -m 644 gpa-settings.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-settings.h

/usr/bin/install -c -m 644 gpa-reference.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-reference.h

/usr/bin/install -c -m 644 gpa-root.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-root.h

/usr/bin/install -c -m 644 gpa-config.h /opt/local/var/db/dports/build/

_opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeprint /work/destroot/opt/local/include/libgnomeprint-2.2/libgnomeprint/private/gpa-config.h Making install in ttsubset make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in . /usr/bin/flex -P_gnome_print_filter_parse_yy parse.l grammar.tab.h if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libart-2.0 -I/opt/local/include/ pango-1.0 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libxml2 -I/opt/ local/include/freetype2 -I/opt/local/include -DG_LOG_DOMAIN=\"GnomePrint\" - DGNOMELOCALEDIR=\""/opt/local/share/locale"\" -DGNOME_PRINT_DATA_DIR=\""/opt/local/share/ libgnomeprint/2.12.1"\" -DGNOME_PRINT_MODULES_DIR=\""/opt/local/lib/libgnomeprint/2.12.1/ modules"\" -I/opt/local/include -L/opt/local/lib -g -O2 -MT lex._gnome_print_filter_parse_yy.lo - MD -MP -MF ".deps/lex._gnome_print_filter_parse_yy.Tpo" \

-c -o lex._gnome_print_filter_parse_yy.lo `test -f 'lex._gnome_print_filter_parse_yy.c'
echo

'./'`lex._gnome_print_filter_parse_yy.c; \ then mv -f ".deps/lex._gnome_print_filter_parse_yy.Tpo" ".deps/lex._gnome_print_filter_parse_yy.Plo"; \ else rm -f ".deps/lex._gnome_print_filter_parse_yy.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -

I/opt/local/include/libart-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/ include/freetype2 -I/opt/local/include/libxml2 -I/opt/local/include/freetype2 -I/opt/local/include - DG_LOG_DOMAIN=\"GnomePrint\" -DGNOMELOCALEDIR=\"/opt/local/share/locale\" - DGNOME_PRINT_DATA_DIR=\"/opt/local/share/libgnomeprint/2.12.1\" - DGNOME_PRINT_MODULES_DIR=\"/opt/local/lib/libgnomeprint/2.12.1/modules\" -I/opt/local/include -L/opt/local/lib -g -O2 -MT lex._gnome_print_filter_parse_yy.lo -MD -MP -MF .deps/ lex._gnome_print_filter_parse_yy.Tpo -c lex._gnome_print_filter_parse_yy.c -fno-common -DPIC - o .libs/lex._gnome_print_filter_parse_yy.o parse.l:44: error: conflicting types for 'YYSTYPE' ../libgnomeprint/grammar.tab.h:6: error: previous declaration of 'YYSTYPE' was here make[2]: * [lex._gnome_print_filter_parse_yy.lo] Error 1 make[1]: * [install-recursive] Error 1 make: * [install-recursive] Error 1

Error: The following dependencies failed to build: libgnomeprintui libgnomeprint Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 18 years ago by toby@…

Component: basedports

comment:2 Changed 18 years ago by mww@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…
Summary: Inkscape fails to buildBUG: Inkscape fails to build

comment:3 Changed 18 years ago by wsimpson@…

Cc: wsimpson@… added

confirmed. This particular problem is with libgnomeprint -- it apparently requires bison 2.1, which should be in the depends.

The workaround is

'port install bison' 'port clean libgnomeprint' 'port install libgnomeprint' 'port install inkscape'

however, inkscape still fails to build....

checking for gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.4.0 libxml-2.0 >= 2.6.0 libxslt >= 1.0.15 sigc++-2.0 >= 2.0.3 gthread-2.0 >= 2.0... Package libxslt was not found in the pkg-config search path. Perhaps you should add the directory containing `libxslt.pc' to the PKG_CONFIG_PATH environment variable No package 'libxslt' found configure: error: Library requirements (gdkmm-2.4 glibmm-2.4 gtkmm-2.4 gtk+-2.0 >= 2.4.0 libxml-2.0 >= 2.6.0 libxslt >= 1.0.15 sigc++-2.0 >= 2.0.3

gthread-2.0 >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH

environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

comment:4 Changed 18 years ago by wsimpson@…

dependson: 5460

comment:5 Changed 18 years ago by wsimpson@…

Likewise, the workaround today is

'port install libxslt' 'port install inkscape'

comment:6 Changed 18 years ago by rhwood@…

Portfile commited with dependency on libxslt.

Please close bug if you can no longer reproduce it.

comment:7 Changed 18 years ago by rhwood@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.