Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild problem!! Help please
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
void*main()
n00b
n00b


Joined: 21 Jul 2004
Posts: 10

PostPosted: Wed Jul 21, 2004 10:05 pm    Post subject: ebuild problem!! Help please Reply with quote

Koroche takaya hernya :
Code:

emerge iptables
Calculating dependencies ...done!
>>> emerge (1 of 1) net-firewall/iptables-1.2.11-r1 to /
>>> md5 src_uri ;-) iptables-1.2.11.tar.bz2
>>> Unpacking source...
>>> Unpacking iptables-1.2.11.tar.bz2 to /var/tmp/portage/iptables-1.2.11-r1/work
tar: Removing leading `iptables-1.2.11/./' from member names
 * Applying grsecurity-1.2.8-iptables.patch.bz2...                                                                                                       [ ok ]
 * Applying install_ipv6_apps.patch.bz2...

 * Failed Patch: install_ipv6_apps.patch.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/iptables-1.2.11-r1/temp/install_ipv6_apps.patch.bz2-14511.out


!!! ERROR: net-firewall/iptables-1.2.11-r1 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: install_ipv6_apps.patch.bz2!

_________________________________________________

Dalee kusok is /var/tmp/portage/iptables-1.2.11-r1/temp/install_ipv6_apps.patch.bz2-14511.out
Code:

***** install_ipv6_apps.patch.bz2 *****

=======================================

PIPE_COMMAND:  bzip2 -dc /usr/portage/net-firewall/iptables/files/1.2.11-files/install_ipv6_apps.patch.bz2 > /var/tmp/portage/iptables-1.2.11-r1/temp/14511.pat
ch
PATCH COMMAND:  patch -p0 -g0 < /var/tmp/portage/iptables-1.2.11-r1/temp/14511.patch

=======================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile   2004-03-09 15:30:51.535564915 +0000
|+++ Makefile   2004-03-09 15:31:11.147771447 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=======================================


Ne mogu ponyat' v chem delo??? Mozhet kto pomozhet??????

NEED HELP!!!!!
Back to top
View user's profile Send private message
ats007spdou
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 97

PostPosted: Thu Jul 22, 2004 12:58 pm    Post subject: Reply with quote

Chto ti hochesh zdelaty?
Back to top
View user's profile Send private message
ats007spdou
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 97

PostPosted: Thu Jul 22, 2004 3:20 pm    Post subject: Reply with quote

Skazhi pa ruski. I ya perekladu na angliskiy yazik.
Back to top
View user's profile Send private message
Apexman
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 141

PostPosted: Thu Jul 22, 2004 3:44 pm    Post subject: Reply with quote

Хочет чел поставить 11 iptables'ы, когда 10 только-только признали stable. Не накладывается патчик ipv6. Уже есть iptables-1.2.11-r2.ebuild. У меня встал без проблем.
Back to top
View user's profile Send private message
void*main()
n00b
n00b


Joined: 21 Jul 2004
Posts: 10

PostPosted: Mon Jul 26, 2004 8:28 am    Post subject: Reply with quote

Дело в том, что я думаю что у меня Gentoo перекосило, а с ebuild'ом всё впорядке. Хотя в англоязычном форуме мне посоветовали найти в ebuild'е строчку что ссылается на патч и вставить перед ней
Code:
 cd ${S}

правда я пока не попробывал и не знаю поможет ли мне это или нет
Back to top
View user's profile Send private message
ABVGD
n00b
n00b


Joined: 17 Sep 2003
Posts: 41
Location: Russia, St.-Petersburg

PostPosted: Mon Jul 26, 2004 4:45 pm    Post subject: Reply with quote

Поможет emerge sync. iptables-1.2.11-r1 продержался в портах не долго.
Back to top
View user's profile Send private message
void*main()
n00b
n00b


Joined: 21 Jul 2004
Posts: 10

PostPosted: Tue Jul 27, 2004 6:32 am    Post subject: Reply with quote

Вообщем я исправил ebuild для iptables-1.2.11-r1 и все пахает, а "emerge sync" мне было влом делать !
Глюк был в содержимом переменной
Code:
 ${S}

В ней должен быть путь к распакованным времменным файлам исходного кода iptables. Но там почему-то было не то что надо, а именно:
Code:
 ${iptables_tmp_src_path} + "iptables-1.2.11"

такой деректории нет, и патчи естественно не накладывались, не говоря уж про компиляцию и установку =))
Back to top
View user's profile Send private message
ABVGD
n00b
n00b


Joined: 17 Sep 2003
Posts: 41
Location: Russia, St.-Petersburg

PostPosted: Wed Jul 28, 2004 2:21 am    Post subject: Reply with quote

Не помню к каком именно ebuild-скрипте был другой неприятный баг. Все исполняемые файлы пакета оказывались в /usr/bin/, вместо /sbin. В итоге при перезапуске сервиса возникала ошибка и все цепочки устанавливались по умолчанию: можно все. Это, IMHO, похлеще, чем отсутсвие поддержки ipv6. Рекомендую присмотреться к тому, что и где у Вас установлено. Кажется, это был именно iptables-1.2.11-r1.
Back to top
View user's profile Send private message
void*main()
n00b
n00b


Joined: 21 Jul 2004
Posts: 10

PostPosted: Wed Jul 28, 2004 5:49 am    Post subject: Reply with quote

Мне похоже повезло, все установилось в /sbin
=)))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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