You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2023/03/06 06:40:05 UTC
[Bug 66510] New: apr-1-config generates invalid iformation when called with a double '//'
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Bug ID: 66510
Summary: apr-1-config generates invalid iformation when called
with a double '//'
Product: APR
Version: 1.7.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: APR-util
Assignee: bugs@apr.apache.org
Reporter: guru@unixarea.de
Target Milestone: ---
The tool apr-1-config generates broken information when called with a double //
in the PATH, like (note the // before 'bin'):
/usr/local/sisis-pap/apache//bin/apr-1-config --includes
-I/usr/local/sisis-pap/apache//bin/apr-1-config//usr/local/sisis-pap/apache/include
This happens if the location of APR is specified as for some other coponent's
./configure run as:
--with-apr=/usr/local/sisis-pap/apache/
i.e. with a '/' at the end of the directory.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk,
| |PatchAvailable
--- Comment #5 from Ruediger Pluem <rp...@apache.org> ---
Committed to trunk as r1908248.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Joe Orton <jo...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kzaryski@blackberry.com
--- Comment #8 from Joe Orton <jo...@redhat.com> ---
*** Bug 66523 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
--- Comment #3 from email_apache.org@tikon.ch ---
I'm affected by this bug too on a standard Ubtunu 22.04 LTS.
Configuration / compilation of apr 1.7.2 with
$ ./configure --prefix=/usr/local/apr/
Bug after installation:
$ /usr/local/apr/bin/apr-1-config --includes
-I/usr/local/apr/bin/apr-1-config//usr/local/apr//include/apr-1
The patch by Ruediger solved the problem for me. Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
--- Comment #6 from Ruediger Pluem <rp...@apache.org> ---
Backported to APR 1.7.x as r1908342 and APR 1.8.x as r1908343.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Matthias Apitz <gu...@unixarea.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #2 from Matthias Apitz <gu...@unixarea.de> ---
I've applied the patch and built apr-1.7.2. It seems that the patch solves the
problem:
sisis@srap51dxr1:~>
/home/sisis/mpi-V73/devhome/sisis-pap/apr-1.7.2/apr-1-config --includes
-I/home/sisis/mpi-V73/devhome/sisis-pap/apr-1.7.2/include
sisis@srap51dxr1:~>
/home/sisis/mpi-V73/devhome/sisis-pap//apr-1.7.2/apr-1-config --includes
-I/home/sisis/mpi-V73/devhome/sisis-pap/apr-1.7.2/include
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
--- Comment #4 from Joe Orton <jo...@redhat.com> ---
(In reply to Ruediger Pluem from comment #1)
> Created attachment 38519 [details]
> Fix crosscompiling detection
>
> Does the attached patch fix the issue?
> Keep in mind that due to the changes in configure.in you need to run
> buildconf first to regenerate the configure script. This requires autoconf
> to be installed.
+1 this looks good.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---
Created attachment 38519
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38519&action=edit
Fix crosscompiling detection
Does the attached patch fix the issue?
Keep in mind that due to the changes in configure.in you need to run buildconf
first to regenerate the configure script. This requires autoconf to be
installed.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 66510] apr-1-config generates invalid iformation when called with a double '//'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66510
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cassie.q.wang@gmail.com
--- Comment #7 from Ruediger Pluem <rp...@apache.org> ---
*** Bug 66529 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org