Re: [Fink-devel] Error building gd3 on 10.6/i386.
On 11/4/13 7:36 AM, Hanspeter Niederstrasser wrote: > On 11/4/2013 10:21 AM, Alexander Hansen wrote: >> On 11/4/13 4:30 AM, Hanspeter Niederstrasser wrote: >>> On 11/3/2013 7:58 PM, Alexander Hansen wrote: I wanted to update gnuplot (other than gnuplot-minimal) to use gd3 instead of gd2, but I ran into this problem testing gd3 on 10.6/i386: ... libtool: link: gcc -std=gnu99 -dynamiclib -o .libs/libgd.3.dylib .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o .libs/gd_color_match.o -L/sw/lib -L/usr/X11/lib /sw/lib/libiconv.dylib /sw/lib/libjpeg.dylib -lz /sw/lib/libpng16.dylib /sw/lib/freetype219/lib/libfreetype.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib -lXpm -lX11 -lvpx /sw/lib/libtiff.dylib-pthread -install_name /sw/lib/libgd.3.dylib -compatibility_version 4 -current_version 4.0 -Wl,-single_module ld: absolute addressing (perhaps -mdynamic-no-pic) used in _vp8_dequant_idct_add_mmx from /sw/lib/libvpx.a(dequantize_mmx.asm.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs ... I _guess_ I could allow the 10.6 and 10.7+ packaging to diverge. >>> >>> The only things I could find about this points to the use of PIC code, >>> but it seems that the changes would have to be done in libvpx. None of >>> the possible flags (-read_only_relocs suppress, -mdynamic-no-pic, using >>> ld_classic) mentioned in online posts (most about 5-6 years old) fixed >>> the 10.6/i386 build here. I'll happily welcome suggestions to try. >>> >>> Hanspeter >>> >> >> gd3 works on 10.6/x86_64 (not too surprising, I guess). Any objections >> to my migrating it over with an Architecture tag? > > Done. > > Hanspeter > Thanks much! -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
On 11/4/13 7:28 AM, Daniel Macks wrote: > On Mon, 04 Nov 2013 06:53:55 -0800, Alexander Hansen > wrote: > On 11/4/13 6:29 AM, TheSin wrote: >>> great thanks for testing I'll be sure to add this patch to my >> dpkg/tar maybe someone could get the current versions? >>> --- >>> TS >>> http://www.southofheaven.org/ >>> Life begins and ends with chaos, live between the chaos! >>> >>> On 2013-11-04, at 2:59 AM, Martin Costabel wrote: >>> >> >> Sounds good. I was holding off to make sure we had a solution that >> folks were happy with. :-) >> >> It's probably worth freshening tar to the latest upstream while we're at it. > > I'm seeing some serious-sounding bug on bug-tar in tar-1.27. Might want > to let that version shake out a bit unless there's something critical > in it we need "now". > > dan > >-- > Daniel Macks > dma...@netspace.org > > > > I was just assuming that newer was better, without checking ChangeLogs. :-) -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Error building gd3 on 10.6/i386.
On 11/4/2013 10:21 AM, Alexander Hansen wrote: > On 11/4/13 4:30 AM, Hanspeter Niederstrasser wrote: >> On 11/3/2013 7:58 PM, Alexander Hansen wrote: >>> I wanted to update gnuplot (other than gnuplot-minimal) to use gd3 >>> instead of gd2, but I ran into this problem testing gd3 on 10.6/i386: >>> >>> ... >>> libtool: link: gcc -std=gnu99 -dynamiclib -o .libs/libgd.3.dylib >>> .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o >>> .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o >>> .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o >>> .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o >>> .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o >>> .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o >>> .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o >>> .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o >>> .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o >>> .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o >>> .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o >>> .libs/gd_color_match.o -L/sw/lib -L/usr/X11/lib /sw/lib/libiconv.dylib >>> /sw/lib/libjpeg.dylib -lz /sw/lib/libpng16.dylib >>> /sw/lib/freetype219/lib/libfreetype.dylib >>> /sw/lib/fontconfig2/lib/libfontconfig.dylib -lXpm -lX11 -lvpx >>> /sw/lib/libtiff.dylib-pthread -install_name /sw/lib/libgd.3.dylib >>> -compatibility_version 4 -current_version 4.0 -Wl,-single_module >>> ld: absolute addressing (perhaps -mdynamic-no-pic) used in >>> _vp8_dequant_idct_add_mmx from /sw/lib/libvpx.a(dequantize_mmx.asm.o) >>> not allowed in slidable image. Use '-read_only_relocs suppress' to >>> enable text relocs >>> ... >>> >>> I _guess_ I could allow the 10.6 and 10.7+ packaging to diverge. >> >> The only things I could find about this points to the use of PIC code, >> but it seems that the changes would have to be done in libvpx. None of >> the possible flags (-read_only_relocs suppress, -mdynamic-no-pic, using >> ld_classic) mentioned in online posts (most about 5-6 years old) fixed >> the 10.6/i386 build here. I'll happily welcome suggestions to try. >> >> Hanspeter >> > > gd3 works on 10.6/x86_64 (not too surprising, I guess). Any objections > to my migrating it over with an Architecture tag? Done. Hanspeter -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
On Mon, 04 Nov 2013 06:53:55 -0800, Alexander Hansen wrote: On 11/4/13 6:29 AM, TheSin wrote: > > great thanks for testing I'll be sure to add this patch to my > dpkg/tar maybe someone could get the current versions? > > --- > > TS > > http://www.southofheaven.org/ > > Life begins and ends with chaos, live between the chaos! > > > > On 2013-11-04, at 2:59 AM, Martin Costabel wrote: > > > > Sounds good. I was holding off to make sure we had a solution that > folks were happy with. :-) > > It's probably worth freshening tar to the latest upstream while we're at it. I'm seeing some serious-sounding bug on bug-tar in tar-1.27. Might want to let that version shake out a bit unless there's something critical in it we need "now". dan -- Daniel Macks dma...@netspace.org -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Error building gd3 on 10.6/i386.
On 11/4/13 4:30 AM, Hanspeter Niederstrasser wrote: > On 11/3/2013 7:58 PM, Alexander Hansen wrote: >> I wanted to update gnuplot (other than gnuplot-minimal) to use gd3 >> instead of gd2, but I ran into this problem testing gd3 on 10.6/i386: >> >> ... >> libtool: link: gcc -std=gnu99 -dynamiclib -o .libs/libgd.3.dylib >> .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o >> .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o >> .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o >> .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o >> .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o >> .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o >> .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o >> .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o >> .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o >> .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o >> .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o >> .libs/gd_color_match.o -L/sw/lib -L/usr/X11/lib /sw/lib/libiconv.dylib >> /sw/lib/libjpeg.dylib -lz /sw/lib/libpng16.dylib >> /sw/lib/freetype219/lib/libfreetype.dylib >> /sw/lib/fontconfig2/lib/libfontconfig.dylib -lXpm -lX11 -lvpx >> /sw/lib/libtiff.dylib-pthread -install_name /sw/lib/libgd.3.dylib >> -compatibility_version 4 -current_version 4.0 -Wl,-single_module >> ld: absolute addressing (perhaps -mdynamic-no-pic) used in >> _vp8_dequant_idct_add_mmx from /sw/lib/libvpx.a(dequantize_mmx.asm.o) >> not allowed in slidable image. Use '-read_only_relocs suppress' to >> enable text relocs >> ... >> >> I _guess_ I could allow the 10.6 and 10.7+ packaging to diverge. > > The only things I could find about this points to the use of PIC code, > but it seems that the changes would have to be done in libvpx. None of > the possible flags (-read_only_relocs suppress, -mdynamic-no-pic, using > ld_classic) mentioned in online posts (most about 5-6 years old) fixed > the 10.6/i386 build here. I'll happily welcome suggestions to try. > > Hanspeter > gd3 works on 10.6/x86_64 (not too surprising, I guess). Any objections to my migrating it over with an Architecture tag? -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
I completely agree with tar maybe I'll give it a shot today, just got to work so I'll see how busy things are. --- TS http://www.southofheaven.org/ Life begins and ends with chaos, live between the chaos! On 2013-11-04, at 7:53 AM, Alexander Hansen wrote: > On 11/4/13 6:29 AM, TheSin wrote: >> great thanks for testing I'll be sure to add this patch to my dpkg/tar maybe >> someone could get the current versions? >> --- >> TS >> http://www.southofheaven.org/ >> Life begins and ends with chaos, live between the chaos! >> >> On 2013-11-04, at 2:59 AM, Martin Costabel wrote: >> > > Sounds good. I was holding off to make sure we had a solution that folks > were happy with. :-) > > It's probably worth freshening tar to the latest upstream while we're at it. > -- > Alexander Hansen, Ph.D. > Fink User Liaison > My package updates: http://finkakh.wordpress.com/ -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
On 11/4/13 6:29 AM, TheSin wrote: > great thanks for testing I'll be sure to add this patch to my dpkg/tar maybe > someone could get the current versions? > --- > TS > http://www.southofheaven.org/ > Life begins and ends with chaos, live between the chaos! > > On 2013-11-04, at 2:59 AM, Martin Costabel wrote: > Sounds good. I was holding off to make sure we had a solution that folks were happy with. :-) It's probably worth freshening tar to the latest upstream while we're at it. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
great thanks for testing I'll be sure to add this patch to my dpkg/tar maybe someone could get the current versions? --- TS http://www.southofheaven.org/ Life begins and ends with chaos, live between the chaos! On 2013-11-04, at 2:59 AM, Martin Costabel wrote: > On 4/11/13 05:03, TheSin wrote: >> Thought I'd post this here, this is the reply from the dpkg author that I >> have been trying to fix the u-a tests with. I haven't had a chance to apply >> and test the patch or even look at it, but I hope to do so this week. > >> diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c >> index 28bcd7b..abfe336 100644 >> --- a/dpkg-deb/main.c >> +++ b/dpkg-deb/main.c >> @@ -216,6 +216,8 @@ int main(int argc, const char *const *argv) { >>bindtextdomain(PACKAGE, LOCALEDIR); >>textdomain(PACKAGE); >> >> + gettext(""); >> + >>dpkg_set_progname(BACKEND); >>standard_startup(); >>myopt(&argv, cmdinfos, printforhelp); > > This does indeed work (I guess that is what I meant when I wrote > "understanding what the precise mechanism of the crash is would > require a deep understanding of CoreFoundation's innards" :-) ). I tested it > in dpkg and in tar (remember that these are two independent bugs, both need > fixing). > > For the current dpkg-1.10.21 in Fink, the insertion of gettext("") can be > done as is in include/dpkg.h ( that's where textdomain(PACKAGE) appears), or > in dpkg-deb.main.c after the line > > standard_startup(&ejbuf, argc, &argv, NULL, 0, cmdinfos); > > The patch works also for tar, when it is applied in /src/tar.c. > > -- > Martin > > > > > -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Error building gd3 on 10.6/i386.
On 11/3/2013 7:58 PM, Alexander Hansen wrote: > I wanted to update gnuplot (other than gnuplot-minimal) to use gd3 > instead of gd2, but I ran into this problem testing gd3 on 10.6/i386: > > ... > libtool: link: gcc -std=gnu99 -dynamiclib -o .libs/libgd.3.dylib > .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o > .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o > .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o > .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o > .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o > .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o > .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o > .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o > .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o > .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o > .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o > .libs/gd_color_match.o -L/sw/lib -L/usr/X11/lib /sw/lib/libiconv.dylib > /sw/lib/libjpeg.dylib -lz /sw/lib/libpng16.dylib > /sw/lib/freetype219/lib/libfreetype.dylib > /sw/lib/fontconfig2/lib/libfontconfig.dylib -lXpm -lX11 -lvpx > /sw/lib/libtiff.dylib-pthread -install_name /sw/lib/libgd.3.dylib > -compatibility_version 4 -current_version 4.0 -Wl,-single_module > ld: absolute addressing (perhaps -mdynamic-no-pic) used in > _vp8_dequant_idct_add_mmx from /sw/lib/libvpx.a(dequantize_mmx.asm.o) > not allowed in slidable image. Use '-read_only_relocs suppress' to > enable text relocs > ... > > I _guess_ I could allow the 10.6 and 10.7+ packaging to diverge. The only things I could find about this points to the use of PIC code, but it seems that the changes would have to be done in libvpx. None of the possible flags (-read_only_relocs suppress, -mdynamic-no-pic, using ld_classic) mentioned in online posts (most about 5-6 years old) fixed the 10.6/i386 build here. I'll happily welcome suggestions to try. Hanspeter -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] dpkg on 10.9
On 4/11/13 05:03, TheSin wrote: > Thought I'd post this here, this is the reply from the dpkg author that I > have been trying to fix the u-a tests with. I haven't had a chance to apply > and test the patch or even look at it, but I hope to do so this week. > diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c > index 28bcd7b..abfe336 100644 > --- a/dpkg-deb/main.c > +++ b/dpkg-deb/main.c > @@ -216,6 +216,8 @@ int main(int argc, const char *const *argv) { > bindtextdomain(PACKAGE, LOCALEDIR); > textdomain(PACKAGE); > > + gettext(""); > + > dpkg_set_progname(BACKEND); > standard_startup(); > myopt(&argv, cmdinfos, printforhelp); This does indeed work (I guess that is what I meant when I wrote "understanding what the precise mechanism of the crash is would require a deep understanding of CoreFoundation's innards" :-) ). I tested it in dpkg and in tar (remember that these are two independent bugs, both need fixing). For the current dpkg-1.10.21 in Fink, the insertion of gettext("") can be done as is in include/dpkg.h ( that's where textdomain(PACKAGE) appears), or in dpkg-deb.main.c after the line standard_startup(&ejbuf, argc, &argv, NULL, 0, cmdinfos); The patch works also for tar, when it is applied in /src/tar.c. -- Martin -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel