Jump to content
  • 0

update problem (dhcpcd)


fanfoue
 Share

Question

Hello all,

I'm new to funtoo (and gentoo), I installed my system one month ago.

I'm getting trouble with a world update : dhcpcd build fails to find a "queue.h" include.

By the way, my network card is statically configured, I would like to unmerge dhcpcd. But it's not in the world file and I could manage to mask it...

Thanks for the help !

# emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for gentoo
q: Updating ebuild cache in /usr/portage ... 
q: Finished 39891 entries in 0.330852 seconds
>>> Syncing repository 'funtoo-overlay' into '/var/portage/funtoo-overlay'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for funtoo-overlay
q: Updating ebuild cache in /var/portage/funtoo-overlay ... 
q: Finished 327 entries in 0.003057 seconds

# emerge -a --keep-going --update --newuse --deep --with-bdeps=y world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-misc/dhcpcd-6.10.2  USE="embedded ipv6 udev" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/dhcpcd-6.10.2::gentoo
 * dhcpcd-6.10.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking dhcpcd-6.10.2.tar.xz to /var/tmp/portage/net-misc/dhcpcd-6.10.2/work
>>> Source unpacked in /var/tmp/portage/net-misc/dhcpcd-6.10.2/work
>>> Preparing source in /var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --localstatedir=/var --rundir=/run --enable-embedded --enable-ipv6 CC=x86_64-pc-linux-gnu-gcc --with-hook=ntp.conf --with-hook=yp.conf
configure args: --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd --localstatedir=/var --rundir=/run --enable-embedded --enable-ipv6 CC=x86_64-pc-linux-gnu-gcc --with-hook=ntp.conf --with-hook=yp.conf
Deriving operating system from ... x86_64-pc-linux-gnu
Configuring dhcpcd for ... linux
dhcpcd-definitions.conf will be embedded in dhcpcd itself
Using compiler .. x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc (Funtoo 4.9.3-r3) 4.9.3
Testing for nl80211 ... yes
Testing for IN6_ADDR_GEN_MODE_NONE ... yes
Testing for getifaddrs ... yes
Testing for clock_gettime ... yes
Testing for inet_ntoa ... yes
Testing for arc4random ... no
Testing for arc4random_uniform ... no
Testing for closefrom ... no
Testing for getline ... no
Testing for strlcpy ... no
Testing for pidfile_lock ... no
Testing for strtoi ... no
Testing for dprintf ... yes
Testing for printf %m support ...yes
Testing for TAILQ_FOREACH_SAFE ... no
Testing for TAILQ_CONCAT ...yes
Testing for posix_spawn ... yes
Testing for kqueue1 ... no
Testing for kqueue ... no
Testing for epoll ... yes
Testing for be64enc ... no
Testing for fls64 ... no
Testing for MD5Init ... no
Testing for sha2.h ... no
Testing for SHA256_Init ... no
Testing for SHA256Init ... no
Checking for libudev ... yes
Checking udev_monitor_filter_add_match_subsystem_devtype ... yes
Checking udev_device_get_is_initialized ... yes
Testing for dlopen ... yes (-ldl)
Checking for ntpd ... not found
Checking for chronyd ... not found
Checking for ypbind ... not found
Finding hook ntp.conf ... 50-ntp.conf
Finding hook yp.conf ... 50-yp.conf

   SYSCONFDIR =		/etc
   SBINDIR =		/sbin
   LIBDIR =		/lib64
   LIBEXECDIR =		/lib/dhcpcd
   DBDIR =		/var/lib/dhcpcd
   RUNDIR =		/run
   MANDIR =		/usr/share/man
   DATADIR =		/usr/share
   HOOKSCRIPTS =	50-ntp.conf 50-yp.conf
   EGHOOKSCRIPTS =	
   STATUSARG = 		

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2 ...
make -j5 
x86_64-pc-linux-gnu-gcc  -march=core2 -O2 -pipe -std=c99  -march=core2 -O2 -pipe -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c common.c -o common.o
x86_64-pc-linux-gnu-gcc  -march=core2 -O2 -pipe -std=c99  -march=core2 -O2 -pipe -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c control.c -o control.o
x86_64-pc-linux-gnu-gcc  -march=core2 -O2 -pipe -std=c99  -march=core2 -O2 -pipe -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c dhcpcd.c -o dhcpcd.o
x86_64-pc-linux-gnu-gcc  -march=core2 -O2 -pipe -std=c99  -march=core2 -O2 -pipe -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c duid.c -o duid.o
x86_64-pc-linux-gnu-gcc  -march=core2 -O2 -pipe -std=c99  -march=core2 -O2 -pipe -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c eloop.c -o eloop.o
eloop.c:135:19: fatal error: queue.h: No such file or directory
 #include "queue.h"
                   ^
compilation terminated.
Makefile:84: recipe for target 'eloop.o' failed
make: *** [eloop.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/dhcpcd-6.10.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/dhcpcd-6.10.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-6.10.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2'
 * S: '/var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2'

>>> Failed to emerge net-misc/dhcpcd-6.10.2, Log file:

>>>  '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/build.log'

 * Messages for package net-misc/dhcpcd-6.10.2:

 * ERROR: net-misc/dhcpcd-6.10.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/dhcpcd-6.10.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-6.10.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2'
 * S: '/var/tmp/portage/net-misc/dhcpcd-6.10.2/work/dhcpcd-6.10.2'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (net-misc/dhcpcd-6.10.2:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-misc/dhcpcd-6.10.2/temp/build.log'
 * 
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Funtoo user repo is ports-2012.git

funtoo rj # emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for gentoo
* In post-repository hook for gentoo
** synced from remote repository git://github.com/funtoo/ports-2012.git
** synced into /usr/portage
Reading Portage settings ..
Building database (/var/cache/eix/portage.eix) ..
[0] 'gentoo' /usr/portage/ (cache: metadata-md5-or-flat)
     Reading category 164|164 (100%) Finished             
[1] 'rj' /usr/local/portage (cache: parse|ebuild*#metadata-md5#metadata-assign#assign)
     Reading category 164|164 (100%) Finished      
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix/portage.eix ..
Database contains 19094 packages in 164 categories.
Diffing databases (19094 -> 19094 packages)

rj@funtoo ~ $ cat /etc/portage/repos.conf/gentoo 
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = git://github.com/funtoo/ports-2012.git
auto-sync = yes

Your syncing funtoo-overlay.git which is development/testing, not for users.

This could cause a problem, dhcpcd-6.10.2 merges on my current funtoo.

# emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for gentoo
q: Updating ebuild cache in /usr/portage ... 
q: Finished 39891 entries in 0.330852 seconds
>>> Syncing repository 'funtoo-overlay' into '/var/portage/funtoo-overlay'...
/usr/bin/git pull
Already up-to-date.
=== Sync completed for funtoo-overlay
q: Updating ebuild cache in /var/portage/funtoo-overlay ... 
q: Finished 327 entries in 0.003057 seconds
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...