Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Debian bullseye/sid (testing) - workaround #37

Open
Wi5eJ4rl opened this issue Feb 13, 2021 · 1 comment
Open

Building on Debian bullseye/sid (testing) - workaround #37

Wi5eJ4rl opened this issue Feb 13, 2021 · 1 comment

Comments

@Wi5eJ4rl
Copy link

Wi5eJ4rl commented Feb 13, 2021

Hello,

After many days of fighting with dependencies, I stuck at make:

Making all in po
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/po'
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/po'
Making all in doc
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/doc'
make[1]: Nie ma nic do zrobienia w 'all'.
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/doc'
Making all in src
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/src'
make  all-am
make[2]: Wejście do katalogu '/home/asus/dl-fldigi/src'
  CXX      dl_fldigi-rtty.o
In file included from ./include/habitat/Extractor.h:8,
                 from ./include/dl_fldigi/hbtint.h:7,
                 from cw_rtty/rtty.cxx:42:
./include/habitat/UploaderThread.h:155:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  155 |     auto_ptr<habitat::Uploader> uploader;
      |     ^~~~~~~~
In file included from /usr/include/c++/10/memory:83,
                 from ./include/habitat/UploaderThread.h:6,
                 from ./include/habitat/Extractor.h:8,
                 from ./include/dl_fldigi/hbtint.h:7,
                 from cw_rtty/rtty.cxx:42:
/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
cw_rtty/rtty.cxx:55:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
   55 | };
      | ^
cw_rtty/rtty.cxx:55:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
cw_rtty/rtty.cxx:77:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
   77 | };
      | ^
cw_rtty/rtty.cxx:77:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
make[2]: *** [Makefile:1828: dl_fldigi-rtty.o] Błąd 1
make[2]: Opuszczenie katalogu '/home/asus/dl-fldigi/src'
make[1]: *** [Makefile:1169: all] Błąd 2
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/src'
make: *** [Makefile:472: all-recursive] Błąd 1

I've followed by raspbian build instructions. I've tried the newest version and last stable DL3.1.

EDIT:
There is a problem with this repo, but this fork works fine with some extra flags.

To build this on Debian follow this instructions:

git clone https://github.com/jamescoxon/dl-fldigi
cd dl-fldigi
git submodule init
git submodule update
autoreconf -vfi
./configure --disable-flarq --enable-optimizations=native CXXFLAGS="-fpermissive -Wno-narrowing -g -O2"
make

Enjoy!

@Wi5eJ4rl Wi5eJ4rl changed the title Building on Debian bullseye/sid (testing) Building on Debian bullseye/sid (testing) - workaround Feb 14, 2021
@sp9rqa
Copy link

sp9rqa commented Sep 3, 2022

Unfortunately, it crashes on the command: git submenu update (timeout)

fatal: nie można połączyć z github.com:
github.com[0: 140.82.121.4]: errno=Przekroczony czas oczekiwania na połączenie

fatal: klonowanie „git://github.com/ukhas/habitat-cpp-connector” do ścieżki podmodułu „/home/Ham/dl-fldigi/habitat-cpp-connector” nie powiodło się
Nie można sklonować „habitat-cpp-connector”. Zaplanowano ponowienie
Klonowanie do „/home/Ham/dl-fldigi/habitat-cpp-connector”...
fatal: nie można połączyć z github.com:
github.com[0: 140.82.121.3]: errno=Przekroczony czas oczekiwania na połączenie

I found this "habitat-cpp-connector" in another repository but it still crashes on compilation

src/CouchDB.cxx: In member function ‘std::string CouchDB::Server::next_uuid()’:
src/CouchDB.cxx:66:9: error: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Werror=deprecated-declarations]
66 | auto_ptrJson::Value value_destroyer(root);
| ^~~~~~~~
In file included from /usr/include/c++/12/memory:76,
from src/CouchDB.cxx:6:
/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
64 | template class auto_ptr;
| ^~~~~~~~
src/CouchDB.cxx: In member function ‘Json::Value* CouchDB::Server::get_json(const std::string&)’:
src/CouchDB.cxx:85:5: error: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Werror=deprecated-declarations]
85 | auto_ptrJson::Value value_destroyer(doc);
| ^~~~~~~~
/usr/include/c++/12/bits/unique_ptr.h:64:28: note: declared here
64 | template class auto_ptr;
| ^~~~~~~~
cc1plus: all warnings being treated as errors

debian testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants