Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881349 - net-dns/djbdns-1.05-r35 - socket_connect6.c: fatal error: haveip6.h: No such file or directory
Summary: net-dns/djbdns-1.05-r35 - socket_connect6.c: fatal error: haveip6.h: No such ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-14 22:27 UTC by Toralf Förster
Modified: 2022-11-15 23:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.48 KB, text/plain)
2022-11-14 22:27 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,83.16 KB, application/x-bzip)
2022-11-14 22:27 UTC, Toralf Förster
Details
environment (environment,84.53 KB, text/plain)
2022-11-14 22:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,704 bytes, application/x-bzip)
2022-11-14 22:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.00 KB, application/x-bzip)
2022-11-14 22:27 UTC, Toralf Förster
Details
net-dns:djbdns-1.05-r35:20221114-221851.log (net-dns:djbdns-1.05-r35:20221114-221851.log,8.64 KB, text/plain)
2022-11-14 22:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.92 KB, application/x-bzip)
2022-11-14 22:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-14 22:27:26 UTC
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
./compile socket_bind.c
socket_connect6.c:9:10: fatal error: haveip6.h: No such file or directory
    9 | #include "haveip6.h"
      |          ^~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221110-170004

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.17_p8 [openjdk-11]
2)	OpenJDK 17.0.5_p8 [openjdk-17]
3)	OpenJDK 8.345_p01 [openjdk-8]
4)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
7)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm
  [7]   openjdk-jre-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit 3042f98559a078766c7c27ce22340aabf7d4b32b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 21:46:52 2022 +0000

    2022-11-14 21:46:51 UTC

emerge -qpvO net-dns/djbdns
[ebuild  N    ] net-dns/djbdns-1.05-r35  USE="ipv6 (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2022-11-14 22:27:26 UTC
Created attachment 832765 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 22:27:28 UTC
Created attachment 832767 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-14 22:27:29 UTC
Created attachment 832769 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 22:27:30 UTC
Created attachment 832771 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 22:27:32 UTC
Created attachment 832773 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 22:27:33 UTC
Created attachment 832775 [details]
net-dns:djbdns-1.05-r35:20221114-221851.log
Comment 7 Toralf Förster gentoo-dev 2022-11-14 22:27:34 UTC
Created attachment 832777 [details]
temp.tar.bz2
Comment 8 Michael Orlitzky gentoo-dev 2022-11-14 23:25:26 UTC
I've emailed the maintainer of the ipv6 patch. I believe this is due to a missing prerequisite in the Makefile, combined with Toralf's special ability to trigger the bug at exactly the right time :)
Comment 9 Larry the Git Cow gentoo-dev 2022-11-15 23:37:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1b97b7297ab5ecd5da0f9b6a7b1dfd0239a5bc

commit 0d1b97b7297ab5ecd5da0f9b6a7b1dfd0239a5bc
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-11-15 20:27:18 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-11-15 23:24:24 +0000

    net-dns/djbdns: new EAPI=8 revision with fixed parallel build.
    
    The parallel build fix comes via an updated ipv6 patch, courtesy of
    Felix von Leitner. (Thanks for the fast response!)
    
    This also includes the ever-dangerous manual rebasing of two CVE patches
    on top of the new ipv6 patch, made scarier by the fact that I don't
    actually ipv6 myself. Fortunately those patches are not too crazy.
    
    Closes: https://bugs.gentoo.org/881349
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-dns/djbdns/Manifest                            |   1 +
 net-dns/djbdns/djbdns-1.05-r36.ebuild              | 127 ++++++++
 ...erge-similar-outgoing-queries-ipv6-test29.patch | 351 +++++++++++++++++++++
 ...02-dnscache-cache-soa-records-ipv6-test29.patch |  69 ++++
 4 files changed, 548 insertions(+)