Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459064 - libtool.eclass: elibtoolize fails with whitespace in PORTAGE_TMPDIR
Summary: libtool.eclass: elibtoolize fails with whitespace in PORTAGE_TMPDIR
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 19:13 UTC by Julian Ospald
Modified: 2013-03-03 03:31 UTC (History)
0 users

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


Attachments
libffi-3.0.12:20130224-191152.log (libffi-3.0.12:20130224-191152.log,1.97 KB, text/plain)
2013-02-24 19:13 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2013-02-24 19:13:38 UTC
Created attachment 340006 [details]
libffi-3.0.12:20130224-191152.log

example with dev-libs/libffi

the issue seems to be this code snippet:
[...]
	# Reuse "$@" for dirs to patch
	set --
	if [[ ${do_shallow} == "yes" ]] ; then
		[[ -f ${S}/ltmain.sh ]] && set -- "${S}"
	else
		set -- $(find "${S}" -name ltmain.sh -printf '%h ')
	fi

	local d p
	for d in "$@" ; do

[...]
Comment 1 Julian Ospald 2013-02-24 19:19:00 UTC
although I am not sure if we should care, removing elibtoolize from the ebuild will just result in autotools bailing out:

checking whether build environment is sane... configure: error: unsafe srcdir value: '/var/tmp 2/portage/dev-libs/libffi-3.0.12-r1/work/libffi-3.0.12'