Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76783 - postgres build fails with current appCompat patch for linux26-headers
Summary: postgres build fails with current appCompat patch for linux26-headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 76921 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-05 09:06 UTC by kevin
Modified: 2005-01-06 22:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin 2005-01-05 09:06:18 UTC
building postresql fails, because of the appCompat patch in linux26-headers-2.6.8.1-r1
This forum topic gives a link to a different appCompat version. After emerging linux26-headers using this patch, postgresql builds fine.

http://forums.gentoo.org/viewtopic.php?t=275093
http://www.mokropsy.com/linux26-headers-2.6.8.1-appCompat.patch

Reproducible: Always
Steps to Reproduce:
1. (clean install)
2. move to linux26-headers
3. emerge postgresql

Actual Results:  
compile error:
make[4]: Entering directory
`/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6/src/backend/access/transam'
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr
-falign-functions=4 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -D_GNU_SOURCE   -c -o clog.o
clog.c -MMD
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr
-falign-functions=4 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -D_GNU_SOURCE   -c -o transam.o
transam.c -MMD
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr
-falign-functions=4 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -D_GNU_SOURCE   -c -o varsup.o
varsup.c -MMD
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr
-falign-functions=4 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -D_GNU_SOURCE   -c -o xact.o
xact.c -MMD
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr
-falign-functions=4 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -D_GNU_SOURCE   -c -o xlog.o
xlog.c -MMD
distcc[23461] ERROR: compile /root/.ccache/xlog.tmp.compi.23438.i on
192.168.0.100 failed
In file included from ../../../../src/include/storage/spin.h:50,
                 from xlog.c:35:
../../../../src/include/storage/s_lock.h:101: error: syntax error before "typeof"
make[4]: *** [xlog.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6/src/backend/access/transam'
make[3]: *** [transam-recursive] Error 2
make[3]: Leaving directory
`/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory
`/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6/src'
make: *** [all] Error 2
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-05 10:30:19 UTC
Fixed in CVS, sync and remerge linux26-headers. Please reopen this bug if the issue still persists. Thanks!
Comment 2 kevin 2005-01-05 11:14:05 UTC
Sorry, I need to re-open this. I got a changed patch file, re-emerged linux26-headers and started to emerge postgres: exactly the same error like before.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-01-05 11:36:47 UTC
What is the MD5 of files/linux26-headers-2.6.8.1-appCompat.patch?
Comment 4 kevin 2005-01-05 11:38:22 UTC
7ba4b1fac2a6131679648126a9f55d48  linux26-headers-2.6.8.1-appCompat.patch
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-01-05 11:40:40 UTC
Hrm, well the fixed version in CVS is 059bc0fd9ab694075c0a27b717816f93 so it looks like your rsync mirror hasn't synched yet... Try another mirror; if you still have issues with the patch with the right MD5 then please reopen this bug again. Thanks!
Comment 6 kevin 2005-01-05 11:42:38 UTC
Oh, sorry. I'll just try it tomorrow again (got it already working with the other patch).
Comment 7 Masatomo Nakano (RETIRED) gentoo-dev 2005-01-06 22:47:46 UTC
*** Bug 76921 has been marked as a duplicate of this bug. ***