Created attachment 594996 [details, diff] ngspice-31.ebuild.patch Due to a limitation of the configure.ac file, I get the following error: * tcl: running ngspice_configure /var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31-tcl /var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31-shared /var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31-binaries /var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31 * econf: updating ngspice-31-tcl/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ngspice-31-tcl/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ngspice-31-shared/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ngspice-31-shared/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ngspice-31-binaries/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ngspice-31-binaries/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ngspice-31/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ngspice-31/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ngspice-31 --htmldir=/usr/share/doc/ngspice-31/html --with-sysroot=/ --libdir=/usr/lib64 --disable-debug --disable-ftedebug --disable-cpdebug --disable-sensdebug --disable-asdebug --disable-stepdebug --disable-pzdebug --disable-blktmsdebug --disable-smltmsdebug --enable-xspice --enable-cider --disable-dependency-tracking --disable-rpath --enable-openmp --with-fftw3 --with-readline --with-tcl configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for tclConfig.sh... can't find Tcl configuration script "tclConfig.sh" find: '/usr/share/polkit-1/rules.d': Permission denied find: '/usr/portage/packages/app-text': Permission denied find: '/usr/portage/packages/gnome-extra': Permission denied find: '/usr/portage/packages/dev-vcs': Permission denied find: '/usr/portage/packages/net-nds': Permission denied find: '/usr/portage/packages/app-emulation': Permission denied find: '/usr/portage/packages/net-firewall': Permission denied find: '/usr/portage/packages/sys-process': Permission denied find: '/usr/portage/packages/sci-misc': Permission denied find: '/usr/portage/packages/sys-boot': Permission denied find: '/usr/portage/packages/media-fonts': Permission denied find: '/usr/portage/packages/x11-apps': Permission denied find: '/usr/portage/packages/dev-tex': Permission denied find: '/usr/portage/packages/mail-client': Permission denied find: '/usr/portage/packages/media-sound': Permission denied find: '/usr/portage/packages/app-crypt': Permission denied find: '/usr/portage/packages/kde-apps': Permission denied find: '/usr/portage/packages/x11-base': Permission denied find: '/usr/portage/packages/app-doc': Permission denied find: '/usr/portage/packages/media-gfx': Permission denied find: '/usr/portage/packages/app-cdr': Permission denied find: '/usr/portage/packages/media-video': Permission denied find: '/usr/portage/packages/sys-apps': Permission denied find: '/usr/portage/packages/sys-libs': Permission denied find: '/usr/portage/packages/www-apps': Permission denied find: '/usr/portage/packages/virtual': Permission denied find: '/usr/portage/packages/net-fs': Permission denied find: '/usr/portage/packages/cross-i686-pc-mingw32': Permission denied find: '/usr/portage/packages/sys-auth': Permission denied find: '/usr/portage/packages/app-dicts': Permission denied find: '/usr/portage/packages/app-forensics': Permission denied find: '/usr/portage/packages/kde-misc': Permission denied find: '/usr/portage/packages/app-accessibility': Permission denied find: '/usr/portage/packages/app-admin': Permission denied find: '/usr/portage/packages/app-mobilephone': Permission denied find: '/usr/portage/packages/mail-filter': Permission denied find: '/usr/portage/packages/sys-devel': Permission denied find: '/usr/portage/packages/sci-electronics': Permission denied find: '/usr/portage/packages/dev-cpp': Permission denied find: '/usr/portage/packages/dev-scheme': Permission denied find: '/usr/portage/packages/sci-visualization': Permission denied find: '/usr/portage/packages/x11-misc': Permission denied find: '/usr/portage/packages/x11-themes': Permission denied find: '/usr/portage/packages/dev-tcltk': Permission denied find: '/usr/portage/packages/sci-libs': Permission denied find: '/usr/portage/packages/app-portage': Permission denied find: '/usr/portage/packages/dev-qt': Permission denied find: '/usr/portage/packages/x11-terms': Permission denied find: '/usr/portage/packages/www-servers': Permission denied find: '/usr/portage/packages/app-editors': Permission denied find: '/usr/portage/packages/net-dialup': Permission denied find: '/usr/portage/packages/dev-lang': Permission denied find: '/usr/portage/packages/app-arch': Permission denied find: '/usr/portage/packages/perl-core': Permission denied find: '/usr/portage/packages/x11-libs': Permission denied find: '/usr/portage/packages/sys-fs': Permission denied find: '/usr/portage/packages/sys-kernel': Permission denied find: '/usr/portage/packages/app-office': Permission denied find: '/usr/portage/packages/net-libs': Permission denied find: '/usr/portage/packages/app-backup': Permission denied find: '/usr/portage/packages/dev-libs': Permission denied find: '/usr/portage/packages/x11-wm': Permission denied find: '/usr/portage/packages/dev-db': Permission denied find: '/usr/portage/packages/app-misc': Permission denied find: '/usr/portage/packages/net-print': Permission denied find: '/usr/portage/packages/www-misc': Permission denied find: '/usr/portage/packages/app-antivirus': Permission denied find: '/usr/portage/packages/sys-power': Permission denied find: '/usr/portage/packages/net-im': Permission denied find: '/usr/portage/packages/media-plugins': Permission denied find: '/usr/portage/packages/net-misc': Permission denied find: '/usr/portage/packages/dev-ruby': Permission denied find: '/usr/portage/packages/dev-ml': Permission denied find: '/usr/portage/packages/app-shells': Permission denied find: '/usr/portage/packages/dev-java': Permission denied find: '/usr/portage/packages/mail-mta': Permission denied find: '/usr/portage/packages/dev-games': Permission denied find: '/usr/portage/packages/dev-dotnet': Permission denied find: '/usr/portage/packages/sci-mathematics': Permission denied find: '/usr/portage/packages/dev-perl': Permission denied find: '/usr/portage/packages/net-wireless': Permission denied find: '/usr/portage/packages/media-libs': Permission denied find: '/usr/portage/packages/www-client': Permission denied find: '/usr/portage/packages/dev-texlive': Permission denied find: '/usr/portage/packages/net-analyzer': Permission denied find: '/usr/portage/packages/net-mail': Permission denied find: '/usr/portage/packages/dev-embedded': Permission denied find: '/usr/portage/packages/x11-proto': Permission denied find: '/usr/portage/packages/app-vim': Permission denied find: '/usr/portage/packages/dev-util': Permission denied find: '/usr/portage/packages/xfce-base': Permission denied find: '/usr/portage/packages/gnome-base': Permission denied find: '/usr/portage/packages/net-dns': Permission denied find: '/usr/portage/packages/app-laptop': Permission denied find: '/usr/portage/packages/dev-python': Permission denied find: '/usr/portage/packages/app-i18n': Permission denied find: '/usr/portage/packages/sys-block': Permission denied find: '/usr/portage/packages/net-ftp': Permission denied find: '/usr/portage/packages/www-plugins': Permission denied find: '/usr/portage/packages/x11-drivers': Permission denied find: '/usr/portage/packages/app-eselect': Permission denied Should you add --with-tcl=/usr/lib64 to ./configure arguments? !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31-tcl/config.log * ERROR: sci-electronics/ngspice-31::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 1670: Called multibuild_foreach_variant 'ngspice_configure' * environment, line 1398: Called _multibuild_run 'ngspice_configure' * environment, line 1396: Called ngspice_configure * environment, line 1622: Called econf '--disable-debug' '--disable-ftedebug' '--disable-cpdebug' '--disable-sensdebug' '--disable-asdebug' '--disable-stepdebug' '--disable-pzdebug' '--disable-blktmsdebug' '--disable-smltmsdebug' '--enable-xspice' '--enable-cider' '--disable-dependency-tracking' '--disable-rpath' '--enable-openmp' '--with-fftw3' '--with-readline' '--with-tcl' * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sci-electronics/ngspice-31::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-electronics/ngspice-31::gentoo'`. * The complete build log is located at '/var/log/portage/build/sci-electronics/ngspice-31:20191104-094134.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-electronics/ngspice-31/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/ngspice-31/temp/environment'. * Working directory: '/var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31-tcl' * S: '/var/tmp/portage/sci-electronics/ngspice-31/work/ngspice-31' The fix is quite easy, here is attached a simple patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4e51b6503983e26e91c51df2bd0d0284ccc74b commit 2a4e51b6503983e26e91c51df2bd0d0284ccc74b Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-11-04 18:45:25 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-11-04 19:09:56 +0000 sci-electronics/ngspice: rev bump to address several QA issues Closes: https://bugs.gentoo.org/699292 Closes: https://bugs.gentoo.org/699280 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../{ngspice-31.ebuild => ngspice-31-r1.ebuild} | 122 ++++++++++++--------- 1 file changed, 69 insertions(+), 53 deletions(-)
jyfi: USE=tcl is still broken... you will get > configure: error: Couldn't find BLT later because of > version conflict for package "Tcl": have 8.6.9, need exactly 8.6 Some user already run into this (https://archives.gentoo.org/gentoo-user/message/ef897edbecf83e10495200da27ac1cd4) but I'll leave this for the maintainer...
(In reply to Thomas Deutschmann from comment #2) > jyfi: USE=tcl is still broken... you will get > > > configure: error: Couldn't find BLT > > later because of > > > version conflict for package "Tcl": have 8.6.9, need exactly 8.6 > > Some user already run into this > (https://archives.gentoo.org/gentoo-user/message/ > ef897edbecf83e10495200da27ac1cd4) but I'll leave this for the maintainer... On my system USE=tcl at configure time I get: ... checking for tcl.h... yes checking blt.h usability... yes checking blt.h presence... yes checking for blt.h... yes checking for TCL module BLT... Found checking for library containing Blt_GetVector... -lBLT ... and then builds successfully. I have installed dev-lang/tcl-8.6.8 and dev-tcltk/blt-2.4z-r13