[Fink-devel] Mac OS 10.5 (Leopard) will have Garbage Collection for Objective-C!
A friend just pointed this out to me, and I thought it might be of interest to people here :) % man gcc | grep -B 1 -A 3 garbage | head -5 -fobjc-gc Enable garbage collection (GC) for Objective-C objects. The resulting binary can only be used on Mac OS X 10.5 (Leopard) and later systems, due to additional functionality needed in the (NeXT) Objective-C runtime. Regards, Cian Hughes --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] net-snmp on Tiger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, I found that out yesterday, I have tracked down the header I was missing (if_var.h) I just need to brush up on how to get the fink build-system to place a file into the source tree after un- compressing it, as opposed to just patching existing files. I am glad to report that I have net-snmp 5.3 working on Mac OS X 10.4. Regards, Cian Hughes [EMAIL PROTECTED] On 2 Jan 2006, at 22:57, Martin Costabel wrote: Cian Hughes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, so I'm currently trying to do two things with regard to net_snmp: I need to figure out exactly what apple keeps in /System/Library/ Frameworks/System.framework/PrivateHeaders (which is referenced from http://darwinsource.opendarwin.org/10.4.3/net_snmp-18/Makefile There are a couple hundred files in there, almost 20% of what is in /usr/include. Some of them are the same as in /usr/include, some are different, of interest for net_snmp mainly those in netinet and netinet6. You get them if you install and run darwinbuild opendarwin.org/projects/darwinbuild/> Most of them are in the kernel tarball which you can download from <http://darwinsource.opendarwin.org/Roots/8F46/xnu.root.tar.gz> a few come from other projects, but these are probably not needed by net_snmp. -- Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDupDRaVVfOlCF0TQRAu3OAJ91LNDIghKN837gaDtZTan0AdZ7rACfXC9G /8kpYizPDh4G95mLdxyriug= =P/HJ -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] net-snmp on Tiger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, so I'm currently trying to do two things with regard to net_snmp: I need to figure out exactly what apple keeps in /System/Library/ Frameworks/System.framework/PrivateHeaders (which is referenced from http://darwinsource.opendarwin.org/10.4.3/net_snmp-18/Makefile and secondly I need to adapt the current patches for net-snmp 5.3 the latest version. Regards, Cian Hughes [EMAIL PROTECTED] On 24 Dec 2005, at 08:47, Peter O'Gorman wrote: On Dec 24, 2005, at 8:04 AM, Martin Costabel wrote: On June 23, 2005 11:08, Cian Hughes wrote: I tried pretty hard with 5.2 patches, but ultimately I got the same broken net-snmp that shiped with tiger, since 10.4.2 has been seeded to developers they are actually obliged to release the patches, I've emailed [EMAIL PROTECTED] so hopefully they will reply shortly. Hmm. http://darwinsource.opendarwin.org/10.4.3/net_snmp-18/ What's the problem? Peter -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDuU53aVVfOlCF0TQRAlUXAKCASJ/p6WpfESBnTmmCHD3AKDPdfgCfU1GS O41mfnVbC+xMSJ5ZRWWMjKA= =uAGg -END PGP SIGNATURE- --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] net-snmp on Tiger
Ok the problem was basically due to school, I was back at it and working rather hard by the time apple released the patch set, hopefully at some stage today i'll fix up the patchset from apple so that it will work for fink and we should be good to go again. Sorry about the delay guys. Cian Hughes [EMAIL PROTECTED] -- This is my signature, often imitated, never beaten. On 22 Dec 2005, at 22:51, Brad Schwie wrote: What's the current status with net-snmp? I'm not having much luck turning up a patch for Tiger... --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Re: Net-snmp on Tiger
When apple compile net-snmp the use CPPFLAGS=-I/System/Library/ Frameworks/System.framework/PrivateHeaders which of course doesn't work unless you're an apple developer. Regards, Cian Hughes [EMAIL PROTECTED] On 19 Jul 2005, at 01:08, Eric Duprey wrote: In reply to: Newsgroups: gmane.os.apple.fink.devel, Date: 2005-06-23 I tried pretty hard with 5.2 patches, but ultimately I got the same broken net-snmp that shiped with tiger, since 10.4.2 has been seeded to developers they are actually obliged to release the patches, I've emailed [EMAIL PROTECTED] so hopefully they will reply shortly. Hi, I'm not on the list, but I am running into the same issues getting net-snmp to build on Tiger, and I was hoping you could answer my question. Was there something special that you had to do get the code to build after applying Apple's patches? (even to get a broken version, though I suspect the 8.2 patches will fare better) Even after applying the patches from opensource.apple.com I'm still having trouble with unknown symbols and such. (mainly related to struct ifnet). It the like I must need some Apple private headers or something. Is it necessary to acquire special headers from somewhere? Thanks, Eric Duprey <[EMAIL PROTECTED]> --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Cyrus SASL2
Daniel, FYI your latest cyrus-sasl2 package on fink has broken PAM support in saslauthd. Cyrus Team, There is a problem compiling cyrus-sasl2's saslauthd on Mac OS X, see file attached. The problem stems from the fact that while the initial configure checks for both security/pam_appl.h and pam/pam_appl.h (the later of which it finds) however the saslauthd configure only looks in security/pam_appl.h for the headers, which under normal circumstances it doesn't find. Normally I solve this by symlinking /usr/include/ security to /usr/include/pam which in sufficient to fix your package, however this is a slightly hackish fix and can result in different builds on different systems. I believe the best way to solve this is to patch configure for saslauthd to look in pam/pam_appl.h rather than security/pam_appl.h which is a trivial fix starting on line 93 of configure.in, i do check for both headers, but since there is always pam/pam_appl.h on mac os x 10.4, this is unnecessary for fink, however since I am submitting this upstream both are necessary. NB attached file is configure.in from cyrus-sasl-2.1.21/saslauthd/ configure.in Description: Binary data Regards, Cian Hughes [EMAIL PROTECTED]
Re: [Fink-devel] net-snmp on Tiger
I tried pretty hard with 5.2 patches, but ultimately I got the same broken net-snmp that shiped with tiger, since 10.4.2 has been seeded to developers they are actually obliged to release the patches, I've emailed [EMAIL PROTECTED] so hopefully they will reply shortly. Regards, Cian Hughes [EMAIL PROTECTED] On 23 Meith 2005, at 09:12, Jeremy Higgs wrote: Thanks, Cian! I was looking around the other day, and I got the impression that the patches for 5.2 were available with the Darwin source. Assuming not much has changed between 5.2 and 5.2.1, they'll probably be quite useful. I guess it also depends on when 10.4.2 is out! Jeremy. On 23/06/2005, at 18:00, Cian Hughes wrote: Yes, I'll take care of maintaining net-snmp, as soon as apple release their patches for 5.2.1 (which they should do at the same time as 10.4.2) I'll work on adapting it to compile without the private headers. Regards, Cian Hughes [EMAIL PROTECTED] On 23 Meith 2005, at 01:03, Jeremy Higgs wrote: OK, I guess we keep the package, then! Would anyone be prepared to take over the maintainership (?) for net-snmp, in that case? As evidenced by my lack of activity in Fink, I haven't (and still don't have) a great deal of spare time. If there's someone who could maintain net-snmp a better better than I have, then I'm sure Fink and the users of the package will benefit. Otherwise, I'll have a go at getting 5.2.1 to work in the near future. Thanks, Jeremy. On 22/06/2005, at 22:46, TheSin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I gotta be honest I don't like the idea of depending on apple for this either. - --- TS http://southofheaven.org/ Chaos is the beginning and end, try dealing with the rest. On 22-Jun-05, at 4:21 AM, Cian Hughes wrote: Just thought I'd point out that the system version is broken, it crashes on some queries, apple have acknowledged this and it will apparently be fixed with 10.4.2, there is potential here that we may end up moving people from a working net-snmp (but old) to a half broken new version. Regards, Cian Hughes On 21 Jun 2005, at 16:20, TheSin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 php4 and php5 both depend on it, let me rework to link against the system version and provide a good upgrade path. - --- TS http://southofheaven.org/ Chaos is the beginning and end, try dealing with the rest. On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote: On 20/06/2005, at 3:04, Martin Costabel wrote: Jeremy Higgs wrote: Hi everyone, I've been trying to get a lot of my packages working on Tiger, and have finally gotten around to net-snmp. I noticed (from discussions on the list, and a bit of playing around) that net-snmp 5.2 is actually included in the base system. Given this, is there really a need for a net-snmp package? Perhaps if someone wants an OpenSSL- enabled version... On that note, there are some patches in the Darwin source. (http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/ patches/) Does anyone know what the license is for these? I was hoping to use these for the Fink package... According to the license file on the server http:// www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/ net_snmp.txt, the package has a BSD license. I would assume that this covers the patches, too. OTOH, it is perhaps a good idea to get rid of the package altogether. On Panther already fink's version was older than the system one. Would anyone have any objections to this? I would tend to agree with Martin, since it's included with the system now, and isn't a terribly important package. If there are no dependencies and no objections, I'll remove it from the 10.4-transitional and 10.3 trees in the near future... Thanks, Jeremy. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3o icA1ERYOre7SiUY/ZXwyQuc= =lCHz -END PGP SIGNATURE- --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/? ad_id=7477&alloc_id=16492&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCuV2a6wPs8J05MxMRAqpVAJ9064NEmeSAJn8ev47BuNGUAFnpLgCdFw7P 7rco/kFCd5N7iGvb4KDHJVg= =4RJz -END PGP SIGNATURE- --- SF.Net email is sponsored by: Discover Easy Linux Migration Str
Re: [Fink-devel] net-snmp on Tiger
Yes, I'll take care of maintaining net-snmp, as soon as apple release their patches for 5.2.1 (which they should do at the same time as 10.4.2) I'll work on adapting it to compile without the private headers. Regards, Cian Hughes [EMAIL PROTECTED] On 23 Meith 2005, at 01:03, Jeremy Higgs wrote: OK, I guess we keep the package, then! Would anyone be prepared to take over the maintainership (?) for net-snmp, in that case? As evidenced by my lack of activity in Fink, I haven't (and still don't have) a great deal of spare time. If there's someone who could maintain net-snmp a better better than I have, then I'm sure Fink and the users of the package will benefit. Otherwise, I'll have a go at getting 5.2.1 to work in the near future. Thanks, Jeremy. On 22/06/2005, at 22:46, TheSin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I gotta be honest I don't like the idea of depending on apple for this either. - --- TS http://southofheaven.org/ Chaos is the beginning and end, try dealing with the rest. On 22-Jun-05, at 4:21 AM, Cian Hughes wrote: Just thought I'd point out that the system version is broken, it crashes on some queries, apple have acknowledged this and it will apparently be fixed with 10.4.2, there is potential here that we may end up moving people from a working net-snmp (but old) to a half broken new version. Regards, Cian Hughes On 21 Jun 2005, at 16:20, TheSin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 php4 and php5 both depend on it, let me rework to link against the system version and provide a good upgrade path. - --- TS http://southofheaven.org/ Chaos is the beginning and end, try dealing with the rest. On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote: On 20/06/2005, at 3:04, Martin Costabel wrote: Jeremy Higgs wrote: Hi everyone, I've been trying to get a lot of my packages working on Tiger, and have finally gotten around to net-snmp. I noticed (from discussions on the list, and a bit of playing around) that net-snmp 5.2 is actually included in the base system. Given this, is there really a need for a net-snmp package? Perhaps if someone wants an OpenSSL- enabled version... On that note, there are some patches in the Darwin source. (http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/ patches/) Does anyone know what the license is for these? I was hoping to use these for the Fink package... According to the license file on the server http:// www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/ net_snmp.txt, the package has a BSD license. I would assume that this covers the patches, too. OTOH, it is perhaps a good idea to get rid of the package altogether. On Panther already fink's version was older than the system one. Would anyone have any objections to this? I would tend to agree with Martin, since it's included with the system now, and isn't a terribly important package. If there are no dependencies and no objections, I'll remove it from the 10.4-transitional and 10.3 trees in the near future... Thanks, Jeremy. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3o icA1ERYOre7SiUY/ZXwyQuc= =lCHz -END PGP SIGNATURE- --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/? ad_id=7477&alloc_id=16492&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCuV2a6wPs8J05MxMRAqpVAJ9064NEmeSAJn8ev47BuNGUAFnpLgCdFw7P 7rco/kFCd5N7iGvb4KDHJVg= =4RJz -END PGP SIGNATURE- --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Re: [Fink-devel] net-snmp on Tiger
Just thought I'd point out that the system version is broken, it crashes on some queries, apple have acknowledged this and it will apparently be fixed with 10.4.2, there is potential here that we may end up moving people from a working net-snmp (but old) to a half broken new version. Regards, Cian Hughes On 21 Jun 2005, at 16:20, TheSin wrote:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1php4 and php5 both depend on it, let me rework to link against the system version and provide a good upgrade path.- ---TShttp://southofheaven.org/Chaos is the beginning and end, try dealing with the rest.On 21-Jun-05, at 1:07 AM, Jeremy Higgs wrote: On 20/06/2005, at 3:04, Martin Costabel wrote: Jeremy Higgs wrote: Hi everyone,I've been trying to get a lot of my packages working on Tiger, and have finally gotten around to net-snmp. I noticed (from discussions on the list, and a bit of playing around) that net-snmp 5.2 is actually included in the base system. Given this, is there really a need for a net-snmp package? Perhaps if someone wants an OpenSSL- enabled version...On that note, there are some patches in the Darwin source. (http:// darwinsource.opendarwin.org/10.4.1/net_snmp-16/patches/) Does anyone know what the license is for these? I was hoping to use these for the Fink package... According to the license file on the server http://www.opensource.apple.com/darwinsource/10.4.1/net_snmp-16/net_snmp.txt, the package has a BSD license. I would assume that this covers the patches, too.OTOH, it is perhaps a good idea to get rid of the package altogether. On Panther already fink's version was older than the system one. Would anyone have any objections to this? I would tend to agree with Martin, since it's included with the system now, and isn't a terribly important package.If there are no dependencies and no objections, I'll remove it from the 10.4-transitional and 10.3 trees in the near future...Thanks,Jeremy. -BEGIN PGP SIGNATURE-Version: GnuPG v1.4.0 (Darwin)iD8DBQFCuDBI6wPs8J05MxMRApENAJ4g4dxjFJoo6GArVafbE/lJLJu8PgCdH+3oicA1ERYOre7SiUY/ZXwyQuc==lCHz-END PGP SIGNATURESF.Net email is sponsored by: Discover Easy Linux Migration Strategiesfrom IBM. Find simple to follow Roadmaps, straightforward articles,informative Webcasts and more! Get everything you need to get up tospeed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click___Fink-devel mailing listFink-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/fink-devel smime.p7s Description: S/MIME cryptographic signature
Re: [Fink-devel] net-snmp on Tiger
I tried today to compile net-snmp 5.2.1 on Tiger, an it has not worked properly, I succeeded in patching the new source but it seems from apples patches that it must include some headers from: /System/Library/Frameworks/System.framework/PrivateHeaders , which I for one don't have, I have been unable to compile it, falling into undefined symbols problems, since there are many problems with apples net-snmp, for example no hrProcessor tables, I think net-snmp-ssl should remain in fink. If anyone has successfully patched either CVS or 5.2.1 snmp and got it to compile please let me know (I am aware this is off topic from fink-devel).Just my two (euro) cents. Regards,Cian Hughes[EMAIL PROTECTED] On 21 Meith 2005, at 08:31, David R. Morrison wrote:On Jun 21, 2005, at 3:07 AM, Jeremy Higgs wrote:On 20/06/2005, at 3:04, Martin Costabel wrote:OTOH, it is perhaps a good idea to get rid of the package altogether. On Panther already fink's version was older than the system one.Would anyone have any objections to this? I would tend to agree with Martin, since it's included with the system now, and isn't a terribly important package.If there are no dependencies and no objections, I'll remove it from the 10.4-transitional and 10.3 trees in the near future...Assuming that nothing depends on this, eliminating the package is OK with me. However, the "fink way" to bring a package to the end of its life -- when the package involves a shared library -- is to restructure the package so that it *only* builds the -shlibs splitoff. This way, net-snmp-shlibs and net-snmp-ssl-shlibs can continue to exist for the benefit of anyone who may have compiled something which links to this, but since net-snmp-dev won't exist, nobody in the future can compile anything which will link to it. -- Dave
Re: [Fink-devel] Re: Failed: phase compiling: zsh-4.2.4-11 failed
Got similar error here: gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall - Wmissing-prototypes -O2 -o utils.o utils.c utils.c: In function 'adjustwinsize': utils.c:1000: warning: implicit declaration of function 'ioctl' utils.c: At top level: utils.c:3460: warning: no previous prototype for 'ucs4toutf8' utils.c: In function 'ucs4toutf8': utils.c:3482: warning: suggest parentheses around arithmetic in operand of | utils.c: In function 'getkeystring': utils.c:3666: warning: passing argument 2 of 'libiconv' from incompatible pointer type gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall - Wmissing-prototypes -O2 -o watch.o watch.c watch.c: In function 'watch3ary': watch.c:196: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog2': watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog': watch.c:380: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' make[2]: *** [watch.o] Error 1 make[1]: *** [modobjs] Error 2 make: *** [all] Error 1 ### execution of make failed, exit code 2 Removing build lock... Regards, Cian On 12 Beal 2005, at 12:35, David H. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 François Giron wrote: Hello, I transmit here the detail concerning the failure of the installation of zsh. utils.c: In function 'adjustwinsize': utils.c:1000: warning: implicit declaration of function 'ioctl' utils.c: At top level: utils.c:3460: warning: no previous prototype for 'ucs4toutf8' utils.c: In function 'ucs4toutf8': utils.c:3482: warning: suggest parentheses around arithmetic in operand of | utils.c: In function 'getkeystring': utils.c:3666: warning: passing argument 2 of 'libiconv' from incompatible pointer type gcc -c -I. -I/sw/include -I/sw/include -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2 -o watch.o watch.c watch.c: In function 'watch3ary': watch.c:196: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog2': watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c:262: error: 'struct utmpx' has no member named 'ut_name' watch.c: In function 'watchlog': watch.c:380: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:388: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' watch.c:399: error: 'struct utmpx' has no member named 'ut_name' make[2]: *** [watch.o] Error 1 make[1]: *** [modobjs] Error 2 make: *** [all] Error 1 ### execution of make failed, exit code 2 Ok looks like we need: #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMPX_UT_ID)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_ID)) strncpy(utx.ut_id, id, sizeof(utx.ut_id)); #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_USER)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_USER)) strncpy(utx.ut_user, user, sizeof(utx.ut_user)); #else strncpy(utx.ut_name, user, sizeof(utx.ut_name)); #endif strncpy(utx.ut_line, line, sizeof(utx.ut_line)); #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_PID)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_PID)) utx.ut_pid = getpid(); #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TYPE)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TYPE)) utx.ut_type = LOGIN_PROCESS; #endif #if (defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TV)) || (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_TV)) gettimeofday(&(utx.ut_tv), 0); #else time(&(utx.ut_time)); That would also apply to the eterm issue on fink-users I guess ? -BEGIN PGP SIGNATURE- Version: GnuPG v1.3.6 (Darwin) iD8DBQFCgz+JPMoaMn4kKR4RAkWVAJ4hrYRSN7/Hv/O1QOrMAIfSQMdNeACfYcwN PKCpn1Hwzpg5FacYV8HEb8o= =5eKz -END PGP SIGNATURE- --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/
Re: [Fink-devel] Re: [fink-seed] 10.4-transitional selfupdate problems
Martin, you would be surprised what problems can be caused by your sudoers file,in order for the aforementioned test to function your mac must allow the user root to use sudo to execute that command as nobody,the error "Sorry, user root is not allowed to execute '/bin/sh -c /var/tmp/tmp.0.uhk843' as nobody on g5.cian.ws." is infact generated by the sudo command, and can be replicated outside of fink.I believe your problem is infact caused by /etc/sudoers and to test this I would like to to try this:in a terminal type:su -l and enter root passwordtype: sudo -u nobody /bin/sh -c 'ls /tmp'you may find me on freenode #fink from time to time, I don't believe this is a fink related problem, however it can easily be solvedbelow is my working custom /etc/sudoers :# sudoers file.## This file MUST be edited with the 'visudo' command as root.## See the sudoers man page for the details on how to write a sudoers file.## Host alias specification# User alias specification# Cmnd alias specification# Defaults specification# User privilege specificationroot ALL=(ALL) ALL%admin ALL=(ALL) NOPASSWD: ALL# end sudoers file. Regards, Cian Hughes -- E [EMAIL PROTECTED] NIC Handle CIAN-6BONE M +353-86-8465317 H +353-1-4991205 F +353-1-4900248 On 8 Beal 2005, at 12:07, Martin Costabel wrote:I have not yet been able to update to the latest fink-0.24.5-21 on 10.4 unstable. I am getting the same error as the one Cian Hughes reported to the fink-seed list on April 15 and on April 29, see below.He then claimed to have found that this was caused by a broken sudoers file. In my case, I don't think this can be the reason. As I find the perl test sources utterly incomprehensible, I would appreciate any help.--MartinCian Hughes wrote: anyone else seen this:make testCreating fink...Creating fink-virtual-pkgs...Creating pathsetup.sh...Creating FinkVersion.pm...Creating man page...Creating shlibs default file...Creating postinstall script...This first test is designed to die, so please ignore the errormessage on the next line.# Looks like your test died before it could output anything../00compileok./Base/initialize..ok./Base/param...ok./Base/param_boolean...ok./Command/cat..ok./Command/chowname.ok./Command/commands.ok./Command/du_skok 1/6 skipped: can't test permission errors as root./Command/exports..ok./Command/failure..ok./Command/touchok./Config/exports...ok./Config/failure...ok./Config/load_save.ok./Config/options...ok./Config/param.ok./Config/verbosity_level...ok./FinkVersion/exports..ok./FinkVersion/version..ok./Mirror/exports...ok./Notify/exports...ok./Package/duplicate_fullnames..ok./PkgVersion/buildlocksok./PkgVersion/get_perl..ok./PkgVersion/get_ruby..ok./PkgVersion/non_consecutive_sourceok./Services/eval_conditionalok./Services/execute_nonroot_okayok 9/12Sorry, user root is not allowed to execute '/bin/sh -c /var/tmp/tmp.0.uhk843' as nobody on g5.cian.ws../Services/execute_nonroot_okayok 10/12Sorry, user root is not allowed to execute '/bin/sh -c /var/tmp/tmp.1.ARlvjr' as nobody on g5.cian.ws../Services/execute_nonroot_okayNOK 11# Failed test (./ Services/execute_nonroot_okay.t at line 103)# got: 1# expected: 0Sorry, user root is not allowed to execute '/bin/sh -c /var/tmp/tmp. 2.Ez2vGB' as nobody on g5.cian.ws../Services/execute_nonroot_okayNOK 12# Failed test (./ Services/execute_nonroot_okay.t at line 116)# got: 1# expected: 0# Looks like you failed 2 tests of 12../Services/execute_nonroot_okaydubious Test returned status 2 (wstat 512, 0x200)DIED. FAILED tests 11-12 Failed 2/12 tests, 83.33% okay (less 1 skipped test: 9 okay, 75.00%)./Services/expand_percent..ok./Services/prepare_script..ok./Text/DelimMatch..okFailed Test Stat Wstat Total Fail Failed List of Failed ---./Services/execute_nonroot_okay.t 2 512 12 2 16.67% 11-122 subtests skipped.Failed 1/31 test scripts, 96.77% okay. 2/701 subtests failed, 99.71% okay.make: *** [test] Error 1### execution of make failed, exit code 2Removing build lock...dpkg -r fink-buildlock-fink-0.24.5-11(Reading database ... 57397 files and directories currently installed.)Removing fink-buildlock-fink-0.24.5-11 ...Failed: phase compili