Cannot build gnome error 1

I have a new install I have done

portsnap feth and extract

when I try portmast -a or -af it stops with error 1 complaining that a file has the ignore switch
If I try to build gnome2 I get sevral errors stop in

/usr/ports/x11/gnome-desktop
/usr/ports/x11/vino
/usr/ports/x11/gnome2
 
Read /usr/ports/UPDATING

20090114:
AFFECTS: users of GNOME and GTK+
AUTHOR: gnome@FreeBSD.org

GNOME has been updated to 2.24.x. You have to deinstall a few ports first
before using portupgrade or portmaster in order to successfully upgrade
your GNOME installation. After successfully upgrade, you have to reinstall
gnome-session so the gnome.desktop session file is properly installed.

Portupgrade users:
# pkgdb -Ff
(Answer "yes" to unregister gail while keeping gtk20.)
(Answer "yes" to unregister fast-user-switch-applet while keeping gdm.)

# pkg_deinstall -fO gtkmm-2.12\*
# portupgrade -aOW
# portupgrade -f gnome-session

Portmaster users:
# pkg_delete -f gtkmm-2.12\*
# portmaster -a
# portmaster gnome-session

Or see the FAQ: http://www.freebsd.org/gnome/docs/faq224.html
 
It's not productive spending all my time fighting with BSD

I could be alrerady working on a web page designing logo's or something productive

but something won't let me put it aside and go with something else

the more it pisses me off the more I want to make it work
 
You don't have to fight with it as long as you read /usr/ports/UPDATING before updating anything. It'll contain vital clues on how to do it.
 
since it was a new install I didn't think it was installed because when I added gdm to my /etc/rc.conf and rebooted it never came up

the manuals don't always seem straight or I run into problems that arn't covered
 
If you find anything in the manuals incomplete or incorrect please submit a PR so it can be fixed. It is a community effort after all ;)
 
after uninstalling gnome and doing portmaster -a I still get

/gmime2-sharp this port is set to ignore

aborting update
 
IIRC it's not used anymore and you can safely pkg_delete it.
 
so now when I try I get a stop in

make failed /usr/ports/textproc/p5-XML-parser
update for/usr/ports/textproc/intltool failed
update for policykit-0.9._1 failed
update for gconf2-2.220_1 failed

do I need to delete these also?
 
p5-XML-parser can be a #%#$@ at times :e

Try to restart the update process.. If it fails on it again, pkg_delete only that one, then start again.
 
I did make deinstall on /usr/ports/mail/gmime2-sharp

then did portmaster -a

it said /usr/ports/x11-drivers/xf86-video-vga
===>this port is broken

so I did a deinstall on that port

and did portmaster -a again

then it said /usr/ports/x11-drivers/xf86-video-via
===>this port is marked ignore

so I did a make deinstall on that

and ran portmaster -a again

it ran for about an hour

still got the stop in /usr/ports/textproc/p5-XML-Parser

stop in /usr/ports/textproc/intltool

I then went to /usr/ports/textproc/p5-XML-Parser
and did a make deinstall

then tried portmaster gnome-session

Ran for a couple hours then got another error 1

stop in /usr/ports/textproc/p5-XML-Simple

stop in /usr/ports/x11-themes/icon-naming-utils


.......................
I guess I got to deinstall the /usr/ports/textproc/p5-XML-Simple

and try again

this is what is frustrating and it takes so long to build a port

any other OS or flavor I would have been doing productive work by now
 
I did a make deinstall /usr/ports/textproc/p5-XML-Simple

then tried again but got the exact same error
 
this time looks like p5-XML-SAX-Expat

why is this happening

was it something I did to cause all the problems? this was just a base install then port fetch and extract then portmaster -a and had failed
 
still getting the stop in /usr/ports/p5-XML-SAX-Expat

does not look like this is going to work and it has became ridiculus waste of a couple of days
 
Well I couldn't keep wasting my time

I decided to blow it away and install something that works better for me
 
If you logged the sequence of the ports
which comprise gnome which you built the last time,
you can upgrade them individually
Gnome dependencies generally change often.
So the list will have additions/subtractions.
I do it that way, not running gnome, but many gnome apps installed,
some used.
.........
in /port/ (any)
i've aliased
make run-depends-list
make build-depends-list
so they are very easy to type.
and one can
/bin/rm -rf work
make checksum-recursive
make config
make deinstall && make install

usually, if anything is problematic to
automatically update
 
ossnet said:
this is what is frustrating and it takes so long to build a port
Building from source can be time consuming, yes.

any other OS or flavor I would have been doing productive work by now
Most, if not all, linux distros use pre-build binaries. You're currently building everything from source. Which is IMO a lot better as you have more control over which options to turn on or off.

One way to set things up is to do all the building in a jail. Then you can keep working on your machine while everything gets build. Once everything is done I do a pkg_deinstall -a to remove everything and proceed to install all the packages I've build. This last step only takes about an hour or so. It also pretty much guarantees everything is build correctly.
 
yea I was under the impression istalling from ports was better so thats why I was doing it may try doinng a minimal install then updating the port tree and tring again
 
I prefer the complexity of building in another TTY to that
of jails; maybe because I've never read enough about setting
the latter up. And maybe because the RC script for the windows
manager I use ( I got it from the Web) has a neat black box
which essentially shows me
(if used with something like my "build.sh" (not its name) residing
in /usr/ports )
whether the build(s) (pre-X) has/have completed, failed,
is/are using too much CPU, is about to crash X, etc.
 
Back
Top