octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56009] [octave forge] (database) '__pq_connec


From: Dennis B
Subject: [Octave-bug-tracker] [bug #56009] [octave forge] (database) '__pq_connect__' undefined in Octave 5.1.0 with 'database' package 2.4.3
Date: Mon, 1 Apr 2019 05:21:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #3, bug #56009 (project octave):

The attempt to reinstall the database package under Octave 5.1.0- *4* failed
with the following error(s):


octave> pkg install -forge database
error-helpers.cc: In Funktion »void _p_error(const char*, ...)«:
error-helpers.cc:53:40: Warnung: »size_t octave_vformat(std::ostream&, const
char*, __va_list_tag*)« ist veraltet: [5]: use 'octave::vformat' instead
[-Wdeprecated-declarations]
   octave_vformat (output_buf, fmt, args);
                                        ^
In file included from /usr/include/octave-5.1.0/octave/../octave/oct.h:38,
                 from error-helpers.cc:20:
/usr/include/octave-5.1.0/octave/../octave/utils.h:238:1: Anmerkung: hier
deklariert
 octave_vformat (std::ostream& os, const char *fmt, va_list args);
 ^~~~~~~~~~~~~~
error-helpers.cc:53:40: Warnung: »size_t octave_vformat(std::ostream&, const
char*, __va_list_tag*)« ist veraltet: [5]: use 'octave::vformat' instead
[-Wdeprecated-declarations]
   octave_vformat (output_buf, fmt, args);
                                        ^
In file included from /usr/include/octave-5.1.0/octave/../octave/oct.h:38,
                 from error-helpers.cc:20:
/usr/include/octave-5.1.0/octave/../octave/utils.h:238:1: Anmerkung: hier
deklariert
 octave_vformat (std::ostream& os, const char *fmt, va_list args);
 ^~~~~~~~~~~~~~
error-helpers.cc:60:8: Fehler: »cerr« ist kein Element von »std«
   std::cerr << msg;
        ^~~~
error-helpers.cc:60:8: Anmerkung: »std::cerr« ist im Header »<iostream>«
definiert; haben Sie vergessen, »#include <iostream>« zu schreiben?
error-helpers.cc:23:1:
+#include <iostream>
 
error-helpers.cc:60:8:
   std::cerr << msg;
        ^~~~
make: *** [Makefile:92: error-helpers.o] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet....
make: Verzeichnis „/tmp/oct-w7Yl7Y/database-2.4.3/src“ wird betreten
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
__pq_connect__.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c pq_close.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c pq_exec.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
converters.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
converters_arr_comp.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
pq_connection.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c command.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
pq_update_types.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c pq_lo.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
pq_conninfo.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c
__pq_internal_exit__.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -c error-helpers.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt" /usr/bin/mkoctfile-5.1.0 -I`pg_config --includedir` -c var2bytea.cc
rm var2bytea.o
make: Verzeichnis „/tmp/oct-w7Yl7Y/database-2.4.3/src“ wird verlassen

pkg: error running `make' for the database package.
error: called from
    configure_make at line 99 column 9
    install at line 184 column 7
    pkg at line 441 column 9


After downgrading Octave to version 4.4.1-7, the database package  installed
without any issues and works properly.
In Octave 5.1.0 the previously reported error remains after reinstalling the
database package in Octave 4.4.1-7 and then switching back to Octave 5.1.0.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56009>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]