Re: [Fink-devel] Fwd: Re: [Fink-beginners] Error compiling Xmame
Jean-François Mertens wrote: On 01 Sep 2010, at 16:11, Alexander Hansen wrote: For context, here it is with the lines immediately before and after (I added the line numbers): 181 #ifndef HAVE_SNPRINTF 182 int snprintf(char *s, size_t maxlen, const char *fmt, ...); 183 #endif If there is trouble here, something must have gone wrong in the detection of snprintf in configure: it is in stdio.h and in libSystem, so HAVE_SNPRINTF should be defined at this stage. xmame doesn't employ such modern tools as configure. It has hand-crafted makefiles, and configuring is done by patching them. The xmame.patch file hasn't really changed since 2003. It uses ARCH=generic and MY_CPU=risc. With ARCH=macosx and MY_CPU=i386, it compiles correctly here on MacOSX 10.5.8/intel. While it wouldn't be hard to change the handful of lines in the patch file so that it works for i386/ia64, it is probably best to restrict this package to ppc and then let it die. -- Martin -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] xmame-0.69.1-1
On Sep 2, 2010, at Sep 2, 2010 12:06 PM, Alexander Hansen wrote: It looks like the most recent version of xmame upstream is from 2003, so patching it to work on current Intel Macs may not be worth the trouble (unless somebody is willing to devote the time to do that). You might try advancemame, which is also in the 10.5 binary distribution and for which we don't have any reports of misbuilds. Thanks I'll check it out. Dan -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] latest Buildworld results (2010-08-14)
On Aug 31, 2010, at 09:13 , Hanspeter Niederstrasser wrote: The results for the latest buildworld (10.5/i386/unstable) are in: I will review the unmaintained games on this list with an eye to possibly taking some of them over. Right now that looks like: angband-nox angband fortunes-de moria roguedarwin tome xinvaders Using a rusty Amiga 4000T, a shiny PowerMac G5, a homebuilt Ubuntu box I didn't do it, No one saw me do it, You can't prove anything... -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Angband Won't Build As Nobody
I think all these games that failed Buildworld seem to need the games account... Adding a BDep on passwd did not improve the situation. This and similar commands were hand crafted into the InstallScript, theoretically for a reason. Does anybody know what it was? Is it still needed? make install-exec-hook chgrp games /sw/src/fink.build/root-angband-3.0.6-1/sw/bin/angband chgrp: you are not a member of group games make[4]: *** [install-exec-hook] Error 1 mkdir -p -m 0775 %i/var/games/%n/ chown games:games %i/var/games/%n/ chmod g+w %i/var/games/%n/ find lib/ -exec chown games:games {} \; find lib/ -exec chmod g+w {} \; cp -Rp lib %i/var/games/%n/ Sent from my MacBookPro SWF, blonde, stacked, seeks appreciative gentlemen. No sysops. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Angband Won't Build As Nobody
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/3/10 12:14 PM, David Lowe wrote: I think all these games that failed Buildworld seem to need the games account... Adding a BDep on passwd did not improve the situation. This and similar commands were hand crafted into the InstallScript, theoretically for a reason. Does anybody know what it was? Is it still needed? make install-exec-hook chgrp games /sw/src/fink.build/root-angband-3.0.6-1/sw/bin/angband chgrp: you are not a member of group games make[4]: *** [install-exec-hook] Error 1 mkdir -p -m 0775 %i/var/games/%n/ chown games:games %i/var/games/%n/ chmod g+w %i/var/games/%n/ find lib/ -exec chown games:games {} \; find lib/ -exec chmod g+w {} \; cp -Rp lib %i/var/games/%n/ Sent from my MacBookPro SWF, blonde, stacked, seeks appreciative gentlemen. No sysops. It might be the case that the executable wants to run under the 'games' group for some reason--but I'm not sure. - --build-as-nobody doesn't allow _any_ use of chgrp, chmod, ..., because it uses a deliberately unprivileged 'fink-bld' user. What you can do, however, is move chmods, chgrps, and the like to a PostInstScript, since we're not _installing_ as anything but root. (at least not yet). It doesn't really matter _when_ you change a file's ownership. - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBKVAACgkQB8UpO3rKjQ9QBgCfZOjjjPuwPoXoWpDoxkUBEn9j qjUAoJpp2S+3BuKhydo539TLqNcOmQ36 =OLZk -END PGP SIGNATURE- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Angband Won't Build As Nobody
On 9/3/10 12:58 PM, Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/3/10 12:14 PM, David Lowe wrote: I think all these games that failed Buildworld seem to need the games account... Adding a BDep on passwd did not improve the situation. This and similar commands were hand crafted into the InstallScript, theoretically for a reason. Does anybody know what it was? Is it still needed? make install-exec-hook chgrp games /sw/src/fink.build/root-angband-3.0.6-1/sw/bin/angband chgrp: you are not a member of group games make[4]: *** [install-exec-hook] Error 1 mkdir -p -m 0775 %i/var/games/%n/ chown games:games %i/var/games/%n/ chmod g+w %i/var/games/%n/ find lib/ -exec chown games:games {} \; find lib/ -exec chmod g+w {} \; cp -Rp lib %i/var/games/%n/ Sent from my MacBookPro SWF, blonde, stacked, seeks appreciative gentlemen. No sysops. It might be the case that the executable wants to run under the 'games' group for some reason--but I'm not sure. - --build-as-nobody doesn't allow _any_ use of chgrp, chmod, ..., because it uses a deliberately unprivileged 'fink-bld' user. What you can do, however, is move chmods, chgrps, and the like to a PostInstScript, since we're not _installing_ as anything but root. (at least not yet). It doesn't really matter _when_ you change a file's ownership. Correct. Some of the games that failed --b-a-n had the chown/grp/mod changes hand coded in InstallScript and so it was easy to move those commands to PostInstScript. However, the remaining packages (like angband) have the ownership change coded inside a Makefile which will require patching it out there and then repeating the command in PostInstScript. That's what I did with xinvaders just recently. Angband has both (inside Makefile and in PostInstScript). It also has --with-setgid=games in ConfigureParams, so perhaps just removing that, finding the Makefile commands that option activated, and copying the remaining chown commands to PostInstScript will be enough. Warning: find lib/ -exec chown games:games {} \; looks like it might find way to many incorrect files for PostInstScript if lib=/sw/lib, so make sure that you're giving it a full path that points to the relevant angband files. Hanspeter -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] llvm 10.4/ppc build fail
David, Did you try the packaging on fink tracking? https://sourceforge.net/tracker/index.php?func=detailaid=1859491group_id=17203atid=414256 https://sourceforge.net/tracker/index.php?func=detailaid=2993939group_id=17203atid=414256 https://sourceforge.net/tracker/index.php?func=detailaid=2982947group_id=17203atid=414256 I may revise the packaging soon for llvm-2.8, however I have found it is much more profitable to spend my time getting patches into FSF gcc than hanging around here begging for commits. Jack ps I just enabled LTO as default for darwin today in gcc trunk. I also just finished revising how darwin handles the stack boundaries so we can have stack realignments... http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00237.html My hope is that the more generic we become in FSF gcc, the less of a regression magnet we are. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] gcc 4.5.1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK. I've been fighting with my own C++ code issues of late so I dropped out of the discussion. Shall we go ahead and release this version into the wild? On 8/14/10 6:46 PM, David Fang wrote: Results on my slow-a** powerpc-apple-darwin8 are finally in! http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01506.html Latest packaging for 10.4(ppc) looks good to me. I had one non-important suggestion for those of us who like to run the testsuite: perhaps in TestScript, run the test_summary script and save it to some file to be installed with docs/. In the case when tests are not run, perhaps touch an empty results file, so the .deb looks the same whether or not the testsuite is run. Fang - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBgpwACgkQB8UpO3rKjQ/icACgoxpD8DUCb0+rQthakoHxQESl dDgAn2chuAW0UIwdf5rxL1jDDjT+xJ/H =vTA5 -END PGP SIGNATURE- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] gcc 4.5.1 released
On Fri, Sep 03, 2010 at 07:19:56PM -0400, Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK. I've been fighting with my own C++ code issues of late so I dropped out of the discussion. Shall we go ahead and release this version into the wild? On 8/14/10 6:46 PM, David Fang wrote: Results on my slow-a** powerpc-apple-darwin8 are finally in! http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01506.html Latest packaging for 10.4(ppc) looks good to me. I had one non-important suggestion for those of us who like to run the testsuite: perhaps in TestScript, run the test_summary script and save it to some file to be installed with docs/. In the case when tests are not run, perhaps touch an empty results file, so the .deb looks the same whether or not the testsuite is run. Fang I would go ahead and push them out. Ping me if there is any breakage but they should be fine. My spare time has been soaked up with FSF gcc development. We just eliminated all darwin-specific regressions in Link Time Optimization and I enabled it as the default today. We also are looking at fixing the gcj failures under darwin9 for gcc 4.6 as well as perhaps using the compact unwinder under darwin10 instead of the older compatibility unwinder. We also have been making changes so the the symlinks for libSystem are ignored during linkage (such that a known order of linkage is always present...ie -lSystem last). The rational for that change is to make sure that when the same symbol exists in both libgcc_ext and libSystem (but is not marked as a magical symbol like those in libgcc_s.10.4/10.5) the FSF gcc one is used. This came about from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333 where the libSystem ___divdc3 call from http://compiler-rt.llvm.org/ is imprecise. Unfortunately Apple deems this not interesting enough to fix. Before our rationalization of the linkage, this bug would come or go depending if -lm was appended (which promoted libSystem to the front of the linkage). Jack - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBgpwACgkQB8UpO3rKjQ/icACgoxpD8DUCb0+rQthakoHxQESl dDgAn2chuAW0UIwdf5rxL1jDDjT+xJ/H =vTA5 -END PGP SIGNATURE- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] gcc 4.5.1 released
On Fri, Sep 03, 2010 at 07:19:56PM -0400, Alexander Hansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK. I've been fighting with my own C++ code issues of late so I dropped out of the discussion. Alexander, Actually, on reflection, let me backport one additional patch from gcc-4_5-branch into that package. I discovered a memory corruption issue in the compiler this week which could potentially randomize code generation and it is fixed in both for both gcc trunk and 4.5.2... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484 Jack - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBgpwACgkQB8UpO3rKjQ/icACgoxpD8DUCb0+rQthakoHxQESl dDgAn2chuAW0UIwdf5rxL1jDDjT+xJ/H =vTA5 -END PGP SIGNATURE- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] gcc 4.5.1 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/3/10 7:53 PM, Jack Howarth wrote: On Fri, Sep 03, 2010 at 07:19:56PM -0400, Alexander Hansen wrote: OK. I've been fighting with my own C++ code issues of late so I dropped out of the discussion. Alexander, Actually, on reflection, let me backport one additional patch from gcc-4_5-branch into that package. I discovered a memory corruption issue in the compiler this week which could potentially randomize code generation and it is fixed in both for both gcc trunk and 4.5.2... http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484 Jack Sounds good to me. - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBmNoACgkQB8UpO3rKjQ9JGACeK2vz3RB6Stb3rU5z1JeBK5Xi ALsAniTljzEiAMIEjf2V2PN0EUsd8KlJ =W4LE -END PGP SIGNATURE- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel