Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829574 - net-mail/dbmail-3.2.5-r1 - ../.../dbmail.h: fatal error: sys/queue.h: No such file or directory
Summary: net-mail/dbmail-3.2.5-r1 - ../.../dbmail.h: fatal error: sys/queue.h: No such...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-18 17:26 UTC by Toralf Förster
Modified: 2022-06-25 04:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.11 KB, text/plain)
2021-12-18 17:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,10.28 KB, text/plain)
2021-12-18 17:26 UTC, Toralf Förster
Details
environment (environment,61.96 KB, text/plain)
2021-12-18 17:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.94 KB, application/x-bzip)
2021-12-18 17:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.45 KB, application/x-bzip)
2021-12-18 17:26 UTC, Toralf Förster
Details
net-mail:dbmail-3.2.5-r1:20211218-165947.log (net-mail:dbmail-3.2.5-r1:20211218-165947.log,13.60 KB, text/plain)
2021-12-18 17:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.16 KB, application/x-bzip)
2021-12-18 17:26 UTC, Toralf Förster
Details
net-mail/dbmail-3.2.3-r5: add sys-libs/queue-standalone as a dependency for musl (dbmail-3.2.3-r5.ebuild.patch,610 bytes, patch)
2022-06-24 18:44 UTC, CFuga
Details | Diff
net-mail/dbmail-3.2.5-r2: add sys-libs/queue-standalone as a dependency for musl (dbmail-3.2.5-r2.ebuild.patch,637 bytes, patch)
2022-06-24 18:44 UTC, CFuga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-18 17:26:40 UTC
too long lines were shrinked:

/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src   -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread  -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/i
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -
In file included from authsql.c:27:
../../src/dbmail.h:88:10: fatal error: sys/queue.h: No such file or directory
   88 | #include <sys/queue.h>
      |          ^~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20211218-140106

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
php cli:

  HEAD of ::gentoo
commit fd30d508ee058dbef8fc06e44cae70b2a2f797ca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 18 16:36:49 2021 +0000

    2021-12-18 16:36:46 UTC

emerge -qpvO net-mail/dbmail
[ebuild  N    ] net-mail/dbmail-3.2.5-r1  USE="doc ssl -jemalloc -ldap -sieve -static (-systemd)"
Comment 1 Toralf Förster gentoo-dev 2021-12-18 17:26:41 UTC
Created attachment 759598 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-18 17:26:42 UTC
Created attachment 759599 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-18 17:26:44 UTC
Created attachment 759600 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-18 17:26:46 UTC
Created attachment 759601 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-18 17:26:47 UTC
Created attachment 759602 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-18 17:26:48 UTC
Created attachment 759603 [details]
net-mail:dbmail-3.2.5-r1:20211218-165947.log
Comment 7 Toralf Förster gentoo-dev 2021-12-18 17:26:49 UTC
Created attachment 759604 [details]
temp.tar.bz2
Comment 8 CFuga 2022-06-24 18:44:00 UTC
Created attachment 787427 [details, diff]
net-mail/dbmail-3.2.3-r5: add sys-libs/queue-standalone as a dependency for musl
Comment 9 CFuga 2022-06-24 18:44:29 UTC
Created attachment 787430 [details, diff]
net-mail/dbmail-3.2.5-r2: add sys-libs/queue-standalone as a dependency for musl
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-25 03:39:40 UTC
Thanks!

1. Are you using 'git format-patch origin/master'? It's missing the needed headers for me to magically use 'git am' on the files you attach. It's no big deal, but just asking!

2. DEPEND, not BDEPEND -- the reason is a cross-compiler doesn't check BROOT for headers
Comment 11 Larry the Git Cow gentoo-dev 2022-06-25 04:15:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df61d451dd4b745c5ca27a133620e775c097047

commit 3df61d451dd4b745c5ca27a133620e775c097047
Author:     Cristian Othón Martínez Vera <cfuga@cfuga.mx>
AuthorDate: 2022-06-25 03:41:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-25 03:42:08 +0000

    net-mail/dbmail: fix musl build
    
    Closes: https://bugs.gentoo.org/829574
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>

 net-mail/dbmail/dbmail-3.2.3-r5.ebuild | 3 ++-
 net-mail/dbmail/dbmail-3.2.5-r2.ebuild | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)