You are not logged in.

#1 2003-08-26 06:29:55

jlowell
Member
Registered: 2003-08-10
Posts: 270

Logs

God, I've had so many questions about Arch over the last week or two that I'm beginning to get self-conscious about it.  smile

I'm aware of the fact that logs are created when makeworld is run and I know how to find them. Are other log files created, compile logs specifically, when makepkg is run to build an individual package? If so, where can I find it?

jlowell

Offline

#2 2003-08-26 07:23:59

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: Logs

/usr/abs/makepkg.log i believe


Nkawtg...n!

Offline

#3 2003-08-26 15:53:25

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: Logs

Jagged,

makepkg.log had been my first guess, too. But from the appearance of things, makepkg.log logs the compiles generated only by makeworld. An individually compiled package, one built with makepkg doesn't seem to get logged there. There must be some kind of log for these latter packages, else how would a developer have enough information to fix a broken one. I can't find it though. sad

Regards.

jlowell

Offline

#4 2003-08-26 16:48:54

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Logs

well when a build outright fails the data is right in front of you. but when a package builds but does not execute that is likely because incorrect flags in the build script did not cause all necessary files to be installed in the package this can be often detected when using makeworld as user (not a good idea) or looking in the makefile to see how the install portion is handled.

even then it can take a long time to figure out how to patch/fix the source enough to get it to do what you want. perl packages for example are a particularily large PITA to build


AKA uknowme

I am not your friend

Offline

#5 2003-08-26 16:59:30

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: Logs

Hi Sarah!

So there is no compile log file for an package built with makepkg, then? I know some distros use them to help the developers analyze failures; didn't know about Arch.

jlowell

Offline

#6 2003-08-26 17:18:06

Toth
Member
Registered: 2002-12-04
Posts: 82

Re: Logs

there isn't, but you could redirect the output to a log file and check there.

makepkg > log 2>&1

Offline

#7 2003-08-26 19:43:29

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Logs

As Toth said, the easiest way is to redirect output yourself.  I find it handy to redirect stdout to a file, and leave stderr going to the console.  That way you collect all the gcc/make/build messages into your outfile, while still seeing makepkg's status messages on the console.

Offline

Board footer

Powered by FluxBB