Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devuan Chimaera Build Errors and Warnings #393

Open
iknowu812 opened this issue Apr 11, 2023 · 1 comment
Open

Devuan Chimaera Build Errors and Warnings #393

iknowu812 opened this issue Apr 11, 2023 · 1 comment
Labels
Hacktoberfest Good first issue for new contributors coming from @Hacktoberfest help wanted

Comments

@iknowu812
Copy link

cat /etc/issue
Devuan GNU/Linux 4 \n \l

uname -a
Linux thinkstation 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

Devuan Chimaera 4.0 is based on Debian 11.1, and version 5.10 of the Linux Kernel.

configure script complains about missing fuse package

checking for fuse >= 2.6.0... no
configure: error: Package requirements (fuse >= 2.6.0) were not met:

No package 'fuse' found

when it actually wants libfuse-dev

configure script complains about missing net-snmp package

configure: error: Package requirements (net-snmp >= 5.3) were not met:

No package 'net-snmp' found

when it actually wants libsnmp-dev

tape.c:2991:2: warning: ‘strncpy’ output truncated copying 8 bytes from a string of length 16 [-Wstringop-truncation]
2991 | strncpy(t_attr->app_ver, PACKAGE_VERSION, TC_MAM_APP_VERSION_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ltfstrace.c:489:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
489 | strncpy(trc_header->signature, LTFS_TRACE_SIGNATURE, strlen(LTFS_TRACE_SIGNATURE));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~

make install
libtool: warning: relinking 'libiosched-unified.la'
libtool: warning: relinking 'libiosched-fcfs.la'
libtool: warning: relinking 'libkmi-flatfile.la'
libtool: warning: relinking 'libkmi-simple.la'
libtool: warning: relinking 'libiosched-unified.la'
libtool: warning: relinking 'libiosched-fcfs.la'
libtool: warning: relinking 'libtape-sg.la'
libtool: warning: relinking 'libtape-itdtimg.la'
libtool: warning: relinking 'libtape-file.la'

I have not attempted to use ltfs as yet.

Thanks

@iknowu812
Copy link
Author

Additional Information: Preliminary testing indicates that it is functional, albeit with a bunch of warnings/errors.
Tape was created using Quantum Windows 3.0 LTFS and hp driver on Windows 10.

ltfs -o device_list

1e28 LTFS14000I LTFS starting, LTFS version 2.5.0.0 (Prelim), log level 2.
1e28 LTFS14058I LTFS Format Specification version 2.4.0.
1e28 LTFS14104I Launched by "ltfs -o device_list".
1e28 LTFS14105I This binary is built for Linux (x86_64).
1e28 LTFS14106I GCC version is 10.2.1 20210110.
1e28 LTFS17087I Kernel version: Linux version 5.10.0-21-amd64 ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.162-1 (2023-01-21) i386.
1e28 LTFS17089I Distribution: PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)".
1e28 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg4 (9.0.0.0), Vendor ID = HP , Product ID = Ultrium 5-SCSI , Serial Number = HUE2410ANY, Product Name =[Ultrium 5-SCSI].

ltfs -o devname=/dev/sg4 /ltfs

2644 LTFS14000I LTFS starting, LTFS version 2.5.0.0 (Prelim), log level 2.
2644 LTFS14058I LTFS Format Specification version 2.4.0.
2644 LTFS14104I Launched by "ltfs -o devname=/dev/sg4 /ltfs".
2644 LTFS14105I This binary is built for Linux (x86_64).
2644 LTFS14106I GCC version is 10.2.1 20210110.
2644 LTFS17087I Kernel version: Linux version 5.10.0-21-amd64 ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.162-1 (2023-01-21) i386.
2644 LTFS17089I Distribution: PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)".
2644 LTFS14063I Sync type is "time", Sync time is 300 sec.
2644 LTFS17085I Plugin: Loading "sg" tape backend.
2644 LTFS17085I Plugin: Loading "unified" iosched backend.
2644 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
2644 LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg4).
2644 LTFS30250I Opened the SCSI tape device 9.0.0.0 (/dev/sg4).
2644 LTFS30207I Vendor ID is HP .
2644 LTFS30208I Product ID is Ultrium 5-SCSI .
2644 LTFS30214I Firmware revision is I6PZ.
2644 LTFS30215I Drive serial is HUE2410ANY.
2644 LTFS30285I The reserved buffer size of /dev/sg4 is 1048576.
2644 LTFS30205I RSOC (0xa3) returns -20601.
2644 LTFS30263I RSOC returns Not Ready to Ready Transition, Medium May Have Changed (-20601) /dev/sg4.
2644 LTFS30294I Setting up timeout values from vendor and device.
2644 LTFS17160I Maximum device block size is 1048576.
2644 LTFS11330I Loading cartridge.
2644 LTFS11332I Load successful.
2644 LTFS17157I Changing the drive setting to write-anywhere mode.
2644 LTFS11005I Mounting the volume from device.
2644 LTFS30205I READ_ATTR (0x8c) returns -20501.
2644 LTFS30263I READ_ATTR returns Invalid Field in CDB (-20501) /dev/sg4.
2644 LTFS30233I Cannot read attribute (-20501).
2644 LTFS11336I The attribute does not exist. Ignore the expected error.
2644 LTFS30205I MODESENSE (0x5a) returns -20501.
2644 LTFS30263I MODESENSE returns Invalid Field in CDB (-20501) /dev/sg4.
2644 LTFS17095W The index read from the tape uses an old version of the LTFS format. If this tape is modified, the index upgrades format version to 2.4.0 from 2.2.0.
2644 LTFS30205I READ_ATTR (0x8c) returns -20501.
2644 LTFS30263I READ_ATTR returns Invalid Field in CDB (-20501) /dev/sg4.
2644 LTFS30205I READ_ATTR (0x8c) returns -20501.
2644 LTFS30263I READ_ATTR returns Invalid Field in CDB (-20501) /dev/sg4.
2644 LTFS30233I Cannot read attribute (-20501).
2644 LTFS30205I READ_ATTR (0x8c) returns -20501.
2644 LTFS30263I READ_ATTR returns Invalid Field in CDB (-20501) /dev/sg4.
2644 LTFS30233I Cannot read attribute (-20501).
2644 LTFS17227I Tape attribute: Vendor = LTFS .
2644 LTFS17227I Tape attribute: Application Name = LTFS .
2644 LTFS17227I Tape attribute: Application Version = 3.0.0 .
2644 LTFS17227I Tape attribute: Medium Label = LTFS VOLUME.
2644 LTFS17228I Tape attribute: Text Localization ID = 0x00.
2644 LTFS17227I Tape attribute: Barcode = 601970 .
2644 LTFS17227I Tape attribute: Application Format Version = 2.2.0 .
2644 LTFS17228I Tape attribute: Volume Lock Status = 0x00.
2644 LTFS17227I Tape attribute: Media Pool name = .
2644 LTFS11031I Volume mounted successfully. 601970 : Gen = 22 / (a, 5) -> (b, 762148) / HUE2410ANY.
2644 LTFS14122I Index will not be captured.
2644 LTFS14111I Initial setup completed successfully.
2644 LTFS14112I Invoke 'mount' command to check the result of final setup.
2644 LTFS14113I Specified mount point is listed if succeeded.

ls /ltfs

Anna_Backup Frank_Backup Windows_10_x64_Backup
Baby_backup 'System Volume Information' Z240_Macrium_Backup
Chimaera_Backup Thinkstation_Backup

Thanks for your time and effort.
Ken

@piste-jp piste-jp added help wanted Hacktoberfest Good first issue for new contributors coming from @Hacktoberfest labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Good first issue for new contributors coming from @Hacktoberfest help wanted
Projects
None yet
Development

No branches or pull requests

2 participants