Re: PORTS: What is Makefile broken ?
Payam [EMAIL PROTECTED] writes: Whenever I do a cvsup ports-supfile followed by a portupgrade -a some ports fail (Makefile broken, install error, unknown error) and then some of their dependants aren't built because of it. Here is an example of a Makefile broken = angela root # cd /usr/ports/graphics/libexif angela libexif # make /usr/ports/Mk/bsd.port.mk, line 2028: warning: String comparison operator should be either == or != /usr/ports/Mk/bsd.port.mk, line 2028: Malformed conditional (${PKGINSTALLVER} 20030417) /usr/ports/Mk/bsd.port.mk, line 2028: Need an operator /usr/ports/Mk/bsd.port.mk, line 4982: if-less endif /usr/ports/Mk/bsd.port.mk, line 4982: Need an operator make: fatal errors encountered -- cannot continue angela libexif # = There is apparently a problem with the Mk/bsd.port.mk file !! Apparently. Is there something I'm missing here? This happens with a lot of ports. Are you using a refuse file with cvsup? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS: What is Makefile broken ?
On Sat, Jan 31, 2004 at 09:03:46PM -0500, Payam wrote: Hi. I'm running FreeBSD 4.9. Are you sure? You should only see this makefile error on old, unsupported versions of FreeBSD with broken make(1)s. Kris pgp0.pgp Description: PGP signature
Re: PORTS: What is Makefile broken ?
= angela root # uname -a FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4 i386 = I'm not sure how to get the version of make, maybe this: = angela root # cat /usr/src/usr.bin/make/Makefile # @(#)Makefile5.2 (Berkeley) 12/28/90 # $FreeBSD: src/usr.bin/make/Makefile,v 1.13.2.1 2001/05/25 08:33:40 sobomax Exp $ PROG= make CFLAGS+= -I${.CURDIR} SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \ make.c parse.c str.c suff.c targ.c var.c util.c SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \ lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \ lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \ lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \ lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c .PATH: ${.CURDIR}/lst.lib NOSHARED?= YES .include bsd.prog.mk = Any other thoughts? Kris Kennaway wrote: On Sat, Jan 31, 2004 at 09:03:46PM -0500, Payam wrote: Hi. I'm running FreeBSD 4.9. Are you sure? You should only see this makefile error on old, unsupported versions of FreeBSD with broken make(1)s. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS: What is Makefile broken ?
On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote: = angela root # uname -a FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4 i386 = I'm not sure how to get the version of make, maybe this: What does 'ident /usr/bin/make' show? Kris pgp0.pgp Description: PGP signature
Re: PORTS: What is Makefile broken ?
angela root # ident /usr/bin/make /usr/bin/make: $FreeBSD: src/lib/libc/i386/sys/pipe.S,v 1.8 1999/08/27 23:59:42 peter Exp $ $FreeBSD: src/lib/libc/i386/sys/Ovfork.S,v 1.11.2.1 2002/10/15 19:46:46 fjoe Exp $ $FreeBSD: src/lib/libc/i386/string/strrchr.S,v 1.5 1999/08/27 23:59:35 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strncmp.S,v 1.6 1999/08/27 23:59:35 peter Exp $ $FreeBSD: src/lib/libc/i386/string/index.S,v 1.5 1999/08/27 23:59:30 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcpy.S,v 1.5 1999/08/27 23:59:34 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcat.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcmp.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strchr.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/string/memchr.S,v 1.8 1999/08/27 23:59:31 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/string/memset.S,v 1.5 1999/08/27 23:59:32 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/sys/brk.S,v 1.7 1999/08/27 23:59:38 peter Exp $ $FreeBSD: src/lib/libc/i386/sys/sbrk.S,v 1.7.2.2 2002/08/22 20:21:17 kan Exp $ $FreeBSD: src/lib/libc/i386/sys/cerror.S,v 1.10 1999/08/27 23:59:38 peter Exp $ $FreeBSD: src/usr.bin/make/arch.c,v 1.15.2.1 2001/02/13 03:13:57 will Exp $ $FreeBSD: src/usr.bin/make/buf.c,v 1.11 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/compat.c,v 1.16.2.2 2000/07/01 12:24:21 ps Exp $ $FreeBSD: src/usr.bin/make/cond.c,v 1.12.2.1 2003/07/22 08:03:13 ru Exp $ $FreeBSD: src/usr.bin/make/dir.c,v 1.10.2.2 2003/10/08 08:14:22 ru Exp $ $FreeBSD: src/usr.bin/make/for.c,v 1.10 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/hash.c,v 1.9 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/job.c,v 1.17.2.2 2001/02/13 03:13:57 will Exp $ $FreeBSD: src/usr.bin/make/main.c,v 1.35.2.9 2003/04/15 14:37:35 ru Exp $ $FreeBSD: src/usr.bin/make/make.c,v 1.11 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/parse.c,v 1.22.2.1 2002/12/26 14:36:38 ru Exp $ $FreeBSD: src/usr.bin/make/str.c,v 1.12.2.1 2002/06/17 04:30:48 jmallett Exp $ $FreeBSD: src/usr.bin/make/suff.c,v 1.12.2.1 2001/03/09 01:13:24 tmm Exp $ $FreeBSD: src/usr.bin/make/targ.c,v 1.10 1999/09/11 13:08:02 hoek Exp $ $FreeBSD: src/usr.bin/make/var.c,v 1.16.2.3 2002/02/27 14:18:57 cjc Exp $ $FreeBSD: src/lib/libc/stdtime/strftime.c,v 1.25.2.4 2002/03/12 17:24:54 phantom Exp $ $FreeBSD: src/lib/libc/string/strcspn.c,v 1.1.1.1.14.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/gen/err.c,v 1.6 1999/08/27 23:58:33 peter Exp $ $FreeBSD: src/lib/libc/string/strcoll.c,v 1.11.2.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strsep.c,v 1.2.12.1 2001/07/09 23:30:07 obrien Exp $ $FreeBSD: src/lib/libc/string/strncpy.c,v 1.1.1.1.14.1 2001/07/09 23:30:07 obrien Exp $ $FreeBSD: src/lib/libc/string/strdup.c,v 1.2.14.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strlcat.c,v 1.2.4.2 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 peter Exp $ $FreeBSD: src/usr.bin/make/util.c,v 1.5.2.2 2001/02/13 03:13:58 will Exp $ $FreeBSD: src/lib/libc/stdtime/timelocal.c,v 1.8.2.4 2002/08/12 11:20:24 ache Exp $ $FreeBSD: src/lib/libc/locale/collate.c,v 1.21.2.4 2002/10/11 10:36:47 ache Exp $ $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 13:39:32 mike Exp $ $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37 ache Exp $ $FreeBSD: src/lib/libc/locale/lnumeric.c,v 1.10.2.2 2002/08/12 11:17:38 ache Exp $ $FreeBSD: src/lib/libc/locale/lmonetary.c,v 1.12.2.2 2002/08/12 11:17:37 ache Exp $ -Payam Kris Kennaway wrote: On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote: = angela root # uname -a FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4 i386 = I'm not sure how to get the version of make, maybe this: What does 'ident /usr/bin/make' show? Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SOLVED Re: PORTS: What is Makefile broken ?
I solved the problem (I think, I'm compiling new ports as we speak). I found my solution in another post. In /usr/local/sbin/make_describe_pass1 Change: open(|cd #{dir} make -k -j3 -f -, 'w') do |w| To: open(|cd #{dir} make -k -f -, 'w') do |w| (IE: Remove the -j3) Then I did # portsdb -uU And now libexif doesn't b**ch when I do a make. yay. I plan on doing a portupgrade -a in a little while. If it doesn't work, I'll post the new status. -Payam Payam wrote: angela root # ident /usr/bin/make /usr/bin/make: $FreeBSD: src/lib/libc/i386/sys/pipe.S,v 1.8 1999/08/27 23:59:42 peter Exp $ $FreeBSD: src/lib/libc/i386/sys/Ovfork.S,v 1.11.2.1 2002/10/15 19:46:46 fjoe Exp $ $FreeBSD: src/lib/libc/i386/string/strrchr.S,v 1.5 1999/08/27 23:59:35 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strncmp.S,v 1.6 1999/08/27 23:59:35 peter Exp $ $FreeBSD: src/lib/libc/i386/string/index.S,v 1.5 1999/08/27 23:59:30 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcpy.S,v 1.5 1999/08/27 23:59:34 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcat.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strcmp.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $FreeBSD: src/lib/libc/i386/string/strchr.S,v 1.5 1999/08/27 23:59:33 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/string/memchr.S,v 1.8 1999/08/27 23:59:31 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/string/memset.S,v 1.5 1999/08/27 23:59:32 peter Exp $ $NetBSD: bcopy.S,v 1.6 1996/11/12 00:50:06 jtc Exp $ $FreeBSD: src/lib/libc/i386/sys/brk.S,v 1.7 1999/08/27 23:59:38 peter Exp $ $FreeBSD: src/lib/libc/i386/sys/sbrk.S,v 1.7.2.2 2002/08/22 20:21:17 kan Exp $ $FreeBSD: src/lib/libc/i386/sys/cerror.S,v 1.10 1999/08/27 23:59:38 peter Exp $ $FreeBSD: src/usr.bin/make/arch.c,v 1.15.2.1 2001/02/13 03:13:57 will Exp $ $FreeBSD: src/usr.bin/make/buf.c,v 1.11 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/compat.c,v 1.16.2.2 2000/07/01 12:24:21 ps Exp $ $FreeBSD: src/usr.bin/make/cond.c,v 1.12.2.1 2003/07/22 08:03:13 ru Exp $ $FreeBSD: src/usr.bin/make/dir.c,v 1.10.2.2 2003/10/08 08:14:22 ru Exp $ $FreeBSD: src/usr.bin/make/for.c,v 1.10 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/hash.c,v 1.9 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/job.c,v 1.17.2.2 2001/02/13 03:13:57 will Exp $ $FreeBSD: src/usr.bin/make/main.c,v 1.35.2.9 2003/04/15 14:37:35 ru Exp $ $FreeBSD: src/usr.bin/make/make.c,v 1.11 1999/09/11 13:08:01 hoek Exp $ $FreeBSD: src/usr.bin/make/parse.c,v 1.22.2.1 2002/12/26 14:36:38 ru Exp $ $FreeBSD: src/usr.bin/make/str.c,v 1.12.2.1 2002/06/17 04:30:48 jmallett Exp $ $FreeBSD: src/usr.bin/make/suff.c,v 1.12.2.1 2001/03/09 01:13:24 tmm Exp $ $FreeBSD: src/usr.bin/make/targ.c,v 1.10 1999/09/11 13:08:02 hoek Exp $ $FreeBSD: src/usr.bin/make/var.c,v 1.16.2.3 2002/02/27 14:18:57 cjc Exp $ $FreeBSD: src/lib/libc/stdtime/strftime.c,v 1.25.2.4 2002/03/12 17:24:54 phantom Exp $ $FreeBSD: src/lib/libc/string/strcspn.c,v 1.1.1.1.14.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/gen/err.c,v 1.6 1999/08/27 23:58:33 peter Exp $ $FreeBSD: src/lib/libc/string/strcoll.c,v 1.11.2.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strsep.c,v 1.2.12.1 2001/07/09 23:30:07 obrien Exp $ $FreeBSD: src/lib/libc/string/strncpy.c,v 1.1.1.1.14.1 2001/07/09 23:30:07 obrien Exp $ $FreeBSD: src/lib/libc/string/strdup.c,v 1.2.14.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/string/strlcat.c,v 1.2.4.2 2001/07/09 23:30:06 obrien Exp $ $FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 peter Exp $ $FreeBSD: src/usr.bin/make/util.c,v 1.5.2.2 2001/02/13 03:13:58 will Exp $ $FreeBSD: src/lib/libc/stdtime/timelocal.c,v 1.8.2.4 2002/08/12 11:20:24 ache Exp $ $FreeBSD: src/lib/libc/locale/collate.c,v 1.21.2.4 2002/10/11 10:36:47 ache Exp $ $FreeBSD: src/lib/libc/string/strerror.c,v 1.2.14.3 2003/01/17 13:39:32 mike Exp $ $FreeBSD: src/lib/libc/locale/ldpart.c,v 1.7.2.3 2002/08/12 11:17:37 ache Exp $ $FreeBSD: src/lib/libc/locale/lnumeric.c,v 1.10.2.2 2002/08/12 11:17:38 ache Exp $ $FreeBSD: src/lib/libc/locale/lmonetary.c,v 1.12.2.2 2002/08/12 11:17:37 ache Exp $ -Payam Kris Kennaway wrote: On Sun, Feb 01, 2004 at 04:40:10PM -0500, Payam wrote: = angela root # uname -a FreeBSD angela 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Jan 11 21:28:14 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL4 i386 = I'm not sure how to get the version
Re: SOLVED Re: PORTS: What is Makefile broken ?
On Sun, Feb 01, 2004 at 05:06:16PM -0500, Payam wrote: I solved the problem (I think, I'm compiling new ports as we speak). I found my solution in another post. In /usr/local/sbin/make_describe_pass1 Change: open(|cd #{dir} make -k -j3 -f -, 'w') do |w| To: open(|cd #{dir} make -k -f -, 'w') do |w| (IE: Remove the -j3) Then I did # portsdb -uU And now libexif doesn't b**ch when I do a make. yay. That should have no effect, because port makes don't use the INDEX. Kris pgp0.pgp Description: PGP signature
PORTS: What is Makefile broken ?
Hi. I'm running FreeBSD 4.9. Whenever I do a cvsup ports-supfile followed by a portupgrade -a some ports fail (Makefile broken, install error, unknown error) and then some of their dependants aren't built because of it. Here is an example of a Makefile broken = angela root # cd /usr/ports/graphics/libexif angela libexif # make /usr/ports/Mk/bsd.port.mk, line 2028: warning: String comparison operator should be either == or != /usr/ports/Mk/bsd.port.mk, line 2028: Malformed conditional (${PKGINSTALLVER} 20030417) /usr/ports/Mk/bsd.port.mk, line 2028: Need an operator /usr/ports/Mk/bsd.port.mk, line 4982: if-less endif /usr/ports/Mk/bsd.port.mk, line 4982: Need an operator make: fatal errors encountered -- cannot continue angela libexif # = There is apparently a problem with the Mk/bsd.port.mk file !! Is there something I'm missing here? This happens with a lot of ports. And then there are the install error and unknown error ports that I don't know what to do with either. Any insights would be very much appreciated. -Payam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS: What is Makefile broken ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 31 January 2004 08:03 pm, Payam wrote: Hi. I'm running FreeBSD 4.9. Whenever I do a cvsup ports-supfile followed by a portupgrade -a some ports fail (Makefile broken, install error, unknown error) and then some of their dependants aren't built because of it. Try this after a CVSup - /usr/local/sbin/portsdb -uU - -- Best regards, Chris -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQA/AwUBQBxReQ+T/4DAG8NjEQIvWQCeJvIrdIufugK8xsVRGf23MvJZYAQAnRyL ClBkYy9njg65tpjCmcNgT5Ao =SUUP -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS: What is Makefile broken ?
Hey. $ /usr/local/sbin/portsdb -uU takes about 30 minutes, and spits error messages about /usr/ports/Mk/bsd.port.mk all over the place. Then at the end it says: == `all' not remade because of errors.: malformed entry: `all' not remade because of errors. failed to generate INDEX! portsdb: index generation error == The make of libexif still errors. Any other thoughts? -Payam Chris wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 31 January 2004 08:03 pm, Payam wrote: Hi. I'm running FreeBSD 4.9. Whenever I do a cvsup ports-supfile followed by a portupgrade -a some ports fail (Makefile broken, install error, unknown error) and then some of their dependants aren't built because of it. Try this after a CVSup - /usr/local/sbin/portsdb -uU - -- Best regards, Chris -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQA/AwUBQBxReQ+T/4DAG8NjEQIvWQCeJvIrdIufugK8xsVRGf23MvJZYAQAnRyL ClBkYy9njg65tpjCmcNgT5Ao =SUUP -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]