Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323957 - >=sys-cluster/glusterfs-3.0.4 parallel make problem
Summary: >=sys-cluster/glusterfs-3.0.4 parallel make problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 16:42 UTC by Dennis Schridde
Modified: 2010-10-14 17:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,27.08 KB, text/plain)
2010-06-16 06:39 UTC, Dennis Schridde
Details
environment (environment,121.43 KB, text/plain)
2010-06-16 06:41 UTC, Dennis Schridde
Details
build.log (amd64) (build.log,28.16 KB, text/plain)
2010-08-10 09:50 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-06-14 16:42:28 UTC
Version 2.4.1 (current stable version for ia64) of sys-devel/bison is exposing an error when compiling spec.y for sys-cluster/glusterfs-3.0.4:
y.tab.c:840:1: error: unterminated #if

Version 2.4.2 does not show this error, glusterfs compiles fine.

-> sys-cluster/glusterfs-3.0.4: DEPEND="ia64? ( >=sys-devel/bison-2.4.2 )"

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-14 22:19:07 UTC
Hi Dennis,

can you please attach the full build.log and environment files plus comment an `emerge --info` output?

Thanks, Michael
Comment 2 Dennis Schridde 2010-06-15 06:53:19 UTC
Not reproducible after downgrading to 2.4.1 again.
Maybe the bison-2.4.1 I had installed before was running wrong-code caused by a copmpiler bug... I'll better rebuild my system.
Comment 3 Dennis Schridde 2010-06-16 06:38:51 UTC
Another compilation and the error is back...
Maybe a parallel-make issue?

Portage 2.2_rc67 (hardened/linux/ia64/10.0/server, gcc-4.4.4, glibc-2.10.1-r1, 2.6.32-hardened-r6 ia64)
=================================================================
System uname: Linux-2.6.32-hardened-r6-ia64-31-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Jun 2010 21:15:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1, 3.1.2-r3
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -mtune=mckinley -O2 -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="      --checksum      -6      --include='/sci-libs/' --include='/sci-libs/gsl/' --exclude='/sci-libs/*/'      --include='/x11-libs/'          --include='/x11-libs/qt*/'              --include='/x11-libs/cairo/' --include='/x11-libs/pango/' --include='/x11-libs/pixman/' --exclude='/x11-libs/*/'    --include='/x11-misc/' --include='/x11-misc/util-macros/' --exclude='/x11-misc/*/'      --exclude='/games*/' --exclude='/gnome*/' --exclude='/gnustep*/' --exclude='/gpe*/' --exclude='/kde*/' --exclude='/lxde*/' --exclude='/rox*/' --exclude='/sci*/' --exclude='/x11*/' --exclude='/xfce*/'"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/hardened-development /var/cache/portage/layman/sunrise /var/cache/portage/layman/anarchy /var/cache/portage/local"
SYNC="rsync://gentoo.kynes.de/gentoo-portage"
[...] 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS
Comment 4 Dennis Schridde 2010-06-16 06:39:46 UTC
Created attachment 235515 [details]
build.log
Comment 5 Dennis Schridde 2010-06-16 06:41:58 UTC
Created attachment 235517 [details]
environment
Comment 6 Dennis Schridde 2010-08-10 09:50:02 UTC
Created attachment 242209 [details]
build.log (amd64)

I am now experiencing a similar problem on amd64:
y.tab.c:1302:3: error: unterminated comment
Comment 7 Dennis Schridde 2010-08-10 09:51:31 UTC
P.S: This was with sys-cluster/glusterfs-3.0.5
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-10-14 17:09:56 UTC
+*glusterfs-3.1.0 (14 Oct 2010)
+
+  14 Oct 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  -files/glusterfs-2.0.8-parallel-make.patch, -glusterfs-3.0.4.ebuild,
+  -glusterfs-3.0.5.ebuild, +glusterfs-3.1.0.ebuild,
+  +files/glusterfs-3.1.0-parallel-build.patch:
+  Version bump wrt bug 340849. Fix parallel build issues wrt bug 323957.
+  Thanks to Richard Scott <gentoo.bugs@pointb.co.uk> and Dennis Schridde
+  <devurandom@gmx.net> respectively. Drop old.
+