Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213758 - media-gfx/inkscape-0.45.1-r1 does not compile if Autopackage developer tools are installed.
Summary: media-gfx/inkscape-0.45.1-r1 does not compile if Autopackage developer tools ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 00:37 UTC by Thomas Moulard
Modified: 2008-03-18 07:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build log with a non-modified relaytool (build.log,976.67 KB, text/plain)
2008-03-18 00:42 UTC, Thomas Moulard
Details
complete build log with a *modified* relaytool. (build-2.log,949.80 KB, text/plain)
2008-03-18 00:54 UTC, Thomas Moulard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Moulard 2008-03-18 00:37:26 UTC
Autopackage is a binary package distribution system (see http://autopackage.org).

Inkscape provides Autopackage packages (see http://www.inkscape.org/download/?lang=en / http://inkscape.modevia.com/ap/?M=D), that's why it try to detect the Autopackage developer tools during the configure, especially relaytool.

From http://autopackage.org/aptools.html:
"This is a program to provide a more convenient interface to dlopen/dlsym. It allows you to easily soft link to libraries."

The problem is that relaytool does not work on Gentoo because arch binay is not provided (already reported here http://trac.autopackage.org/ticket/51, see build.log).

I've applied the patch on my relaytool wrapper script and some other errors appeared after that (see build-2.log).

However, if I remove the Autopackage developer tools, the package is emerged without any problem.

If someone can solve the conflict, it would be great, but at least, it should be ok to just "lie" to the configure and prevent it from using relaytool.

Reproducible: Always

Steps to Reproduce:
1. Install the Autopackage developer tools.
$ wget http://ftp.sunsite.dk/projects/autopackage/1.2.4/Autopackage%20Development%20Environment%201.2.4-2.package && chmod +x Autopackage%20Development%20Environment%201.2.4-2.package && ./Autopackage%20Development%20Environment%201.2.4-2.package

2. emerge =media-gfx/inkscape-0.45.1

Actual Results:  
Compilation is failing.

With the non-modified relaytool: "arch" command not found.
With the modified relaytool: symbol already defined (see build-2.log).

Expected Results:  
inkscape should emerge properly.

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Timestamp of tree: Thu, 28 Feb 2008 18:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LINGUAS="en fr jp"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/crossdev /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3ds X a52 aac acl acpi alsa apache apache2 arts avahi berkdb bitmap-fonts boost cairo cdr cli connectionstatus contactnotes cracklib crypt cups dbus dia doc dri dts dvd dvdr dvdread eds emacs emboss encode esd evo fam fbsplash firefox flac fortran gdbm gif gnome gpm graphviz gs gstreamer gtk hal highlight history iconv imagemagick ipod ipv6 irc isdnlog jabber jpeg kde kerberos ldap leim live mad midi mikmod mmx mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png postgres postscript pppd python qt3 qt3support qt4 quicktime readline reflection samba sd-image sdl session skins spell spl sqlite ssl subversion svg symlink tcpd theora threads tiff translator truetype truetype-fonts type1-fonts unicode upnp v4l vcd vhost vorbis win32codecs x264 x86 xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr jp" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Moulard 2008-03-18 00:42:01 UTC
Created attachment 146439 [details]
complete build log with a non-modified relaytool

Non-modified relaytool, just installed from the Autopackage developer tools package.
Comment 2 Thomas Moulard 2008-03-18 00:44:02 UTC
Sorry, the right version is media-gfx/inkscape-0.45.1-r1.
Comment 3 Thomas Moulard 2008-03-18 00:54:54 UTC
Created attachment 146440 [details]
complete build log with a *modified* relaytool.

After having applied the following patch on relaytool: http://trac.autopackage.org/attachment/ticket/51/relaytool-uname.diff

See http://trac.autopackage.org/ticket/51.

Now I don't have the "symbol already existing" problem but just some missing dependencies at link-time. I can't figure why.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-18 07:10:25 UTC
Please report this upstream if you still have problems w/ 0.46 - http://www.inkscape.org/report_bugs.php?lang=en; such stuff shouldn't be enabled by default unless requested.