View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Sun Nov 29, 2015 12:30 am Post subject: --no-ldconfig error [SOLVED] |
|
|
Code: |
>>> Emerging (1 of 6) x11-libs/ntk-9999-r1::proaudio
>>> Unpacking source...
GIT update -->
repository: git://git.tuxfamily.org/gitroot/non/fltk.git
at the commit: 5719b0044d9f267de5391fab006370cc7f4e70bd
branch: master
storage directory: "/usr/portage/distfiles/egit-src/fltk.git"
checkout type: bare repository
Cloning into '/var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999
>>> Source unpacked in /var/tmp/portage/x11-libs/ntk-9999-r1/work
>>> Preparing source in /var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999 ...
* Waf requires threading support in Python. To accomodate this requirement,
* please add 'threads(+)' to PYTHON_REQ_USE variable (above inherit line).
* For more information and examples, please see:
* https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration
CCFLAGS="-march=amdfam10 -O2 -pipe" LINKFLAGS="-march=amdfam10 -O2 -pipe -Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999/waf" --prefix=/usr --libdir=/usr/lib64 --no-ldconfig --no-optimize configure
waf [commands] [options]
Main commands (example: ./waf build -j4)
build : executes the build
clean : cleans the project
configure: configures the project
dist : makes a tarball for redistributing the sources
distcheck: checks if the project compiles (tarball from 'dist')
distclean: removes the build directory
install : installs the targets on the system
list : lists the targets to execute
step : executes tasks in a step-by-step fashion, for debugging
uninstall: removes the targets installed
update : updates the plugins from the *waflib/extras* directory
waf: error: no such option: --no-ldconfig
* ERROR: x11-libs/ntk-9999-r1::proaudio failed (configure phase):
* configure failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3244: Called waf-utils_src_configure '--no-ldconfig' '--no-optimize'
* environment, line 3872: Called die
* The specific snippet of code:
* CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir}" "$@" configure || die "configure failed";
*
* If you need support, post the output of `emerge --info '=x11-libs/ntk-9999-r1::proaudio'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/ntk-9999-r1::proaudio'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/ntk-9999-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/ntk-9999-r1/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999'
* S: '/var/tmp/portage/x11-libs/ntk-9999-r1/work/ntk-9999'
>>> Failed to emerge x11-libs/ntk-9999-r1
|
How would I get around the --no-ldconfig thing? _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Last edited by audiodef on Fri Jul 22, 2016 7:58 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Nov 29, 2015 5:49 am Post subject: Re: --no-ldconfig error |
|
|
audiodef wrote: | How would I get around the --no-ldconfig thing? |
audiodef ... by the looks of things that is explictly called via src_configure() in x11-libs/ntk-9999-r1::proaudio ... likely the ebuild reflects a time when x11-libs/ntk wasn't using waf, difficult to say without seeing the ebuild.
best ... khay |
|
Back to top |
|
|
Gooberpatrol66 Tux's lil' helper
Joined: 20 Jul 2014 Posts: 143
|
Posted: Sun Dec 06, 2015 9:06 am Post subject: |
|
|
Here's the ebuild for the package he's referring to:
Code: | # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit git-2 python-any-r1 waf-utils
DESCRIPTION="A fork of the Fast Light ToolKit library, adding improved graphics rendering via Cairo"
HOMEPAGE="http://non.tuxfamily.org/wiki/NTK"
EGIT_REPO_URI="git://git.tuxfamily.org/gitroot/non/fltk.git"
# --enable-test to waf builds and installs test programs. There is no
# test suite in the source code.
RESTRICT="test"
LICENSE="FLTK LGPL-2"
SLOT="0"
KEYWORDS=""
IUSE="debug opengl png"
RDEPEND="media-libs/fontconfig
x11-libs/cairo
x11-libs/libX11
x11-libs/libXft
virtual/jpeg
opengl? ( media-libs/glu )
png? ( media-libs/libpng )"
DEPEND="${RDEPEND}"
DOCS=( ANNOUNCEMENT CREDITS README )
PATCHES=(
"${FILESDIR}"/${P}-noldconfig-r1.patch
"${FILESDIR}"/${P}-nooptimize.patch
)
src_unpack() {
git-2_src_unpack
}
src_configure() {
local mywafconfargs=(
--no-ldconfig
--no-optimize
$(usex debug --enable-debug "")
$(usex opengl --enable-gl "")
)
waf-utils_src_configure ${mywafconfargs[@]}
}
src_install() {
DESTDIR="${D}" waf-utils_src_install
} |
|
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Dec 06, 2015 9:56 am Post subject: |
|
|
Gooberpatrol66 wrote: | Here's the ebuild for the package he's referring to: |
Gooberpatrol66 ... ok, given the following warning in waf-utils.eclass I think the issue is something to do with the array used ...
waf-utils.eclass: | # This condition is required because waf takes even whitespace as function
# calls, awesome isn't it? |
.. please try replacing src_configure() with the following (untested):
Code: | src_configure() {
waf-utils_src_configure \
--no-ldconfig \
--no-optimize \
$(use debug && echo "--enable-debug") \
$(use opengl && echo "--enable-gl")
} |
If that isn't the issue then I can't see what else it might be ...
HTH & best ... khay |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|