hi,
i'm trying to recompile the httpd rpm on a x86_64 system. all i've changed in the spec file is the "--with-suexec-docroot" configure option. the error message i get from the "rpmbuild -ba SPECS/httpd.spec" command is "ln: creating symbolic link `/var/tmp/httpd-root/etc/httpd/logs' to `../../usr/var/log/httpd': No such file or directory". so what do i do now?
thx matthias
sorry, centos version is 5.
problem appears with httpd-2.2.3-6.el5.centos.1.src.rpm and httpd-2.2.3-7.el5.centos.src.rpm (updates)
Matthias Leopold schrieb:
hi,
i'm trying to recompile the httpd rpm on a x86_64 system. all i've changed in the spec file is the "--with-suexec-docroot" configure option. the error message i get from the "rpmbuild -ba SPECS/httpd.spec" command is "ln: creating symbolic link `/var/tmp/httpd-root/etc/httpd/logs' to `../../usr/var/log/httpd': No such file or directory". so what do i do now?
thx matthias
On 9/3/07, Matthias Leopold matthias@aic.at wrote:
sorry, centos version is 5.
problem appears with httpd-2.2.3-6.el5.centos.1.src.rpm and httpd-2.2.3-7.el5.centos.src.rpm (updates)
Matthias Leopold schrieb:
hi,
i'm trying to recompile the httpd rpm on a x86_64 system. all i've changed in the spec file is the "--with-suexec-docroot" configure option. the error message i get from the "rpmbuild -ba SPECS/httpd.spec" command is "ln: creating symbolic link `/var/tmp/httpd-root/etc/httpd/logs' to `../../usr/var/log/httpd': No such file or directory". so what do i do now?
If you do not make any changes, does it compile normally? And if that is the case, what did you change the "--with-suexec-docroot" to?
Akemi
Akemi Yagi schrieb:
On 9/3/07, Matthias Leopold matthias@aic.at wrote:
sorry, centos version is 5.
problem appears with httpd-2.2.3-6.el5.centos.1.src.rpm and httpd-2.2.3-7.el5.centos.src.rpm (updates)
Matthias Leopold schrieb:
hi,
i'm trying to recompile the httpd rpm on a x86_64 system. all i've changed in the spec file is the "--with-suexec-docroot" configure option. the error message i get from the "rpmbuild -ba SPECS/httpd.spec" command is "ln: creating symbolic link `/var/tmp/httpd-root/etc/httpd/logs' to `../../usr/var/log/httpd': No such file or directory". so what do i do now?
If you do not make any changes, does it compile normally? And if that is the case, what did you change the "--with-suexec-docroot" to?
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
i get the same error with the original spec file
matthias
On 9/4/07, Matthias Leopold matthias@aic.at wrote:
i get the same error with the original spec file
How is the build environment configured? Does this box have any i386/i686 packages on it, or is it entirely x86_64?
I can assure you that the original src.rpm as we ship it builds just fine in a proper environment.
On 9/4/07, Jim Perrin jperrin@gmail.com wrote:
On 9/4/07, Matthias Leopold matthias@aic.at wrote:
i get the same error with the original spec file
How is the build environment configured? Does this box have any i386/i686 packages on it, or is it entirely x86_64?
I can assure you that the original src.rpm as we ship it builds just fine in a proper environment.
In fact, I was able to build it using the original spec on my x86_64 machine. I have nearly 300 i386 packages on it.
Akemi
Jim Perrin schrieb:
On 9/4/07, Matthias Leopold matthias@aic.at wrote:
i get the same error with the original spec file
How is the build environment configured? Does this box have any i386/i686 packages on it, or is it entirely x86_64?
I can assure you that the original src.rpm as we ship it builds just fine in a proper environment.
removing all i386|i686 rpms (including hp management software...) doesn't make a difference, for better debugging i'll post the last few lines before the build stops (german locale error messages are irrelevant)
+ install -m 644 /usr/src/redhat/SOURCES/centos_index.html /var/tmp/httpd-root/var/www/error/noindex.html + find /var/tmp/httpd-root/var/www/manual '(' -name '*.xml' -o -name '*.xml.*' -o -name '*.ent' -o -name '*.xsl' -o -name '*.dtd' ')' -print0 + xargs -0 rm -f + set +x + rmdir /var/tmp/httpd-root/usr/etc/httpd/logs + mkdir -p /var/tmp/httpd-root/usr/var/log/httpd + ln -s ../../usr/var/log/httpd /var/tmp/httpd-root/etc/httpd/logs ln: Erzeugen der symbolischen Verknüpfung „/var/tmp/httpd-root/etc/httpd/logs“ zu „../../usr/var/log/httpd“: Datei oder Verzeichnis nicht gefunden Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.98951 (%install)
since i don't know a lot about building rpms i'll post the output of "rpmbuild --showrc" (which wasn't modified at all), hope it's not to long...
# rpmbuild --showrc ARCHITECTURE AND OS: build arch : x86_64 compatible build archs: ia32e x86_64 noarch build os : Linux compatible build os's : linux install arch : ia32e install os : Linux compatible archs : ia32e x86_64 athlon noarch amd64 i686 i586 i486 i386 fat compatible os's : linux
RPMRC VALUES: macrofiles : /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:~/.rpmmacros optflags : -O2 -g
Features supported by rpmlib: rpmlib(VersionedDependencies) = 3.0.3-1 PreReq:, Provides:, and Obsoletes: dependencies support versions. rpmlib(CompressedFileNames) = 3.0.4-1 file name(s) stored as (dirName,baseName,dirIndex) tuple, not as path. rpmlib(PayloadIsBzip2) = 3.0.5-1 package payload can be compressed using bzip2. rpmlib(PayloadFilesHavePrefix) = 4.0-1 package payload file(s) have "./" prefix. rpmlib(ExplicitPackageProvide) = 4.0-1 package name-version-release is not implicitly provided. rpmlib(HeaderLoadSortsTags) = 4.0.1-1 header tags are always sorted after being loaded. rpmlib(ScriptletInterpreterArgs) = 4.0.3-1 the scriptlet interpreter can use arguments from header. rpmlib(PartialHardlinkSets) = 4.0.4-1 a hardlink file set may be installed without being complete. rpmlib(ConcurrentAccess) = 4.1-1 package scriptlets may access the rpm database while installing. rpmlib(BuiltinLuaScripts) = 4.2.2-1 internal support for lua scripts.
======================== -14: GNUconfigure(MCs:) CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS; LDFLAGS="${LDFLAGS:-%{-s:-s}}" ; export LDFLAGS; %{-C:_mydir="`pwd`"; %{-M: %{__mkdir} -p %{-C*};} cd %{-C*}} dirs="`find ${_mydir} -name configure.in -print`"; export dirs; for coin in `echo ${dirs}` do dr=`dirname ${coin}`; if test -f ${dr}/NO-AUTO-GEN; then : else macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE((.*)),1,gp' < ${coin}`; ( cd ${dr}; aclocalinclude="${ACLOCAL_FLAGS}"; for k in ${macrodirs}; do if test -d ${k}; then aclocalinclude="${aclocalinclude} -I ${k}"; ##else ## echo "**Warning**: No such directory `${k}'. Ignored." fi done if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then if grep "sed.*POTFILES" configure.in >/dev/null; then : do nothing -- we still have an old unmodified configure.in else test -r ${dr}/aclocal.m4 || touch ${dr}/aclocal.m4; echo "no" | gettextize --force --copy; test -r ${dr}/aclocal.m4 && %{__chmod} u+w ${dr}/aclocal.m4; fi fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then %{__libtoolize} --force --copy; fi aclocal ${aclocalinclude}; if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then %{__autoheader}; fi echo "Running automake --gnu ${am_opt} ..."; %{__automake} --add-missing --gnu ${am_opt}; %{__autoconf}; ); fi done %{-C:${_mydir}}%{!-C:.}/configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} %* ; %{-C:cd ${_mydir}; unset _mydir} -14: ___build_args -e -14: ___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args} -14: ___build_post exit 0 -14: ___build_pre RPM_SOURCE_DIR="%{u2p:%{_sourcedir}}" RPM_BUILD_DIR="%{u2p:%{_builddir}}" RPM_OPT_FLAGS="%{optflags}" RPM_ARCH="%{_arch}" RPM_OS="%{_os}" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="%{_docdir}" export RPM_DOC_DIR RPM_PACKAGE_NAME="%{name}" RPM_PACKAGE_VERSION="%{version}" RPM_PACKAGE_RELEASE="%{release}" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE %{?buildroot:RPM_BUILD_ROOT="%{u2p:%{buildroot}}" export RPM_BUILD_ROOT} %{?_javaclasspath:CLASSPATH="%{_javaclasspath}" export CLASSPATH}
%{verbose:set -x}%{!verbose:exec > /dev/null} umask 022 cd %{u2p:%{_builddir}} -14: ___build_shell %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh} -14: ___build_template #!%{___build_shell} %{___build_pre} %{nil} -14: __aclocal aclocal -14: __ar ar -14: __arch_install_post %{nil} -14: __as as -14: __autoconf autoconf -14: __autoheader autoheader -14: __automake automake -14: __awk gawk -14: __bzip2 /usr/bin/bzip2 -14: __cat /bin/cat -14: __cc gcc -14: __check_files /usr/lib/rpm/check-files %{buildroot} -14: __chgrp /bin/chgrp -14: __chmod /bin/chmod -14: __chown /bin/chown -14: __cp /bin/cp -14: __cpio /bin/cpio -14: __cpp gcc -E -14: __cxx g++ -14: __dbi_btconfig btree %{__dbi_other} %{__dbi_perms} %{nil} -14: __dbi_btconfig_current %{__dbi_btconfig} -14: __dbi_btconfig_rebuild %{__dbi_btconfig} %{__dbi_rebuild} -14: __dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb -14: __dbi_htconfig hash %{__dbi_other} %{__dbi_perms} %{nil} -14: __dbi_htconfig_current %{__dbi_htconfig} -14: __dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild} -14: __dbi_other %{?_tmppath:tmpdir=%{_tmppath}} %{?__dbi_cdb} -14: __dbi_perms perms=0644 -14: __dbi_rebuild nofsync !log !txn !cdb -14: __dbi_transient %{__dbi_rebuild} temporary private -14: __debug_install_post /usr/lib/rpm/find-debuginfo.sh %{_builddir}/%{?buildsubdir} %{nil} -14: __file /usr/bin/file -14: __file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts -14: __find_provides /usr/lib/rpm/find-provides -14: __find_requires /usr/lib/rpm/find-requires -14: __gpg /usr/bin/gpg -14: __gpg_check_password_cmd %{__gpg} gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so - -14: __gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --passphrase-fd 3 --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename} -14: __grep /bin/grep -14: __gzip /bin/gzip -14: __id /usr/bin/id -14: __install /usr/bin/install -14: __ld /usr/bin/ld -14: __libtoolize libtoolize -14: __ln_s ln -s -14: __make /usr/bin/make -14: __mkdir /bin/mkdir -14: __mkdir_p /bin/mkdir -p -14: __mono_provides /usr/lib/rpm/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -14: __mono_requires /usr/lib/rpm/mono-find-requires %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -14: __mv /bin/mv -14: __nm /usr/bin/nm -14: __objcopy /usr/bin/objcopy -14: __objdump /usr/bin/objdump -14: __os_install_post %{___build_post} -14: __patch /usr/bin/patch -14: __perl /usr/bin/perl -14: __perl_provides /usr/lib/rpm/perl.prov -14: __perl_requires /usr/lib/rpm/perl.req -14: __pgp /usr/bin/pgp -14: __pgp5_check_password_cmd %{__pgp} pgps +batchmode=on +verbose=0 +armor=off "%{_pgp_name}" -f -14: __pgp5_sign_cmd %{__pgp} pgps +batchmode=on +verbose=0 +armor=off "+myname=%{_pgp_name}" -b %{__plaintext_filename} -o %{__signature_filename} -14: __pgp_check_password_cmd %{__pgp} pgp +batchmode=on +verbose=0 "%{_pgp_name}" -sf -14: __pgp_sign_cmd %{__pgp} pgp +batchmode=on +verbose=0 +armor=off "+myname=%{_pgp_name}" -sb %{__plaintext_filename} %{__signature_filename} -14: __policy_tree %{expand:%%global __policy_tree %{lua: t="targeted" f = io.open("/etc/selinux/config") if f then for l in f:lines() do if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end end f:close() end print (t) }}%{__policy_tree} -14: __prelink_undo_cmd /usr/sbin/prelink prelink -y library -14: __python /usr/bin/python -14: __python_provides /usr/lib/rpm/pythondeps.sh --provides -14: __python_requires /usr/lib/rpm/pythondeps.sh --requires -14: __ranlib ranlib -14: __remsh %{__rsh} -14: __rm /bin/rm -14: __rsh /usr/bin/rsh -14: __sed /bin/sed -14: __spec_build_args %{___build_args} -14: __spec_build_body %{___build_body} -14: __spec_build_cmd %{___build_cmd} -14: __spec_build_post %{___build_post} -14: __spec_build_pre %{___build_pre} -14: __spec_build_shell %{___build_shell} -14: __spec_build_template #!%{__spec_build_shell} %{__spec_build_pre} %{nil} -14: __spec_check_args %{___build_args} -14: __spec_check_body %{___build_body} -14: __spec_check_cmd %{___build_cmd} -14: __spec_check_post %{___build_post} -14: __spec_check_pre %{___build_pre} -14: __spec_check_shell %{___build_shell} -14: __spec_check_template #!%{__spec_check_shell} %{__spec_check_pre} %{nil} -14: __spec_clean_args %{___build_args} -14: __spec_clean_body %{___build_body} -14: __spec_clean_cmd %{___build_cmd} -14: __spec_clean_post %{___build_post} -14: __spec_clean_pre %{___build_pre} -14: __spec_clean_shell %{___build_shell} -14: __spec_clean_template #!%{__spec_clean_shell} %{__spec_clean_pre} %{nil} -14: __spec_install_args %{___build_args} -14: __spec_install_body %{___build_body} -14: __spec_install_cmd %{___build_cmd} -14: __spec_install_post %{?__debug_package:%{__debug_install_post}} %{__arch_install_post} %{__os_install_post} %{nil} -14: __spec_install_pre %{___build_pre} -14: __spec_install_shell %{___build_shell} -14: __spec_install_template #!%{__spec_install_shell} %{__spec_install_pre} %{nil} -14: __spec_prep_args %{___build_args} -14: __spec_prep_body %{___build_body} -14: __spec_prep_cmd %{___build_cmd} -14: __spec_prep_post %{___build_post} -14: __spec_prep_pre %{___build_pre} -14: __spec_prep_shell %{___build_shell} -14: __spec_prep_template #!%{__spec_prep_shell} %{__spec_prep_pre} %{nil} -14: __spec_rmbuild_args %{___build_args} -14: __spec_rmbuild_body %{___build_body} -14: __spec_rmbuild_cmd %{___build_cmd} -14: __spec_rmbuild_post %{___build_post} -14: __spec_rmbuild_pre %{___build_pre} -14: __spec_rmbuild_shell %{___build_shell} -14: __spec_rmbuild_template #!%{__spec_rmbuild_shell} %{__spec_rmbuild_pre} %{nil} -14: __ssh /usr/bin/ssh -14: __strip /usr/bin/strip -14: __tar /bin/tar -14: __unzip /usr/bin/unzip -14: __vsflags 0xf0000 -14: _arch x86_64 -14: _autorelocate_dcolor 0 -14: _autorelocate_path %{nil} -14: _bhA RPMS -14: _bhN @(SRPMS|i386|alpha|sparc|s390|ia64) -14: _bhVR RedHat -14: _bhcoll @(7.3|7.2|7.1|7.1sbe|7.1k|7.0|7.01j|7.0j|7.0sbe|7.0tc|6.2|6.2ha|6.2ee|6.1|6.0|5.2|5.1|5.0) -14: _bhpath file://localhost/mnt/dist -14: _bindir %{_exec_prefix}/bin -14: _build %{_host} -14: _build_alias %{_host_alias} -14: _build_arch x86_64 -14: _build_cpu %{_host_cpu} -14: _build_file_context_path %{nil} -14: _build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm -14: _build_os %{_host_os} -14: _build_vendor %{_host_vendor} -14: _builddir %{_topdir}/BUILD -14: _buildshell /bin/sh -14: _bzip2bin %{__bzip2} -14: _cache_dbpath /var/spool/up2date/cache -14: _datadir %{_prefix}/share -14: _dbapi 3 -14: _dbapi_rebuild 3 -14: _dbi_btconfig %{?_rpmdb_rebuild:%{__dbi_btconfig_rebuild}} %{!?_rpmdb_rebuild:%{__dbi_btconfig_current}} %{nil} -14: _dbi_config %{_dbi_htconfig} -14: _dbi_config_Depends %{_dbi_htconfig} temporary private -14: _dbi_config_Dirnames %{_dbi_btconfig} -14: _dbi_config_Installtid %{_dbi_btconfig} -14: _dbi_config_Packages %{_dbi_htconfig} lockdbfd -14: _dbi_config_Provideversion %{_dbi_btconfig} -14: _dbi_config_Removetid %{_dbi_btconfig} -14: _dbi_config_Requireversion %{_dbi_btconfig} -14: _dbi_htconfig %{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}} %{!?_rpmdb_rebuild:%{__dbi_htconfig_current}} %{nil} -14: _dbi_tags Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filemd5s:Depends:Pubkeys -14: _dbpath %{_var}/lib/rpm -14: _dbpath_rebuild %{_dbpath} -14: _defaultdocdir %{_usr}/doc -14: _dependency_whiteout libtermcap>bash modutils>vixie-cron ypbind>yp-tools ghostscript-fonts>ghostscript %{?_dependency_whiteout_fc3} %{?_dependency_whiteout_fc2} %{?_dependency_whiteout_fc1} %{?_dependency_whiteout_9} %{?_dependency_whiteout_8_0} %{?_dependency_whiteout_7_2} %{?_dependency_whiteout_7_1} %{?_dependency_whiteout_7_0} %{?_dependency_whiteout_6_2} %{?_dependency_whiteout_6_1} %{?_dependency_whiteout_5_2} %{nil} -14: _dependency_whiteout_7_0 pango-gtkbeta-devel>pango-gtkbeta XFree86>Mesa compat-glibc>db2 compat-glibc>db1 pam>initscripts initscripts>sysklogd -14: _dependency_whiteout_7_1 arts>kdelibs-sound -14: _dependency_whiteout_7_2 libgnomeprint15>gnome-print nautilus>nautilus-mozilla tcl>postgresql-tcl -14: _dependency_whiteout_8_0 mysql>perl-DBD-MySQL perl>perl-Filter perl>mrtg perl>mod_perl perl-Date-Calc>perl-Bit-Vector -14: _dependency_whiteout_fc3 coreutils>pam nautilus>nautilus-cd-burner aspell>aspell-en kernel>initscripts kernel-smp>initscripts xorg-x11-libs>xorg-x11-Mesa-libGL openldap>cyrus-sasl-md5 openldap>cyrus-sasl openjade>docbook-dtds gtk+>gdk-pixbuf xorg-x11>xinitrc gnome-python2>gnome-python2-bonobo httpd-suexec>httpd xemacs-sumo>apel-xemacs php>php-pear openoffice.org-libs>openoffice.org -14: _exec_prefix %{_prefix} -14: _filter_GLIBC_PRIVATE 0 -14: _gnu -gnu -14: _gzipbin %{__gzip} -14: _host x86_64-redhat-linux-gnu -14: _host_alias %{nil} -14: _host_cpu x86_64 -14: _host_os linux-gnu -14: _host_vendor redhat -14: _i18ndomains redhat-dist -14: _includedir %{_prefix}/include -14: _infodir %{_prefix}/info -14: _install_file_context_path %{__file_context_path} -14: _install_langs all -14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin -14: _instchangelog 5 -14: _javadir %{_datadir}/java -14: _javadocdir %{_datadir}/javadoc -14: _lib lib -14: _libdir %{_exec_prefix}/%{_lib} -14: _libexecdir %{_exec_prefix}/libexec -14: _localstatedir %{_prefix}/var -14: _mandir %{_prefix}/man -14: _missing_doc_files_terminate_build 1 -14: _oldincludedir /usr/include -14: _os linux -14: _package_version 30005 -14: _pgpbin %{__pgp} -15: _preScriptEnvironment RPM_SOURCE_DIR="%{_sourcedir}" RPM_BUILD_DIR="%{_builddir}" RPM_OPT_FLAGS="%{optflags}" RPM_ARCH="%{_arch}" RPM_OS="%{_os}" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="%{_docdir}" export RPM_DOC_DIR RPM_PACKAGE_NAME="%{name}" RPM_PACKAGE_VERSION="%{version}" RPM_PACKAGE_RELEASE="%{release}" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE %{?buildroot:RPM_BUILD_ROOT="%{buildroot}" export RPM_BUILD_ROOT } -14: _prefix /usr -14: _query_all_fmt %%{name}-%%{version}-%%{release} -14: _query_selector_match default -14: _repackage_all_erasures 0 -14: _repackage_dir /var/spool/repackage -14: _repackage_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm -14: _repackage_root %{nil} -14: _rollback_transaction_on_failure 0 -14: _rpmdir %{_topdir}/RPMS -14: _rpmfilename %{_build_name_fmt} -14: _rpmlock_path %{_dbpath}/__db.000 -14: _sbindir %{_exec_prefix}/sbin -14: _sharedstatedir %{_prefix}/com -14: _signature none -14: _sourcedir %{_topdir}/SOURCES -14: _specdir %{_topdir}/SPECS -14: _srcrpmdir %{_topdir}/SRPMS -14: _sysconfdir %{_prefix}/etc -11: _target x86_64-linux -14: _target_alias %{_host_alias} -11= _target_cpu x86_64 -11= _target_os linux -14: _target_platform %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu} -14: _target_vendor %{_host_vendor} -14: _tmppath %{_var}/tmp -14: _topdir %{_usrsrc}/redhat -14: _transaction_color 3 -14: _unpackaged_files_terminate_build 1 -14: _unzipbin %{__unzip} -14: _use_internal_dependency_generator 1 -14: _usr /usr -14: _usrsrc %{_usr}/src -14: _var /var -14: _vendor redhat -14: _verify_file_context_path %{__file_context_path} -14: _vsflags_build %{__vsflags} -14: _vsflags_erase %{__vsflags} -14: _vsflags_install %{__vsflags} -14: _vsflags_query %{__vsflags} -14: _vsflags_rebuilddb %{__vsflags} -14: _vsflags_up2date %{__vsflags} -14: _vsflags_verify %{__vsflags} -14: bcond_with %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} -14: bcond_without %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} -14: configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure --host=%{_host} --build=%{_build} \ --target=%{_target_platform} \ --program-prefix=%{?_program_prefix} \ --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --sharedstatedir=%{_sharedstatedir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} -14: debug_package %ifnarch noarch %global __debug_package 1 %package debug Summary: Debug information for package %{name} Group: Development/Debug AutoReqProv: 0 %description debug This package provides debug information for package %{name}. Debug information is useful when developing applications that use this package or when debugging this package. %files debug -f debugfiles.list %defattr(-,root,root) %endif %{nil} -14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}} -14: find_lang /usr/lib/rpm/find-lang.sh %{buildroot} -14: ix86 i386 i486 i586 i686 pentium3 pentium4 athlon -14: makeinstall make \ prefix=%{?buildroot:%{buildroot}}%{_prefix} \ exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \ bindir=%{?buildroot:%{buildroot}}%{_bindir} \ sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \ sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \ datadir=%{?buildroot:%{buildroot}}%{_datadir} \ includedir=%{?buildroot:%{buildroot}}%{_includedir} \ libdir=%{?buildroot:%{buildroot}}%{_libdir} \ libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \ localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \ sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \ mandir=%{?buildroot:%{buildroot}}%{_mandir} \ infodir=%{?buildroot:%{buildroot}}%{_infodir} \ install -14: nil %{!?nil} -11: optflags -O2 -g -14: perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) -14: perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) -14: perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch) -14: perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib) -14: perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) -14: perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) -14: requires_eq %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -15: sigtype none -14: undefined %{expand:%%{?%{1}:0}%%{!?%{1}:1}} -14: with %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} -14: without %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} ======================== aktiv 264 leer 0
On 9/4/07, Matthias Leopold matthias@aic.at wrote:
removing all i386|i686 rpms (including hp management software...) doesn't make a difference, for better debugging i'll post the last few lines before the build stops (german locale error messages are irrelevant)
- install -m 644 /usr/src/redhat/SOURCES/centos_index.html
/var/tmp/httpd-root/var/www/error/noindex.html
- find /var/tmp/httpd-root/var/www/manual '(' -name '*.xml' -o -name
'*.xml.*' -o -name '*.ent' -o -name '*.xsl' -o -name '*.dtd' ')' -print0
- xargs -0 rm -f
- set +x
- rmdir /var/tmp/httpd-root/usr/etc/httpd/logs
- mkdir -p /var/tmp/httpd-root/usr/var/log/httpd
- ln -s ../../usr/var/log/httpd /var/tmp/httpd-root/etc/httpd/logs
ln: Erzeugen der symbolischen Verknüpfung „/var/tmp/httpd-root/etc/httpd/logs" zu „../../usr/var/log/httpd": Datei oder Verzeichnis nicht gefunden Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.98951 (%install)
The only difference I find between your log and mine of this particular part is that I am building in my own directory. You are probably doing this as root as judged from the /usr/src/redhat/SOURCES directory. Although that should not cause the error you are getting, it is dangerous to do building as root (general advice).
Akemi