[Fink-users] mysterious race condition building mysql

2007-02-18 Thread Alexander Strange
I'm trying to build mysql and get this:

dpkg-deb -b root-mysql-5.0.34-1007 /sw/fink/10.4/unstable/main/binary- 
darwin-i386/database
dpkg-deb: building package `mysql' in `/sw/fink/10.4/unstable/main/ 
binary-darwin-i386/database/mysql_5.0.34-1007_darwin-i386.deb'.
tar: ./sw/bin/ndb_show_tables: file changed as we read it
/sw/bin/dpkg-deb: subprocess tar -cf returned error exit status 1
### execution of dpkg-deb failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mysql-5.0.34-1007
(Reading database ... 81329 files and directories currently installed.)
Removing fink-buildlock-mysql-5.0.34-1007 ...
Failed: can't create package mysql_5.0.34-1007_darwin-i386.deb


The error is reproducable in that it always happens, but with  
different files each time. I'm not running any other fink builds,  
Spotlight should be blocked from it, and the filesystem isn't corrupt  
or anything, so I can't see what would be writing to these.

Has anyone seen a problem like this before?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] mysterious race condition building mysql

2007-02-18 Thread Martin Costabel
Alexander Strange wrote:
 I'm trying to build mysql and get this:
 
 dpkg-deb -b root-mysql-5.0.34-1007 /sw/fink/10.4/unstable/main/binary- 
 darwin-i386/database
 dpkg-deb: building package `mysql' in `/sw/fink/10.4/unstable/main/ 
 binary-darwin-i386/database/mysql_5.0.34-1007_darwin-i386.deb'.
 tar: ./sw/bin/ndb_show_tables: file changed as we read it
 /sw/bin/dpkg-deb: subprocess tar -cf returned error exit status 1
 ### execution of dpkg-deb failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-mysql-5.0.34-1007
 (Reading database ... 81329 files and directories currently installed.)
 Removing fink-buildlock-mysql-5.0.34-1007 ...
 Failed: can't create package mysql_5.0.34-1007_darwin-i386.deb
 
 
 The error is reproducable in that it always happens, but with  
 different files each time. I'm not running any other fink builds,  
 Spotlight should be blocked from it, and the filesystem isn't corrupt  
 or anything, so I can't see what would be writing to these.
 
 Has anyone seen a problem like this before?

A lot of people have reported such problems to the lists (mainly core 
and devel) since the upgrade to the latest tar-1.16. It seems to happen 
more often for big files (several MB) that are generated at the end of 
the install process.

No good guess as to what causes this has come forward so far.

Here is a guess: Do you have any virus scanner software installed or any 
haxie that might try to touch newly-created files?

Another one: Do you have a particularly slow disk, or do you have heavy 
swapping ging on while the error happens?

-- 
Martin


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Fwd: compiling: gd2-2.0.34-1 failed

2007-02-18 Thread David R. Morrison



Begin forwarded message:


From: Louis Zulli [EMAIL PROTECTED]
Date: February 18, 2007 2:48:58 AM PST
To: [EMAIL PROTECTED]
Subject: compiling: gd2-2.0.34-1 failed


Hi,

Seems to be a freetype related problem. Hope you can help.

Thanks,

L. Zulli

OS X 10.4.8 on Intel Core Duo.

 fink --version
Package manager version: 0.26.1
Distribution version: 0.8.1.rsync i386

checking for png_create_read_struct in -lpng12... yes
checking for freetype-config... /usr/X11R6/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
no
checking for FcInit in -lfontconfig... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for XpmReadFileToXpmImage in -lXpm... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... - 
D_THREAD_SAFE


** Configuration summary for gd 2.0.34:

   Support for PNG library:  yes
   Support for JPEG library: yes
   Support for Freetype 2.x library: no
   Support for Fontconfig library:   yes
   Support for Xpm library:  yes
   Support for pthreads: yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make
cd .  /bin/sh /sw/src/fink.build/gd2-2.0.34-1/gd-2.0.34/config/ 
missing --run autoheader

rm -f stamp-h1
touch config.hin
cd .  /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive


gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -MT gdft.lo - 
MD -MP -MF .deps/gdft.Tpo -c gdft.c  -fno-common -DPIC -o .libs/gdft.o

gdft.c:113:31: error: freetype/freetype.h: No such file or directory
gdft.c:114:30: error: freetype/ftglyph.h: No such file or directory
gdft.c:115:30: error: freetype/ftsizes.h: No such file or directory
gdft.c:136: error: parse error before 'FT_Library'
gdft.c:136: warning: no semicolon at end of struct or union
gdft.c:137: warning: data definition has no type or storage class
gdft.c:139: warning: data definition has no type or storage class
gdft.c:145: error: parse error before 'FT_Library'
gdft.c:145: warning: no semicolon at end of struct or union
gdft.c:147: warning: data definition has no type or storage class
gdft.c: In function 'fontTest':
gdft.c:416: error: 'a' undeclared (first use in this function)
gdft.c:416: error: (Each undeclared identifier is reported only once
gdft.c:416: error: for each function it appears in.)
gdft.c:416: error: parse error before ')' token
gdft.c:417: error: 'b' undeclared (first use in this function)
gdft.c:417: error: parse error before ')' token
gdft.c: In function 'fontFetch':
gdft.c:434: error: 'a' undeclared (first use in this function)
gdft.c:435: error: 'b' undeclared (first use in this function)
gdft.c:435: error: parse error before ')' token
gdft.c:437: error: 'FT_Error' undeclared (first use in this function)
gdft.c:437: error: parse error before 'err'
gdft.c:441: error: parse error before ')' token
gdft.c:477: error: 'err' undeclared (first use in this function)
gdft.c: In function 'fontRelease':
gdft.c:505: error: 'a' undeclared (first use in this function)
gdft.c:505: error: parse error before ')' token
gdft.c: At top level:
gdft.c:605: error: parse error before 'FT_Bitmap'



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] mysterious race condition building mysql

2007-02-18 Thread Daniel Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 18, 2007, at 6:48 AM, Alexander Strange wrote:

 I'm trying to build mysql and get this:

 dpkg-deb -b root-mysql-5.0.34-1007 /sw/fink/10.4/unstable/main/binary-
 darwin-i386/database
 dpkg-deb: building package `mysql' in `/sw/fink/10.4/unstable/main/
 binary-darwin-i386/database/mysql_5.0.34-1007_darwin-i386.deb'.
 tar: ./sw/bin/ndb_show_tables: file changed as we read it
 /sw/bin/dpkg-deb: subprocess tar -cf returned error exit status 1
 ### execution of dpkg-deb failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-mysql-5.0.34-1007
 (Reading database ... 81329 files and directories currently  
 installed.)
 Removing fink-buildlock-mysql-5.0.34-1007 ...
 Failed: can't create package mysql_5.0.34-1007_darwin-i386.deb


 The error is reproducable in that it always happens, but with
 different files each time. I'm not running any other fink builds,
 Spotlight should be blocked from it, and the filesystem isn't corrupt
 or anything, so I can't see what would be writing to these.

 Has anyone seen a problem like this before?

Yeah, it's been happening to a lot of people lately. It happened to  
me with two packages the other day, synaptic and libfwbuilder7. There  
seems to be an issue with tar-1.16.1-1 and downgrading to 1.15.1-14  
makes it go away. No one seems to know what's causing it. I compared  
the tar code in 1.16.1 and 1.15.1 (in create.c) and the way tar  
detects if file changed as we read it has changed considerably. And  
apparently bugily. :) I've heard that other distributions have also  
had issues with the latest tar and have chosen to stick with 1.15.1.

I think we really need to downgrade tar to 1.15.1. Of course, that  
means using epoch; ick.

Daniel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD8DBQFF2GbD4sDFGYouOqARAkEZAJ4rYmtFlYxSZKlbXUqxh0l/5Fy06QCggd6N
Etzryd858tVHeVb+di1MpuU=
=Rx/L
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Fwd: compiling: gd2-2.0.34-1 failed

2007-02-18 Thread Martin Costabel
David R. Morrison wrote:
 
 
 Begin forwarded message:
 
 *From: *Louis Zulli [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
[]
 checking for freetype-config... /usr/X11R6/bin/freetype-config
 checking for FT_Init_FreeType in -lfreetype... yes
 checking ft2build.h usability... no
 checking ft2build.h presence... no
 checking for ft2build.h... no

The following informations could help solve this problem:

- What kind of X11 is installed, Apple's X11 of Fink's xfree86 or xorg?

- What does the file config.log say about this? The file sits in the 
folder /sw/src/fink.build/gd2-2.0.34-1/gd-2.0.34/

Around line 837, this file should have lines similar to

configure:23693: checking ft2build.h usability
configure:23710: gcc -c -g -O2 -I/usr/X11R6/include 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/sw/include 
-I/usr/X11R6/include conftest.c 5

These lines and those that follow, up to no, would be useful to see.

-- 
Martin


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Run-time problems with fltk-x11

2007-02-18 Thread Andrew Howard
Hi folks:

Apologies if this has been answered elsewhere, but google is giving me no joy.

I have just installed fltk-x11 on my new Intel PowerMac.  It installs
fine, but all of my fltk apps show the same behavior: I get an X11
frame, but the window is entirely empty.  In desperation, I also tried
the hello world app from the FLTK tutorial (with the same results).

Key data is as follows:

OS X 10.4.8 (Intel)
Apple X11 1.1.3 (XFree86 4.4.0)
Package fltk-x11 1.1.6-11.1

I also tried installing FLTK 1.1.7 from sources, but was only able to
build the Quartz version (which works just fine).  Any ideas?  I'd be
happy if I could just figure out how to build the X11 version from
source.

   Andrew




#include FL/Fl.H
#include FL/Fl_Window.H
#include FL/Fl_Box.H

int main(int argc, char **argv) {
  Fl_Window *window = new Fl_Window(300,180);
  Fl_Box *box = new Fl_Box(20,40,260,100,Hello, World!);
  box-box(FL_UP_BOX);
  box-labelsize(36);
  box-labelfont(FL_BOLD+FL_ITALIC);
  box-labeltype(FL_SHADOW_LABEL);
  window-end();
  window-show(argc, argv);
  return Fl::run();
}




-- 
--
Andrew Howard [EMAIL PROTECTED]
NASA Jet Propulsion Lab
Ph: 818 393 7050
Fax 818 393 5007
Mail Stop 198-235
4800 Oak Grove Drive
Pasadena, CA 91109 USA

--
NOTE:all personal and professional opinions presented herein are
my own and do not, in any way, represent the opinion or policy of JPL.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Run-time problems with fltk-x11

2007-02-18 Thread Martin Costabel
Andrew Howard wrote:
 Hi folks:
 
 Apologies if this has been answered elsewhere, but google is giving me no joy.
 
 I have just installed fltk-x11 on my new Intel PowerMac.  It installs
 fine, but all of my fltk apps show the same behavior: I get an X11
 frame, but the window is entirely empty.  In desperation, I also tried
 the hello world app from the FLTK tutorial (with the same results).
 
 Key data is as follows:
 
 OS X 10.4.8 (Intel)
 Apple X11 1.1.3 (XFree86 4.4.0)
 Package fltk-x11 1.1.6-11.1

This won't help you, but I have the same installation here, and your 
example works for me.

-- 
Martin


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] mysterious race condition building mysql

2007-02-18 Thread Alexander Strange

On Feb 18, 2007, at 9:32 AM, Martin Costabel wrote:
 A lot of people have reported such problems to the lists (mainly  
 core and devel) since the upgrade to the latest tar-1.16. It seems  
 to happen more often for big files (several MB) that are generated  
 at the end of the install process.

 No good guess as to what causes this has come forward so far.

 Here is a guess: Do you have any virus scanner software installed  
 or any haxie that might try to touch newly-created files?

Nothing. I have CrossOver CD Helper running, and the Parallels  
networking daemon (also FontExplorerXAutoload and EyeTV Helper) but  
they're not doing anything at the moment.


 Another one: Do you have a particularly slow disk, or do you have  
 heavy swapping ging on while the error happens?

Default internal drive of a MacBook Pro.

Downgrading tar to the stable distribution solved it. Maybe we could  
up the revision and patch the buggy code ourselves?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] mysterious race condition building mysql

2007-02-18 Thread David R. Morrison

On Feb 18, 2007, at 5:20 PM, Alexander Strange wrote:


 Downgrading tar to the stable distribution solved it. Maybe we could
 up the revision and patch the buggy code ourselves?

Well, I'm not sure we know what causes the problem.

Also, these messages about 'file changed as we read it' occur in  
older versions of tar (like the fink stable package) as well as the  
new version; the difference is, in the older versions they are  
warnings only whereas in the new version they generate an error.

   -- Dave


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users