You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2019/04/01 08:57:27 UTC
[Bug 63307] New: apxs gives "use of uninitialized value in
concatenation" error
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
Bug ID: 63307
Summary: apxs gives "use of uninitialized value in
concatenation" error
Product: Apache httpd-2
Version: 2.4.38
Hardware: PC
OS: AIX
Status: NEW
Severity: normal
Priority: P2
Component: All
Assignee: bugs@httpd.apache.org
Reporter: reskumar@in.ibm.com
Target Milestone: ---
I am building httpd 2.4.38 on AIX 6.1.
Executing apxs(Apache extension tool) command on AIX 6.1 gives the following
warning
/opt/freeware/bin/apxs -q libexecdir
Use of uninitialized value in concatenation (.) or string at
/opt/freeware/bin/apxs line 222.
/opt/freeware/lib/httpd/module
The following line from apxs is causing the warning.
my $CFG_LDFLAGS = join ' ', map { get_vars($_) }
qw(LDFLAGS NOTEST_LDFLAGS SH_LDFLAGS);
The values these FLAGS hold are as follows
LDFLAGS = -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib
-Wl,-bmaxdata:0x80000000
NOTEST_LDFLAGS =
SH_LDFLAGS = $(EXTRA_LDFLAGS)
EXTRA_LDFLAGS = -Wl,-brtl
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #1 from Reshma V Kumar <re...@in.ibm.com> ---
I am getting this error due to SH_LDFLAGS. If SH_LDFLAGS is empty, then I dont
get this error.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #4 from Giovanni Bechis <gi...@paclan.it> ---
Created attachment 36976
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36976&action=edit
do not remove parentheses, otherwise variables are not evaluated
I cannot find any reason why parentheses are removed from the variable.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
Petros Marios Prokopiou <pp...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #2 from Petros Marios Prokopiou <pp...@redhat.com> ---
(In reply to Reshma V Kumar from comment #1)
> I am getting this error due to SH_LDFLAGS. If SH_LDFLAGS is empty, then I
> dont get this error.
Hi,
I was unable to replicate your problem by building 2.4.38
I tried using
EXTRA_LDFLAGS=-Wl,-brtl
or
SH_LDFLAG=-Wl,-brtl
Could you provide a more detailed replication procedure to help pinpoint the
problem ?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
Giovanni Bechis <gi...@paclan.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Keywords| |FixedInTrunk,
| |PatchAvailable
Status|NEW |RESOLVED
--- Comment #10 from Giovanni Bechis <gi...@paclan.it> ---
Fixed in r1875534.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #5 from Reshma V Kumar <re...@in.ibm.com> ---
This patch worked for me. Will this patch be commited to httpd source code?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
Giovanni Bechis <gi...@paclan.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #6 from Giovanni Bechis <gi...@paclan.it> ---
I would commit it smoothly if someone could explain to me why parenthesis are
removed on current implementation.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #7 from Reshma V Kumar <re...@in.ibm.com> ---
https://github.com/apache/httpd/commit/8e67a36d9ba392a693c463afe8de8a9181d1f7e4#diff-1874f6a844636ac4ceb88701b5e8f023
This change has been introduced in the source code through the above commit.
@dougm has committed this change.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
Giovanni Bechis <gi...@paclan.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #36976|0 |1
is obsolete| |
--- Comment #8 from Giovanni Bechis <gi...@paclan.it> ---
Created attachment 37091
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37091&action=edit
avoid printing uninitialized variables
Diff that doesn't remove parenthesis but still works.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #3 from Reshma V Kumar <re...@in.ibm.com> ---
Once the build is successful and the package is installed, executing the
following command gives the warning
# /opt/freeware/bin/apxs -q libexecdir
Use of uninitialized value in concatenation (.) or string at
/opt/freeware/bin/apxs line 222.
/opt/freeware/lib/httpd/modules
Following are the values from /var/www/build/config_vars.mk file
LDFLAGS = -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib
-Wl,-bmaxdata:0x80000000
SH_LDFLAGS = $(EXTRA_LDFLAGS) $(EXTRA_LIBS)
EXTRA_LDFLAGS = -Wl,-brtl
EXTRA_LIBS =
The warning is removed if SH_LDFLAGS in /var/www/build/config_vars.mk is empty
SH_LDFLAGS =
# /opt/freeware/bin/apxs -q libexecdir
/opt/freeware/lib/httpd/modules
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 63307] apxs gives "use of uninitialized value in concatenation"
error
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63307
--- Comment #9 from Reshma V Kumar <re...@in.ibm.com> ---
This patch resolved the error
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org