From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-catalyst+bounces-3051-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A3BDD138247 for <garchives@archives.gentoo.org>; Wed, 8 Jan 2014 00:57:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52798E09F6; Wed, 8 Jan 2014 00:57:18 +0000 (UTC) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5A9AE09F6 for <gentoo-catalyst@lists.gentoo.org>; Wed, 8 Jan 2014 00:57:17 +0000 (UTC) Received: by mail-vb0-f48.google.com with SMTP id q12so670138vbe.21 for <gentoo-catalyst@lists.gentoo.org>; Tue, 07 Jan 2014 16:57:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hH4MOkmciAADrXdFxnAH0Q3Lny+ocHKX2vEAz+MraQ8=; b=pCmjqNUVtniAcjAy5OFU+uOpkX9/I82rw9rve26IXpFNHgI/sKhWBLqpF4Wa0/jcVx /YiwBXZ/YCsftSTidxKIqzRCNMH10wckxxfZf6R8A8IayrdyCDvs5aWdubmmo7hvkftz 6lMZ1ZaoLpdJnVFAeNRknZpxHZvHs88LlD9FOGwIkwZXzkT6TF7xOFRqjD17DxiwxquN SlF1NJjXuR7idXOYTrpHFJkmNJUYAlQ7ykVuqfRvZr6mWtu/iJabL86lzNyWwdJp23Tz 6k3wxd5fvFmdbL/DhoRW4soSzOqpYv6PHluRGuoxNXQf4EugvwHjEnGiy8wp7d2LIzac hUaA== Precedence: bulk List-Post: <mailto:gentoo-catalyst@lists.gentoo.org> List-Help: <mailto:gentoo-catalyst+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-catalyst+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org> X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.230.35 with SMTP id sv3mr4823236vdc.27.1389142636764; Tue, 07 Jan 2014 16:57:16 -0800 (PST) Received: by 10.58.133.5 with HTTP; Tue, 7 Jan 2014 16:57:16 -0800 (PST) Date: Tue, 7 Jan 2014 18:57:16 -0600 Message-ID: <CACU8XW=1Uj_ReV74UGYhEWsK=8oPDPGWfDs1f8VS4fe+GkB_pA@mail.gmail.com> Subject: [gentoo-catalyst] I need generic solution to package non-building uder catalyst... From: lin pro <linforpros@gmail.com> To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 1fff2c02-85fc-4327-b3aa-aabbb1f3a5c7 X-Archives-Hash: 6e48f45ed5d71db0516c276aa3cf8cda Hi, I have not yet managed to build a stage4 without any fatal errors when packages are being built. This time it is about help2man requiring Locale_gettext pearl module package. The message in itself is very simple and clear. There is no dev-utils/Locale_gettex available for emerge durring the configure phase. Adding it to spec file does not change anything. Rerunning catalyst with an -a switch or -p -P or -T,or even deleting all of the catalyst/tmp directory brings no solution. My question is hwo to tacke those problems from within catalyst. I no that one should no intervene in the catalyst build process by hand. how to manupulate it with config files to solve build issues? below please find the latest fatal error which stops the spec file. >>> Emerging (117 of 260) sys-apps/help2man-1.40.11 >>> Failed to emerge sys-apps/help2man-1.40.11, Log file: >>> '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log' * Package: sys-apps/help2man-1.40.11 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib nls userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying help2man-1.36.4-respect-LDFLAGS.patch ... [ ok ] * Applying help2man-1.38.4-linguas.patch ... [ ok ] checking for perl... perl checking for module Locale::gettext... no checking for msgfmt... /usr/bin/msgfmt checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for library containing dlsym... -ldl checking for library containing bindtextdomain... none required configure: error: perl module Locale::gettext required !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11/config.log * ERROR: sys-apps/help2man-1.40.11::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2226: Called econf '--enable-nls' * phase-helpers.sh, line 577: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-apps/help2man-1.40.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/help2man-1.40.11::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11' * S: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11' * Messages for package media-fonts/dejavu-2.33: * The following fontconfig configuration files have been installed: * * 20-unhint-small-dejavu-sans-mono.conf * 20-unhint-small-dejavu-sans.conf * 20-unhint-small-dejavu-serif.conf * 57-dejavu-sans-mono.conf * 57-dejavu-sans.conf * 57-dejavu-serif.conf * * Use `eselect fontconfig` to enable/disable them. * Messages for package sci-astronomy/wcstools-3.8.7: * The following execs have been renamed to avoid colliding * with other packages: * getdate -> wcsgetdate * crlf -> wcscrlf * remap -> wcsremap * Messages for package media-fonts/urw-fonts-2.4.9: * If you upgraded from urw-fonts-2.1-r2 some fonts will look a bit * different. Take a look at bug #208990 if interested. * Messages for package media-fonts/stix-fonts-1.0.0-r1: * The following fontconfig configuration files have been installed: * * 61-stix.conf * * Use `eselect fontconfig` to enable/disable them. * Messages for package app-portage/portage-utils-0.30: * This package will overwrite one or more files that may belong to other * packages (see list below). * * Detected file collision(s): * * /etc/portage/postsync.d/q-reinitialize * /etc/portage/bin/post_sync * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). * * Package 'app-portage/portage-utils-0.30' merged despite file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. * /etc/portage/postsync.d/q-reinitialize has been installed for convenience * If you wish for it to be automatically run at the end of every --sync: * # chmod +x /etc/portage/postsync.d/q-reinitialize * Normally this should only take a few seconds to run but file systems * such as ext3 can take a lot longer. To disable, simply do: * # chmod -x /etc/portage/postsync.d/q-reinitialize * Messages for package x11-libs/libXi-1.7.2: * Some special keys and keyboard layouts may stop working. * To fix them, recompile xorg-server. * Messages for package sys-apps/help2man-1.40.11: * ERROR: sys-apps/help2man-1.40.11::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2226: Called econf '--enable-nls' * phase-helpers.sh, line 577: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-apps/help2man-1.40.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/help2man-1.40.11::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11' * S: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11' !!! catalyst: cmd() NON-zero return value from: Error in attempt to build packages !!! catalyst: stage4build aborting due to error. --- Exeption running action sequence:build_packages !!! catalyst: Error encountered during run of target stage4 Catalyst aborting.... lockfile does not exist '/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/.catalyst_lock' As you can clearly see at the top the gettext module is not available for emerge at the time of building. The spec file has this: stage4/packages: dev-perl/Locale-gettext @astronomy Theoretically the module should have been built before the @astronomy set. And yet it is not there. Let me mention that the stage4 file was modified to use the latest snapshot 20140107. If this was a regular system, not catalyst, I would diagnosed it somehow. I just have no clue how to tackle it. Could catalyst have build phases? imagine this: catalyst --phase stage4/packages -f specfile catalyst --phase stage/fsscript -f specfile catalyst --phase stage/rcadd -f specfile catalyst --phase boot/kernel/gentoo/sources -f specfile and so on and on. this way one could step in,chroot into untarred 'phase', modify it and then proceed? this is just a thought. I am not a programmer, please do not take it too seriously. Thank for any input. Ben -- best regards linforpros