[Fink-users] Build system broken
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
[Fink-users] Problem building gnucash2 under Leopard
I have a fresh install of Leopard on a Mac Pro with Xcode 3 and fink bootstrapped from CVS. Building gnucash2 fails when trying to build aqbanking with the error message g++ -g -O2 -g -Wall -g -o .libs/testlib testlib.o -Wl,-bind_at_load -L/sw/lib/system-openssl/lib -L/sw/lib ./.libs/libqbanking.dylib /sw/lib/qt3/lib/libqt-mt.dylib -L/sw/lib/freetype219/lib -L/usr/X11R6/lib -lresolv -lz -lGL /usr/X11/lib/libXmu.6.2.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libXrandr.2.0.0.dylib /usr/X11/lib/libXcursor.1.0.2.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXft.2.1.2.dylib /sw/lib/freetype219/lib/libfreetype.dylib /usr/X11/lib/libfontconfig.dylib /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libX11.6.2.0.dylib -lm /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib -ldl /sw/src/fink.build/aqbanking16-2.2.6-1001/aqbanking-2.2.6/src/libs/aqbanking/.libs/libaqbanking.dylib /sw/lib/libgwenhywfar.dylib -lssl -lcrypto /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib appears to be the culprit. I *am* using the X11 off the Leopard DVD. Any ideas? Thanks, Mike - 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
Re: [Fink-users] Problem building gnucash2 under Leopard
On Oct 27, 2007, at 12:25 AM, Mike Zanker wrote: ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib appears to be the culprit. I *am* using the X11 off the Leopard DVD. Mike, This is a known problem with Leopard: ordinary linking to libGL.dylib is broken, and a special hack must be used. We tried to fix as many fink packages as we could to handle this problem in advance of the Leopard release, and I think we got all the ones in the stable tree, but we didn't get all of the unstable ones. If you're a do-it-yourself kind of guy, check out http:// wiki.finkproject.org/index.php/ Fink:Packaging:Preparing_for_10.5#OpenGL_Bug . Otherwise, hopefully the maintainer will have a fix for this soon. -- Dave - 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
Re: [Fink-users] Problem building gnucash2 under Leopard
On 27/10/07 12:16, David R. Morrison wrote: This is a known problem with Leopard: ordinary linking to libGL.dylib is broken, and a special hack must be used. We tried to fix as many fink packages as we could to handle this problem in advance of the Leopard release, and I think we got all the ones in the stable tree, but we didn't get all of the unstable ones. If you're a do-it-yourself kind of guy, check out http:// wiki.finkproject.org/index.php/ Fink:Packaging:Preparing_for_10.5#OpenGL_Bug . Otherwise, hopefully the maintainer will have a fix for this soon. Thanks Dave - I like to get my hands dirty so I'll have a go at that :) Mike - 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
Re: [Fink-users] Build system broken
Jesse W wrote: 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, What version of OS X? Is it the same as what you had before? 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, You can't build dev-tools. It's a virtual package. I get the following error (full context below): files list file for package `getoptbin' is missing final newline This is in the FAQ: http://www.finkproject.org/faq/usage-fink.php#bad-list-file 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 That's in the FAQ, too: http://www.finkproject.org/faq/comp-general.php#basic-headers 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 snip I'd also try doing a clean reinstall of Xcode. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter - 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
Re: [Fink-users] Problem building gnucash2 under Leopard
Mike Zanker wrote: On 27/10/07 12:16, David R. Morrison wrote: This is a known problem with Leopard: ordinary linking to libGL.dylib is broken, and a special hack must be used. We tried to fix as many fink packages as we could to handle this problem in advance of the Leopard release, and I think we got all the ones in the stable tree, but we didn't get all of the unstable ones. If you're a do-it-yourself kind of guy, check out http:// wiki.finkproject.org/index.php/ Fink:Packaging:Preparing_for_10.5#OpenGL_Bug . Otherwise, hopefully the maintainer will have a fix for this soon. Thanks Dave - I like to get my hands dirty so I'll have a go at that :) And *please* file a bug with Apple every time you come across this thing. They should fix it ASAP! This is the kind of bug that they usually don't fix for a year or so. Only if sufficiently many people complain will there be a chance that they do it earlier. -- Martin - 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
Re: [Fink-users] Problem building gnucash2 under Leopard
On 27 Oct 2007, at 7:16:13 AM, David R. Morrison wrote: On Oct 27, 2007, at 12:25 AM, Mike Zanker wrote: ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib appears to be the culprit. I *am* using the X11 off the Leopard DVD. Mike, This is a known problem with Leopard: ordinary linking to libGL.dylib is broken, and a special hack must be used. We tried to fix as many fink packages as we could to handle this problem in advance of the Leopard release, and I think we got all the ones in the stable tree, but we didn't get all of the unstable ones. If you're a do-it-yourself kind of guy, check out http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug . Otherwise, hopefully the maintainer will have a fix for this soon. -- Dave New version (it has been a while since I kept up with upstream on this one) + fix for OpenGL issue has been submitted to tracker http://sourceforge.net/tracker/index.php?func=detailaid=1821227group_id=17203atid=414256 Unless you guys want to give me commit access? another Dave -- David Reiser [EMAIL PROTECTED] - 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