* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
@ 2018-06-06 10:24 ` bugzilla at busybox.net
2018-06-06 11:29 ` bugzilla at busybox.net
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 10:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #1 from dde at innovaphone.com ---
Created attachment 7606
--> https://bugs.busybox.net/attachment.cgi?id=7606&action=edit
config.log of postgresql
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
2018-06-06 10:24 ` [Buildroot] [Bug 11071] " bugzilla at busybox.net
@ 2018-06-06 11:29 ` bugzilla at busybox.net
2018-06-06 12:01 ` bugzilla at busybox.net
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 11:29 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks for this report. Could you attach the build log of the postgresql
package, from the extract step to the failure, and also the config.log file
generated by postgresql's configure script ?
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
2018-06-06 10:24 ` [Buildroot] [Bug 11071] " bugzilla at busybox.net
2018-06-06 11:29 ` bugzilla at busybox.net
@ 2018-06-06 12:01 ` bugzilla at busybox.net
2018-06-06 12:01 ` bugzilla at busybox.net
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 12:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #3 from dde at innovaphone.com ---
Created attachment 7611
--> https://bugs.busybox.net/attachment.cgi?id=7611&action=edit
build.log of buildroot postgresql
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (2 preceding siblings ...)
2018-06-06 12:01 ` bugzilla at busybox.net
@ 2018-06-06 12:01 ` bugzilla at busybox.net
2018-06-06 12:32 ` bugzilla at busybox.net
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 12:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #4 from dde at innovaphone.com ---
(In reply to Thomas Petazzoni from comment #2)
The config.log is already attached (it's a zip file) and I attached the
build.log now.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (3 preceding siblings ...)
2018-06-06 12:01 ` bugzilla at busybox.net
@ 2018-06-06 12:32 ` bugzilla at busybox.net
2018-06-06 13:26 ` bugzilla at busybox.net
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 12:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Could you please build without your custom --with-libxml option ?
That's the reason for the failure. It ends up using xml2-config from your host
machine, which returns bogus linker flags, which breaks the build.
So it's basically your custom addition that breaks the build, the code in
Buildroot builds fine.
Please add:
POSTGRESQL_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
when enabling libxml2 support (i.e when you're passing --with-libxml). This
should solve your problem.
And please submit a Buildroot patch adding this, once everything works fine.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (4 preceding siblings ...)
2018-06-06 12:32 ` bugzilla at busybox.net
@ 2018-06-06 13:26 ` bugzilla at busybox.net
2018-06-06 13:29 ` bugzilla at busybox.net
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 13:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #6 from dde at innovaphone.com ---
Created attachment 7616
--> https://bugs.busybox.net/attachment.cgi?id=7616&action=edit
Patch for the postgresql.mk to support libxml2 if selected
This patch enables the configure option --with-libxml for PostgreSQL if libxml
is enabled.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (5 preceding siblings ...)
2018-06-06 13:26 ` bugzilla at busybox.net
@ 2018-06-06 13:29 ` bugzilla at busybox.net
2018-06-06 18:52 ` bugzilla at busybox.net
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 13:29 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #7 from dde at innovaphone.com ---
(In reply to Thomas Petazzoni from comment #5)
Thanks for your reply! This solved the issue. I wouldn't have guessed something
like this, but I'm not really familiar to buildroot backgrounds ;)
I attached a patch with the changes of package/postgresql.mk and this patch
adds --with-libxml just if libxml is enabled.
I hope this is ok like this ...
Greetings,
Daniel
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (6 preceding siblings ...)
2018-06-06 13:29 ` bugzilla at busybox.net
@ 2018-06-06 18:52 ` bugzilla at busybox.net
2018-06-06 19:33 ` bugzilla at busybox.net
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 18:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #8 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks! Could you submit this patch on the Buildroot mailing list ? See
https://buildroot.org/downloads/manual/manual.html#submitting-patches for
details on how to do that.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (7 preceding siblings ...)
2018-06-06 18:52 ` bugzilla at busybox.net
@ 2018-06-06 19:33 ` bugzilla at busybox.net
2018-06-06 19:43 ` bugzilla at busybox.net
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 19:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #9 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to dde from comment #6)
Thanks for the patch, looks good, the only missing thing
is the dependency on libxml2, e.g.:
POSTGRESQL_DEPENDENCIES += libxml2
Regards,
Peter
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (8 preceding siblings ...)
2018-06-06 19:33 ` bugzilla at busybox.net
@ 2018-06-06 19:43 ` bugzilla at busybox.net
2018-06-07 6:16 ` bugzilla at busybox.net
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-06 19:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #10 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to Peter Seiderer from comment #9)
..and for consistency with the other options (or buildroot style) the
else branch:
ifeq ($(BR2_PACKAGE_LIBXML2),y)
POSTGRESQL_DEPENDENCIES += libxml2
POSTGRESQL_CONF_OPTS += --with-libxml
POSTGRESQL_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
else
POSTGRESQL_CONF_OPTS += --without-libxml
endif
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (9 preceding siblings ...)
2018-06-06 19:43 ` bugzilla at busybox.net
@ 2018-06-07 6:16 ` bugzilla at busybox.net
2018-06-07 21:02 ` bugzilla at busybox.net
2018-06-08 6:50 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-07 6:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #11 from dde at innovaphone.com ---
(In reply to Peter Seiderer from comment #10)
Thanks for your hints! I submitted the patch to the mailing list, at least I
hope that it worked ;)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (10 preceding siblings ...)
2018-06-07 6:16 ` bugzilla at busybox.net
@ 2018-06-07 21:02 ` bugzilla at busybox.net
2018-06-08 6:50 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-07 21:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #12 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to dde from comment #11)
Patch did not hit the mailing list (yet)...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread* [Buildroot] [Bug 11071] Building postgresql package on Debian 9.4 x64 for armel target fails
2018-06-06 10:23 [Buildroot] [Bug 11071] New: Building postgresql package on Debian 9.4 x64 for armel target fails bugzilla at busybox.net
` (11 preceding siblings ...)
2018-06-07 21:02 ` bugzilla at busybox.net
@ 2018-06-08 6:50 ` bugzilla at busybox.net
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla at busybox.net @ 2018-06-08 6:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11071
--- Comment #13 from dde at innovaphone.com ---
(In reply to Peter Seiderer from comment #12)
Yes, I figured out that the mail hasn't been sent although I thought so.
I didn't manage to get the sendmail config running with our internal SMTP
server so I sent the mail now manually through my private mail account.
I hope the format is correct.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread