Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5834 - dev-db/postgresql-7.2.1-r2: mkdir: cannot create directory `.deps': File exists
Summary: dev-db/postgresql-7.2.1-r2: mkdir: cannot create directory `.deps': File exists
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-31 20:17 UTC by Avi Schwartz
Modified: 2007-09-22 22:37 UTC (History)
1 user (show)

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


Attachments
postgresql-7.2.1-r2.ebuild.patch (postgresql-7.2.1-r2.ebuild.patch,219 bytes, patch)
2002-08-16 06:31 UTC, Zaheer Merali
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avi Schwartz 2002-07-31 20:17:23 UTC
make[3]: Entering directory
`/var/tmp/portage/postgresql-7.2.1-r2/work/postgresql-7.2.1/src/interfaces/libpgeasy'
gcc -march=i686 -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
-fpic -I../../../src/interfaces/libpq -I../../../src/include   -c -o libpgeasy.o
libpgeasy.c -MMD
gcc -march=i686 -O3 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
-fpic -I../../../src/interfaces/libpq -I../../../src/include   -c -o halt.o
halt.c -MMD
mkdir: cannot create directory `.deps': File exists
make[3]: *** [halt.o] Error 1
make[3]: *** Deleting file `halt.o'
make[3]: Leaving directory
`/var/tmp/portage/postgresql-7.2.1-r2/work/postgresql-7.2.1/src/interfaces/libpgeasy'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/postgresql-7.2.1-r2/work/postgresql-7.2.1/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/postgresql-7.2.1-r2/work/postgresql-7.2.1/src'
make: *** [all] Error 2


Use flags:
cups alsa ssl mozilla spell tcltk apm arts bonobo dga dvd evo gb gnome gtk gtkhtml
jpeg kde mmx motif mozilla mysql ncurses odbc oggvorbis opengl pam pcmcia png 
postgres python readline ruby samba sdl slang spell sse ssl tcpd truetype X xmms
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-08-07 03:50:38 UTC
compiler version? portage version? 
Comment 2 Avi Schwartz 2002-08-07 08:47:30 UTC
Compiler: 2.95.3-r7
Portage: 2.0.25
Comment 3 Chris Arndt 2002-08-08 23:20:52 UTC
I would like to confirm this bug.
I see the same thing, and my versions are:
gcc 2.95.3-r7
portage 2.0.27
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2002-08-09 00:03:05 UTC
Hmm... One more question... What filesystems are you on? 
Comment 5 Avi Schwartz 2002-08-09 00:15:57 UTC
ext3
Comment 6 Zaheer Merali 2002-08-15 01:47:37 UTC
Just a note.  I also get the same.

Compiler: gcc-2.95.3-r7
Portage: 2.0.27
FS: ext3
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2002-08-15 02:45:21 UTC
is there filespace left on the harddrive? 
Comment 8 Avi Schwartz 2002-08-15 08:19:07 UTC
22GB Free.
Comment 9 Zaheer Merali 2002-08-16 05:34:10 UTC
I have 11gb free.

If I go into the build directory after the failed compile and run make, it
resumes the compile fine.  Here is the output for it:

gcc -O2 -mcpu=i686 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-I../../../src/interfaces/libpq -I../../../src/include   -c -o halt.o halt.c -MMD
ar crs libpgeasy.a libpgeasy.o halt.o
ranlib libpgeasy.a
gcc -O2 -mcpu=i686 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-shared -Wl,-soname,libpgeasy.so.2 libpgeasy.o halt.o 
-L../../../src/interfaces/libpq -lpq  -lcrypt -Wl,-rpath,/usr/lib -o
libpgeasy.so.2.2
rm -f libpgeasy.so.2
ln -s libpgeasy.so.2.2 libpgeasy.so.2
rm -f libpgeasy.so
ln -s libpgeasy.so.2.2 libpgeasy.so
make[3]: Leaving directory
`/var/tmp/portage/postgresql-7.2.1-r2/work/postgresql-7.2.1/src/interfaces/libpgeasy'


.... something is strange
Comment 10 Zaheer Merali 2002-08-16 06:31:05 UTC
Created attachment 3132 [details, diff]
postgresql-7.2.1-r2.ebuild.patch

Please find attached postgresql-7.2.1-r2.ebuild.patch which fixes this problem.
 It seems the build doesn't like having concurrent jobs (make -j).  So
replacing emake with make in the .ebuild fixes it.
Comment 11 Ryan Phillips (RETIRED) gentoo-dev 2002-08-18 19:14:54 UTC
committed... thx for finding that.