Issue1050

Title compile problem - _inotify.c
Priority bug Status need-eg
Superseder Nosy List beekhof, bos, djc, mml, netmax, simoncpu, tksoh, tlpinney
Assigned To Topics inotify, patch

Created on 2008-03-25.07:52:47 by netmax, last changed 2008-10-23.22:45:25 by tonfa.

Files
File name Uploaded Type Edit Remove
issue1050.patch tlpinney, 2008-03-26.23:51:17 text/x-patch
mercurial-glibc-24-older.patch netmax, 2008-09-19.15:52:47 text/x-patch
unnamed bos, 2008-06-16.16:28:46 text/html
Messages
msg7168 (view) Author: netmax Date: 2008-09-19.15:52:47
attached patch disables inotify extension compilation in setup.py if glibc is
version 2.4 or older
msg6798 (view) Author: mml Date: 2008-08-19.09:27:46
also busted on gentoo 

gcc 4.1.1
glib 4.2r3
msg6723 (view) Author: tksoh Date: 2008-08-06.09:58:52
djc: not sure I understand your question clearly. In any case, I simply comment
out the code in setup.py when installing on FC5. I guess some clear warning when
setup.py failed to build inotify, but carry on to install Mercurial, will be
good enough for now.
msg6695 (view) Author: djc Date: 2008-08-04.15:22:04
tksoh: if you prepare a patch for making inotify, maybe it can be discussed on
the list? Ideally, we find a way to just ignore it if building it doesn't work.
msg6364 (view) Author: tksoh Date: 2008-06-20.10:18:57
I believe the inotify extension is only meant for Linux. So, it wouldn't be
built at all on FreeBSD.
msg6363 (view) Author: simoncpu Date: 2008-06-20.09:38:46
Raising this to urgent is probably a good idea.

I've just installed Mercurial on FreeBSD 7.0, btw, and it works fine.
msg6362 (view) Author: tksoh Date: 2008-06-20.09:30:45
Shall we raise the priority to 'urgent'? The installations seemed to be crippled
on some of the linux distros.
msg6361 (view) Author: simoncpu Date: 2008-06-20.06:08:35
Same problem here.  I even tried 'hg-stable' and 'repo' hourly snapshots to no
avail.

I'm using Ubuntu 6.10, btw.

[ simon.cpu ]
msg6302 (view) Author: tksoh Date: 2008-06-17.05:17:48
While someone is busy working on the solution, can we make inotify an optional
extension in the meantime? Right now I can't install 1.0 on FC5 at all due to
this error.
msg6296 (view) Author: beekhof Date: 2008-06-16.17:28:29
It's barely 2 since 2.4.0 was released - not exactly the last ice-age.

Anyway, I don't really care whether some optional functionality is or isn't available on older 
kernels/glibc combinations - whatever old is deemed to be - but it would be nice if the core 
functionality could be installed without patching the upstream sources.

I think all that is required is to add a glibc version check to setup.py
It already checks for OS and kernel version - I'd suggest checking for the latest glibc version if the 
minimum is unknown.
msg6294 (view) Author: bos Date: 2008-06-16.16:28:46
On Mon, Jun 16, 2008 at 8:03 AM, Andrew Beekhof <mercurial-bugs@selenic.com>
wrote:

>
> Andrew Beekhof <abeekhof@suse.de> added the comment:
>
> Um, SLES10-SP2 was only released a couple of weeks ago.
>

It's based on a kernel and glibc that are years old.
msg6293 (view) Author: beekhof Date: 2008-06-16.15:03:03
Um, SLES10-SP2 was only released a couple of weeks ago.
msg6292 (view) Author: bos Date: 2008-06-16.14:53:11
I don't know what the minimal version is.  SLES 10 is way out of date, though.
msg6290 (view) Author: beekhof Date: 2008-06-16.10:52:54
Reproduced on SLES10-SP2 with cs: 9865e15febd0.

Package versions:
glibc-i18ndata-2.4-31.54
glibc-2.4-31.54
glibc-devel-2.4-31.54
glibc-locale-2.4-31.54
python-devel-2.4.2-18.13
python-2.4.2-18.13

What is the minimal version required to make this plugin compile?
msg6203 (view) Author: djc Date: 2008-06-07.09:17:46
Setting to need-eg.
msg5867 (view) Author: bos Date: 2008-04-09.22:14:07
The patch is incorrect.  It's using a kernel header, not a glibc header.

You probably have a version of glibc that is too old to support this extension.
msg5733 (view) Author: netmax Date: 2008-03-27.14:13:52
you can get openSUSE 10.1 vmware image from:
http://www.vmware.com/appliances/directory/508

if you get it fixed in 10.1 it will compile on SuSE Linux Enterprise 10 too.
but you can also try the SLES Vmware image from:
http://www.vmware.com/appliances/directory/novell.html
msg5732 (view) Author: tlpinney Date: 2008-03-27.13:47:49
I will need to get a vmware image to test this problem. Are there free Suse
versions equivalent to what you are running?
msg5731 (view) Author: netmax Date: 2008-03-27.11:33:35
thanks for your reply, but this patch does not solve the problem.
when compiling with this patch i get following error

In file included from hgext/inotify/linux/_inotify.c:14:
/usr/include/linux/inotify.h:18: error: redefinition of 'struct inotify_event'
msg5730 (view) Author: tlpinney Date: 2008-03-26.23:51:17
This patch allowed me to compile mercurial 1.0 on a ubuntu 6.10 machine. I was
getting a similar error as you.
msg5721 (view) Author: netmax Date: 2008-03-25.07:52:46
i got the following compile problem on SuSE Linux Enterprise 10 (i586 & x86_64)
and SUSE Linux 10.1 (i586 & x86_64)


Building mercurial for project 'devel' repository 'SUSE_Linux_10.1' arch
'x86_64' srcmd5 'f0b7ad9ba35b6acc489c2688a135a2d0

processing specfile /tmp/root_4/.build-srcdir/mercurial.spec...
running changelog2spec --target rpm --file /tmp/root_4/.build-srcdir/mercurial.spec
init_buildsystem --clean --rpmlist /tmp/root_4/.rpmlist
/tmp/root_4/.build-srcdir/mercurial.spec ...
preinstalling aaa_base...
preinstalling acl...
preinstalling attr...
preinstalling bash...
preinstalling bzip2...
preinstalling coreutils...
preinstalling db...
preinstalling diffutils...
preinstalling filesystem...
preinstalling fillup...
preinstalling glibc...
preinstalling grep...
preinstalling insserv...
preinstalling libacl...
preinstalling libattr...
preinstalling libgcc...
preinstalling libnscd...
preinstalling libxcrypt...
preinstalling m4...
preinstalling ncurses...
preinstalling pam...
preinstalling permissions...
preinstalling popt...
preinstalling pwdutils...
preinstalling readline...
preinstalling rpm...
preinstalling sed...
preinstalling tar...
preinstalling zlib...
running aaa_base preinstall script
running aaa_base postinstall script
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/displaymanager...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/mail...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...new
initializing rpm db...
reordering...cycle: te_latex -> latex-ucs
breaking dependency te_latex -> latex-ucs
done
installing filesystem-10.1-5
installing glibc-2.4-25
warning: /etc/bindresvport.blacklist created as /etc/bindresvport.blacklist.rpmnew
warning: /etc/default/nss created as /etc/default/nss.rpmnew
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
warning: /etc/rpc created as /etc/rpc.rpmnew
installing gdbm-1.8.3-241
installing glibc-locale-2.4-25
installing libattr-2.4.28-14
installing libgcc-4.1.0-25
installing libnscd-1.1-14
installing libxcrypt-2.4-10
installing mktemp-1.5-742
installing ncurses-5.5-16
installing net-tools-1.60-581
installing patch-2.5.9-158
installing popt-1.7-268
installing rcs-5.7-879
installing zlib-1.2.3-13
installing zlib-devel-1.2.3-13
installing attr-2.4.28-14
installing file-4.16-13
installing libacl-2.2.34-12
installing libstdc++-4.1.0-25
installing ncurses-devel-5.5-16
installing readline-5.1-22
installing acl-2.2.34-12
installing bash-3.1-22
installing db-4.3.29-13
installing bzip2-1.0.3-15
installing cpp-4.1.0-25
installing cracklib-2.8.6-12
installing insserv-1.04.0-18
installing klogd-1.4.1-557
installing libcom_err-1.38-25
installing libgpg-error-1.0-14
installing libzio-0.1-15
installing module-init-tools-3.2.2-32
installing tcpd-7.6-729
installing timezone-2.4-25
installing unzip-5.52-14
installing less-394-12
installing pam-0.99.3.0-25
warning: /etc/environment created as /etc/environment.rpmnew
warning: /etc/pam.d/common-account created as /etc/pam.d/common-account.rpmnew
warning: /etc/pam.d/common-auth created as /etc/pam.d/common-auth.rpmnew
warning: /etc/pam.d/common-password created as /etc/pam.d/common-password.rpmnew
warning: /etc/pam.d/common-session created as /etc/pam.d/common-session.rpmnew
warning: /etc/pam.d/other created as /etc/pam.d/other.rpmnew
warning: /etc/securetty created as /etc/securetty.rpmnew
warning: /etc/security/access.conf created as /etc/security/access.conf.rpmnew
warning: /etc/security/group.conf created as /etc/security/group.conf.rpmnew
warning: /etc/security/limits.conf created as /etc/security/limits.conf.rpmnew
warning: /etc/security/pam_env.conf created as /etc/security/pam_env.conf.rpmnew
warning: /etc/security/time.conf created as /etc/security/time.conf.rpmnew
installing info-4.8-20
installing binutils-2.16.91.0.5-18
installing cpio-2.6-17
installing diffutils-2.8.7-15
installing fillup-1.42-116
installing findutils-4.2.27-12
installing gawk-3.1.5-18
installing gdbm-devel-1.8.3-241
installing grep-2.5.1a-18
installing gzip-1.3.5-157
installing libtool-1.5.22-11
installing m4-1.4.4-10
installing make-3.80-200
installing sed-4.1.4-15
installing tar-1.15.1-21
installing e2fsprogs-1.38-25
installing libgcrypt-1.2.2-11
installing pam-modules-10.1-7
installing gettext-0.14.5-11
installing coreutils-5.93-20
warning: /etc/default/su created as /etc/default/su.rpmnew
installing sysvinit-2.86-19
telinit: timeout opening/writing control channel /dev/initctl
installing bison-2.1-11
installing flex-2.5.31-16
installing libxml2-2.6.23-13
installing psmisc-22.1-12
installing cyrus-sasl-2.1.21-18
installing perl-5.8.8-12
Updating etc/sysconfig/suseconfig...
installing procps-3.2.6-16
installing gpm-1.20.1-320
Updating etc/sysconfig/mouse...
installing strace-4.5.14-15
installing automake-1.9.6-11
installing openssl-0.9.8a-16
installing procinfo-18-53
installing autoconf-2.59-90
installing glibc-devel-2.4-25
installing docbook_4-4.4-19
/var/tmp/rpm-tmp.13063: line 7: edit-xml-catalog: command not found
installing cvs-1.12.12-19
installing libxslt-1.1.15-13
installing texinfo-4.8-20
installing vim-6.4.6-19
installing groff-1.18.1.1-29
Updating etc/sysconfig/suseconfig...
installing tetex-3.0-37
Updating etc/sysconfig/tetex...
installing aaa_base-10.1-41
warning: /etc/DIR_COLORS created as /etc/DIR_COLORS.rpmnew
warning: /etc/inittab created as /etc/inittab.rpmnew
warning: /root/.exrc created as /root/.exrc.rpmnew
Updating etc/sysconfig/language...
Updating etc/sysconfig/backup...
Updating etc/sysconfig/boot...
Updating etc/sysconfig/displaymanager...
Updating etc/sysconfig/kernel...
Updating etc/sysconfig/suseconfig...
Updating etc/sysconfig/clock...
Updating etc/sysconfig/proxy...
Updating etc/sysconfig/windowmanager...
Updating etc/sysconfig/sysctl...
Updating etc/sysconfig/mail...
Updating etc/sysconfig/cron...
Updating etc/sysconfig/news...
Updating etc/sysconfig/shutdown...
Updating etc/passwd...unchanged
Updating etc/group...unchanged
Updating etc/shadow...unchanged
installing bind-libs-9.3.2-17
installing netcfg-10.1-5
warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew
installing openldap2-client-2.3.19-18
installing docbook-xsl-stylesheets-1.69.1-11
/var/tmp/rpm-tmp.39050: line 6: edit-xml-catalog: command not found
installing gcc-4.1.0-25
installing permissions-2006.2.24-8
Updating etc/sysconfig/security...
installing gettext-devel-0.14.5-11
installing man-2.4.1-235
Updating etc/sysconfig/cron...
installing python-2.4.2-18
installing asciidoc-7.0.4-10
installing python-devel-2.4.2-18
installing bind-utils-9.3.2-17
installing pwdutils-3.0.7.1-17
warning: /etc/default/passwd created as /etc/default/passwd.rpmnew
warning: /etc/default/useradd created as /etc/default/useradd.rpmnew
warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
warning: /etc/pwdutils/logging created as /etc/pwdutils/logging.rpmnew
warning: /etc/rpasswd.conf created as /etc/rpasswd.conf.rpmnew
warning: /usr/sbin/groupadd.local created as /usr/sbin/groupadd.local.rpmnew
warning: /usr/sbin/useradd.local created as /usr/sbin/useradd.local.rpmnew
warning: /usr/sbin/userdel-post.local created as /usr/sbin/userdel-post.local.rpmnew
warning: /usr/sbin/userdel-pre.local created as /usr/sbin/userdel-pre.local.rpmnew
installing rpm-4.4.2-40
Updating etc/sysconfig/services...
installing util-linux-2.12r-35
installing te_latex-3.0-37
installing latex-ucs-20041017-11
installing xmltex-2002.6.26-245
installing passivetex-2004.3.10-15
installing xmlto-0.0.18-40
removing nis flags from /tmp/root_4/etc/nsswitch.conf...
now finalizing build dir...
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.S17946
setting /usr/src/packages/SOURCES/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/BUILD/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/x86_64/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/RPMS/noarch/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/SPECS/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/SRPMS/ to root:root 1777. (wrong permissions 0755)
setting /usr/bin/wall to root:tty 2755. (wrong permissions 0755)
setting /usr/bin/write to root:tty 2755. (wrong permissions 0755)
Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.automake...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.libxml2...
Executing /sbin/conf.d/SuSEconfig.news...
Installing new /etc/nntpserver
Executing /sbin/conf.d/SuSEconfig.perl...
Executing /sbin/conf.d/SuSEconfig.permissions...
Checking permissions and ownerships - using the permissions files
/etc/permissions.d/tetex
/etc/permissions
/etc/permissions.easy
/etc/permissions.local
setting /var/lib/texmf/ls-R to root:root 0666. (wrong permissions 0644)
Executing /sbin/conf.d/SuSEconfig.sortpasswd...
Executing /sbin/conf.d/SuSEconfig.tetex...
Executing /sbin/conf.d/SuSEconfig.zmessages...
Finished.
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /var/cache/fonts/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
-----------------------------------------------------------------
I have the following modifications for mercurial.spec:
4c4
< Release: 1
---
> Release: 7.1
-----------------------------------------------------------------
----- building mercurial.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
+ exec rpmbuild -ba --eval '%define _srcdefattr (-,root,root)'
/usr/src/packages/SOURCES/mercurial.spec

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.90789
+ umask 022
+ cd /usr/src/packages/BUILD
+ rm -rf /tmp/build.mercurial-1.0-7.1
+ cd /usr/src/packages/BUILD
+ rm -rf mercurial-1.0
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/mercurial-1.0.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mercurial-1.0
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.90789
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /tmp/build.mercurial-1.0-7.1
++ dirname /tmp/build.mercurial-1.0-7.1
+ /bin/mkdir -p /tmp
+ /bin/mkdir /tmp/build.mercurial-1.0-7.1
+ cd mercurial-1.0
+ make all
python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/mercurial
copying mercurial/keepalive.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/__version__.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/mdiff.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/streamclone.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/localrepo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/osutil.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/cmdutil.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/util.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/revlog.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/lsprof.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/commands.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/filelog.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/fancyopts.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/httprangereader.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/hg.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/demandimport.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/byterange.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/dispatch.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/sshrepo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/sshserver.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/extensions.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/repo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/manifest.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/ignore.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/changelog.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/util_win32.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/statichttprepo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/i18n.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/repair.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/bundlerepo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/node.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/lock.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/changegroup.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/__init__.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/ui.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/filemerge.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/version.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/httprepo.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/patch.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/merge.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/help.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/dirstate.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/simplemerge.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/archival.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/context.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/ancestor.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/copies.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/transaction.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/strutil.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/verify.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/hook.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/mail.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/templater.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/templatefilters.py -> build/lib.linux-x86_64-2.4/mercurial
copying mercurial/hbisect.py -> build/lib.linux-x86_64-2.4/mercurial
creating build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/server.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/hgwebdir_mod.py ->
build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/request.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/__init__.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/protocol.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/common.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/wsgicgi.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/webcommands.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
copying mercurial/hgweb/hgweb_mod.py -> build/lib.linux-x86_64-2.4/mercurial/hgweb
creating build/lib.linux-x86_64-2.4/hgext
copying hgext/transplant.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/fetch.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/churn.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/children.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/mq.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/color.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/win32text.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/pager.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/extdiff.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/notify.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/imerge.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/win32mbcs.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/keyword.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/gpg.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/parentrevspec.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/__init__.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/interhg.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/graphlog.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/bugzilla.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/highlight.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/alias.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/acl.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/hgk.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/patchbomb.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/purge.py -> build/lib.linux-x86_64-2.4/hgext
copying hgext/record.py -> build/lib.linux-x86_64-2.4/hgext
creating build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/transport.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/hg.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/subversion.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/darcs.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/gnuarch.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/__init__.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/git.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/cvs.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/convcmd.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/common.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/filemap.py -> build/lib.linux-x86_64-2.4/hgext/convert
copying hgext/convert/monotone.py -> build/lib.linux-x86_64-2.4/hgext/convert
creating build/lib.linux-x86_64-2.4/hgext/inotify
copying hgext/inotify/server.py -> build/lib.linux-x86_64-2.4/hgext/inotify
copying hgext/inotify/__init__.py -> build/lib.linux-x86_64-2.4/hgext/inotify
copying hgext/inotify/common.py -> build/lib.linux-x86_64-2.4/hgext/inotify
copying hgext/inotify/client.py -> build/lib.linux-x86_64-2.4/hgext/inotify
creating build/lib.linux-x86_64-2.4/hgext/inotify/linux
copying hgext/inotify/linux/__init__.py ->
build/lib.linux-x86_64-2.4/hgext/inotify/linux
copying hgext/inotify/linux/watcher.py ->
build/lib.linux-x86_64-2.4/hgext/inotify/linux
running build_ext
building 'mercurial.mpatch' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/mercurial
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c mercurial/mpatch.c -o
build/temp.linux-x86_64-2.4/mercurial/mpatch.o
gcc -pthread -shared build/temp.linux-x86_64-2.4/mercurial/mpatch.o -o
build/lib.linux-x86_64-2.4/mercurial/mpatch.so
building 'mercurial.bdiff' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c mercurial/bdiff.c -o
build/temp.linux-x86_64-2.4/mercurial/bdiff.o
gcc -pthread -shared build/temp.linux-x86_64-2.4/mercurial/bdiff.o -o
build/lib.linux-x86_64-2.4/mercurial/bdiff.so
building 'mercurial.base85' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c mercurial/base85.c -o
build/temp.linux-x86_64-2.4/mercurial/base85.o
gcc -pthread -shared build/temp.linux-x86_64-2.4/mercurial/base85.o -o
build/lib.linux-x86_64-2.4/mercurial/base85.so
building 'mercurial.diffhelpers' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c mercurial/diffhelpers.c
-o build/temp.linux-x86_64-2.4/mercurial/diffhelpers.o
gcc -pthread -shared build/temp.linux-x86_64-2.4/mercurial/diffhelpers.o -o
build/lib.linux-x86_64-2.4/mercurial/diffhelpers.so
building 'mercurial.osutil' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c mercurial/osutil.c -o
build/temp.linux-x86_64-2.4/mercurial/osutil.o
gcc -pthread -shared build/temp.linux-x86_64-2.4/mercurial/osutil.o -o
build/lib.linux-x86_64-2.4/mercurial/osutil.so
building 'hgext.inotify.linux._inotify' extension
creating build/temp.linux-x86_64-2.4/hgext
creating build/temp.linux-x86_64-2.4/hgext/inotify
creating build/temp.linux-x86_64-2.4/hgext/inotify/linux
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c
hgext/inotify/linux/_inotify.c -o
build/temp.linux-x86_64-2.4/hgext/inotify/linux/_inotify.o
hgext/inotify/linux/_inotify.c:172: error: 'IN_ONLYDIR' undeclared here (not in
a function)
hgext/inotify/linux/_inotify.c:173: error: 'IN_DONT_FOLLOW' undeclared here (not
in a function)
hgext/inotify/linux/_inotify.c:174: error: 'IN_MASK_ADD' undeclared here (not in
a function)
hgext/inotify/linux/_inotify.c: In function 'define_consts':
hgext/inotify/linux/_inotify.c:266: warning: passing argument 3 of
'define_const' makes integer from pointer without a cast
hgext/inotify/linux/_inotify.c:267: warning: passing argument 3 of
'define_const' makes integer from pointer without a cast
hgext/inotify/linux/_inotify.c:268: warning: passing argument 3 of
'define_const' makes integer from pointer without a cast
error: command 'gcc' failed with exit status 1
make: *** [build] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.90789 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.90789 (%build)
History
Date User Action Args
2008-10-23 22:45:25tonfasettopic: + inotify
nosy: bos, tksoh, mml, beekhof, djc, netmax, tlpinney, simoncpu
2008-09-19 15:52:48netmaxsetfiles: + mercurial-glibc-24-older.patch
nosy: bos, tksoh, mml, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg7168
2008-08-19 09:27:47mmlsetnosy: + mml
messages: + msg6798
2008-08-06 09:58:52tksohsetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg6723
2008-08-04 15:22:04djcsetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg6695
2008-06-20 10:18:57tksohsetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg6364
2008-06-20 09:38:47simoncpusetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg6363
2008-06-20 09:30:47tksohsetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney, simoncpu
messages: + msg6362
2008-06-20 06:08:35simoncpusetnosy: + simoncpu
messages: + msg6361
2008-06-17 05:17:50tksohsetnosy: bos, tksoh, beekhof, djc, netmax, tlpinney
messages: + msg6302
2008-06-17 05:13:30tksohsetnosy: + tksoh
2008-06-16 17:28:29beekhofsetnosy: bos, beekhof, djc, netmax, tlpinney
messages: + msg6296
2008-06-16 16:28:47bossetfiles: + unnamed
nosy: bos, beekhof, djc, netmax, tlpinney
messages: + msg6294
2008-06-16 15:03:03beekhofsetnosy: bos, beekhof, djc, netmax, tlpinney
messages: + msg6293
2008-06-16 14:53:15bossetnosy: bos, beekhof, djc, netmax, tlpinney
messages: + msg6292
2008-06-16 10:52:55beekhofsetnosy: + beekhof
messages: + msg6290
2008-06-07 09:17:46djcsetstatus: chatting -> need-eg
nosy: + djc
messages: + msg6203
2008-04-09 22:14:07bossetnosy: + bos
messages: + msg5867
2008-03-31 07:09:44djcsettopic: + patch
2008-03-27 14:13:53netmaxsetmessages: + msg5733
2008-03-27 13:47:50tlpinneysetmessages: + msg5732
2008-03-27 11:33:37netmaxsetmessages: + msg5731
2008-03-26 23:51:18tlpinneysetfiles: + issue1050.patch
nosy: + tlpinney
status: unread -> chatting
messages: + msg5730
2008-03-25 07:52:47netmaxcreate