Package Details: htdig 3.2.0b6-11

Git Clone URL: (read-only, click to copy)
Package Base: htdig
Description: Scripts and HTML code needed for using ht://Dig as a web search engine
Upstream URL:
Licenses: GPL
Submitter: arojas
Maintainer: vasisualiy
Last Packager: vasisualiy
Votes: 5
Popularity: 0.000991
First Submitted: 2017-02-18 10:44
Last Updated: 2017-03-20 08:20

Latest Comments

SlavekB commented on 2021-09-27 18:41

I looked at the current problem of building htdig with GCC 11 and found that the same is reported as Debian Bug #984180. I prepared patch that solves this FTBFS and sent it to Debian BTS – see

noreun commented on 2018-01-23 21:40

I got the same error and the -fpermissive did the trick. I manage to index a website and the search is working fine.

Still there are lots of warnings during the build. Most 3 warnings repeating all the time:

/usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

db_int.h:91:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define SSZA(name, field) ((int)&(((name *)0)->field[0])) ^

vasisualiy commented on 2017-08-17 19:12

Adding -fpermissive to CXXFLAGS helps. But its a hack, and I cannot see consequences at this time. Try it.

Simply edit one line in yours PKGBUILD

CFLAGS=-Wno-narrowing CXXFLAGS=-Wno-narrowing ./configure --prefix=/usr \

to this one:

CFLAGS=-Wno-narrowing CXXFLAGS="-Wno-narrowing -fpermissive" ./configure --prefix=/usr \

It helps. If it works without glitches, write here, and I make a patch.

fusion809 commented on 2017-06-28 16:09

Building gives this error: In member function ‘void Parsable::addString(Retriever&, char*, int&, int)’: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
w = '\0';
^~~~ In member function ‘void Parsable::addKeywordString(Retriever&, char*, int&)’: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
w = '\0';