I recently had to get a new hard drive for my laptop, and (foolishly),  
rather than simply copying over the full backup that I had, I instead  
had the repair shop install a fresh, new copy of OS X, and am trying to  
move my old system over myself... How does this relate to Fink?

The build system on my rebuilt system is broken.  When I try to rebuild  
any package, i.e. dev-tools, I get the following error (full context  
below):  files list file for package `getoptbin' is missing final  
newline

When I try to run hello World (full code below), by doing `gcc -v -v  
hello.c`, I get the following error (full context below): ld: can't  
locate file for: -lcrt1.o

When I compare the contents of my backed up /usr/include folder with my  
current /usr/include folder, there are a number of files missing (full  
list below). (I use the command: foo='/usr/include'; ls  
/Volumes/Macintosh\ HD\ Backup${foo} > ~/backup_drive_files ; ls ${foo}  
 > ~/current_drive_files ; diff -c ~/backup_drive_files  
~/current_drive_files (in zsh))  I'm leery of just copying them over,  
although this may be the right thing to do.

If anyone can suggest something else to examine, or something else to  
try, or anything, please do post.

Jesse Weinstein

--------
Information about 6357 packages read in 9 seconds.
The package 'dev-tools' will be built and installed.
Reading dependency for dev-tools-0-1...
Reading build dependency for dev-tools-0-1...
Reading build conflict for dev-tools-0-1...
The following package will be rebuilt:
  dev-tools
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-dev-tools-0-1  
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-dev-tools-0-1' in  
`/sw/src/fink.build/fink-buildlock-dev-tools-0-1_2007.10.26 
-23.40.08_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i  
/sw/src/fink.build/fink-buildlock-dev-tools-0-1_2007.10.26 
-23.40.08_darwin-powerpc.deb
(Reading database ... /sw/bin/dpkg: error processing  
/sw/src/fink.build/fink-buildlock-dev-tools-0-1_2007.10.26 
-23.40.08_darwin-powerpc.deb (--install):
  files list file for package `getoptbin' is missing final newline
Errors were encountered while processing:
   
/sw/src/fink.build/fink-buildlock-dev-tools-0-1_2007.10.26 
-23.40.08_darwin-powerpc.deb
Processing was halted because there were too many errors.
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for dev-tools (0-1)

If any of the above dpkg error messages mention conflicting packages or  
missing dependencies -- for example, telling you
that the package fink-buildlock-dev-tools-0-1 conflicts with something  
else -- fink has probably gotten confused by trying
to build many packages at once. Try building just this current package  
dev-tools (i.e, "fink build dev-tools"). When that
has completed successfully,  you could retry whatever you did that led  
to the present error.

Regardless of the cause of the lock failure, don't worry: you have not  
wasted compiling time! Packages that had been
completely built before this error occurred will not have to be  
recompiled.

See http://wiki.finkproject.org/index.php/Fink:buildlocks for more  
information.
/sw/bin/dpkg-lockwait -r fink-buildlock-dev-tools-0-1 >/dev/null
dpkg - warning: ignoring request to remove fink-buildlock-dev-tools-0-1  
which isn't installed.
Failed: buildlock failure
-------
#include <stdio.h>
int main(void) {
   printf("Hello, world!\n");
   return 0;
}

-------
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1  
20020420 (prerelease)
  /usr/libexec/gcc/darwin/ppc/cpp-precomp -smart -arch ppc -lang-c -v  
-D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0  
-D__APPLE_CC__=1175 -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__  
-D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__ppc__ -D__POWERPC__  
-D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__  
-D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__DYNAMIC__ /Users/jesse/foo.c  
-isystem /usr/include/gcc/darwin/3.1  
-ispecs=/usr/libexec/gcc/darwin/ppc/3.1/specs -D__SIZE_TYPE__=long  
unsigned int -D__PTRDIFF_TYPE__=int -D__WCHAR_TYPE__=int  
-D__WINT_TYPE__=unsigned int /var/tmp//cc2pDvnV.i
Apple cpp-precomp 6.14 (devkit-213/devkit_tools-214)
Reading predefined macros from '/usr/libexec/gcc/darwin/ppc/3.1/specs'
  /usr/libexec/gcc/darwin/ppc/3.1/cc1 -cpp-precomp /var/tmp//cc2pDvnV.i  
-fPIC -quiet -dumpbase foo.c -version -o /var/tmp//cccJJeoV.s
GNU CPP version 3.1 20020420 (prerelease) (cpplib) (Darwin/PowerPC)
GNU C version 3.1 20020420 (prerelease) (ppc-darwin)
         compiled by GNU C version 3.1 20020420 (prerelease).
  /usr/libexec/gcc/darwin/ppc/as -arch ppc -o /var/tmp//ccuiSNy2.o  
/var/tmp//cccJJeoV.s
  ld -arch ppc -dynamic -o a.out -lcrt1.o -lcrtbegin.o  
-L/usr/lib/gcc/darwin/3.1 -L/usr/lib/gcc/darwin  
-L/usr/libexec/gcc/darwin/ppc/3.1/../../.. /var/tmp//ccuiSNy2.o -lgcc  
-lSystem |
  c++filt3
ld: can't locate file for: -lcrt1.o
------
*** /Users/jesse/backup_drive_files     Fri Oct 26 23:51:47 2007
--- /Users/jesse/current_drive_files    Fri Oct 26 23:51:47 2007
***************
*** 1,15 ****
   AssertMacros.h
   AvailabilityMacros.h
- AvailabilityMacros.h.orig
   DNSServiceDiscovery
   FlexLexer.h
   NSSystemDirectories.h
- Saturn.h
   TargetConditionals.h
- X11
- Xplugin.h
- alloca.h
- amber.h
   ar.h
   architecture
   arpa
--- 1,9 ----
***************
*** 18,24 ****
   bzlib.h
   c.h
   com_err.h
- complex.h
   crt_externs.h
   ctype.h
   curl
--- 12,17 ----
***************
*** 29,38 ****
   device
   dirent.h
   disktab.h
- dlfcn.h
- dns.h
- dns_sd.h
- dns_util.h
   drivers
   err.h
   errno.h
--- 22,27 ----
***************
*** 46,52 ****
   fstab.h
   fts.h
   gcc
- getopt.h
   glob.h
   grp.h
   gssapi
--- 35,40 ----
***************
*** 54,64 ****
   histedit.h
   httpd
   i386
- iconv.h
   ifaddrs.h
   inttypes.h
   iodbcinst.h
- iso646.h
   isofs
   isql.h
   isqlext.h
--- 42,50 ----
***************
*** 67,73 ****
   krb.h
   krb5.h
   kvm.h
- langinfo.h
   lber.h
   lber_types.h
   ldap.h
--- 53,58 ----
***************
*** 77,104 ****
   ldap_utf8.h
   libc-gcc3.p
   libc.h
- libcharset.h
   libgen.h
   libkern
- libxml2
   limits.h
- localcharset.h
   locale.h
- ltdl.h
   mach
   mach-o
   mach_debug
   machine
- malloc
   math.h
   memory.h
   menu.h
   miscfs
- monetary.h
   monitor.h
   mpool.h
   nameser.h
- nameser8_compat.h
   ncurses.h
   ncurses_dll.h
   ndbm.h
--- 62,83 ----
   ldap_utf8.h
   libc-gcc3.p
   libc.h
   libgen.h
   libkern
   limits.h
   locale.h
   mach
   mach-o
   mach_debug
   machine
   math.h
   memory.h
   menu.h
   miscfs
   monitor.h
   mpool.h
+ mysql
   nameser.h
   ncurses.h
   ncurses_dll.h
   ndbm.h
***************
*** 107,117 ****
   netdb.h
   netinet
   netinet6
   netkey
   nfs
- nl_types.h
   nlist.h
- notify.h
   objc
   openssl
   pam
--- 86,95 ----
   netdb.h
   netinet
   netinet6
+ netinfo
   netkey
   nfs
   nlist.h
   objc
   openssl
   pam
***************
*** 121,145 ****
   pcap.h
   pexpert
   php
- poll.h
   ppc
   profile.h
   protocols
   pthread.h
   pthread_impl.h
   pwd.h
   ranlib.h
- readpassphrase.h
   regex.h
   regexp.h
   resolv.h
- resolv8_compat.h
   rpc
   rpcsvc
   rune.h
   runetype.h
   sched.h
- search.h
   semaphore.h
   servers
   setjmp.h
--- 99,120 ----
   pcap.h
   pexpert
   php
   ppc
   profile.h
   protocols
   pthread.h
   pthread_impl.h
   pwd.h
+ python2.2
   ranlib.h
   regex.h
   regexp.h
   resolv.h
   rpc
   rpcsvc
   rune.h
   runetype.h
   sched.h
   semaphore.h
   servers
   setjmp.h
***************
*** 156,164 ****
   stdint.h
   stdio.h
   stdlib.h
- strhash.h
   string.h
- stringlist.h
   strings.h
   struct.h
   sys
--- 131,137 ----
***************
*** 173,179 ****
   termcap.h
   termios.h
   time.h
- timeconv.h
   ttyent.h
   tzfile.h
   ucontext.h
--- 146,151 ----
***************
*** 188,194 ****
   varargs.h
   vfs
   vis.h
- wchar.h
- wctype.h
   zconf.h
   zlib.h
--- 160,164 ----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to