Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] castfs/installwatch problem

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] castfs/installwatch problem
  • Date: Mon, 21 Jan 2019 14:13:55 +0100

I have just discovered that some of my install logs do not contain any symlinks

Doing staged installs.

The install log shows
/opt/qt5/lib/libQt5X11Extras.la
/opt/qt5/lib/libQt5X11Extras.prl
/opt/qt5/lib/libQt5X11Extras.so.5.12.1

but the compile log shows
/opt/qt5/bin/qmake -install qinstall -exe ../../lib/libQt5X11Extras.so.5.12.1 /opt/qt5/lib/libQt5X11Extras.so.5.12.1
strip --strip-unneeded /opt/qt5/lib/libQt5X11Extras.so.5.12.1
ln -f -s libQt5X11Extras.so.5.12.1 /opt/qt5/lib/libQt5X11Extras.so
ln -f -s libQt5X11Extras.so.5.12.1 /opt/qt5/lib/libQt5X11Extras.so.5
ln -f -s libQt5X11Extras.so.5.12.1 /opt/qt5/lib/libQt5X11Extras.so.5.12


# ls -l /opt/qt5/lib/libQt5X11Extras.*
-rw-r--r-- 1 root root 699 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.la
-rw-r--r-- 1 root root 1171 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.prl
lrwxrwxrwx 1 root root 25 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.so -> libQt5X11Extras.so.5.12.1
lrwxrwxrwx 1 root root 25 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.so.5 -> libQt5X11Extras.so.5.12.1
lrwxrwxrwx 1 root root 25 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.so.5.12 -> libQt5X11Extras.so.5.12.1
-rwxr-xr-x 1 root root 22720 Jan 11 11:46 /opt/qt5/lib/libQt5X11Extras.so.5.12.1

This then leaves dangling symlinks when I remove a spell and may then cause problems in subsequent builds.

The compile log for installwatch shows warnings:

installwatch.c:3108:43: warning: passing argument 4 of ‘true_scandir’ from incompatible pointer type [-Wincompatible-pointer-types]
result=true_scandir(dir,namelist,select,compar);
^~~~~~

I don't know when this started happening.

Any solutions?

Regards, Treeve




Archive powered by MHonArc 2.6.24.

Top of Page