Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882045 - dev-libs/glib-2.74.1-r1 (and prior) does not install gunixconnection.h or gunixfdlist.h
Summary: dev-libs/glib-2.74.1-r1 (and prior) does not install gunixconnection.h or gun...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 19:34 UTC by Rob Burcham
Modified: 2022-11-23 16:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Burcham 2022-11-19 19:34:03 UTC
After installing glib, /usr/include/gio-unix-2.0/gio/ omits gunixconnection.h both gunixfdlist.h.

My USE flags are dbus elf (mime) xattr -debug -gtk-doc (-selinux) -static-libs -sysprof -systemtap -test -utils

The contents of /usr/include/gio-unix-2.0/gio/ are

-rw-r--r-- 1 root root 3099 Oct 25 07:53 gunixoutputstream.h
-rw-r--r-- 1 root root 7591 Oct 25 07:53 gunixmounts.h
-rw-r--r-- 1 root root 3067 Oct 25 07:53 gunixinputstream.h
-rw-r--r-- 1 root root 3816 Oct 25 07:53 gunixfdmessage.h
-rw-r--r-- 1 root root 2266 Oct 25 07:53 gfiledescriptorbased.h
-rw-r--r-- 1 root root 8728 Oct 25 07:53 gdesktopappinfo.h

It's unclear to me if switching one of the USE flags might result in copying over more includes, or the two named I require.

I can say that I did an ebuild unpack and manually copied over the two named includes to /usr/include/gio-unix-2.0/gio/ without rebuilding glib.  I was then able to compile using those two header files and link -lgio-2.0 and -lglib-2.0 successfully with no missing symbols.

So I think they're just not copying over?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-19 19:43:11 UTC
Can you include emerge --info please and also try to capture the build.log from 'ebuild ... clean install'? Thanks.
Comment 2 Ionen Wolkens gentoo-dev 2022-11-19 19:45:24 UTC
are you sure you're not looking for:

/usr/include/glib-2.0/gio/gunixconnection.h
/usr/include/glib-2.0/gio/gunixfdlist.h

(different include path)
Comment 3 Rob Burcham 2022-11-23 16:38:52 UTC
(In reply to Ionen Wolkens from comment #2)
> are you sure you're not looking for:
> 
> /usr/include/glib-2.0/gio/gunixconnection.h
> /usr/include/glib-2.0/gio/gunixfdlist.h
> 
> (different include path)

This is exactly correct.  It seems that the glib package populates both paths, and by some logic segregates the headers into each.

The two named headers are in the glib-2.0/gio path.  I'll send a patch upstream to the package I'm compiling.  We can close.
Comment 4 Rob Burcham 2022-11-23 16:39:55 UTC
See last comment