Have you tried it without Fink Commander from the command-line? I'm just curious how that behaves.
On Mon, 24 Oct 2011, "????????? ????? (Ventsislav Zhechev)" wrote: > Hi, > I would like to report that the race condition when running parallel make -j > 8 from within Fink Commander still exists with the new package ghostscript > 9.02-4. > > > Best regards, > > Ventzi > > ??????? > Dr. Ventsislav Zhechev > Computational Linguist > > Language Technologies > Localisation Services > Autodesk Development S?rl > Neuch?tel, Switzerland > > http://VentsislavZhechev.eu > tel: +41 32 723 9122 > fax: +41 32 723 9399 > > > 10.10.2011, ? 16:09, Alexander Hansen ???????(?): > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 10/10/11 8:54 AM, "????????? ????? (Ventsislav Zhechev)" wrote: >>> Hi Alexander, Happy to oblige. After the break, I?m including the >>> fink output from building ghostscript 9.02-3. >>> >>> I?m running fink from the Fink Commander and fink is set to acquire >>> root privileges via sudo. >> >> Fink Commander doesn't know how to set --build-as-nobody mode, so >> you're definitely building as root. >> >>> The permissions of the ?obj? folder in question are as follows: >>> drwxr-xr-x 3 root admin 204 10 ??? 14,47 obj/ >>> >>> The build completes properly if I set the permissions to drwxrwxrwx >>> before fink runs make. >>> >>> >>> Cheers, >>> >>> Ventzi >>> >>> >>> ========== BREAK =========== [ -r >>> /sw/fink/dists/stable/main/finkinfo/text/ghostscript.patch ] patch >>> -p1 < /sw/fink/dists/stable/main/finkinfo/text/ghostscript.patch >>> patching file base/configure.ac patching file >>> base/configure.ac.orig patching file base/gdevpng.c patching file >>> base/gserror.h patching file base/gxpcolor.h patching file >>> base/mkromfs.c patching file base/mkromfs.c.orig patching file >>> base/unix-dll.mak patching file base/unixinst.mak patching file >>> base/unixinst.mak.orig patching file configure.orig patching file >>> lib/pv.sh patching file psi/imainarg.c /var/tmp/tmp.1.qv5Csm >>> #!/bin/sh -ev mv zlib zlib_local mv libpng libpng_local mv jpeg >>> jpeg_local mv jasper jasper_local mv tiff tiff_local ./configure >>> --prefix=/sw --mandir=/sw/share/man \ --disable-compile-inits \ >>> --disable-cups \ --disable-gtk \ --with-x checking for gcc... gcc >>> checking whether the C compiler works... yes checking for C >>> compiler default output file name... a.out checking for suffix of >>> executables... checking whether we are cross compiling... no >>> checking for suffix of object files... o checking whether we are >>> using the GNU C compiler... yes checking whether gcc accepts -g... >>> yes checking for gcc option to accept ISO C89... none needed >>> checking how to run the C preprocessor... gcc -E checking for a sed >>> that does not truncate output... /sw/bin/sed checking for ranlib... >>> ranlib checking for pkg-config... /sw/bin/pkg-config checking >>> supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wundef >>> -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings >>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin >>> -fno-common >>> >>> -g -O0 ...done. checking for dirent.h that defines DIR... yes >>> checking for library containing opendir... none required checking >>> for grep that handles long lines and -e... /usr/bin/grep checking >>> for egrep... /usr/bin/grep -E checking for ANSI C header files... >>> yes checking for sys/types.h... yes checking for sys/stat.h... yes >>> checking for stdlib.h... yes checking for string.h... yes checking >>> for memory.h... yes checking for strings.h... yes checking for >>> inttypes.h... yes checking for stdint.h... yes checking for >>> unistd.h... yes checking errno.h usability... yes checking errno.h >>> presence... yes checking for errno.h... yes checking fcntl.h >>> usability... yes checking fcntl.h presence... yes checking for >>> fcntl.h... yes checking limits.h usability... yes checking limits.h >>> presence... yes checking for limits.h... yes checking malloc.h >>> usability... no checking malloc.h presence... no checking for >>> malloc.h... no checking for memory.h... (cached) yes checking for >>> stdlib.h... (cached) yes checking for string.h... (cached) yes >>> checking for strings.h... (cached) yes checking sys/ioctl.h >>> usability... yes checking sys/ioctl.h presence... yes checking for >>> sys/ioctl.h... yes checking sys/param.h usability... yes checking >>> sys/param.h presence... yes checking for sys/param.h... yes >>> checking sys/time.h usability... yes checking sys/time.h >>> presence... yes checking for sys/time.h... yes checking syslog.h >>> usability... yes checking syslog.h presence... yes checking for >>> syslog.h... yes checking for unistd.h... (cached) yes checking >>> sys/window.h usability... no checking sys/window.h presence... no >>> checking for sys/window.h... no checking for an ANSI C-conforming >>> const... yes checking for inline... inline checking for mode_t... >>> yes checking for off_t... yes checking for size_t... yes checking >>> for struct stat.st_blocks... yes checking whether time.h and >>> sys/time.h may both be included... yes checking whether struct tm >>> is in sys/time.h or time.h... time.h checking size of unsigned long >>> int... 8 checking for cos in -lm... yes checking for pthread_create >>> in -lpthread... yes checking for iconv_open... no checking for >>> libiconv_open in -liconv... yes checking for stringprep in -lidn... >>> yes checking stringprep.h usability... yes checking stringprep.h >>> presence... yes checking for stringprep.h... yes checking for >>> systempapername in -lpaper... yes checking for fontconfig with >>> pkg-config... yes checking for dbus with pkg-config... yes checking >>> for dlopen in -ldl... yes checking for local freetype library >>> source... yes checking for local jpeg library source... no checking >>> for jpeg_set_defaults in -ljpeg... yes checking jpeglib.h >>> usability... yes checking jpeglib.h presence... yes checking for >>> jpeglib.h... yes checking for jmemsys.h... no checking for local >>> zlib source... no checking for deflate in -lz... yes checking >>> zlib.h usability... yes checking zlib.h presence... yes checking >>> for zlib.h... yes checking for local png library source... no >>> checking for png_create_write_struct in -lpng... yes checking png.h >>> usability... yes checking png.h presence... yes checking for >>> png.h... yes checking for local lcms library source... yes checking >>> for TIFFOpen in -ltiff... yes checking tiff.h usability... yes >>> checking tiff.h presence... yes checking for tiff.h... yes checking >>> for local ijs library source... yes checking for local jbig2dec >>> library source... Running jbig2dec configure script... checking for >>> a BSD-compatible install... /sw/bin/ginstall -c checking whether >>> build environment is sane... yes checking for gawk... gawk checking >>> whether make sets $(MAKE)... yes checking for gcc... gcc checking >>> for C compiler default output file name... a.out checking whether >>> the C compiler works... yes checking whether we are cross >>> compiling... no checking for suffix of executables... checking for >>> suffix of object files... o checking whether we are using the GNU C >>> compiler... yes checking whether gcc accepts -g... yes checking for >>> gcc option to accept ISO C89... none needed checking for style of >>> include used by make... GNU checking dependency style of gcc... >>> gcc3 checking whether gcc and cc understand -c and -o together... >>> yes checking build system type... i686-apple-darwin11.2.0 checking >>> host system type... i686-apple-darwin11.2.0 checking for a sed that >>> does not truncate output... /sw/bin/sed checking for grep that >>> handles long lines and -e... /usr/bin/grep checking for egrep... >>> /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking >>> for ld used by gcc... /usr/bin/ld checking if the linker >>> (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible >>> name lister (nm)... /usr/bin/nm checking the name lister >>> (/usr/bin/nm) interface... BSD nm checking whether ln -s works... >>> yes checking the maximum length of command line arguments... >>> 196608 checking whether the shell understands some XSI >>> constructs... yes checking whether the shell understands "+="... >>> yes checking for /usr/bin/ld option to reload object files... -r >>> checking for objdump... no checking how to recognize dependent >>> libraries... pass_all checking for ar... ar checking for strip... >>> strip checking for ranlib... ranlib checking command to parse >>> /usr/bin/nm output from gcc object... ok checking for dsymutil... >>> dsymutil checking for nmedit... nmedit checking for lipo... lipo >>> checking for otool... otool checking for otool64... no checking for >>> -single_module linker flag... yes checking for >>> -exported_symbols_list linker flag... yes checking how to run the C >>> preprocessor... gcc -E checking for ANSI C header files... yes >>> checking for sys/types.h... yes checking for sys/stat.h... yes >>> checking for stdlib.h... yes checking for string.h... yes checking >>> for memory.h... yes checking for strings.h... yes checking for >>> inttypes.h... yes checking for stdint.h... yes checking for >>> unistd.h... yes checking for dlfcn.h... yes checking for objdir... >>> .libs checking if gcc supports -fno-rtti -fno-exceptions... yes >>> checking for gcc option to produce PIC... -fno-common -DPIC >>> checking if gcc PIC flag -fno-common -DPIC works... yes checking if >>> gcc static flag -static works... no checking if gcc supports -c -o >>> file.o... yes checking if gcc supports -c -o file.o... (cached) >>> yes checking whether the gcc linker (/usr/bin/ld) supports shared >>> libraries... yes checking dynamic linker characteristics... >>> darwin11.2.0 dyld checking how to hardcode library paths into >>> programs... immediate checking whether stripping libraries is >>> possible... yes checking if libtool supports shared libraries... >>> yes checking whether to build shared libraries... yes checking >>> whether to build static libraries... yes checking for library >>> containing pow... none required checking for png_check_sig in >>> -lpng... no checking for ANSI C header files... (cached) yes >>> checking libintl.h usability... yes checking libintl.h presence... >>> yes checking for libintl.h... yes checking stddef.h usability... >>> yes checking stddef.h presence... yes checking for stddef.h... yes >>> checking for unistd.h... (cached) yes checking for strings.h... >>> (cached) yes checking size of char... 1 checking size of short... >>> 2 checking size of int... 4 checking size of long... 8 checking for >>> stdint.h... (cached) yes checking for an ANSI C-conforming const... >>> yes checking for size_t... yes checking whether byte ordering is >>> bigendian... no checking for working memcmp... yes checking for >>> snprintf... yes checking for memset... yes checking for strdup... >>> yes checking for getopt_long... yes configure: creating >>> ./config.status config.status: creating Makefile config.status: >>> creating config_types.h config.status: creating config.h >>> config.status: executing depfiles commands config.status: executing >>> libtool commands >>> >>> Continuing with Ghostscript configuration... jbig2dec checking for >>> local jasper library source... no checking for jas_image_create in >>> -ljasper... yes checking for X... libraries /usr/X11/lib, headers >>> checking whether -R must be followed by a space... neither works >>> checking for gethostbyname... yes checking for connect... yes >>> checking for remove... yes checking for shmat... yes checking for >>> IceConnectionNumber in -lICE... yes checking for XOpenDisplay in >>> -lX11... yes checking for XdbeQueryExtension in -lXext... yes >>> checking for XtAppCreateShell in -lXt... yes checking for >>> mkstemp... yes checking for hypot... yes checking for fopen64... >>> no checking for mkstemp64... no checking for setlocale... yes >>> checking whether gcc needs -traditional... no checking for pid_t... >>> yes checking vfork.h usability... no checking vfork.h presence... >>> no checking for vfork.h... no checking for fork... yes checking for >>> vfork... yes checking for working fork... yes checking for working >>> vfork... (cached) yes checking for stdlib.h... (cached) yes >>> checking for GNU libc compatible malloc... yes checking for working >>> memcmp... yes checking return type of signal handlers... void >>> checking whether lstat correctly handles trailing slash... no >>> checking whether stat accepts an empty string... no checking for >>> vprintf... yes checking for _doprnt... no checking for bzero... >>> yes checking for dup2... yes checking for floor... yes checking for >>> gettimeofday... yes checking for memchr... yes checking for >>> memmove... yes checking for memset... yes checking for mkdir... >>> yes checking for mkfifo... yes checking for modf... yes checking >>> for pow... yes checking for putenv... yes checking for rint... yes >>> checking for setenv... yes checking for sqrt... yes checking for >>> strchr... yes checking for strerror... yes checking for strrchr... >>> yes checking for strspn... yes checking for strstr... yes >>> configure: creating ./config.status config.status: creating >>> Makefile configure: creating ./config.status config.status: >>> creating Makefile config.status: creating cups/pstopxl make gcc -O2 >>> -I/sw/include -Wall -Wstrict-prototypes -Wundef >>> -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings >>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin >>> -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long >>> int" -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I./base -o ./obj/genconf >>> ./base/genconf.c gcc -O2 -I/sw/include -Wall -Wstrict-prototypes >>> -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings >>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin >>> -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long >>> int" -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I./base -o ./obj/echogs >>> ./base/echogs.c gcc -O2 -I/sw/include -Wall -Wstrict-prototypes >>> -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings >>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin >>> -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long >>> int" -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I./base -o ./obj/genarch >>> ./base/genarch.c gcc -DHAVE_MKSTEMP -DHAVE_HYPOT >>> -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_DBUS -O2 >>> -I/sw/include -Wall -Wstrict-prototypes -Wundef >>> -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings >>> -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin >>> -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long >>> int" -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I./obj -I./base -o >>> ./obj/gscrypt1.o -c ./base/gscrypt1.c error: unable to open output >>> file './obj/gscrypt1.o': 'Error opening output file >>> './obj/gscrypt1.o'' 1 error generated. make: *** [obj/gscrypt1.o] >>> Error 1 make: *** Waiting for unfinished jobs.... ### execution of >>> /var/tmp/tmp.1.qv5Csm failed, exit code 2 Removing runtime >>> build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait >>> -r fink-buildlock-ghostscript-9.02-3 (Reading database ... 198735 >>> files and directories currently installed.) Removing >>> fink-buildlock-ghostscript-9.02-3 ... Reading buildlock >>> packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i >>> /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/lcms_1.18-2_darwin-x86_64.deb >>> >>> >> Selecting previously deselected package lcms. >>> (Reading database ... 198734 files and directories currently >>> installed.) Unpacking lcms (from .../lcms_1.18-2_darwin-x86_64.deb) >>> ... Setting up lcms (1.18-2) ... Clearing dependency_libs of .la >>> files being installed >>> >>> Failed: phase compiling: ghostscript-9.02-3 failed >>> >>> Before reporting any errors, please run "fink selfupdate" and try >>> again. If you continue to have issues, please check to see if the >>> FAQ on Fink's website solves the problem. If not, ask on one of >>> these mailing lists: >>> >>> The Fink Users List <fink-users@lists.sourceforge.net> The Fink >>> Beginners List <fink-beginn...@lists.sourceforge.net>, >>> >>> with a carbon copy to the maintainer: >>> >>> Hisashi T Fujinaka <ht...@twofifty.com> >>> >>> Note that this is preferable to emailing just the maintainer >>> directly, since most fink package maintainers do not have access to >>> all possible hardware and software configurations. >>> >>> Please try to include the complete error message in your report. >>> This generally consists of a compiler line starting with e.g. "gcc" >>> or "g++" followed by the actual error output from the compiler. >>> >>> Also include the following system information: Package manager >>> version: 0.31.2 Distribution version: selfupdate-cvs Mon Oct 10 >>> 07:14:46 2011, 10.7, x86_64 Trees: local/main stable/main >>> unstable/crypto unstable/main Xcode: 4.2 >>> >>> >> To me, this looks like an error from a race condition rather than a >> permissions issue, and by stopping the build you're allowing things to >> catch up. >> >> What happens if you set the number of processors to 1 via "fink >> configure" and try to rebuild (Source->rebuild) ghostscript? Does >> that work? >> - -- >> Alexander Hansen, Ph.D. >> Fink User Liaison >> http://finkakh.wordpress.com/ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.11 (Darwin) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk6S/IUACgkQB8UpO3rKjQ+zYQCfWbqeD3ScmE15ia0G6ywgqDlu >> eu0AnRcrY+TuEfb7UQIPmlFYcXmv8J2p >> =kYhy >> -----END PGP SIGNATURE----- > > -- Hisashi T Fujinaka - ht...@twofifty.com BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users