More patches, this time to makepkg.
Makepkg needs extensibility.
What sort of extensibility, you ask?
Anything that automates a common task when building packages.
Examples:
Checking sources out of CVS
Applying patches
Doing build activites that are common to a particular set of software (example: the necessary environment initialization which must precede any GNUstep builds)
Should we keep adding stuff to makepkg, and bloat it up? No.
Makepkg needs a pre-build stage.
I see more and more PKGBUILDs where a lot of what goes on in build() has nothing to do with building. Or installing, for that matter. Patching files... checking files out of CVS, etc. "makepkg -o" (another patch of mine) is useless for a lot of packages if the files are being obtained by some method other than ftp or http. Likewise, it's useless if they're going to be heavily patched before they're useable. A packager should be able to type "makepkg -o" and be presented with the source tree exactly as it will be before actual configuration/building begins.
Certain makepkg functions need to be separated from makepkg itself.
The specific examples I have in mind are warn, msg, and error. Why those three? Well, I see plenty of postinstall scripts that kludgily do something like the following:
echo "==> You now need to GNU your linux"
echo "==> Knock on Stallman's door three times"
echo "==> Yell 'freedom'"
Likewise, some packages install an installer that can be used later.
Having functions like warn, msg, and error in a separate file means that a script can simply source that file and, as a result, be able to display messages in the same manner as makepkg does during a build, thus resulting in consistency and saved time.
Now I could sit and whine, but that's pointless..
Here is how my system looks right now:
/etc/makepkg.d
-> functions <-- Contains warn, error, msg, and strip_url
-> patch <-- Contains routines to automate patching
-> cvs <-- Contains routines to automate CVS checkouts
And here's an example PKGBUILD that takes advantage of all this new loveliness:
pkgname=libxentac-cvs
pkgver=20040806
pkgrel=2
pkgdesc="A library which turns any computer into Canada"
depends=(libbritain libfrance)
source=(make-the-tragically-hip-sound-good.diff.gz international-relevance.patch.bz2)
md5sums=('e117f30d93856e0517ef0b2a5dcea383' 'e7169ccd28f81dbfca44add973d7d7eb')
patch=(make-the-tragically-hip-sound-good.diff international-relevance.patch)
cvsroot=":ext:[email protected]:/cvsroot/xentac"
cvsmod="libxentac"
cvsrsh="ssh"
prebuild() {
include cvs
include patch
sed -i s/foo/bar/ $startdir/src/$cvsmod/Makefile.in
build() {
cd $startdir/src/$cvsmod
./configure --enable-lots-of-wheat --density=minimal
make || return 1
make DESTDIR=$startdir/pkg || return 1
And here's what running 'makepkg -o' might look like:
==> Entering fakeroot environment
==> Making package: libxentac-cvs (Mon Sep 6 03:36:56 CDT 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with MD5sums
==> Extracting Sources...
==> Preparing for checkout over SSH...
==> Fetching sources from CVS...
==> Applying make-the-tragically-hip-sound-good.diff at level 2...
patching file libxentac/src/hearing.c
patching file libxentac/src/taste.c
==> Applying international-relevance.patch at level 0...
patching file libxentac/src/telling-the-us-where-to-shove-it.c
==> Sources are ready.
Now I kid, I kid
I like Canada, the Tragically Hip, and Herr Doktor Chustick.
But the point remains. Those are some cool features, no?
I'm going to do some touch-up work on these, make a nice big diff, and post it up somewhere. Stay tuned :!:
Sarah, I know we are frequently at odds but I will try to explain myself on this.
I think you misunderstand the main purposes of these additions to makepkg, as well as the nature of the additions itself.
First of all, the biggest change is making makepkg extensible. This can only be a good thing. There is lots of code duplication between PKGBUILDs, and having the ability to consolidate certain tasks into a single makepkg addition is good. My inspiration for this particular change was Portage which allows packagers to create "classes" and have ebuilds inherit from them; I think that's a bit much, but just extensibility as a feature in itself is a good goal.
Second, you need to look beyond whether something is good for packages that go in current/extra. One of the beauties of ABS is that it makes the package building process so simple that the average user is encouraged to package everything they install, instead of just installing it willy-nilly over their file system. ABS is not just a way for people to produce publically-distributable or core-repository-worthy packages; it is a way for them to make sure that their customization of their own system results in something maintainable for years to come. Adding things like a prebuild stage, and a "--pkg-only" target let users be lazier with PKGBUILDs that they make for themselves, and thus can only be a good thing for the casual packager-for-one's-own-system. As of right now, makepkg basically requires that a PKGBUILD be perfect before you can build a proper package; if something messes up during the build stage of a particularly messy build, you're forced to start over from scratch. When this involves CVS checkouts (once again, something many people will want to package for themselves, regardless of whether they belong in current/extra), you are not only wasting time but the bandwidth of the cvs server if you must check out again as you keep improving your PKGBUILD. That is a bad thing. Likewise with -pkg-only, the user doesn't even need his PKGBUILD to be correct at all... he can configure and build the software himself, then stage it into the destroot himself, and then have makepkg package it up into an installable package. I would hope nobody who makes packages for inclusion in any Arch repository does this, but I am lazy, most people are lazy, and I see no reason why makepkg shouldn't accomodate laziness. One of the biggest mistakes of overly-complicated systems like RPM or dpkg is that they make package building a voodoo art, since they focus on packages as solely a distributable thing. I think the pragmatist realizes that most packaging, at least with a simple as system as abs, is for one's own self, and why not make it simpler for them? What flies for my own system obviously doesn't fly for [current], but it should fly nonetheless
Praise Bob.
@@@@@@@^^~~~~~~~~~~~~~~~~~~~~^^@@@@@@@@
@@@@@@^ ~^ @ @@ @ @ @ I ~^@@@@@@
@@@@@ ~ ~~ ~I @@@@@
@@@@' ' _,w@< @@@@
@@@@ @@@@@@@@w___,w@@@@@@@@ @ @@@
@@@@ @@@@@@@@@@@@@@@@@@@@@@ I @@@
@@@@ @@@@@@@@@@@@@@@@@@@@*@[ i @@@
@@@@ @@@@@@@@@@@@@@@@@@@@[][ | ]@@@
@@@@ ~_,,_ ~@@@@@@@~ ____~ @ @@@
@@@@ _~ , , `@@@~ _ _`@ ]L J@@@
@@@@ , @@w@ww+ @@@ww``,,@w@ ][ @@@@
@@@@, @@@@www@@@ @@@@@@@ww@@@@@[ @@@@
@@@@@_|| @@@@@@P' @@P@@@@@@@@@@@[|c@@@@
@@@@@@w| '@@P~ P]@@@-~, ~Y@@^'],@@@@@@
@@@@@@@[ _ _J@@Tk ]]@@@@@@
@@@@@@@@,@ @@, c,,,,,,,y ,w@@[ ,@@@@@@@
@@@@@@@@@ i @w ====--_@@@@@ @@@@@@@@
@@@@@@@@@@`,P~ _ ~^^^^Y@@@@@ @@@@@@@@@
@@@@^^=^@@^ ^' ,ww,w@@@@@ _@@@@@@@@@@
@@@_xJ~ ~ , @@@@@@@P~_@@@@@@@@@@@@
@@ @, ,@@@,_____ _,J@@@@@@@@@@@@@
@@L `' ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Similar Messages
-
What is this? "The streaming server cannot accept any more connections at this time."
I just tried to start iTunes, and got this error message instead of a song: "The streaming server cannot accept any more connections at this time." I've never encountered this before. I guess I should be glad I'm not one of those people who got rid of their records and CDs.
Such a message generally means that there's a problem with the streaming server, not with iTunes or with your computer. It may well be that the station you're trying to connect to is just popular and is reaching the limits of the number of users it will allow.
-
The streaming server cannot accept any more connectionections at this time.
When I try to play a radio station with iTunes, a window pops up wiht the iTunes error message: "The streaming server cannot accept any more connecitons at this time."
I've restarted my computer. Still get the error message.
I've dumped all of my internet temporary memory. Still get the error message.
Can someone help?
Vaio Laptop Windows Vista iTunes v7.3Such a message generally means that there's a problem with the streaming server, not with iTunes or with your computer. It may well be that the station you're trying to connect to is just popular and is reaching the limits of the number of users it will allow.
-
The streaming server cannot accept any more connections at this time.
Happens when trying to play music and since upgrading to Lion.
Help : )Such a message generally means that there's a problem with the streaming server, not with iTunes or with your computer. It may well be that the station you're trying to connect to is just popular and is reaching the limits of the number of users it will allow.
-
Since I upgraded to Adobe Created Cloud, my photo editing processes are taking more than 10 times longer than they used to. Why would this be?
You will likely get better program help in a program forum
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
15 minutes ago I purchased the perfect browser. I'm not experienced with computers and it's more that if can handle at this time. What are the steps I need to do.
It's a browser from App Store. " the perfect browser ". I couldn't find any information for refunds . I'm just learning about ios7 and it's well above my level.at this time
-
Slide to unlock doesn't work happend more than 8 time every time i had to restart my phone, Please can you tell me how to fix this bug .
iPhone 5, iOS 7.0.4Backup and restore your software via iTunes. If the problem continues, restore as a NEW device. If this solves it, that means there is some corruption in your backup file. If the problem is still there, you should take it to the Genius Bar at an Apple Store for evaluation.
-
My imac on OS 10.5.8 is showing near 100% processor usage most of the time. It appeasrs that process SystemUIServer is the culprit using 70% or more of processor time. What does anyone think is causing this ?
What is the purpose of the UIServer module ?
Is there a good place to learn about the OS modules ?Useful information from BDAqua in this thread:
https://discussions.apple.com/message/22676167#22676167 -
I always update my iPad without any problem , but this time it didn't work out . My iPad 4 is still downloading from yesterday and I can not meanwhile open any website or any mail . Can you tell me what went wrong ??
Try reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
Send the email to myself with 4 pictures for more than 100 times --- i didn't do this
one of my colleages send an email to [email protected], and cc the email to me.
and my blackberry send the email with 4 pictures in my camera folder to me and joegmail.com for more than 50 times a day.
Why does it happen? and what should i do for that. please help.one of my colleages send an email to [email protected], and cc the email to me.
and my blackberry send the email with 4 pictures in my camera folder to me and joegmail.com for more than 50 times a day.
Why does it happen? and what should i do for that. please help. -
Cannot update payment info. This happened more than 6 times already.
I am able to make purchase for few times. And then suddenly, iTunes start block from make any purchase. I did tried re-sign in again and it is able to react properly. Not sure what is going on. It happened to me more than 6 times already. Every time I called to iTunes support and it's solve immediately. Not sure if any preventive action can be done.
It is a phishing attempt to get your Apple ID and Password.
You should forward it to Apple : [email protected] -
After a couple of years of trouble free operation, one of the lists in our SharePoint Foundation site suddenly (overnight) started presenting the error against Datasheet views on lists.
The view returns a large number of items when working correctly c.6K - however Throttling Settings have been adjusted accordingly some time ago without detrimental affect on SharePoint users and network in general. As admin and therefore throttling at 20k
items the error message still presents.
The view was working fine at 4:30pm Wednesday 27/3, but was returning the error at 8:30am the next morning. To my knowledge very few items (if any) had been added to the list between those times and no system level changes had been made (SharePoint,
SQL Express, or virtual Windows 2008R2 server).
The problem is most apparent on 2 lists in SharePoint. I've checked that the settings within SharePoint admin are set to deal with queries that should accommodate the
number of rows that are returned by the views associated with that list. It is still possible to create new items to the list and access data via 'standard views' that are presented with groups that are collapsed.
Items in Documents Libraries on other parts of SharePoint and within the same subsite can be accessed at what feels like pretty normal speed -though small query size
may mean the problem is masked to a large extent.
More Specific
The lists still open in Standard View -though much more slowly than was the case before the above error started to present.
List Details
Referrals Tracker (10,442 items) -the list was 10,420 something items on Wednesday when all was working fine.
LD Tracker (4,390 items)
Both lists have grown incrementally over the period of a couple of years rather than by adding a block of data to the list. Items are added/ updated one at a time using the associated
form or directly into cells within a datasheet view.
That it is also experienced against the smaller list suggests to me that the number of items in the Referrals Tracker is not the main factor here.
In attempting to resolve the issue I have managed to get datasheet views working that deliver 100 items and c2k items. Both views present much more slowly than we would normally expect.
Throttling Settings
List view limit - 12K items - has been this high for some time without damaging SharePoint performance across the company.
Actions Taken So Far (no improved performance seen)
The SharePoint Foundation WSS Content DB did was closer to the 10GB SQL Express limit earlier this month, however a clear down and rationalisation of versioning settings
was undertaken to ensure that did not become a problem going forward.
We did a Shrink on Thursday (the day the issue started presenting) to rationalise whitespace as all indicators were that this was where the problem may lie, but this has
not resolved the problem.
The WSS Content DB now sits at c5.5GB.
What I Need to Know
1) I'd like to understand what is causing the problem?
2) What the fix is? or,
3) How I might go about diagnosing the problem further to arrive at a fix.
With all the above, I'm part wondering if the problem is related to the virtual server or poss SQL Express related rather than being a 100% SharePoint issue?Hi
afearn,
More often this is related to columns which are not editable by user, some columns are not editable in datasheet view. Please check if there is any new column addition and then you started getting this issue.
Also datasheet view displays all items on same page so definitely it takes little long time then load in standard view.
Let us know your results, thanks
Regards,
Pratik Vyas | SharePoint Consultant |
http://sharepointpratik.blogspot.com
Posting is provided AS IS with no warranties, and confers no rights
Please remember to click Mark As Answer if a post solves your problem or
Vote As Helpful if it was useful. -
Unable to log in to the user account [username] at this time
My Powerbook G4 is running Mac OS X 10.4.11
Processor: 1.5 GHz PowerPC G4
Memory: 768 MB DDR SDRAM
Startup Disk Macintosh HD
Serial # 4H511OAJRJ5
Capacity 74.4 GB
Available: 2.3 GB
My problems began when I had a warning message that read something like, “your startup disk is getting full. Delete some files”
Around the same time my battery was showing signs of being spent (wouldn’t take a full charge) and would shutdown my powerbook in the middle of operation. I replaced the battery within 12 hours, rebooted, and everything seemed normal; I could log in and access all programs, files, photos, music, etc. The error message reappeared to deletes some files. I ran TechTool Deluxes and it suggested repairing my Volume Directory. There were a few suggestions in green and one in red. I accepted the ones in green and made the changes. It reopened TechTool and ran again, this time everything showed up as a “red” (drastic) directory change. I did not accept. I shut down. I rebooted, and that is when my heart sank.
My account log in screen appeared (I have my master account and a “test” account available) and I entered my log in password. After several moments, the message “You are unable to log in to the user account [username] at this time.” I can log in to my “test” account but I have not been able to access any of my files from that account. Also, my Test account appears to be running Panther instead of Tiger; could that be? Anyway, I read some similar problem posts here and was hopeful that DiskWarrior could help restore me. I purchased and ran it successfully (at least DiskWarrior said it was a success) but I still have the same results.
I tried to access both my caches folder and my Desktop folder from my “test” account, but these are the error messages I received:
The folder “Caches” could not be opened because you do not have sufficient access privileges.
The folder “Desktop” could not be opened because you do not have sufficient access privileges.
I was shocked to see my Available space was only 2.5 GB. I don’t know how that can be right.
I’m open to anything to retrieve my files – Any suggestions?Around the same time my battery was showing signs of being spent (wouldn’t take a full charge) and would shutdown my powerbook in the middle of operation. I replaced the battery within 12 hours, rebooted, and everything seemed normal; I could log in and access all programs, files, photos, music, etc. The error message reappeared to deletes some files.
You need to delete some file not try to repair the disk volume. but anyway...
I ran TechTool Deluxes and it suggested repairing my Volume Directory. There were a few suggestions in green and one in red. I accepted the ones in green and made the changes. It reopened TechTool and ran again, this time everything showed up as a “red” (drastic) directory change. I did not accept. I shut down. I rebooted, and that is when my heart sank.
You need to develop a full backup plan. Get an external hd and backup to it.
My account log in screen appeared (I have my master account and a “test” account available) and I entered my log in password. After several moments, the message “You are unable to log in to the user account [username] at this time.”
Would you be using filevault? Which would mean you need more space.
I can log in to my “test” account but I have not been able to access any of my files from that account. Also, my Test account appears to be running Panther instead of Tiger; could that be?
Doubtful. What does apple > about this mac say?
Anyway, I read some similar problem posts here and was hopeful that DiskWarrior could help restore me. I purchased and ran it successfully (at least DiskWarrior said it was a success) but I still have the same results.
I tried to access both my caches folder and my Desktop folder from my “test” account, but these are the error messages I received:
The folder “Caches” could not be opened because you do not have sufficient access privileges.
The folder “Desktop” could not be opened because you do not have sufficient access privileges.
Which desktop folder? these are normal messages.
I was shocked to see my Available space was only 2.5 GB. I don’t know how that can be right.
Why?
I’m open to anything to retrieve my files – Any suggestions?
I buy an external disk with both fireware & usb and use carbon copy cloner to duplicate you hd.
run batcmd from an admin account to let you change permissions.
From an administrator account enable root & be careful. This will let you look at any file on the system & delete everything!!!
Get a new admin id.
"BatChmod is a Cocoa utility for manipulating file and folder privileges in Mac OS X. It allows the manipulation of ownership as well as the privileges associated to the Owner, Group or others."
http://www.macchampion.com/arbysoft/Welcome.html
As an aside, I just noticed that the button to "apply to all enclosed items' is greyed out. I started checking other folders and best I can tell, all folders on my startup volume will not allow me to apply any permission changes to all enclosed items. Think this might have something to do with the alias issue?
I noticed that my "apply to all enclosed items' button is greyed out too. I use BatChmod fps instead.
Get the Mac to set up an additional administrative account. You can then change the password on your old account.
Start with your computer power off. Hold down command-s. Power on your computer.
Type in the following:
The first two commands will depend on your release of Mac OS X. Look at what is typed out in the console to determine the exact format.
# Type the follow two instructions to access the startup disk in read/write. Press return after each command.
/sbin/fsck -fy
/sbin/mount -uw /
cd /var/db
pwd
#List all files. The l is a lower case L.
ls -a
#The move command acts as a rename command in this format.
mv -i .applesetupdone .applesetupdone.old
reboot
Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!
Limnos adds detailed explainations:
http://discussions.apple.com/message.jspa?messageID=8441597#8441597
The above the idea came from a post by JoseAranda at September 9, 2006 3:48 AM
http://www.askdavetaylor.com/howdo_i_reset_my_mac_os_x_admin_rootpassword.html
You will need to scroll down to see this post. Search for applesetupdone
Or see:
http://superpixel.ch/articles/running-setup-assistant-again/
Once you have a new administrative account, you can change the password of your old administrative account
blue apple > System Preferences > Accounts -
Hi technical support Team of Apple I am sorry but this time I am very disappointed with IPhone and IOS 7.1, actually I have IPhone 5,5S both and I was trying to Restore my Phone for sell Because I want to by IPhone 64 Gold but unfortunately both phone stuck on recovery mode with error 1, and 3
I got Error 3 on IPhone 5 and error 1 In IPhone 5s , I did lot of try as I can my level best , like Update iTunes, stop all security, change cable even change computer format my laptop and install everything fresh in window I did try to with Mac of my friend,
Change Internet connections try with DFU mode, Make DFU file Also with redsnow everything I did
Whatever on internet information like go to cmd and run as administrator to make change hosts file
Like ipconfig/flushdns everything everything what I can…. but I dint get good results and good information about this error
Somebody told me this is hardware problem, I make change my battery and charging connector too.
I don’t know what to do next.. because I don’t leave any experiment on my stuck phone..
Note : one is big issue that apple support team is also and giving good answer
I am in Saudi Arabia so I don’t have any nearest store of Apple.. even Saudi Is Big Consumer of IPhone
Its Really Bad its big Loss of Money I can’t afford more , Now will not Buy Any IPhone in future if I don’t get solution..
Thank You..What the **** is this taht you will not provide any service due to just a bit jailbreak..
we are not much tecnical person.. and mostly consumer dont have good idea about Jailbreak. make your device much better secure from hacker and jailbreak please we cant afford much money please give me any solution i ll not do jailbreak again please -
was making the update for my iphone 4s . then he stops. My phone in this time is in the recovery mode and do not take the firmware to open my phone, please can u help me to recover my phone. My current ios 6.0.1. plese send me some thing that is useful
Thanks for that 'sberman' - because my iPhone is backed-up to my work computer (only at this stage) I have had to call our IT Department in Adleaide. (4 times this morning). The last guy managed to get the phone into 'DFU Mode' - no more recovery mode screen - (kind of 'asleep' perhaps) from my understanding of same. I am awaiting a call again from IT so they can get my computer to actually recognise my iPhone on the C Drive. This also happened to one of my colleagues in Newman (WA). She got so frustrated with the whole process that she bought another phone the next time she was in 'civilisation.' She hasn't had any problems since. (Cross fingers).
Thanks again, Sandra2474.
Maybe you are looking for
-
ISSUES OCCUR WITH COMPUTER STABILITY (INTERNET BROWSER, EXPLORER WINDOW, ECT UNRESPONSIVE) ALL PROCESSOR CORES ARE AT 100% WHEN EXPORTING MEDIA IN PREMIERE PRO/AFTER EFFECTS CC. IS THERE A SOLUTION TO IMPROVE COMPUTER STABILITY? Operating System: Win
-
Getting bean's fields null even though before returning fields are not null
Hi All, I have run into this weird problem. I am using sun ri 1.1_01 implementation. I having problem getting field values from a bean on the jsp page. From my first page I click on a button and it goes to the action method in the managed bean. In th
-
Cisco Prime Infra 1.2 Web server
Hello, I have installed a version of Cisco Prime Infrastructure 1.2.11 with a kickstart .ova file on my production network. Everything goes fine and I follow the instructions for installation ; i can ping my Cisco PI server and ssh into it as admin.
-
I'm trying to deal with the side-effects of corruption from a bad disk. The disk has been replaced and an archive and install done on the computer. I'm now trying to fix iPhoto (6.0.6). When I launch it it crashes after about 10 seconds. I've done al
-
Hi gurus, Do you know any FM or similar to obtain transactions that have assigned to a profile?? It will be similar to obtain values from object S_TCODE of a profile. I need this FM because I cannot use table AGR_TCODES. Regards, Pablo