Всем привет.
Имеем FreeBSD 6.2-RELEASE-p9После обновления портов как обычно не посмотрел в /usr/ports/UPDATING и выполнил portupgrade -a... portupgrade ругнулся на невозможность автоматического обновления glib. Не задумываясь о том, что творю glib снес а вот поставить назад... с этим возникли проблемы...
# cd /usr/ports/devel/glib20
# make
===> glib-2.14.4 depends on executable: gmake - found
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> glib-2.14.4 depends on file: /usr/local/bin/libtool - found
===> glib-2.14.4 depends on executable: pkg-config - found
===> glib-2.14.4 depends on shared library: pcre.0 - found
===> glib-2.14.4 depends on shared library: intl - found
===> Configuring for glib-2.14.4
env: ./configure: Permission denied
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log", (b) the
output of the failed make command, and (c) the gnomelogalyzer output. Also,
it might be a good idea to provide an overview of all packages installed on
your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1Stop in /usr/ports/devel/glib20.
*** Error code 1Stop in /usr/ports/devel/glib20.
скачал предложенный файл [url]http://www.freebsd.org/gnome/gnomelogalyzer.sh[/url] и запустил:
# /yuri/./gnomelogalyzer.shGenerating build log. Please wait... done.
The cause of your build failure is not known to gnomelogalyzer.sh. Before
e-mailing the build log to the FreeBSD GNOME team at freebsd-gnome@FreeBSD.org,
TRY EACH OF THE FOLLOWING:* If you are generating your own logfile, make sure to generate it with
something similar to:
"make 2>&1 | tee /path/to/logfile" (sh/bash/ksh/zsh) or
"make |& tee /path/to/logfile" (csh/tcsh)
* Make sure your cvsup(1) configuration file specifies the 'ports-all'
collection
* Run cvsup(1) and attempt the build again
* Check /usr/ports/UPDATING for information pertinent to your build
failure
* 99% of the commonly reported build failures can be solved by
running "portupgrade -a"
* Read the FAQs at http://www.FreeBSD.org/gnome/
* Search the archives of freebsd-gnome@FreeBSD.org. Archives can be
searched at http://www.freebsd.org/gnome/index.html#searchIf you have not performed each of the above suggestions, don't bother asking
for help. The chances are good that you'll simply be told to perform one of
the aforementioned steps.Если кто нибудь знает как мне теперь поставить glib назад, помогите пожалуйста.
1. portsnap fetch update
2. portupgrade -arR
>1. portsnap fetch update
>2. portupgrade -arRк сожалению не помогло :(
# portsnap fetch update && portupgrade -arRLooking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap2.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
Stale dependency: dbus-glib-0.74 --> glib-2.14.2 -- manually run 'pkgdb -F' to fix, or specify -O to force.# pkgdb -F
---> Checking the package registry database
Stale dependency: dbus-glib-0.74 -> glib-2.14.2 (devel/glib20):
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 17867 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000........ ..... done]
Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
[Gathering depends for devel/glib20 ........... done]
---> Installing 'glib-2.14.4' from a port (devel/glib20)
---> Building '/usr/ports/devel/glib20'
===> Cleaning for glib-2.14.4
===> Vulnerability check disabled, database not found
===> Found saved configuration for glib-2.14.4
===> Extracting for glib-2.14.4
=> MD5 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
=> SHA256 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> Patching for glib-2.14.4
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> glib-2.14.4 depends on file: /usr/local/bin/libtool - found
===> Applying FreeBSD patches for glib-2.14.4
===> glib-2.14.4 depends on executable: gmake - found
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> glib-2.14.4 depends on file: /usr/local/bin/libtool - found
===> glib-2.14.4 depends on executable: pkg-config - found
===> glib-2.14.4 depends on shared library: pcre.0 - found
===> glib-2.14.4 depends on shared library: intl - found
===> Configuring for glib-2.14.4
env: ./configure: Permission denied
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log", (b) the
output of the failed make command, and (c) the gnomelogalyzer output. Also,
it might be a good idea to provide an overview of all packages installed on
your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1Stop in /usr/ports/devel/glib20.
*** Error code 1Stop in /usr/ports/devel/glib20.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.34636.0 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! devel/glib20 (permission denied)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Command failed [exit code 1]: /usr/local/sbin/portinstall devel/glib20
# cd /usr/ports/devel/glib20 && wget http://www.freebsd.org/gnome/gnomelogalyzer.sh && chmod 700 gnomelogalyzer.sh && ./gnomelogalyzer.sh--13:50:13-- http://www.freebsd.org/gnome/gnomelogalyzer.sh
=> `gnomelogalyzer.sh'
Resolving www.freebsd.org... 69.147.83.33, 2001:4f8:fff6::21
Connecting to www.freebsd.org|69.147.83.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7,870 (7.7K) [application/octet-stream]100%[=================================================================================================================>] 7,870 4.63K/s
13:50:15 (4.63 KB/s) - `gnomelogalyzer.sh' saved [7870/7870]
Generating build log. Please wait... done.The cause of your build failure is not known to gnomelogalyzer.sh. Before
e-mailing the build log to the FreeBSD GNOME team at freebsd-gnome@FreeBSD.org,
TRY EACH OF THE FOLLOWING:* If you are generating your own logfile, make sure to generate it with
something similar to:
"make 2>&1 | tee /path/to/logfile" (sh/bash/ksh/zsh) or
"make |& tee /path/to/logfile" (csh/tcsh)
* Make sure your cvsup(1) configuration file specifies the 'ports-all'
collection
* Run cvsup(1) and attempt the build again
* Check /usr/ports/UPDATING for information pertinent to your build
failure
* 99% of the commonly reported build failures can be solved by
running "portupgrade -a"
* Read the FAQs at http://www.FreeBSD.org/gnome/
* Search the archives of freebsd-gnome@FreeBSD.org. Archives can be
searched at http://www.freebsd.org/gnome/index.html#searchIf you have not performed each of the above suggestions, don't bother asking
for help. The chances are good that you'll simply be told to perform one of
the aforementioned steps.Может есть еще варианты?
А через pkg_add ?
>А через pkg_add ?Не путайте человека.
>>А через pkg_add ?
>
>Не путайте человека.Ну помочь же хочется :)
# pkg_add glib-2.14.4
Он собирает из портов, а не пакетов. И правильно делает.
>Он собирает из портов, а не пакетов. И правильно делает.если оно не собирается - пусть хоть так. обновить потом ничего не мешает !!!
Мне жаль вашего работодателя
Меня беспокоит вот это: "env: ./configure: Permission denied" Под каким пользователем работаете?
>Меня беспокоит вот это: "env: ./configure: Permission denied" Под каким пользователем работаете?
>Из под рута.
p.s.
По рекомендации одного умного человека попробовал еще раз обновить порты, результат тот же.p.p.s.
Честно говоря к пакаджам прибегать не хочется, но думаю что скорее всего придется, ибо работа стоит уже 5 часов, а сделать нужно завтра к вечеру.
which env
ls -la полный_путь
>which env
>ls -la полный_путь# which env
/usr/bin/env# ls -la /usr/bin/env
-r-xr-xr-x 1 root wheel 8672 Nov 15 20:08 /usr/bin/env
Что у вас использует glib2?pkg_info -R glib-2\*
cd /usr/ports/devel/glib20
make clean
make install
А так же:cat /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log
pkgdb -aF
pkg_info -R glib-2\*
# pkg_info -R glib-2\*pkg_info: can't find package 'glib-2*' installed or in a file!
cd /usr/ports/devel/glib20 && make clean && make install
# cd /usr/ports/devel/glib20 && make clean && make install===> Cleaning for glib-2.14.4
===> Vulnerability check disabled, database not found
===> Found saved configuration for glib-2.14.4
===> Extracting for glib-2.14.4
=> MD5 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
=> SHA256 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> Patching for glib-2.14.4
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> glib-2.14.4 depends on file: /usr/local/bin/libtool - found
===> Applying FreeBSD patches for glib-2.14.4
===> glib-2.14.4 depends on executable: gmake - found
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found
===> glib-2.14.4 depends on file: /usr/local/bin/libtool - found
===> glib-2.14.4 depends on executable: pkg-config - found
===> glib-2.14.4 depends on shared library: pcre.0 - found
===> glib-2.14.4 depends on shared library: intl - found
===> Configuring for glib-2.14.4
env: ./configure: Permission denied
===> Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log", (b) the
output of the failed make command, and (c) the gnomelogalyzer output. Also,
it might be a good idea to provide an overview of all packages installed on
your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1Stop in /usr/ports/devel/glib20.
*** Error code 1Stop in /usr/ports/devel/glib20.
cat /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log
# cat /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.logcat: /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4/config.log: No such file or directory
pkgdb -aF
# pkgdb -aF---> Checking the package registry database
Stale dependency: dbus-glib-0.74 -> glib-2.14.2 (devel/glib20):
Skipped. (running in non-interactive mode; specify -i to ask)
Stale dependency: hal-0.5.8.20070909 -> glib-2.14.2 (devel/glib20):
Skipped. (running in non-interactive mode; specify -i to ask)
Stale dependency: mc-4.6.1_6 -> glib-2.14.2 (devel/glib20):
Skipped. (running in non-interactive mode; specify -i to ask)
Stale dependency: policykit-0.1.20060514_4 -> glib-2.14.2 (devel/glib20):
Skipped. (running in non-interactive mode; specify -i to ask)
Stale dependency: xorg-server-1.4_3,1 -> glib-2.14.2 (devel/glib20):
Skipped. (running in non-interactive mode; specify -i to ask)Кажется это безвыходная ситуация... :(
Значится так:# cd /usr/ports/devel/glib20
# rm /usr/ports/distfiles/gnome2/glib-2.14.2.tar.bz2
# make clean
# make extract
# cd work/glib-2.14.2
# ./configure
начал выполнять...
# cd /usr/ports/devel/glib20
# rm /usr/ports/distfiles/gnome2/glib-2.14.2.tar.bz2
# make clean===> Cleaning for glib-2.14.4
# make extract
===> Vulnerability check disabled, database not found
===> Found saved configuration for glib-2.14.4
===> Extracting for glib-2.14.4
=> MD5 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
=> SHA256 Checksum OK for gnome2/glib-2.14.4.tar.bz2.
===> glib-2.14.4 depends on file: /usr/local/bin/perl5.8.8 - found# cd work/glib-2.14.2
work/glib-2.14.2: No such file or directory
# ls -la
total 80
drwxr-xr-x 3 root wheel 512 Dec 26 16:18 .
drwxr-xr-x 2338 root wheel 52736 Dec 26 14:14 ..
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Applying
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Cleaning
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Configuring
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Extracting
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Found
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 MD5
-rw-r--r-- 1 root wheel 2312 Dec 12 02:08 Makefile
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Patching
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 SHA256
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Script
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Vulnerability
-rw-r--r-- 1 root wheel 215 Dec 12 02:08 distinfo
drwxr-xr-x 2 root wheel 512 Dec 26 12:53 files
-rw-r--r-- 1 root wheel 0 Dec 26 16:18 glib-2.14.4
-rwx------ 1 root wheel 7870 Dec 26 13:50 gnomelogalyzer.sh
-rw-r--r-- 1 root wheel 231 Apr 5 2004 pkg-descr
-rw-r--r-- 1 root wheel 7724 Oct 25 03:35 pkg-plist# ls /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4
AUTHORS acinclude.m4 gmodule-2.0.pc.in
COPYING aclocal.m4 gmodule-export-2.0.pc.in
ChangeLog autogen.sh gmodule-no-export-2.0-uninstalled.pc.in
ChangeLog.pre-1-2 build gmodule-no-export-2.0.pc.in
ChangeLog.pre-2-0 compile gobject
ChangeLog.pre-2-10 config.guess gobject-2.0-uninstalled.pc.in
ChangeLog.pre-2-12 config.h.in gobject-2.0.pc.in
ChangeLog.pre-2-2 config.h.win32 gthread
ChangeLog.pre-2-4 config.h.win32.in gthread-2.0-uninstalled.pc.in
ChangeLog.pre-2-6 config.sub gthread-2.0.pc.in
ChangeLog.pre-2-8 configure gtk-doc.make
HACKING configure.in install-sh
INSTALL depcomp ltmain.sh
INSTALL.in docs m4macros
MAINTAINERS glib makefile.msc
Makefile.am glib-2.0-uninstalled.pc.in missing
Makefile.in glib-2.0.pc.in mkinstalldirs
NEWS glib-gettextize.in msvc_recommended_pragmas.h
NEWS.pre-1-3 glib-zip.in po
README glibconfig.h.win32 sanity_check
README.in glibconfig.h.win32.in tests
README.win32 gmodule
acglib.m4 gmodule-2.0-uninstalled.pc.in# cd /tmp/port_wrk/usr/ports/devel/glib20/work/glib-2.14.4
# ./configure./configure: Permission denied.
# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad1s1b none swap sw 0 0
/dev/ad1s1a / ufs rw 1 1
/dev/ad1s1d /tmp ufs rw,noexec 2 2
/dev/ad0s1d /usr ufs rw 2 2
/dev/ad1s1f /usr/home ufs rw,noexec,nodev,nosuid 2 2
/dev/ad1s1e /var ufs rw,noexec,nodev 2 2
/dev/acd0 /cdrom cd9660 ro,noauto# umount /tmp
umount: unmount of /tmp failed: Device busyблин... у меня нет физического доступа к машине, появится только после НГ :(
жесть... если верить результатам которые выдал гугль, НИКТО и НИКОГДА подобную проблему решить так и не смог.на всякий случай начал готовить пути к отступлению, залез на freebsd.org в поисках пакаджа... его там нет... финишь...
Я ошибся:cd /usr/ports/devel/glib20/work/glib-2.14.4
./configure
и заодноwhoami
Мне Помогло:
# cd /usr/ports/devel/glib20/# make clean
# make install>Я ошибся:
>cd /usr/ports/devel/glib20/work/glib-2.14.4
>./configure
>и заодно
>whoami
SubGunОгромное Вам человеческое спасибо!
Вы заставили думать и навели на верную мысль, все заработало после того как снял noexec с /tmpp.s.
завтра мне 3,14здец за то что рабочий сервак перезагрузил, да и хрен с ним.
Не за что.
Скажете, что обновления безопасности накатывали. :)
>Не за что.
>Скажете, что обновления безопасности накатывали. :)Можно, только я обязан об этом уведомлять за сутки :)
Пофигу, главное теперь все бегает.
>[оверквотинг удален]
>-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Patching
>-rw-r--r-- 1 root wheel 0 Dec 26 16:18 SHA256
>-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Script
>-rw-r--r-- 1 root wheel 0 Dec 26 16:18 Vulnerability
>-rw-r--r-- 1 root wheel 215 Dec 12 02:08 distinfo
>drwxr-xr-x 2 root wheel 512 Dec 26 12:53 files
>-rw-r--r-- 1 root wheel 0 Dec 26 16:18 glib-2.14.4
>-rwx------ 1 root wheel 7870 Dec 26 13:50 gnomelogalyzer.sh
>-rw-r--r-- 1 root wheel 231 Apr 5 2004 pkg-descr
>-rw-r--r-- 1 root wheel 7724 Oct 25 03:35 pkg-plistЭто что, в директории порта? Откуда такая помойка?
Для начала rm -rf /usr/ports/* && portsnap fetch extract># ./configure
>./configure: Permission denied.Ну так для начала:
ls -l configure
head -1 configure
sh configure
Я почти 7 часов проблему искал, у меня такой бардак теперь везде :)
завтра почищу, а сейчас пойду пить пиво за здоровье SubGun