mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] host-ncurses on Fedora 26
@ 2017-07-25  8:42 Bruno Thomsen
  2017-07-25 13:35 ` Ladislav Michl
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2017-07-25  8:42 UTC (permalink / raw)
  To: ptxdist

Hi,

Just a little FYI :)
host-ncurses version 5.9 does not compile with GCC 7.1.1 that Fedora 26 ships. I don't have the time ATM to create a proper rule patch.

ncurses-5.9 patch series is no longer needed and here is a rule diff.

diff --git a/rules/ncurses.make b/usr/local/lib/ptxdist-2017.07.0/rules/ncurses.make
index ee8a611..25341cb 100644
--- a/rules/ncurses.make
+++ b/usr/local/lib/ptxdist-2017.07.0/rules/ncurses.make
@@ -15,9 +15,9 @@ PACKAGES-$(PTXCONF_NCURSES) += ncurses
 #
 # Paths and names
 #
-NCURSES_VERSION        := 6.0
+NCURSES_VERSION        := 5.9
 NCURSES_MAJOR  := $(word 1,$(subst ., ,$(NCURSES_VERSION)))
-NCURSES_MD5    := ee13d052e1ead260d7c28071f46eefb1
+NCURSES_MD5    := 8cb9c412e5f2d96bc6f459aa8c6282a1
 NCURSES                := ncurses-$(NCURSES_VERSION)
 NCURSES_SUFFIX := tar.gz
 NCURSES_URL    := $(call ptx/mirror, GNU, ncurses/$(NCURSES).$(NCURSES_SUFFIX))
@@ -25,7 +25,7 @@ NCURSES_SOURCE        := $(SRCDIR)/$(NCURSES).$(NCURSES_SUFFIX)
 NCURSES_DIR    := $(BUILDDIR)/$(NCURSES)
 NCURSES_LICENSE        := MIT
 NCURSES_LICENSE_FILES  := \
-       file://include/curses.h.in;startline=2;endline=26;md5=d74c4dc9413785675043431309dfbea0
+       file://include/curses.h.in;startline=2;endline=26;md5=3d0f6ef3745ae794471d5c62b7deb9c3
 
 # ----------------------------------------------------------------------------
 # Prepare



There are a lot of new configure options.

$ /usr/local/lib/ptxdist-2017.07.0/scripts/configure_helper.py --new-src platform-tqma28/build-target/ncurses-6.0/ --old-src platform-tqma28/build-target/ncurses-5.9/
--- ncurses-5.9
+++ ncurses-6.0
@@ -1,15 +1,18 @@
 	--with-rel-version=XXX
 	--with-abi-version=XXX
 	--with-system-type=XXX
+	--without-ada
 	--without-cxx
 	--without-cxx-binding
-	--without-ada
+	--disable-db-install
 	--without-manpages
 	--without-progs
 	--without-tests
 	--without-curses-h
 	--with-pkg-config{=path}
+	--with-pkg-config-libdir=XXX
 	--enable-pc-files
+	--with-pc-suffix
 	--enable-mixed-case
 	--with-build-cc=XXX
 	--with-build-cpp=XXX
@@ -22,6 +25,7 @@
 	--with-normal
 	--with-debug
 	--with-profile
+	--with-cxx-shared
 	--with-termlib
 	--with-ticlib
 	--with-gpm
@@ -30,12 +34,18 @@
 	--enable-rpath
 	--disable-relink
 	--with-shlib-version=X
+	--with-libtool-opts=XXX
+	--with-export-syms=XXX
+	--with-versioned-syms=X
+	--disable-lib-suffixes
 	--disable-rpath-hack
+	--with-extra-suffix=X
 	--disable-overwrite
 	--disable-database
 	--with-hashed-db
 	--with-fallbacks=XXX
 	--without-xterm-new
+	--with-xterm-kbs=XXX
 	--with-terminfo-dirs=XXX
 	--with-default-terminfo-dir=DIR
 	--disable-big-core
@@ -60,6 +70,7 @@
 	--with-ospeed=TYPE
 	--with-mmask-t=TYPE
 	--with-ccharw-max=XXX
+	--with-tparm-arg=TYPE
 	--with-rcs-ids
 	--with-manpage-format
 	--with-manpage-renames
@@ -72,6 +83,7 @@
 	--enable-const
 	--enable-ext-colors
 	--enable-ext-mouse
+	--enable-ext-putwin
 	--enable-no-padding
 	--enable-signed-char
 	--enable-sigwinch
@@ -90,8 +102,9 @@
 	--enable-safe-sprintf
 	--disable-scroll-hints
 	--enable-wgetch-events
-	--enable-echo
+	--disable-echo
 	--enable-warnings
+	--enable-string-hacks
 	--enable-assertions
 	--with-dmalloc
 	--with-dbmalloc
@@ -100,7 +113,8 @@
 	--enable-expanded
 	--disable-macros
 	--with-trace
+	--disable-gnat-projects
 	--with-ada-compiler=CMD
 	--with-ada-include=DIR
 	--with-ada-objects=DIR
-	--with-ada-sharedlib=XX
+	--with-ada-sharedlib=soname



Regards,
Bruno

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] host-ncurses on Fedora 26
  2017-07-25  8:42 [ptxdist] host-ncurses on Fedora 26 Bruno Thomsen
@ 2017-07-25 13:35 ` Ladislav Michl
  0 siblings, 0 replies; 2+ messages in thread
From: Ladislav Michl @ 2017-07-25 13:35 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 25, 2017 at 08:42:39AM +0000, Bruno Thomsen wrote:
> Hi,

Hi,

> Just a little FYI :)
> host-ncurses version 5.9 does not compile with GCC 7.1.1 that Fedora 26 ships. I don't have the time ATM to create a proper rule patch.

Could you check that "[PATCH] host-ncurses: Build without C++ bindings"
sent a while ago to this mailing list fixes problem for you?
 
> ncurses-5.9 patch series is no longer needed and here is a rule diff.
> 
> diff --git a/rules/ncurses.make b/usr/local/lib/ptxdist-2017.07.0/rules/ncurses.make
> index ee8a611..25341cb 100644
> --- a/rules/ncurses.make
> +++ b/usr/local/lib/ptxdist-2017.07.0/rules/ncurses.make
> @@ -15,9 +15,9 @@ PACKAGES-$(PTXCONF_NCURSES) += ncurses
>  #
>  # Paths and names
>  #
> -NCURSES_VERSION        := 6.0
> +NCURSES_VERSION        := 5.9

Whole patch seems to be reversed...

>  NCURSES_MAJOR  := $(word 1,$(subst ., ,$(NCURSES_VERSION)))
> -NCURSES_MD5    := ee13d052e1ead260d7c28071f46eefb1
> +NCURSES_MD5    := 8cb9c412e5f2d96bc6f459aa8c6282a1
>  NCURSES                := ncurses-$(NCURSES_VERSION)
>  NCURSES_SUFFIX := tar.gz
>  NCURSES_URL    := $(call ptx/mirror, GNU, ncurses/$(NCURSES).$(NCURSES_SUFFIX))
> @@ -25,7 +25,7 @@ NCURSES_SOURCE        := $(SRCDIR)/$(NCURSES).$(NCURSES_SUFFIX)
>  NCURSES_DIR    := $(BUILDDIR)/$(NCURSES)
>  NCURSES_LICENSE        := MIT
>  NCURSES_LICENSE_FILES  := \
> -       file://include/curses.h.in;startline=2;endline=26;md5=d74c4dc9413785675043431309dfbea0
> +       file://include/curses.h.in;startline=2;endline=26;md5=3d0f6ef3745ae794471d5c62b7deb9c3
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> 
> 
> 
> There are a lot of new configure options.
> 
> $ /usr/local/lib/ptxdist-2017.07.0/scripts/configure_helper.py --new-src platform-tqma28/build-target/ncurses-6.0/ --old-src platform-tqma28/build-target/ncurses-5.9/
> --- ncurses-5.9
> +++ ncurses-6.0
> @@ -1,15 +1,18 @@
>  	--with-rel-version=XXX
>  	--with-abi-version=XXX
>  	--with-system-type=XXX
> +	--without-ada
>  	--without-cxx
>  	--without-cxx-binding
> -	--without-ada
> +	--disable-db-install
>  	--without-manpages
>  	--without-progs
>  	--without-tests
>  	--without-curses-h
>  	--with-pkg-config{=path}
> +	--with-pkg-config-libdir=XXX
>  	--enable-pc-files
> +	--with-pc-suffix
>  	--enable-mixed-case
>  	--with-build-cc=XXX
>  	--with-build-cpp=XXX
> @@ -22,6 +25,7 @@
>  	--with-normal
>  	--with-debug
>  	--with-profile
> +	--with-cxx-shared
>  	--with-termlib
>  	--with-ticlib
>  	--with-gpm
> @@ -30,12 +34,18 @@
>  	--enable-rpath
>  	--disable-relink
>  	--with-shlib-version=X
> +	--with-libtool-opts=XXX
> +	--with-export-syms=XXX
> +	--with-versioned-syms=X
> +	--disable-lib-suffixes
>  	--disable-rpath-hack
> +	--with-extra-suffix=X
>  	--disable-overwrite
>  	--disable-database
>  	--with-hashed-db
>  	--with-fallbacks=XXX
>  	--without-xterm-new
> +	--with-xterm-kbs=XXX
>  	--with-terminfo-dirs=XXX
>  	--with-default-terminfo-dir=DIR
>  	--disable-big-core
> @@ -60,6 +70,7 @@
>  	--with-ospeed=TYPE
>  	--with-mmask-t=TYPE
>  	--with-ccharw-max=XXX
> +	--with-tparm-arg=TYPE
>  	--with-rcs-ids
>  	--with-manpage-format
>  	--with-manpage-renames
> @@ -72,6 +83,7 @@
>  	--enable-const
>  	--enable-ext-colors
>  	--enable-ext-mouse
> +	--enable-ext-putwin
>  	--enable-no-padding
>  	--enable-signed-char
>  	--enable-sigwinch
> @@ -90,8 +102,9 @@
>  	--enable-safe-sprintf
>  	--disable-scroll-hints
>  	--enable-wgetch-events
> -	--enable-echo
> +	--disable-echo
>  	--enable-warnings
> +	--enable-string-hacks
>  	--enable-assertions
>  	--with-dmalloc
>  	--with-dbmalloc
> @@ -100,7 +113,8 @@
>  	--enable-expanded
>  	--disable-macros
>  	--with-trace
> +	--disable-gnat-projects
>  	--with-ada-compiler=CMD
>  	--with-ada-include=DIR
>  	--with-ada-objects=DIR
> -	--with-ada-sharedlib=XX
> +	--with-ada-sharedlib=soname
> 
> 
> 
> Regards,
> Bruno
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-25 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25  8:42 [ptxdist] host-ncurses on Fedora 26 Bruno Thomsen
2017-07-25 13:35 ` Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox