The lion kingdom has started facing the problem of forward compatibility where legacy libraries are getting phased out, starting with libpng.

For now, there is a makefile rule which copies that 1 library from the build system to the bin directory.  If it doesn't find the exact version in the build system, it ignores it.  That way, another user on another system can build it without encountering an error.  Past lion actually encountered this problem & manually kept a copy of libpng in the bin directory, but the reason was forgotten.

In the long term, there could be a script which automatically copies over everything in the ldd output except for entries like ld-linux in an exclude list. 

The biggest problem lions have been struggling with is the case of just wanting to build a program for local use instead of distribution.  It really needs a way to select between a distribution build & a local build.  The libpng rule might have to be inside a dist rule.  The mane incentive for separate build targets is saving space.  A complete set of system libraries would be a lot of storage.

For now, always copying libpng seems to be an acceptable compromise between space & complexity.  It's only a few kb.

Another question is what other libraries should start getting copied from the local system instead of built from scratch.  In the past, it was building every problem library from scratch but it's infinitely easier to copy the binaries from the build system.  Really basic, stable libraries are the leading candidates.  pulseaudio, asound, sndfile, esound, png, tiff, jpg, uuid, freetype, audiofile, gif have become stable & are quite difficult to build from scratch.  ffmpeg is a very unstable library which has to be built from scratch, using exactly the right version.

Modern build systems enforce specific version numbers on their dependencies.  They run in virtual environments that contain complete installations of the right versions instead of using the host libraries.  The virtual environments still have to be created.  The right way might be for a user to always build Cinelerra inside a container where it brings all the container libraries into its own image.  Then the user runs the image on the host.  The lion kingdom would provide the container for building it.  Anyone trying to build outside the container would be on his own.

This doesn't solve the problem of lions building for their own use.  Building inside a container & running an image is a pain for incremental work.

-----------------------------------------------------------------------------------------------------------

In case the constant turnover of system libraries isn't enough, there is a growing desire to try to get a raspian build working.  There's not enough room to have a raspberry pi permanently set up with a user interface.  It would be done just to see if anyone downloaded it & possibly to begin porting the GPU routines. 

-----------------------------------------------------------------------------------------------------------

Anyways, noted a former coworker went on to Facebook & was apparently part of the late 2023 wave of layoffs.  He eventually got to a management level & rumors were management was where they made most of the cuts.  Then he had a 1 year gap before eventually getting into beleaguered Lucid motors.  It's a story lions have seen a lot of.  Guys tend to take breaks but 6 months quickly become a year.  It doesn't look good on a resume, lions have found.  Maybe it looks better with a Berkeley degree & he's financially independent anyway.

Can imagine being on an upward trajectory in a top tier company & suddenly having the rug pulled out can be a crushing blow.  Beleaguered companies can be a depressing experience.  There are a lot of empty desks & lights off, but pizza night is good.

It's likely if lions couldn't get anything after a year of serious job hunting, they would now retire & settle on a trailer park.



A lot of the lion generation are retired now.  Interesting that Kidd Poteet retired by age 50, majored in outdoor education, wasn't a very good student, had a very short but fruitful business career under Isaaacman, many years his junior.  










Comments

Popular posts from this blog