LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-30-2019, 02:56 PM   #1
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Rep: Reputation: 12
What happened?


I feel an urge to change hobby.,

I have been working with arm-linux-gnueabihf-pkg-config file.
Yesterday I changed the "sh" to "bash".

I have been working with my own copy of "configure_xxx" script, it WAS peppered with debugging "echoes" etc.

TODAY my current "configure_429" HAS NO echoes, printf etc.
TODAY the arm-linux-gnueabihf-pkg-config file is "sh" and barely one page long instead of over 5 pages.

What is happening ?
And no I am not making it up!
The arm-linux-gnueabihf-pkg-config lost ALL system environment variables I have added to it! The "configure_xxx" no longer works due to the lack of these variables!




I have never figured out where the arm-linux-gnueabihf-pkg-config file came from, but seriously - what could or who would make such drastic changes without users knowledge?

That is my qustion to the forum to ponder on.
 
Old 04-30-2019, 03:45 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
this one ---> here

or
Package "pkg-config-arm-linux-gnueabihf"

Last edited by BW-userx; 04-30-2019 at 03:46 PM.
 
Old 04-30-2019, 04:14 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
You lost your work, either by accident, inadvertent action, or if there was some sort of git fetch action which occurred and thus overwrote your working copy.

If your editor keeps backup files, then perhaps you can recover your last version.
 
Old 04-30-2019, 06:15 PM   #4
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by BW-userx View Post
You are mixing "package" and the "configure" script architecture "wrapper".
Yes, I was using both wrappers - the unknown origin one and the one from RPI.
The one on my PC now resembles NEITHER one.

I use nano with -B option so I can recover my work,still like to know how can a file "accidentally" change contents.
I can buy intentionally or accidentally deleting the file, but this one is totally new.
 
Old 04-30-2019, 06:39 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
that is a strange sounding phenomena indeed. Where did you keep it? it can be retrieved, or you stuck having to redo everything?
 
Old 04-30-2019, 07:09 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by BW-userx View Post
That's what I thought of ...an update had occurred and overwrote the manual changes the OP had made.
 
Old 04-30-2019, 08:51 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by scasey View Post
That's what I thought of ...an update had occurred and overwrote the manual changes the OP had made.
That's why I was wondering where OP kept the file. With anything that is update able, if one makes manual changes to "software" then they need to pull it away and put it somewhere safe, and, or no longer update it via normal means. For that reason alone.
 
Old 05-01-2019, 06:20 AM   #8
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
The "wrapper " -setting additional environment variables and then executing pkg_config

is in /usr/bin/arm-linux-gnueabihf-pkg-config.

And as I have been saying - I have no idea where it came from.

Yes, if it is from OS it could have been updated since I installed another "package" and did standard update.


Now the "configure" script ignores PKG_CONFIG_DEBUG_SPEW=set.


PS
I'll be "off the air" , on "vacation", chipping rust off the WWII ships in Galveston TX.
Do not expect replies.
Thanks
 
Old 05-01-2019, 06:56 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by AnneRanch View Post
The "wrapper " -setting additional environment variables and then executing pkg_config

is in /usr/bin/arm-linux-gnueabihf-pkg-config.

And as I have been saying - I have no idea where it came from.

Yes, if it is from OS it could have been updated since I installed another "package" and did standard update.


Now the "configure" script ignores PKG_CONFIG_DEBUG_SPEW=set.


PS
I'll be "off the air" , on "vacation", chipping rust off the WWII ships in Galveston TX.
Do not expect replies.
Thanks
do they even have a bed of water in Galveston, TX? I thought Texas only had steers and ..., well I'd take off a few days and go there in that image, anyways have fun...
Attached Thumbnails
Click image for larger version

Name:	galv.jpg
Views:	14
Size:	117.0 KB
ID:	30446  
 
1 members found this post helpful.
Old 05-01-2019, 08:26 AM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
The post analysis is overkill. The file got reset or lost. If you have backup, then use it and move on.

Retain backups of your incremental work. This is a fundamental thing that all developers learn over time.

It it unlikely that a Linux system or package upgrade would overwrite this particular file since you are trying to install from source.

It is more likely that some other action caused a git fetch or a new extraction of the source code drop which resulted in this loss, or simple human error.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what happened to corel? febisfebi Linux - General 2 12-19-2001 09:02 AM
What's happened to me? Steave Linux - General 0 09-14-2001 09:22 AM
Whatever happened to geekcode.com? Infamous Tim General 2 07-19-2001 07:16 PM
bash-2.04#? what happened to root@localhost gummyworms Linux - General 2 07-12-2001 10:47 AM
first boot, whatever happened to my IDE? Infamous Tim Linux - Software 0 03-10-2001 03:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration