You are not logged in.

#1 2009-03-21 15:46:17

whoops
Member
Registered: 2009-03-19
Posts: 891

[SOLVED]Cant makepkg (abs) xorg-server

Hi!


For some reason I've been trying to makepkg -si /extra/xorgserver (pkgver=1.5.3)... it's not working, I don't really know what's going on. It's doing a lot of stuff for a whole while after I started it and then stops...:

make[5]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86/common'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw'
make: *** [all-recursive] Error 1
==> Error: Build failed.
    aborting ...

(I've translated the localized parts of the output to English manually just now, so the words I used might not match exactly what a standard English arch gives you wink)

I've got no idea if the part I posted is the relevant one... so where do I start to look, what do I do, how do I try to fix an error like this?

edit: maybe i should mention, that doing it the exact same way with my kernel + nvidia did work fine and I even have been able to install it using pacman + reboot after that (didn't expect that to work fine the first time i try!). Some other stuff (compiz, gnome-applets, networkmanager) did "makepkg -si" fine, too (don't know if it will work after reboot yet).


thx

Last edited by whoops (2009-03-21 23:01:37)

Offline

#2 2009-03-21 15:49:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Cant makepkg (abs) xorg-server

You'll need to go back farther in the compile history for us to help. Try to build it again and start the post from the first error line that you see.

Offline

#3 2009-03-21 16:01:29

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [SOLVED]Cant makepkg (abs) xorg-server

Those are the first errors I think I saw - still got the gnome-terminal available which shows the last 10000 lines - no errors in there or at least I didn't recognize any which could be the case because I don't know what to look for...

I just started it again with "makepkg -si | grep error" which does not seem to do what I intended it to so... any hints? Couldn't find "looking at the output"-guidelines anywhere either.


thx


edit: found something, trying something... might possibly be stupid, trying anyway... work in progress wink

Last edited by whoops (2009-03-21 17:01:30)

Offline

#4 2009-03-21 17:51:53

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [SOLVED]Cant makepkg (abs) xorg-server

OK, now I found it - was right before my eyes, but I didn't see it, because I expected errors at the beginning of a new line:

I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_XORG_CONFIG_H   -DXF86PM   -DHAVE_ACPI -march=native -O2 -pipe -MT xf86Bus.lo -MD -MP -MF .deps/xf86Bus.Tpo -c -o xf86Bus.lo xf86Bus.c
In Datei, eingefügt von xf86Init.c:60:
./../loader/loaderProcs.h:59:31: Fehler: X11/fonts/fontmod.h: Datei oder Verzeichnis nicht gefunden
In file included from xf86Init.c:60:
./../loader/loaderProcs.h:90: Fehler: expected »)« before »*« token
xf86Init.c:259: Warnung: Funktionsdeklaration ist kein Prototyp
make[5]: *** [xf86Init.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
 gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac -I./../parser -I./../vbe -I./../int10 -I./../vgahw -I./../dixmods/extmod -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -march=native -O2 -pipe -MT xf86Configure.lo -MD -MP -MF .deps/xf86Configure.Tpo -c xf86Configure.c  -fPIC -DPIC -o .libs/xf86Configure.o
 gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac -I./../parser -I./../vbe -I./../int10 -I./../vgahw -I./../dixmods/extmod -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -march=native -O2 -pipe -MT xf86Bus.lo -MD -MP -MF .deps/xf86Bus.Tpo -c xf86Bus.c  -fPIC -DPIC -o .libs/xf86Bus.o
In file included from xf86Configure.c:41:
./../loader/loaderProcs.h:59:31: error: X11/fonts/fontmod.h: No such file or directory
In file included from xf86Configure.c:41:
./../loader/loaderProcs.h:90: error: expected ')' before '*' token
xf86Bus.c: In function 'checkConflict':
xf86Bus.c:1109: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'memType'
xf86Bus.c:1109: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
xf86Bus.c:1122: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'memType'
xf86Bus.c:1122: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
xf86Bus.c: In function 'xf86AddResToList':
xf86Bus.c:1187: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'memType'
xf86Bus.c:1187: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
xf86Bus.c:1195: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'memType'
xf86Bus.c:1195: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
xf86Bus.c: In function 'xf86PrintResList':
xf86Bus.c:1271: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'memType'
xf86Bus.c:1271: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'memType'
xf86Bus.c:1271: warning: format '%lx' expects type 'long unsigned int', but argument 8 has type 'memType'
xf86Bus.c:1277: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'memType'
xf86Bus.c:1277: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'memType'
xf86Bus.c: In function 'resError':
xf86Bus.c:2001: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
xf86Bus.c:2001: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'memType'
xf86Bus.c: In function 'xf86PostProbe':
xf86Bus.c:2213: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'memType'
make[5]: *** [xf86Configure.lo] Fehler 1
xf86Bus.c: In function 'x_isSubsetOf':
xf86Bus.c:2536: warning: 'range1.b' may be used uninitialized in this function
mv -f .deps/xf86Bus.Tpo .deps/xf86Bus.Plo
make[5]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86/common'
make[4]: *** [all] Fehler 2
make[4]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86/common'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw/xfree86'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/user/abs/xorg-server/src/xorg-server-1.5.3/hw'
make: *** [all-recursive] Fehler 1

(didn't try to translate the localized parts this time, if someone could tell me how to make my "making-stuff" english again would be great)

As I read "X11/fonts/fontmod.h" somewhere I found myself a tar-download "libxfont-something" with it and started randomly distributing copies of the contained X11 folder inside home/user/abs/xorg-server/ and its subfolders which obliviously did not do anything at all.

After further "research" it looks to me, as if the version of xorg-server and libxfont that are currently in the repositories (uhm... abs-tree) are not compatible - only older libxfont install the file insite /usr/somthing/dontknow and what ever it this, only newer versions of xorg-server don't need it. Might be a wrong written PKGsomething - file with from dependencies or something.

After I came to this maybe not wrong conclusion, i decided to do a copy the libxfont & xorg-server in abs/testing and try to compile that. Sadly they need each others, and each of them the other one first (is that a circular dependency or just me stupid?) - i think I'll be trying to trick pracman into installing libxfont (which did compile with the "makepkg -d" just fine in contrary to xorg-server) with missing dependencies now and after that i can try again to compile the testing-xorg.

If everything works as I expect it to, I should have wrecked my xorg-server in about an hour an then I can reinstall the standard version using pacman and never never touch that testing folder again maybe.


Does that sound about right or does someone have a better idea? thx!

Last edited by whoops (2009-03-21 17:53:48)

Offline

#5 2009-03-21 18:07:28

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: [SOLVED]Cant makepkg (abs) xorg-server

just pass pacman the -d flag and it will ignore dependencies. *not recommended unless you are sure you are going to fix the dependencies yourself.

so for example pacman -Rd would remove a package without checking dependencies... and -Syd would install one without checking dependencies. or if updating from a local package... pacman -Ud

Last edited by ugkbunb (2009-03-21 18:07:59)

Offline

#6 2009-03-21 18:55:05

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [SOLVED]Cant makepkg (abs) xorg-server

phew, that thing lead me from one to another... mesa, nvidia,... half the testing folder wink

I somehow managed to install everything everything needs and then remove libgl again after everything was compiled, because it conflicted with. nvidia-utils (haven't restartet yet, though).

Now on "pacman -Syu" i get:

warning: mesa: local (7.3-2) is newer than extra (7.2-1)
warning: randrproto: local (1.3.0-1) is newer than extra (1.2.2-1)
warning: xf86-input-evdev: local (2.2.0-1) is newer than extra (2.1.2-1)
warning: xorg-server: local (1.6.0-1) is newer than extra (1.5.3-4)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: mesa: requires libdrm>=2.4.5

...of which the last message is a bit confusing, because I've got  libdrm-2.4.5-2-i686.pkg.tar.gz installed (and removed, and installed again using pacman).

Is there something else I should "fix" before I restart? I don't really believe that the new xorg & nvidia will work so I'll have to reinstall/downgrade both without Internet help....

Last edited by whoops (2009-03-21 18:56:28)

Offline

#7 2009-03-21 19:16:46

godane
Member
From: NH, USA
Registered: 2008-02-03
Posts: 241
Website

Re: [SOLVED]Cant makepkg (abs) xorg-server

You need testing uncomment in /etc/pacman.conf. Thats why your getting that error.


I'm working on a live cds based on Archlinux. http://godane.wordpress.com/

Offline

#8 2009-03-21 19:34:09

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [SOLVED]Cant makepkg (abs) xorg-server

Oh, thanks... and what if I don't want to update everything to testing but still want to do other "stable" updates? Will that usually work despite the error I get every time when updating and automatically continue updating xorg as soon as there's a higher version in the "stable" tree?

There should be a wiki page on "testing" (in a place where I can find it wink).

(despite everything I thought, the build/updated xorg works fine so far, btw)

Offline

Board footer

Powered by FluxBB