Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers błąd przy aktualizacji
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
rehsarc
n00b
n00b


Joined: 14 May 2012
Posts: 2

PostPosted: Sun Jun 10, 2012 8:18 pm    Post subject: linux-headers błąd przy aktualizacji Reply with quote

witam, 1 pakiet z listy aktualizacji world i od razu problem.

Code:

Emerging (1 of 252) sys-kernel/linux-headers-3.1
 * gentoo-headers-base-3.1.tar.xz RMD160 SHA1 SHA256 size ;-) ...                            [ ok ]
 * gentoo-headers-3.1-2.tar.xz RMD160 SHA1 SHA256 size ;-) ...                               [ ok ]
>>> Unpacking source...
>>> Unpacking gentoo-headers-base-3.1.tar.xz to /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Unpacking gentoo-headers-3.1-2.tar.xz to /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Source unpacked in /var/tmp/portage/sys-kernel/linux-headers-3.1/work
>>> Preparing source in /var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1 ...
 * Applying various patches (bugfixes/updates) ...
 *   00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch ...

 * Failed Patch: 00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch !
 *  ( /var/tmp/portage/sys-kernel/linux-headers-3.1/work/3.1/00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-kernel/linux-headers-3.1/temp/00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch.out

 * ERROR: sys-kernel/linux-headers-3.1 failed (prepare phase):
 *   Failed Patch: 00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch!
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2705:  Called epatch '/var/tmp/portage/sys-kernel/linux-headers-3.1/work/3.1'
 *   environment, line 1203:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of 'emerge --info =sys-kernel/linux-headers-3.1',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/linux-headers-3.1'.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/environment'.
 * S: '/var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1'

>>> Failed to emerge sys-kernel/linux-headers-3.1, Log file:

>>>  '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/build.log'

 * Messages for package sys-kernel/linux-headers-3.1:

 * Failed Patch: 00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch !
 *  ( /var/tmp/portage/sys-kernel/linux-headers-3.1/work/3.1/00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-kernel/linux-headers-3.1/temp/00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch.out
 * ERROR: sys-kernel/linux-headers-3.1 failed (prepare phase):
 *   Failed Patch: 00_all_0001-kbuild-auto-convert-size-types-in-userspace-headers.patch!
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2705:  Called epatch '/var/tmp/portage/sys-kernel/linux-headers-3.1/work/3.1'
 *   environment, line 1203:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of 'emerge --info =sys-kernel/linux-headers-3.1',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/linux-headers-3.1'.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-headers-3.1/temp/environment'.
 * S: '/var/tmp/portage/sys-kernel/linux-headers-3.1/work/gentoo-headers-base-3.1'


Wspomne tylko ze dosc dawno nie aktualizowalem systemu, poniewaz jest to netbook z ktorego ostatnio nie korzystalem czesto.

wersja kernela: 2.6.36
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Tue Jun 12, 2012 10:53 am    Post subject: Reply with quote

A są Ci do czegoś potrzebne linux-headers?

Przecież te nagłówki zastępują źródła skompilowanego kernela, jeśli masz skompilowany kernel, i źródła tego używanego kernela podlinkowane do /usr/src/linux to headersy są Ci potrzebne, jak dziura w moście.

Jeśli jakiś program ma headersy w zależnościach, to dorzuć linux-headers-{wersja-kernela-jak-w-emerge} do package.provided i gotowe.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Jun 12, 2012 1:22 pm    Post subject: Reply with quote

@rehsarc zrob synca, moze ktos wycommitowal zlego patcha i tak sie rozeszlo po mirrorach, pewnie juz poprawione.

@Jacekalex nie wyglupiaj sie, headery sa wrecz niezbedne, zaden skrypt (autotools, cmake) nie bedzie buszowal po zrodlach kernela, chyba, ze musi. Od tego jest /usr/include. Zrob sobie make headers_install i porowniaj to co dostaniesz w /usr/src/linux/usr/ z /usr/src/linux, np. jakis naglowek, zawartosc inna, nie bez powodu.
Back to top
View user's profile Send private message
rehsarc
n00b
n00b


Joined: 14 May 2012
Posts: 2

PostPosted: Thu Jun 14, 2012 12:38 pm    Post subject: Reply with quote

probowalem --sync'a nawet po paru dniach i nic. Dziwny blad. :?
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Sun Jun 24, 2012 1:50 pm    Post subject: Reply with quote

SlashBeast wrote:


@Jacekalex nie wyglupiaj sie, headery sa wrecz niezbedne, zaden skrypt (autotools, cmake) nie bedzie buszowal po zrodlach kernela, chyba, ze musi. Od tego jest /usr/include. Zrob sobie make headers_install i porowniaj to co dostaniesz w /usr/src/linux/usr/ z /usr/src/linux, np. jakis naglowek, zawartosc inna, nie bez powodu.


Niewiem, czy się wygłupiam, czy nie, ale na ostatnim systemie x86 linux-headers nie chcial sie zainstalować, więc wsadziłem go do package.provided, zrobilem
Code:
 make headers_install

i nic nie miauczało o żadne brakujące nagłówki, nie wiem, czy to szczęśliwy przypadek, ale pisałem na podstawie tamtego doświadczenia.

Pozdrawiam
8)
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Jun 24, 2012 8:32 pm    Post subject: Reply with quote

make headers_install wrzuca to do $PWD/usr domyslnie, wiec pewnie zainstalowalo Ci naglowki do /usr/src/linux/usr, a tam raczej nic ich nie szuka. ;-)
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Sun Jun 24, 2012 9:41 pm    Post subject: Reply with quote

Szuka, bo pierwszy raz skopiowałem je do /usr/include,a obecnie mam 2 sposoby:
Code:
env INSTALL_HDR_PATH="/usr" make headers_install

Lądują gdzie trzeba ;)
Albo:
Code:
make INSTALL_HDR_PATH=/usr headers_install

Jak wyżej :)

Pozdrawiam
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum