LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   multi-lib: oddness running the alienbob massconvert32 script (https://www.linuxquestions.org/questions/slackware-14/multi-lib-oddness-running-the-alienbob-massconvert32-script-4175650135/)

jr_bob_dobbs 03-13-2019 08:05 PM

multi-lib: oddness running the alienbob massconvert32 script
 
So I've recently installed the March 7th version of Slackware 64 Current on an extra partition. I've got a matching directory tree for Slackware 32 and the March 11th version of Alien Bob's multilib tools (the scripts, glibc and gcc). I upgraded all of the glibc & gcc packages without apparent problem.

Running the massconvert32.sh script to repack many 32-bit packages to a form compatible with the 64-bit system is where I may have run into a problem.

Using the -n (dry run) option, I observed the following output:
Code:

*** Starting the conversion process:
*** 'A' series:
aaa_elflibs: new package will be converted
attr: new package will be converted
bzip2: new package will be converted
*** FAIL: package 'cups' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
cups: new package will be converted
*** FAIL: package 'cxxlibs' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
cxxlibs: new package will be converted
dbus: new package will be converted
e2fsprogs: new package will be converted
eudev: new package will be converted
libgudev: new package will be converted
lzlib: new package will be converted
openssl-solibs: new package will be converted
openssl10-solibs: new package will be converted
plzip: new package will be converted
*** FAIL: package 'udev' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
udev: new package will be converted
util-linux: new package will be converted
xz: new package will be converted
*** 'AP' series:
cups: new package will be converted
cups-filters: new package will be converted
flac: new package will be converted
mariadb: new package will be converted
mpg123: new package will be converted
*** FAIL: package 'mysql' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
mysql: new package will be converted
sqlite: new package will be converted
*** 'D' series:
libtool: new package will be converted
llvm: new package will be converted
opencl-headers: new package will be converted
*** 'L' series:
Mako: new package will be converted
SDL2: new package will be converted
alsa-lib: new package will be converted
alsa-oss: new package will be converted
alsa-plugins: new package will be converted
atk: new package will be converted
at-spi2-atk: new package will be converted
at-spi2-core: new package will be converted
audiofile: new package will be converted
cairo: new package will be converted
dbus-glib: new package will be converted
elfutils: new package will be converted
esound: new package will be converted
expat: new package will be converted
ffmpeg: new package will be converted
fftw: new package will be converted
freetype: new package will be converted
fribidi: new package will be converted
gamin: new package will be converted
gc: new package will be converted
gdk-pixbuf2: new package will be converted
giflib: new package will be converted
glib2: new package will be converted
gmp: new package will be converted
gnome-keyring: new package will be converted
gobject-introspection: new package will be converted
graphite2: new package will be converted
gtk+2: new package will be converted
gtk+3: new package will be converted
gst-plugins-base: new package will be converted
gst-plugins-base0: new package will be converted
gst-plugins-good: new package will be converted
gst-plugins-good0: new package will be converted
gst-plugins-libav: new package will be converted
gstreamer: new package will be converted
gstreamer0: new package will be converted
*** FAIL: package 'hal' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
hal: new package will be converted
harfbuzz: new package will be converted
icu4c: new package will be converted
jasper: new package will be converted
json-c: new package will be converted
json-glib: new package will be converted
lame: new package will be converted
lcms: new package will be converted
lcms2: new package will be converted
libaio: new package will be converted
libarchive: new package will be converted
*** FAIL: package 'libart_lgpl' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libart_lgpl: new package will be converted
libasyncns: new package will be converted
libbluray: new package will be converted
libcaca: new package will be converted
libcap: new package will be converted
libcdio: new package will be converted
libcdio-paranoia: new package will be converted
libclc: new package will be converted
libcroco: new package will be converted
libedit: new package will be converted
*** FAIL: package 'libelf' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libelf: new package will be converted
libexif: new package will be converted
libffi: new package will be converted
libglade: new package will be converted
libgphoto2: new package will be converted
libidn: new package will be converted
libidn2: new package will be converted
libieee1284: new package will be converted
*** FAIL: package 'libjpeg' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libjpeg: new package will be converted
libjpeg-turbo: new package will be converted
libmng: new package will be converted
libmpc: new package will be converted
libnl3: new package will be converted
libnotify: new package will be converted
libogg: new package will be converted
libpcap: new package will be converted
libpng: new package will be converted
librsvg: new package will be converted
libsamplerate: new package will be converted
libsndfile: new package will be converted
libssh: new package will be converted
libtasn1: new package will be converted
*** FAIL: package 'libtermcap' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libtermcap: new package will be converted
libtheora: new package will be converted
libtiff: new package will be converted
libunistring: new package will be converted
libunwind: new package will be converted
libusb: new package will be converted
libvorbis: new package will be converted
libvpx: new package will be converted
libwebp: new package will be converted
libxml2: new package will be converted
libxslt: new package will be converted
lmdb: new package will be converted
lzo: new package will be converted
ncurses: new package will be converted
ocl-icd: new package will be converted
openjpeg: new package will be converted
opus: new package will be converted
orc: new package will be converted
pango: new package will be converted
pcre: new package will be converted
pcre2: new package will be converted
popt: new package will be converted
pulseaudio: new package will be converted
python-six: new package will be converted
qt: new package will be converted
readline: new package will be converted
sbc: new package will be converted
sdl: new package will be converted
seamonkey-solibs: new package will be converted
slang: new package will be converted
speex: new package will be converted
speexdsp: new package will be converted
startup-notification: new package will be converted
svgalib: new package will be converted
talloc: new package will be converted
tdb: new package will be converted
tevent: new package will be converted
v4l-utils: new package will be converted
wavpack: new package will be converted
zlib: new package will be converted
zstd: new package will be converted
*** 'N' series:
curl: new package will be converted
cyrus-sasl: new package will be converted
gnutls: new package will be converted
libgcrypt: new package will be converted
libgpg-error: new package will be converted
libtirpc: new package will be converted
nettle: new package will be converted
openldap-client: new package will be converted
openssl: new package will be converted
p11-kit: new package will be converted
samba: new package will be converted
*** 'X' series:
fontconfig: new package will be converted
freeglut: new package will be converted
glew: new package will be converted
glu: new package will be converted
intel-vaapi-driver: new package will be converted
libFS: new package will be converted
libICE: new package will be converted
libSM: new package will be converted
libX11: new package will be converted
libXScrnSaver: new package will be converted
*** FAIL: package 'libXTrap' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libXTrap: new package will be converted
libXau: new package will be converted
libXaw: new package will be converted
libXcomposite: new package will be converted
libXcursor: new package will be converted
libXdamage: new package will be converted
libXdmcp: new package will be converted
libXevie: new package will be converted
libXext: new package will be converted
libXfixes: new package will be converted
*** FAIL: package 'libXfont' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libXfont: new package will be converted
libXfont2: new package will be converted
libXfontcache: new package will be converted
libXft: new package will be converted
libXi: new package will be converted
libXinerama: new package will be converted
libXmu: new package will be converted
libXp: new package will be converted
libXpm: new package will be converted
*** FAIL: package 'libXprintUtil' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libXprintUtil: new package will be converted
libXrandr: new package will be converted
libXrender: new package will be converted
libXres: new package will be converted
libXt: new package will be converted
libXtst: new package will be converted
libXv: new package will be converted
libXvMC: new package will be converted
libXxf86dga: new package will be converted
libXxf86misc: new package will be converted
libXxf86vm: new package will be converted
libdmx: new package will be converted
libdrm: new package will be converted
libepoxy: new package will be converted
libfontenc: new package will be converted
libinput: new package will be converted
libpciaccess: new package will be converted
libpthread-stubs: new package will be converted
libva: new package will be converted
*** FAIL: package 'libva-intel-driver' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
libva-intel-driver: new package will be converted
libvdpau: new package will be converted
libwacom: new package will be converted
libxcb: new package will be converted
libxshmfence: new package will be converted
mesa: new package will be converted
pixman: new package will be converted
vulkan-sdk: new package will be converted
xcb-util: new package will be converted
xorgproto: new package will be converted
*** 'XAP' series:
sane: new package will be converted
*** Conversion done!

Are the missing packages a problem? I notice it failed on the udev package ... which if I recall was renamed to eudev some years ago?

I never saw a "continue: only meaningful in a `for', `while', or `until' loop" error message in shell script before. Is that a problem?

phenixia2003 03-14-2019 03:47 AM

Hello,

Quote:

Originally Posted by jr_bob_dobbs (Post 5973623)
So I've recently installed the March 7th version of Slackware 64 Current on an extra partition. I've got a matching directory tree for Slackware 32 and the March 11th version of Alien Bob's multilib tools (the scripts, glibc and gcc). I upgraded all of the glibc & gcc packages without apparent problem.

Running the massconvert32.sh script to repack many 32-bit packages to a form compatible with the 64-bit system is where I may have run into a problem.

Using the -n (dry run) option, I observed the following output:
Code:

[...]
*** FAIL: package 'cups' was not found in repository!
/usr/sbin/massconvert32.sh: line 221: continue: only meaningful in a `for', `while', or `until' loop
[...]

I never saw a "continue: only meaningful in a `for', `while', or `until' loop" error message in shell script before. Is that a problem?

Hello,

The statement 'continue' at #221 is ignored because it is outside a for/while/until loop and should be replaced by a statement 'return'.

--
SeB

Alien Bob 03-14-2019 01:21 PM

Quote:

Originally Posted by phenixia2003 (Post 5973696)
Hello,



Hello,

The statement 'continue' at #221 is ignored because it is outside a for/while/until loop and should be replaced by a statement 'return'.

--
SeB

Thanks SeB.

jr_bob_dobbs 03-14-2019 05:28 PM

Then it gets weird. I decided to run teh massconvert scritp anyway.

The packages that were claimed to not exist in the dry run (-n) phase suddenly existed. Oooooo kayyyyyy.

Decided to not just blindly install the 32-bit compatibility packages, I picked one (elflibs (curiously enough, that was one of the packages that did not exist during the -n phase but did exist in the regular phase)) and ran "installpkg -test" on it. Conflict: some files were already there.
Code:

# installpkg -warn aaa_elflibs-compat32-15.0-x86_64-5compat32.txz /usr/lib/libatomic.so.1.2.0
/usr/lib/libgcc_s.so.1
/usr/lib/libstdc++.so.6.0.25

Now, is not the point of the conversion process to take an official slackware 32-bit package and repack it so that the files do not conflict with the files already existant in a freshly installed (full; everything but emacs and the extra kde languages) slackware 64 system?

Odd though, wouldn't Patrick have placed the files in /usr/lib64 and not /usr/lib?

p.s. Yes, I verified I did install the 64-bit version to begin with.

Alien Bob 03-14-2019 05:57 PM

Quote:

Originally Posted by jr_bob_dobbs (Post 5973940)
Then it gets weird. I decided to run teh massconvert scritp anyway.

The packages that were claimed to not exist in the dry run (-n) phase suddenly existed. Oooooo kayyyyyy.

Decided to not just blindly install the 32-bit compatibility packages, I picked one (elflibs (curiously enough, that was one of the packages that did not exist during the -n phase but did exist in the regular phase)) and ran "installpkg -test" on it. Conflict: some files were already there.
Code:

# installpkg -warn aaa_elflibs-compat32-15.0-x86_64-5compat32.txz /usr/lib/libatomic.so.1.2.0
/usr/lib/libgcc_s.so.1
/usr/lib/libstdc++.so.6.0.25

Now, is not the point of the conversion process to take an official slackware 32-bit package and repack it so that the files do not conflict with the files already existant in a freshly installed (full; everything but emacs and the extra kde languages) slackware 64 system?

Odd though, wouldn't Patrick have placed the files in /usr/lib64 and not /usr/lib?

p.s. Yes, I verified I did install the 64-bit version to begin with.

Nothing wrong there. Except with your experience levels with Slackware perhaps.
Please before you say any more, try to understand the reasons behind the "aaa_elflibs" package and why many of the libraries it contains also exist in other packages.


All times are GMT -5. The time now is 12:23 AM.