[Bug 227944] www/apache24 error in Makefile

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

            Bug ID: 227944
           Summary: www/apache24 error in Makefile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
             Flags: maintainer-feedback?([hidden email])
          Assignee: [hidden email]

Trying to make www/apache24 on FreeBSD 10.4-STABLE #0 r333087 amd64 gives the
error:

# make
make: "/usr/ports/www/apache24/Makefile" line 189: Malformed conditional
(${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${PORT_OPTIONS:MHTTP2} &&
${OPENSSLBASE} == /usr)
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/www/apache24

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
Bugzilla Automation <[hidden email]> has asked freebsd-apache mailing
list <[hidden email]> for maintainer-feedback:
Bug 227944: www/apache24 error in Makefile
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944



--- Description ---
Trying to make www/apache24 on FreeBSD 10.4-STABLE #0 r333087 amd64 gives the
error:

# make
make: "/usr/ports/www/apache24/Makefile" line 189: Malformed conditional
(${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${PORT_OPTIONS:MHTTP2} &&
${OPENSSLBASE} == /usr)
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/www/apache24
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

Bernard Spil <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
             Status|New                         |Open

--- Comment #1 from Bernard Spil <[hidden email]> ---
Hi,

Can you please report the output of the following commands?
> make -VOPSYS
> make -VOSVERSION
> make -VOPENSSLBASE
> make -VPORTOPTIONS

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

Marco Beishuizen <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Marco Beishuizen <[hidden email]> ---
I got this error on FreeBSD yokozuna 11.1-STABLE FreeBSD 11.1-STABLE #0
r328478: Sat Jan 27 22:31:28 CET 2018    
root@yokozuna:/usr/obj/usr/src/sys/YOKOZUNA  amd64:

...
--- mod_sed.la ---
eval: /usr/local/bin/nm: not found
/usr/bin/ld:.libs/mod_sed.so-ver:2: syntax error in VERSION script
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [mod_sed.la] Error code 1

make[6]: stopped in /usr/ports/www/apache24/work/httpd-2.4.33/modules/filters
1 error
...

Maybe this is related or the same?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #3 from [hidden email] ---
(In reply to Bernard Spil from comment #1)

/usr/ports# make -VOPSYS
FreeBSD
/usr/ports# make -VOSVERSION
1004501
/usr/ports# make -VOPENSSLBASE

/usr/ports# make -VPORTOPTIONS

/usr/ports#


(Of course, the same commands from www/apache24 directory will give the error
mentioned in the bug.)

Additionally, I have this line in /etc/make.conf
DEFAULT_VERSIONS= bdb=6 lua=5.3 mysql=5.6 ssl=base gcc=7

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #4 from [hidden email] ---
(In reply to Marco Beishuizen from comment #2)

Can't be sure, but I suppose, these are different bugs.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #5 from Marco Beishuizen <[hidden email]> ---
Ok I'll create a separate PR for this.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #6 from Bernard Spil <[hidden email]> ---
(In reply to gja822 from comment #3)
Naturally you run into the error...
Can you comment out that block and run the make -V's again, there must be
something unset that makes it fail.
Your Mk dir fully up-to-date I assume?

In my tree I have no issues whether HTTP2 is on/off or I set DEFAULT_VERSIONS+=
ssl=base

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #7 from [hidden email] ---
(In reply to Bernard Spil from comment #6)

Yes, just "portsnap fetch update", of course.

After commenting the block the output of "make -V*"s is absolutely the same.

Options that are ON are: ASIS, DATA, ENV, HEADERS, HTTP2, IDENT, INCLUDE,
PROXY, VERSION, WATCHDOG, PROXY_BALANCER, PROXY_HTTP2, PROXY_HCHECK,
PROXY_HTTP, PROXY_UWSGI, MPM_PREFORK

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #8 from [hidden email] ---
The output of

${ECHO_CMD} "[[[ !${OPSYS}!  !${OSVERSION}!  !${PORT_OPTIONS:MHTTP2}!
!${OPENSSLBASE}! ]]]"

is

[[[ !FreeBSD!  !1004501!  !HTTP2! !! ]]]

from within the Makefile (I put it in post-extract section).

May be, the empty OPENSSLBASE confuses it?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #9 from Bernard Spil <[hidden email]> ---
(In reply to gja822 from comment #8)
There's surely an issue with your build system and/or ports tree. I guess that
output of make -VUSES contains ssl? USES=ssl triggers OPENSSLBASE to be set.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #10 from [hidden email] ---
(In reply to Bernard Spil from comment #9)

/usr/ports/www/apache24# make -VUSES
apache:server,2.4 autoreconf cpe iconv libtool perl5 tar:bzip2

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #11 from Bernard Spil <[hidden email]> ---
(In reply to gja822 from comment #7)
(In reply to gja822 from comment #10)

Figured it out. You're building with both SSL and MD switched off. The check is
not correct, but I doubt that your config would result in what you want. You
want HTTP2 without SSL?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #12 from [hidden email] ---
(In reply to Bernard Spil from comment #11)
Thank you for pointing me out this deficiency of my configuration.
Although I do not use www/apache24 directly, it was a dependency of some GNOME
ages ago.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

Bernard Spil <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://reviews.freebsd.org
                   |                            |/D15411
             Status|Open                        |In Progress

--- Comment #13 from Bernard Spil <[hidden email]> ---
See also https://reviews.freebsd.org/D15411

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

Bernard Spil <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|https://reviews.freebsd.org |https://reviews.freebsd.org
                   |/D15411                     |/D16294

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

Bernard Spil <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |229802


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229802
[Bug 229802] www/apache24: Update to 2.4.34
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #14 from [hidden email] ---
A commit references this bug:

Author: joneum
Date: Fri Jul 20 14:26:45 UTC 2018
New revision: 475018
URL: https://svnweb.freebsd.org/changeset/ports/475018

Log:
  www/apache24: Update to 2.4.34

   - fixes vulns in mod_http2 and mod_md
   - include SSL_* options in alphabetic ordering
   - Remove unneeded SSL_CFLAGS and _LDFLAGS
   - Remove WITH_HTTP_PORT and WITH_SSL_PORT
   - Remove trailing whitespace
   - Fix build with HTTP2 but without SSL [1]

  PR:           229802, 227944 [1]
  With hat:     apache
  Approved by:  brnrd (apache)
  MFH:          2018Q3
  Security:     8b1a50ab-8a8e-11e8-add2-b499baebfeaf
  Differential Revision:        https://reviews.freebsd.org/D16294

Changes:
  head/www/apache24/Makefile
  head/www/apache24/distinfo
  head/www/apache24/files/patch-modules_md_md__crypt.c
  head/www/apache24/pkg-descr
  head/www/apache24/pkg-message
  head/www/apache24/pkg-plist

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944

--- Comment #15 from [hidden email] ---
A commit references this bug:

Author: joneum
Date: Fri Jul 20 14:34:24 UTC 2018
New revision: 475020
URL: https://svnweb.freebsd.org/changeset/ports/475020

Log:
  MFH: r475018

  www/apache24: Update to 2.4.34

   - fixes vulns in mod_http2 and mod_md
   - include SSL_* options in alphabetic ordering
   - Remove unneeded SSL_CFLAGS and _LDFLAGS
   - Remove WITH_HTTP_PORT and WITH_SSL_PORT
   - Remove trailing whitespace
   - Fix build with HTTP2 but without SSL [1]

  PR:           229802, 227944 [1]
  With hat:     apache
  Approved by:  brnrd (apache)
  Security:     8b1a50ab-8a8e-11e8-add2-b499baebfeaf
  Differential Revision:        https://reviews.freebsd.org/D16294

  Approved by:  ports-secteam (miwi)

Changes:
_U  branches/2018Q3/
  branches/2018Q3/www/apache24/Makefile
  branches/2018Q3/www/apache24/distinfo
  branches/2018Q3/www/apache24/files/patch-modules_md_md__crypt.c
  branches/2018Q3/www/apache24/pkg-descr
  branches/2018Q3/www/apache24/pkg-message
  branches/2018Q3/www/apache24/pkg-plist

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227944] www/apache24 error in Makefile

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227944
Bug 227944 depends on bug 229802, which changed state.

Bug 229802 Summary: www/apache24: Update to 2.4.34
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229802

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Closed
         Resolution|---                         |FIXED

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "[hidden email]"
12