You are not logged in.

#1 2004-05-03 13:50:53

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Feature request: --nocompile

Hi all,

I was wondering if it is possible to add a --nocompile or --nobuild option to makepkg. With this option it will be possible to find out about ./configure options and to adapt PKGBUILD to my liking without having to track down & extract the sources manually.

This will give more freedom to the users who want to customise packages.

Offline

#2 2004-05-03 19:56:20

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Feature request: --nocompile

^C doesn't work?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2004-05-04 05:57:45

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Feature request: --nocompile

Xentac wrote:

^C doesn't work?

Of course it does, but that is no more than a very ugly workaround imo smile

Offline

#4 2004-05-04 07:40:54

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Feature request: --nocompile

Well, makepkg is a program to build packages... isn't it an ugly work around to make it a frontend to wget?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-05-04 11:36:36

zezaz
Member
From: Bordeaux, France
Registered: 2004-04-26
Posts: 80
Website

Re: Feature request: --nocompile

Hi Xentac,

Xentac wrote:

Well, makepkg is a program to build packages... isn't it an ugly work around to make it a frontend to wget?

FreeBSD ports architects did not think so  smile  :

http://www.freebsd.org/cgi/man.cgi?quer … ormat=html

A build, or an install from sources, is conceived as iterative steps (fetch, depends, extract, patch, configure...). You may want to stop the process after one step. That could make it easier to fix a complex PKGBUILD, for example.

I do not intend to start a "X is better than archlinux because it has this shining feature"  debate smile . Just to show that one can reasonably see it as a built-in feature.

I would just think that --fetch, or even --step fetch, would be more appealing that --nocompile.

Offline

#6 2004-05-04 18:04:27

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

Re: Feature request: --nocompile

LB06 wrote:

Of course it does, but that is no more than a very ugly workaround imo smile

Well, depends on your take.  imho, the SIGINT signal was designed for that very purpose, to interrupt the currently-running process.  Might as well use what UNIX gave us, unless it's not working for someone.

Offline

#7 2004-05-04 18:54:25

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Feature request: --nocompile

Maybe, but it certainly IS convenient. Why is there a -i option? It's also possible to do a pacman -U afterwards, right? Or why is there a -b or -s option? It's also possible to manually track deps and makepkg them. Why should a --nocompile option be included imo? Yes, for our own convenience.

No, I'm not going to write it myself, I'm just doing a suggestion.

Offline

#8 2004-05-05 03:48:30

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

Re: Feature request: --nocompile

um .... what a strange suggestion. if you are running makepkg you have the url to the source already so there is no need to track down source. i personally think it is a major kludge to use makepkg to find your compiling options. when i built packages or kernels i never used makepkg as a route to finding out the configure options. makepkg is for making packages which includes compiling most of the time ..... wget or other such utilities are for downloading source.


just imo of course


AKA uknowme

I am not your friend

Offline

#9 2004-05-06 02:48:17

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

Re: Feature request: --nocompile

LB06 wrote:

Maybe, but it certainly IS convenient. Why is there a -i option? It's also possible to do a pacman -U afterwards, right? Or why is there a -b or -s option? It's also possible to manually track deps and makepkg them. Why should a --nocompile option be included imo? Yes, for our own convenience.

True.  The difference is that -i/-b/-s are there to faciliate the automation provided by makeworld, where a user may not be sitting at the PC to manually "pacman -U" each package that's built by makeworld.  You would never be automatically configuring a PKGBUILD (not in my experience anyway), so we're somewhat guaranteed that a user will be sitting at the console, ready to hit ^C.

Offline

Board footer

Powered by FluxBB