Re: ghostscript-gnu build broken
HP released a new version. 1.0.1. They have fixed a bug in the sources. Could someone try the new version with optimization -O / -O2 turned on ? I only can do it in 10 hours from now. Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg33589/pgp0.pgp Description: PGP signature
Re: ghostscript-gnu build broken
On Mon, Jan 14, 2002 at 08:17:39AM +0200, John Hay wrote: > > Do you think its possible to put "that logic" into the port ? > > I looked into it a bit. I think it is better if automake don't have to > be run. What about removeing files/patch-hpijs-1.0:configure.in and > patch the port Makefile with the appened patch? It seems to work here. This could really work bettern, since my patch doesn't work anymore since I updated my autconf and automake environment. So I trapped into the same as you ... Astonishing is, that after changing autoconf version, my patch doesn't work anymore, and -O is again in the CFLAGS :-/ > RCS file: /home/ncvs/ports/print/ghostscript-gnu/Makefile,v > retrieving revision 1.63 > diff -u -r1.63 Makefile > --- Makefile 11 Jan 2002 21:47:33 - 1.63 > +++ Makefile 14 Jan 2002 06:06:18 - > @@ -165,8 +165,10 @@ > ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ > ${WRKSRC}/src/unix-gcc.mak > # for HPinkjet driver > - ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \ > - s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure > + # XXX The HPinkjet driver should not be compiled with optimization > + ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="-pipe -Wall"|g ; \ > + s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="-pipe -Wall"|g' \ > + ${WRKSRC}/${HPIJS_NAME}/configure > find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \ > 's|#include ||g' Can you commit it please ? I'm busy today (have a recert termin soon, in 3 hours ;-) Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg33525/pgp0.pgp Description: PGP signature
Re: ghostscript-gnu build broken
> On Sat, Jan 12, 2002 at 01:25:55PM +0200, John Hay wrote: > > It is not a -current problem. It is if you use the latest automake port, > > which is using v1.5. I tried that command manually with automake14 and > > then I didn't get that error. > > John, what steps did you do exactly ? Something like this: ### cd /usr/ports/print/ghostscript-gnu make (fill in the form and wait until it breaks) cd work/ghostscript-6.52/hpijs-1.0 aclocal14 automake14 --foreign --include-deps Makefile cd ../../.. make make install ### > Do you think its possible to put "that logic" into the port ? I looked into it a bit. I think it is better if automake don't have to be run. What about removeing files/patch-hpijs-1.0:configure.in and patch the port Makefile with the appened patch? It seems to work here. John -- John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED] Index: Makefile === RCS file: /home/ncvs/ports/print/ghostscript-gnu/Makefile,v retrieving revision 1.63 diff -u -r1.63 Makefile --- Makefile11 Jan 2002 21:47:33 - 1.63 +++ Makefile14 Jan 2002 06:06:18 - @@ -165,8 +165,10 @@ ${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ ${WRKSRC}/src/unix-gcc.mak # for HPinkjet driver - ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \ -s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure + # XXX The HPinkjet driver should not be compiled with optimization + ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="-pipe -Wall"|g ; \ +s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="-pipe -Wall"|g' \ +${WRKSRC}/${HPIJS_NAME}/configure find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \ 's|#include ||g' To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ghostscript-gnu build broken
On Sat, Jan 12, 2002 at 01:25:55PM +0200, John Hay wrote: > It is not a -current problem. It is if you use the latest automake port, > which is using v1.5. I tried that command manually with automake14 and > then I didn't get that error. John, what steps did you do exactly ? Do you think its possible to put "that logic" into the port ? Andreas /// -- Andreas Klemm - Powered by FreeBSD Need a magic printfilter today ? http://www.apsfilter.org/ Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg33520/pgp0.pgp Description: PGP signature
Re: ghostscript-gnu build broken
On Saturday 12 January 2002 01:47 am, Andreas Klemm wrote: > On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote: > > Hi, > > I'm glad to see the problem with hpijs is being fixed, however when I > > tried > > > > to build the port it died with the following: > > >>> building hpijs server ... > > > > cd . && aclocal > > cd . && automake --foreign --include-deps Makefile > > automake: configure.in: required file `./depcomp' not found > > gmake: *** [Makefile.in] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/print/ghostscript-gnu. > > *** Error code 1 > > That must be a -current problem, in the meantime I got the > new ghostscript-gnu port compiled on > > FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 21:12:33 > CET 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN i386 > > Andreas /// Backing out you patch didn't make any differance. I compiled with tho old automake and everything went fine. Seems to be a prob with automake 1-5,1. Back to apsfilter, hpijs is still core dumping. here's the output from the setup script: Printing Test page using: gs -q -dBATCH -dNOPAUSE -dSAFER -r300x300 -sDEVICE=ijs -sPAPERSIZE=letter -sIjsParams='Quality=0,ColorMode=2,MediaType=0,PenSet=2' -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 880' -sIjsServer=hpijs -sOutputFile='/tmp/apsfilter94195/test_page.aps' setup/test.ps Ok to print testpage? [y/n] y Creating test page... Bus error - core dumped unable to spawn ijs server=hpijs Unable to open the initial device, quitting. real0m0.569s user0m0.306s sys 0m0.077s Printing test page... -rw-r--r-- 1 root wheel 0 Jan 12 14:03 /tmp/apsfilter94195/test_page.aps real0m0.254s user0m0.000s sys 0m0.005s [ press RETURN to continue ] [H [J= Any help would be appreciated, I really need the duplex printing. Beech -- --- Beech Rintoul - IT Manager - Instructor - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ghostscript-gnu build broken
On Sat, 12 Jan 2002 06:11:10 -0500 "Gerald A. Speak" <[EMAIL PROTECTED]> wrote: GAS> I was having the same problem until I un-installed automake and autoconf, GAS> after which ghostscript-gnu installed just fine. I've seen this a lot since automake 1.5 hit my system there seems to be a newly required file (depcomp) - on some ports (eg. glide3) setting the USE_AUTOMAKE_VER to 14 fixed it - I am still having trouble with ghostscript-afpl in the hpijs build :( -- C:>WIN | Directable Mirrors The computer obeys and wins.|A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ghostscript-gnu build broken
> > > Hi, > > > I'm glad to see the problem with hpijs is being fixed, however when I > > > tried > > > > > > to build the port it died with the following: > > > >>> building hpijs server ... > > > > > > cd . && aclocal > > > cd . && automake --foreign --include-deps Makefile > > > automake: configure.in: required file `./depcomp' not found > > > gmake: *** [Makefile.in] Error 1 > > > *** Error code 2 > > > > > > Stop in /usr/ports/print/ghostscript-gnu. > > > *** Error code 1 > > > > That must be a -current problem, in the meantime I got the > > new ghostscript-gnu port compiled on > > > > FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 21:12:33 > > CET 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN i386 > > > > Andreas /// > I was having the same problem until I un-installed automake and autoconf, > after which ghostscript-gnu installed just fine. It is not a -current problem. It is if you use the latest automake port, which is using v1.5. I tried that command manually with automake14 and then I didn't get that error. John -- John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ghostscript-gnu build broken
On Saturday 12 January 2002 05:47 am, Andreas Klemm wrote: > On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote: > > Hi, > > I'm glad to see the problem with hpijs is being fixed, however when I > > tried > > > > to build the port it died with the following: > > >>> building hpijs server ... > > > > cd . && aclocal > > cd . && automake --foreign --include-deps Makefile > > automake: configure.in: required file `./depcomp' not found > > gmake: *** [Makefile.in] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/print/ghostscript-gnu. > > *** Error code 1 > > That must be a -current problem, in the meantime I got the > new ghostscript-gnu port compiled on > > FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 21:12:33 > CET 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN i386 > > Andreas /// I was having the same problem until I un-installed automake and autoconf, after which ghostscript-gnu installed just fine. Gerald To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ghostscript-gnu build broken
On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote: > Hi, > I'm glad to see the problem with hpijs is being fixed, however when I tried > to build the port it died with the following: > > >>> building hpijs server ... > cd . && aclocal > cd . && automake --foreign --include-deps Makefile > automake: configure.in: required file `./depcomp' not found > gmake: *** [Makefile.in] Error 1 > *** Error code 2 > > Stop in /usr/ports/print/ghostscript-gnu. > *** Error code 1 That must be a -current problem, in the meantime I got the new ghostscript-gnu port compiled on FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0: Thu Jan 10 21:12:33 CET 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN i386 Andreas /// -- Andreas Klemm - Powered by FreeBSD Need a magic printfilter today ? http://www.apsfilter.org/ Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg33499/pgp0.pgp Description: PGP signature
Re: ghostscript-gnu build broken
On Fri, Jan 11, 2002 at 08:33:25PM -0900, Beech Rintoul wrote: > Hi, > I'm glad to see the problem with hpijs is being fixed, however when I tried > to build the port it died with the following: > > >>> building hpijs server ... > cd . && aclocal > cd . && automake --foreign --include-deps Makefile > automake: configure.in: required file `./depcomp' not found > gmake: *** [Makefile.in] Error 1 > *** Error code 2 > > Stop in /usr/ports/print/ghostscript-gnu. > *** Error code 1 > > I'm running -current from wednesday. Well, I can't imagine I broke something in ghostscript-gnu by simply adding the hpijs patch that I tested in ghostscript-afpl since it only patches hpijs. Could you please test, if it makes a different, if you remove this patch, simply to test if its the patch or not. I assume the port was broken before or its something in -current. I would test now if I had the time, but I have to hurry now to cure a hacked internet server ... Andreas /// -- Andreas Klemm - Powered by FreeBSD Need a magic printfilter today ? http://www.apsfilter.org/ Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg33498/pgp0.pgp Description: PGP signature