Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730408 - net-dns/maradns fails to compile
Summary: net-dns/maradns fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 20:25 UTC by Agostino Sarubbo
Modified: 2022-11-30 20:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,17.07 KB, text/plain)
2020-07-01 20:25 UTC, Agostino Sarubbo
Details
find.log (find.log,239.64 KB, text/plain)
2020-07-02 08:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-01 20:25:13 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: net-dns/maradns fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-01 20:25:19 UTC
Created attachment 647334 [details]
build.log

build log and emerge --info
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2020-07-02 07:11:19 UTC
Cannot reproduce, can you give me `find /var/tmp/portage/net-dns/maradns-3.5.0005/` output?
Comment 3 Agostino Sarubbo gentoo-dev 2020-07-02 08:35:12 UTC
Created attachment 647350 [details]
find.log

find
Comment 4 Sam Trenholme 2022-11-30 15:46:08 UTC
The problems are caused because make is invoked as `make -j4 V=1`; the flag V is used by MaraDNS to pass the version number when compiling MaraDNS.  Don’t invoke Make with those arguments, and MaraDNS compiles just fine.  On Arm64; I compile MaraDNS almost every day on my Raspberry Pi without issue.

Make without arguments should be used instead; make works with GNU make, bmake, and even pdpmake in non-strict POSIX mode [1]

[1] MaraDNS, like most real world programs, won’t compile with a strictly POSIX implementation of make because of a bug in the current POSIX spec for make, but does compile if the make implementation follows the next version of POSIX.  

[2] I’ve open up a bug for MaraDNS in bug 883761 but it’s not marked as a MaraDNS bug.
Comment 5 Sam Trenholme 2022-11-30 15:57:09 UTC
Another note from upstream: If a maintainer wants a less frequently updated fork of MaraDNS to maintain, I still update the 3.4 branch with security and other very important bug fixes (e.g. Y2038 bugs were recently fixed in this branch).  The current version of 3.4 is 3.4.09, and it’s prominently visible on the MaraDNS download page.

I still maintain this version mainly for downstream distro packages, since it allows someone to be a maintainer for MaraDNS without having to keep up with all of the 3.5 changes.