Le samedi 04 février 2006 à 17:14 +0000, Paul Howarth a écrit : > On Sat, 2006-02-04 at 12:45 +0100, Eric Tanguy wrote: > > Le samedi 04 février 2006 à 10:24 +0000, Paul Howarth a écrit : > > > On Fri, 2006-02-03 at 20:45 -0600, Rex Dieter wrote: > > > > Eric Tanguy wrote: > > > > > Le vendredi 03 février 2006 à 16:51 -0600, Rex Dieter a écrit : > > > > > > > > >>Eric Tanguy wrote: > > > > > > > > >>>>Something like this ought to do the trick: > > > > >>>>%if "%{?fedora}" > "4" > > > > >>>>CXXFLAGS="${RPM_OPT_FLAGS} -ffriend-injection" > > > > >>>>%endif > > > > >>>>%configure > > > > > > > > >>>It seems it's not taken into account for devel. How to know what > > > > >>>%{?fedora} returns for devel ? > > > > >> > > > > >>AFAIK, on devel, %fedora expands to 5 in buildsys-macros > > > > > > > > > Maybe in buildsys but i'm trying to build it on a fc4 box using mock : > > > > > mock -r fedora-5-i386-core foobar.spec > > > > > > > > Of course it's not. That macro only gets defined if using the FE > > > > buildsystem (and/or) building from FE's Makefiles, ie, 'make mockbuild'. > > > > I had assumed this was what you were referring to in your original post. > > > > > > He said he was using mock, and mock pulls in the required macro > > > definitions by default courtesy of the [groups] repo, which points to > > > http://fedoraproject.org/buildgroups/development/i386/ > > > > > > So a mock build should be the same as an FE buildsystem build in this > > > respect. The root.log from the mock build should show buildsys-macros > > > being installed. > > > > > > Paul. > > > > The problem is : > > cd /var/lib/mock/fedora-development-i386-core/root/etc/rpm > > ls > > nothing > > and i would be able to find macros.disttag containing : > > %fedora 5 > > %dist .fc5 > > > > So it seems mock build is not the same as an FE buildsystem build or i > > do something wrong ? > > Is there no reference to buildsys-macros > in /var/lib/mock/fedora-development-i386-core/result/root.log? No see the root.log above. > > > Or it's because in FE buildsystem i do a make tag before requesting a > > build ? > > No, that's a cvs tag, nothing to do with dist tag. > > Paul. > > ------------ ensuring dir /var/lib/mock/fedora-development-i386-core/state Cleaning Root ensuring dir /var/lib/mock/fedora-development-i386-core ensuring dir /var/lib/mock/fedora-development-i386-core/root ensuring dir /var/lib/mock/fedora-development-i386-core/state ensuring dir /home/tanguy/mock ensuring dir /var/lib/mock/fedora-development-i386-core ensuring dir /var/lib/mock/fedora-development-i386-core/root ensuring dir /var/lib/mock/fedora-development-i386-core/state ensuring dir /home/tanguy/mock ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/lib/rpm ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/log ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev ensuring dir /var/lib/mock/fedora-development-i386-core/root/etc/rpm ensuring dir /var/lib/mock/fedora-development-i386-core/root/tmp ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/tmp ensuring dir /var/lib/mock/fedora-development-i386-core/root/etc/yum.repos.d ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts /usr/sbin/mock-helper yum --installroot /var/lib/mock/fedora-development-i386-core/root groupinstall build ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: autoconf noarch 2.59-5.1 core 639 k automake noarch 1.9.6-2 core 487 k automake14 noarch 1.4p6-12.1 core 205 k automake15 noarch 1.5-14 core 239 k automake16 noarch 1.6.3-5.1 core 248 k automake17 noarch 1.7.9-6.1 core 286 k binutils i386 2.16.91.0.5-1 core 3.2 M bison i386 2.1-1.1 core 494 k byacc i386 1.9-29.1 core 36 k bzip2 i386 1.0.3-2.1 core 47 k cpio i386 2.6-11.1 core 116 k ctags i386 5.5.4-4.1 core 120 k diffstat i386 1.41-1.1 core 17 k diffutils i386 2.8.1-15.1 core 208 k doxygen i386 1:1.4.6-1 core 2.3 M elfutils i386 0.119-1 core 152 k flex i386 2.5.4a-37 core 124 k gcc i386 4.1.0-0.20 core 4.2 M gcc-c++ i386 4.1.0-0.20 core 3.0 M gdb i386 6.3.0.0-1.98 core 2.7 M gettext i386 0.14.5-2.2 core 1.4 M gzip i386 1.3.5-6.1 core 97 k indent i386 2.2.9-11 core 92 k intltool i386 0.34.1-1.1 core 112 k libtool i386 1.5.22-1 core 677 k make i386 1:3.80-10 core 342 k patch i386 2.5.4-29.1 core 62 k patchutils i386 0.2.31-2.1 core 107 k perl-XML-Dumper noarch 0.79-1.1 core 21 k perl-XML-Parser i386 2.34-6.1 core 210 k perl-XML-SAX noarch 0.13-1 core 75 k pkgconfig i386 1:0.20-2.1 core 54 k redhat-rpm-config noarch 8.0.39-1.1 core 44 k rpm-build i386 4.4.2-15 core 532 k strace i386 4.5.14-1 core 97 k tar i386 1.15.1-11.1 core 735 k udev i386 078-8 core 1.0 M unzip i386 5.52-1 core 150 k Installing for dependencies: MAKEDEV i386 3.21-1 core 135 k SysVinit i386 2.86-2 core 110 k audit-libs i386 1.1.3-1 core 26 k basesystem noarch 8.0-5.1 core 2.7 k bash i386 3.1-5 core 1.8 M beecrypt i386 4.1.2-9.1 core 107 k bzip2-libs i386 1.0.3-2.1 core 34 k chkconfig i386 1.3.26-1 core 141 k coreutils i386 5.93-7 core 3.3 M cpp i386 4.1.0-0.20 core 2.3 M cracklib i386 2.8.6-1.1 core 56 k cracklib-dicts i386 2.8.6-1.1 core 3.3 M db4 i386 4.3.29-1.1 core 854 k device-mapper i386 1.02.02-3 core 544 k dmraid i386 1.0.0.rc9-FC5_5 core 460 k e2fsprogs i386 1.38-6 core 917 k e2fsprogs-libs i386 1.38-6 core 103 k elfutils-libelf i386 0.119-1 core 46 k elfutils-libs i386 0.119-1 core 95 k ethtool i386 3-1.1 core 54 k expat i386 1.95.8-8 core 73 k fedora-release noarch 4-99.rawhide core 400 k file i386 4.16-5 core 303 k filesystem i386 2.3.7-1.1 core 16 k findutils i386 1:4.2.27-3 core 291 k gawk i386 3.1.5-5 core 1.7 M gdbm i386 1.8.0-26 core 26 k glibc i686 2.3.90-34 core 4.9 M glibc-common i386 2.3.90-34 core 16 M glibc-devel i386 2.3.90-34 core 1.9 M glibc-headers i386 2.3.90-34 core 598 k glibc-kernheaders i386 3.0-4 core 723 k grep i386 2.5.1-51.1 core 172 k info i386 4.8-9 core 161 k initscripts i386 8.25-1 core 1.1 M iproute i386 2.6.15-1 core 790 k iputils i386 20020927-33 core 107 k krb5-libs i386 1.4.3-3 core 534 k less i386 394-2 core 97 k libacl i386 2.2.32-2.1.1 core 17 k libattr i386 2.4.24-2.1 core 9.8 k libgcc i386 4.1.0-0.20 core 43 k libgomp i386 4.1.0-0.20 core 31 k libselinux i386 1.29.6-1 core 81 k libsepol i386 1.11.12-1 core 124 k libsetrans i386 0.1.18-1 core 12 k libstdc++ i386 4.1.0-0.20 core 299 k libstdc++-devel i386 4.1.0-0.20 core 9.5 M libtermcap i386 2.0.8-44 core 13 k lvm2 i386 2.02.01-1.1 core 948 k m4 i386 1.4.4-1.1 core 112 k mingetty i386 1.07-5.1 core 18 k mkinitrd i386 5.0.18-1 core 580 k mktemp i386 3:1.5-23.1 core 13 k module-init-tools i386 3.2-0.pre9.2 core 382 k ncurses i386 5.5-18 core 1.1 M neon i386 0.25.5-1 core 91 k net-tools i386 1.60-60 core 352 k openssl i686 0.9.8a-5 core 1.3 M pam i386 0.99.2.1-3 core 920 k pcre i386 6.3-1.1 core 126 k perl i386 4:5.8.8-1 core 12 M perl-Compress-Zlib i386 1.41-1.1 core 52 k perl-HTML-Parser i386 3.48-1 core 90 k perl-HTML-Tagset noarch 3.10-2 core warning: binutils-2.16.91.0.5-1: Header V3 DSA signature: NOKEY, key ID 30c9ecf8 14 k perl-URI noarch 1.35-2.1 core 117 k perl-XML-NamespaceSupport noarch 1.09-1.1 core 15 k perl-libwww-perl noarch 5.805-1 core 376 k popt i386 1.10.2-15 core 65 k procps i386 3.2.6-3 core 199 k psmisc i386 21.8-1.1 core 49 k python i386 2.4.2-3 core 5.8 M readline i386 5.0-3.1 core 206 k rpm i386 4.4.2-15 core 642 k rpm-libs i386 4.4.2-15 core 924 k sed i386 4.1.4-1.1 core 202 k setup noarch 2.5.48-1 core 32 k shadow-utils i386 2:4.0.14-1 core 929 k sqlite i386 3.3.3-1 core 198 k sysklogd i386 1.4.1-34 core 71 k termcap noarch 1:5.4-7.1 core 263 k tzdata noarch 2006a-1 core 488 k util-linux i386 2.13-0.14 core 1.7 M zlib i386 1.2.3-1.1 core 48 k Transaction Summary ============================================================================= Install 122 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 108 M Installed: autoconf.noarch 0:2.59-5.1 automake.noarch 0:1.9.6-2 automake14.noarch 0:1.4p6-12.1 automake15.noarch 0:1.5-14 automake16.noarch 0:1.6.3-5.1 automake17.noarch 0:1.7.9-6.1 binutils.i386 0:2.16.91.0.5-1 bison.i386 0:2.1-1.1 byacc.i386 0:1.9-29.1 bzip2.i386 0:1.0.3-2.1 cpio.i386 0:2.6-11.1 ctags.i386 0:5.5.4-4.1 diffstat.i386 0:1.41-1.1 diffutils.i386 0:2.8.1-15.1 doxygen.i386 1:1.4.6-1 elfutils.i386 0:0.119-1 flex.i386 0:2.5.4a-37 gcc.i386 0:4.1.0-0.20 gcc-c++.i386 0:4.1.0-0.20 gdb.i386 0:6.3.0.0-1.98 gettext.i386 0:0.14.5-2.2 gzip.i386 0:1.3.5-6.1 indent.i386 0:2.2.9-11 intltool.i386 0:0.34.1-1.1 libtool.i386 0:1.5.22-1 make.i386 1:3.80-10 patch.i386 0:2.5.4-29.1 patchutils.i386 0:0.2.31-2.1 perl-XML-Dumper.noarch 0:0.79-1.1 perl-XML-Parser.i386 0:2.34-6.1 perl-XML-SAX.noarch 0:0.13-1 pkgconfig.i386 1:0.20-2.1 redhat-rpm-config.noarch 0:8.0.39-1.1 rpm-build.i386 0:4.4.2-15 strace.i386 0:4.5.14-1 tar.i386 0:1.15.1-11.1 udev.i386 0:078-8 unzip.i386 0:5.52-1 Dependency Installed: MAKEDEV.i386 0:3.21-1 SysVinit.i386 0:2.86-2 audit-libs.i386 0:1.1.3-1 basesystem.noarch 0:8.0-5.1 bash.i386 0:3.1-5 beecrypt.i386 0:4.1.2-9.1 bzip2-libs.i386 0:1.0.3-2.1 chkconfig.i386 0:1.3.26-1 coreutils.i386 0:5.93-7 cpp.i386 0:4.1.0-0.20 cracklib.i386 0:2.8.6-1.1 cracklib-dicts.i386 0:2.8.6-1.1 db4.i386 0:4.3.29-1.1 device-mapper.i386 0:1.02.02-3 dmraid.i386 0:1.0.0.rc9-FC5_5 e2fsprogs.i386 0:1.38-6 e2fsprogs-libs.i386 0:1.38-6 elfutils-libelf.i386 0:0.119-1 elfutils-libs.i386 0:0.119-1 ethtool.i386 0:3-1.1 expat.i386 0:1.95.8-8 fedora-release.noarch 0:4-99.rawhide file.i386 0:4.16-5 filesystem.i386 0:2.3.7-1.1 findutils.i386 1:4.2.27-3 gawk.i386 0:3.1.5-5 gdbm.i386 0:1.8.0-26 glibc.i686 0:2.3.90-34 glibc-common.i386 0:2.3.90-34 glibc-devel.i386 0:2.3.90-34 glibc-headers.i386 0:2.3.90-34 glibc-kernheaders.i386 0:3.0-4 grep.i386 0:2.5.1-51.1 info.i386 0:4.8-9 initscripts.i386 0:8.25-1 iproute.i386 0:2.6.15-1 iputils.i386 0:20020927-33 krb5-libs.i386 0:1.4.3-3 less.i386 0:394-2 libacl.i386 0:2.2.32-2.1.1 libattr.i386 0:2.4.24-2.1 libgcc.i386 0:4.1.0-0.20 libgomp.i386 0:4.1.0-0.20 libselinux.i386 0:1.29.6-1 libsepol.i386 0:1.11.12-1 libsetrans.i386 0:0.1.18-1 libstdc++.i386 0:4.1.0-0.20 libstdc++-devel.i386 0:4.1.0-0.20 libtermcap.i386 0:2.0.8-44 lvm2.i386 0:2.02.01-1.1 m4.i386 0:1.4.4-1.1 mingetty.i386 0:1.07-5.1 mkinitrd.i386 0:5.0.18-1 mktemp.i386 3:1.5-23.1 module-init-tools.i386 0:3.2-0.pre9.2 ncurses.i386 0:5.5-18 neon.i386 0:0.25.5-1 net-tools.i386 0:1.60-60 openssl.i686 0:0.9.8a-5 pam.i386 0:0.99.2.1-3 pcre.i386 0:6.3-1.1 perl.i386 4:5.8.8-1 perl-Compress-Zlib.i386 0:1.41-1.1 perl-HTML-Parser.i386 0:3.48-1 perl-HTML-Tagset.noarch 0:3.10-2 perl-URI.noarch 0:1.35-2.1 perl-XML-NamespaceSupport.noarch 0:1.09-1.1 perl-libwww-perl.noarch 0:5.805-1 popt.i386 0:1.10.2-15 procps.i386 0:3.2.6-3 psmisc.i386 0:21.8-1.1 python.i386 0:2.4.2-3 readline.i386 0:5.0-3.1 rpm.i386 0:4.4.2-15 rpm-libs.i386 0:4.4.2-15 sed.i386 0:4.1.4-1.1 setup.noarch 0:2.5.48-1 shadow-utils.i386 2:4.0.14-1 sqlite.i386 0:3.3.3-1 sysklogd.i386 0:1.4.1-34 termcap.noarch 1:5.4-7.1 tzdata.noarch 0:2006a-1 util-linux.i386 0:2.13-0.14 zlib.i386 0:1.2.3-1.1 ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts /sbin/runuser -c 'rpm -Uvh --nodeps /builddir/build/originals/qucs-0.0.8-1.src.rpm' mockbuild qucs warning: user tanguy does not exist - using root warning: group tanguy does not exist - using root ################################################## warning: user tanguy does not exist - using root warning: group tanguy does not exist - using root warning: user tanguy does not exist - using root warning: group tanguy does not exist - using root warning: Could not canonicalize hostname: bureau.maison Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/qucs-0.0.8-1.src.rpm ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts /usr/sbin/mock-helper yum --installroot /var/lib/mock/fedora-development-i386-core/root resolvedep 'desktop-file-utils' 'qt-devel' 0:desktop-file-utils-0.10-4.i386 1:qt-devel-3.3.5-12.i386 0:desktop-file-utils-0.10-4.i386 1:qt-devel-3.3.5-12.i386 ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts /usr/sbin/mock-helper yum --installroot /var/lib/mock/fedora-development-i386-core/root install 'desktop-file-utils' 'qt-devel' warning: libmng-devel-1.0.9-3.1: Header V3 DSA signature: NOKEY, key ID 30c9ecf8 ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: desktop-file-utils i386 0.10-4 core 57 k qt-devel i386 1:3.3.5-12 core 14 M Installing for dependencies: fontconfig i386 2.3.93.cvs20060131-2 core 179 k fontconfig-devel i386 2.3.93.cvs20060131-2 core 168 k freetype i386 2.1.10-5.1 core 515 k freetype-devel i386 2.1.10-5.1 core 560 k glib2 i386 2.9.5-1 core 623 k libICE i386 1.0.0-2 core 51 k libICE-devel i386 1.0.0-2 core 13 k libSM i386 1.0.0-2 core 25 k libSM-devel i386 1.0.0-2 core 8.9 k libX11 i386 1.0.0-2 core 748 k libX11-devel i386 1.0.0-2 core 677 k libXau i386 1.0.0-2 core 17 k libXau-devel i386 1.0.0-2 core 10 k libXcursor i386 1.1.5.2-2 core 30 k libXcursor-devel i386 1.1.5.2-2 core 14 k libXdmcp i386 1.0.0-2 core 18 k libXdmcp-devel i386 1.0.0-2 core 6.8 k libXext i386 1.0.0-3 core 34 k libXext-devel i386 1.0.0-3 core 57 k libXfixes i386 3.0.1.2-2 core 13 k libXft i386 2.1.8.2-2 core 43 k libXft-devel i386 2.1.8.2-2 core 16 k libXinerama i386 1.0.1-1 core 9.3 k libXinerama-devel i386 1.0.1-1 core 4.6 k libXrandr i386 1.1.0.2-2 core 14 k libXrandr-devel i386 1.1.0.2-2 core 15 k libXrender i386 0.9.0.2-3 core 26 k libXrender-devel i386 0.9.0.2-3 core 8.2 k libXt i386 1.0.0-2 core 164 k libXt-devel i386 1.0.0-2 core 336 k libjpeg i386 6b-36.1 core 133 k libjpeg-devel i386 6b-36.1 core 105 k libmng i386 1.0.9-3.1 core 147 k libmng-devel i386 1.0.9-3.1 core 53 k libpng i386 2:1.2.8-2.1 core 161 k libpng-devel i386 2:1.2.8-2.1 core 176 k qt i386 1:3.3.5-12 core 3.4 M xorg-x11-filesystem noarch 0.99.2-3 core 5.4 k xorg-x11-proto-devel i386 7.0-1 core 262 k zlib-devel i386 1.2.3-1.1 core 99 k Transaction Summary ============================================================================= Install 42 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 23 M Installed: desktop-file-utils.i386 0:0.10-4 qt-devel.i386 1:3.3.5-12 Dependency Installed: fontconfig.i386 0:2.3.93.cvs20060131-2 fontconfig-devel.i386 0:2.3.93.cvs20060131-2 freetype.i386 0:2.1.10-5.1 freetype-devel.i386 0:2.1.10-5.1 glib2.i386 0:2.9.5-1 libICE.i386 0:1.0.0-2 libICE-devel.i386 0:1.0.0-2 libSM.i386 0:1.0.0-2 libSM-devel.i386 0:1.0.0-2 libX11.i386 0:1.0.0-2 libX11-devel.i386 0:1.0.0-2 libXau.i386 0:1.0.0-2 libXau-devel.i386 0:1.0.0-2 libXcursor.i386 0:1.1.5.2-2 libXcursor-devel.i386 0:1.1.5.2-2 libXdmcp.i386 0:1.0.0-2 libXdmcp-devel.i386 0:1.0.0-2 libXext.i386 0:1.0.0-3 libXext-devel.i386 0:1.0.0-3 libXfixes.i386 0:3.0.1.2-2 libXft.i386 0:2.1.8.2-2 libXft-devel.i386 0:2.1.8.2-2 libXinerama.i386 0:1.0.1-1 libXinerama-devel.i386 0:1.0.1-1 libXrandr.i386 0:1.1.0.2-2 libXrandr-devel.i386 0:1.1.0.2-2 libXrender.i386 0:0.9.0.2-3 libXrender-devel.i386 0:0.9.0.2-3 libXt.i386 0:1.0.0-2 libXt-devel.i386 0:1.0.0-2 libjpeg.i386 0:6b-36.1 libjpeg-devel.i386 0:6b-36.1 libmng.i386 0:1.0.9-3.1 libmng-devel.i386 0:1.0.9-3.1 libpng.i386 2:1.2.8-2.1 libpng-devel.i386 2:1.2.8-2.1 qt.i386 1:3.3.5-12 xorg-x11-filesystem.noarch 0:0.99.2-3 xorg-x11-proto-devel.i386 0:7.0-1 zlib-devel.i386 0:1.2.3-1.1 cd /;/sbin/runuser -c 'rpmbuild --rebuild --target i386 --nodeps /builddir/build/SRPMS/qucs-0.0.8-1.src.rpm' mockbuild Cleaning up... Done. ------------------ -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list