ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrey Suhenko <nexus6@list.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] [comm] XFree86-4.3.0
Date: Wed, 30 Apr 2003 17:33:56 +0800
Message-ID: <200304301733.58110.nexus6@list.ru> (raw)
In-Reply-To: <20030430130451.4cb7146d.avl@l14.ru>

В сообщении от 30 Апрель 2003 17:04 Alexey V. Lubimov написал(a):
> On Wed, 30 Apr 2003 16:24:44 +0800
>
> Andrey Suhenko <nexus6@list.ru> wrote:
> > В сообщении от 30 Апрель 2003 15:54 Alexey V. Lubimov написал(a):
> > > > [root@localhost root]# apt-get install ccache-bte     (ОК)
> > >
> > > это лишнее
> > >
> > > apt-get install rpm-build
> > > select-gcc auto
> >
> > Сделал так команды прошли
> >
> > При попытке сборки опять выходит ошибка
> >
> > make: Entering directory `/home/sapsan/RPM/BUILD/XFree86-4.3.0/xc'
> > gcc: No such file or directory
> > make: *** [World] Error 1
> > make: Leaving directory `/home/sapsan/RPM/BUILD/XFree86-4.3.0/xc'
> > ошибка: Неверный код возврата из /home/sapsan/tmp/rpm-tmp.14333 (%build)
> >
> > Я правильно понимаю что не может найти gcc
>
> а что говорит select-gcc?
>
> надо дообиться примерно такого.
>
> [avl@avl avl]$ gcc --version
> i586-alt-linux-gcc (GCC) 3.2.1 (ALT Linux, build 3.2.1-alt2)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> при непоставленных gcc3.2 альтернативы часто смотрят в воздух.
> лечится select-gcc во все возможные положения.

gcc3.2 не устанавливал , установлен 2.96

$select-gcc 2.96 (ok)


Файл RPM-TMP --- Для справки если поможет


#!/bin/sh


	export RPM_SOURCE_DIR="/home/sapsan/RPM/SOURCES"
	export RPM_BUILD_DIR="/home/sapsan/RPM/BUILD"
	export RPM_OPT_FLAGS="-pipe -Wall -O2 -fexpensive-optimizations 
-march=athlon"
	export RPM_ARCH="athlon"
	export RPM_OS="linux"
	export RPM_DOC_DIR="/usr/share/doc"
	export RPM_PACKAGE_NAME="XFree86"
	export RPM_PACKAGE_VERSION="4.3.0"
	export RPM_PACKAGE_RELEASE="alt0.31"
	export RPM_BUILD_ROOT="/home/sapsan/tmp/XFree86-buildroot"
	export RPM_CLEANUP_METHOD="auto"
	export RPM_COMPRESS_METHOD="auto"
	export RPM_FIXUP_METHOD="binconfig pkgconfig libtool"
	export RPM_STRIP_METHOD=" none"
	export RPM_VERIFY_ELF_METHOD="normal"
	
	
	export RPM_FINDREQ_DEFAULT_METHOD="files lib pam perl shell"
	export RPM_FINDPROV_DEFAULT_METHOD="pam lib perl"
	export RPM_CLEANUP_TOPDIR=""
	export RPM_COMPRESS_TOPDIR="/usr"
	export RPM_FIXUP_TOPDIR=""
	export RPM_STRIP_TOPDIR=""
	export RPM_VERIFY_ELF_TOPDIR=""
	export RPM_FINDREQ_TOPDIR=""
	export RPM_FINDPROV_TOPDIR=""
	export RPM_CLEANUP_SKIPLIST=""
	export RPM_COMPRESS_SKIPLIST=""
	export RPM_FIXUP_SKIPLIST=""
	export RPM_STRIP_SKIPLIST="*/debug/*"
	export RPM_VERIFY_ELF_SKIPLIST=""
	export RPM_FINDREQ_SKIPLIST="/usr/share/doc/*"
	export RPM_FINDPROV_SKIPLIST="/usr/share/doc/*"
	
	export RPM_PERL_REQ_METHOD="normal"
	export RPM_PYTHON="/usr/bin/python"
	
	unset LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY 
LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
LC_IDENTIFICATION LC_ALL ||:
	
	
	unset DISPLAY XAUTHORITY ||:
	
	
	
	unset CCACHE_CC CCACHE_CXX CCACHE_DIR ||:
	
	
	
	
	unset AUTOCONF_VERSION AUTOMAKE_VERSION LIBTOOL_VERSION GCC_VERSION ||:
	
	
	
	
	
	MAKEFLAGS="--print-directory"
	
	set -x
	umask 022
	/bin/mkdir -p /home/sapsan/RPM/BUILD
	cd /home/sapsan/RPM/BUILD



cd XFree86-4.3.0


#         CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
[ -n "$NPROCS" ] || NPROCS=1; make -j$NPROCS World -C xc CC="ccache gcc" 
CXX="ccache g++" \
	DEFAULTFONTPATH="/usr/X11R6/lib/X11/fonts/misc:unscaled,unix/:-1" \
        MAKE="make"

# compile libtype1 with -fno-fast-math
make -C xc/lib/font/Type1 clean includes
make -C xc/lib/font/Type1 CDEBUGFLAGS="$RPM_OPT_FLAGS -fno-fast-math"
make -C xc/lib/font

echo PACKAGING DOCUMENTATION
# rezip these - they are in the old compress format
find xc/doc/hardcopy -name \*.PS.Z | xargs gzip -df
find xc/doc/hardcopy -name \*.PS | xargs gzip -f

groff -Tascii -ms xc/doc/misc/RELNOTES.ms > xc/doc/hardcopy/RELNOTES.txt
rm -rf xc/doc/hardcopy/BDF/*
groff -Tascii -ms xc/doc/specs/BDF/bdf.ms > xc/doc/hardcopy/BDF/bdf.txt
rm -rf xc/doc/hardcopy/CTEXT/*
groff -Tascii -ms xc/doc/specs/CTEXT/ctext.tbl.ms 
>xc/doc/hardcopy/CTEXT/ctext.tbl.txt
rm -rf xc/doc/hardcopy/FSProtocol/*
groff -Tascii -ms xc/doc/specs/FSProtocol/protocol.ms 
>xc/doc/hardcopy/FSProtocol/protocol.txt
rm -rf xc/doc/hardcopy/ICCCM/*
groff -Tascii -ms xc/doc/specs/ICCCM/icccm.ms >xc/doc/hardcopy/ICCCM/icccm.txt
rm -rf xc/doc/hardcopy/ICE/*
groff -Tascii -ms xc/doc/specs/ICE/ICElib.ms >xc/doc/hardcopy/ICE/ICElib.txt
groff -Tascii -ms xc/doc/specs/ICE/ice.ms > xc/doc/hardcopy/ICE/ice.txt
cp xc/doc/specs/PM/PM_spec xc/doc/hardcopy/ICE
rm -rf xc/doc/hardcopy/SM/*
groff -Tascii -ms xc/doc/specs/SM/SMlib.ms > xc/doc/hardcopy/SM/SMlib.txt
rm -rf xc/doc/hardcopy/XDMCP/*
groff -Tascii -ms xc/doc/specs/XDMCP/xdmcp.ms >xc/doc/hardcopy/XDMCP/xdmcp.txt
rm -rf xc/doc/hardcopy/XIM/*
groff -Tascii -ms xc/doc/specs/XIM/xim.ms > xc/doc/hardcopy/XIM/xim.txt
rm -rf xc/doc/hardcopy/XLFD/*
groff -Tascii -ms xc/doc/specs/XLFD/xlfd.tbl.ms 
>xc/doc/hardcopy/XLFD/xlfd.tbl.txt


exit 0

Далее rpm -rebuild ля-ля.тополя

Ошибка

Выполняется(%build): /bin/sh -e /home/sapsan/tmp/rpm-tmp.24593
+ umask 022
+ /bin/mkdir -p /home/sapsan/RPM/BUILD
+ cd /home/sapsan/RPM/BUILD
+ cd XFree86-4.3.0
+ '[' -n '' ']'
+ NPROCS=1
+ make -j1 World -C xc 'CC=ccache gcc' 'CXX=ccache g++' 
DEFAULTFONTPATH=/usr/X11R6/lib/X11/fonts/misc:unscaled,unix/:-1 MAKE=make
make: Entering directory `/home/sapsan/RPM/BUILD/XFree86-4.3.0/xc'
gcc: No such file or directory
make: *** [World] Error 1
make: Leaving directory `/home/sapsan/RPM/BUILD/XFree86-4.3.0/xc'
ошибка: Неверный код возврата из /home/sapsan/tmp/rpm-tmp.24593 (%build)


Мозги уже кипят :(((


  reply	other threads:[~2003-04-30  9:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 17:33 ` Герасимов Дмитрий
2003-04-29 17:58   ` "Алексей Любимов"
2003-04-30  1:35   ` Andrey Suhenko
2003-04-30  4:42     ` Gerasimov Dmitry
2003-04-30  5:56       ` Andrey Suhenko
2003-04-30  5:41     ` Leonid B. Sysoletin
2003-04-30  7:59       ` Andrey Suhenko
2003-05-01  9:33         ` [sisyphus] " Andrey Brindeew
2003-04-30  7:54     ` [sisyphus] " Alexey V. Lubimov
2003-04-30  8:24       ` Andrey Suhenko
2003-04-30  9:04         ` Alexey V. Lubimov
2003-04-30  9:33           ` Andrey Suhenko [this message]
2003-04-30  9:38           ` Dmitry Alexeyev
2003-05-04 19:41             ` [sisyphus] XFree86-4.3.0 Alexey Tourbin
2003-05-05 10:34               ` Dmitry Alexeyev
2003-05-06 12:19                 ` [sisyphus] Re: ccache Alexey Tourbin
2003-04-30 13:08   ` [sisyphus] [comm] XFree86-4.3.0 dist№ 25RH-R29U-TD0T Andrey Suhenko
2003-04-30 13:28     ` [sisyphus] [comm] XFree86-4.3.0 dist??? 25RH-R29U-TD0T Gerasimov Dmitry
2003-05-02 15:59     ` [sisyphus] " Michael Shigorin
2003-04-29 16:54 [sisyphus] [comm] XFree86-4.3.0 nexus6

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304301733.58110.nexus6@list.ru \
    --to=nexus6@list.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git