LinuxForum.Fans
Тема

Ошибка при сборке пакета.

Автор: Nigelist 4 сообщений 2021 просмотров
#305462

Пытаюсь собрать коммерческий драйвер NTFS и HFS+ от Paragon. При попытке собрать пакет:
[console]dpkg-buildpackage -rfakeroot[/console]
Выдает такой выхлоп:

Показать
[console]dpkg-buildpackage: предупреждение: используется команда получения прав root, но уже есть права root
dpkg-buildpackage: установка CFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: установка CPPFLAGS в значение по умолчанию:
dpkg-buildpackage: установка LDFLAGS в значение по умолчанию: -Wl,-Bsymbolic-functions
dpkg-buildpackage: установка FFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: установка CXXFLAGS в значение по умолчанию: -g -O2
dpkg-buildpackage: пакет исходных текстов paragon-ntfs-hfs-driver
dpkg-buildpackage: версия исходных текстов 8.5.005-1
dpkg-buildpackage: исходные тексты изменены root <root@unknown>
dpkg-buildpackage: архитектура хоста amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make -j1 clean
make[1]: Вход в каталог `/home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express'
make[1]: Выход из каталога `/home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express'
dh_clean
rm -f debian/paragon-ntfs-hfs-driver.substvars
rm -f debian/paragon-ntfs-hfs-driver.*.debhelper
rm -f debian/paragon-ntfs-hfs-driver.debhelper.log
rm -rf debian/paragon-ntfs-hfs-driver/
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} \; \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
rm -f *-stamp
dpkg-source -b Paragon_NTFS_HFS_Linux_8.5.005_Express
dpkg-source: инфо: используется формат исходника `1.0'
dpkg-source: предупреждение: каталог исходников 'Paragon_NTFS_HFS_Linux_8.5.005_Express' не в виде <пакет исходников>-<оригинальная версия> 'paragon-ntfs-hfs-driver-8.5.005'
dpkg-source: инфо: сборка paragon-ntfs-hfs-driver в paragon-ntfs-hfs-driver_8.5.005-1.tar.gz
dpkg-source: инфо: сборка paragon-ntfs-hfs-driver в paragon-ntfs-hfs-driver_8.5.005-1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=\${prefix}/lib/paragon-ntfs-hfs-driver --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether ln -s works... yes
checking for sed... /bin/sed
checking for mkdir... /bin/mkdir
checking for pwd... /home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express
checking for id... /usr/bin/id
checking for su... /bin/su
checking for cp... /bin/cp
checking for rm... /bin/rm
checking for modprobe... /sbin/modprobe
checking for depmod... /sbin/depmod
checking for insmod... /sbin/insmod
checking for make... /usr/bin/make
checking for nm... /usr/bin/nm
checking for strip... /usr/bin/strip
configure: Kernel: 2.6 Arch: x86_64
checking libufsd_x86_64.bin... /home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express/ifslinux/objfre/libufsd_x86_64.bin
checking debug version... No debug
checking with HFS support... yes
checking for strchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for memcmp... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking generated/autoconf.h usability... no
checking generated/autoconf.h presence... no
checking for generated/autoconf.h... no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/exportfs.h... yes
checking for linux/exportfs.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/bio.h... yes
checking for linux/bio.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/vermagic.h... yes
checking for linux/vermagic.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/locks.h... no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/delay.h... yes
checking for linux/delay.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/statfs.h... yes
checking for linux/statfs.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/locks.h... (cached) no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/xattr.h... yes
checking for linux/xattr.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/kdev_t.h... yes
checking for linux/kdev_t.h... no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/mpage.h... yes
checking for linux/mpage.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/fs_struct.h... yes
checking for linux/fs_struct.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/mm.h... yes
checking for linux/mm.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/mm_types.h... yes
checking for linux/mm_types.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/buffer_head.h... yes
checking for linux/buffer_head.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/buffer_head.h... (cached) yes
checking for linux/fs_struct.h... (cached) yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/uio.h... yes
checking for linux/uio.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/blk.h... no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/mutex.h... yes
checking for linux/mutex.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/sched.h... yes
checking for linux/sched.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/pagemap.h... yes
checking for linux/pagemap.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/iobuf.h... no
checking for /lib/modules/2.6.32-45-generic/build/include/linux/jiffies.h... yes
checking for linux/jiffies.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/blkdev.h... yes
checking for linux/blkdev.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/namei.h... yes
checking for linux/namei.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/mmzone.h... yes
checking for linux/mmzone.h... yes
checking for /lib/modules/2.6.32-45-generic/build/include/linux/pagevec.h... yes
checking for linux/pagevec.h... yes
checking for struct file_operations.ioctl... yes
checking for struct file_operations.aio_read... yes
checking for struct file_operations.aio_write... yes
checking for struct inode_operations.fallocate... yes
checking for struct super_block.s_bdev... yes
checking for struct super_block.s_fs_info... yes
checking for struct inode.i_blksize... no
checking for struct inode.i_private... yes
checking for struct inode.i_mutex... yes
checking for struct buffer_head.b_size... yes
checking for struct timespec.tv_sec... yes
checking for struct proc_dir_entry.owner... no
checking whether xtime is declared... yes
checking whether CURRENT_TIME is declared... yes
checking whether verify_area is declared... no
checking whether sync_dirty_buffer is declared... yes
checking whether __sync_dirty_buffer is declared... no
checking whether vprintk is declared... yes
checking whether bdev_hardsect_size is declared... no
checking whether get_hardsect_size is declared... no
checking whether bdev_logical_block_size is declared... yes
checking whether update_atime is declared... no
checking whether i_size_read is declared... yes
checking whether i_size_write is declared... yes
checking whether do_sync_read is declared... yes
checking whether do_sync_write is declared... yes
checking whether generic_file_read is declared... no
checking whether generic_file_write is declared... no
checking whether inode_init_once is declared... yes
checking whether current_umask is declared... yes
checking whether generic_file_sendfile is declared... no
checking whether generic_file_splice_read is declared... yes
checking whether generic_file_splice_write is declared... yes
checking whether d_splice_alias is declared... yes
checking whether d_alloc_anon is declared... no
checking whether d_obtain_alias is declared... yes
checking whether __brelse is declared... yes
checking whether __bread is declared... yes
checking whether __getblk is declared... yes
checking whether __breadahead is declared... yes
checking whether set_buffer_uptodate is declared... yes
checking whether set_buffer_ordered is declared... yes
checking whether writeback_inodes_sb_if_idle is declared... yes
checking whether tag_pages_for_writeback is declared... no
checking whether jiffies_to_msecs is declared... yes
checking whether iget4 is declared... no
checking whether generic_file_fsync is declared... no
checking whether setattr_copy is declared... no
checking whether wakeup_page_waiters is declared... no
checking whether mpage_readpage is declared... yes
checking whether mpage_readpages is declared... yes
checking whether mpage_writepages is declared... yes
checking whether cont_write_begin is declared... yes
checking whether block_write_full_page is declared... yes
checking whether block_read_full_page is declared... yes
checking whether __block_write_begin is declared... no
checking whether posix_acl_from_xattr is declared... yes
checking whether kmem_cache_t... no
checking whether kmem_cache... yes
checking whether sync_blockdev is declared... yes
checking whether kstatfs is declared... no
checking whether DECLARE_FSTYPE_DEV is declared... no
checking whether EXPORT_NO_SYMBOLS is declared... no
checking for struct module.exit... yes
checking for struct super_operations.alloc_inode... yes
checking for struct super_operations.read_inode2... no
checking for struct super_operations.evict_inode... no
checking for struct address_space_operations.write_begin... yes
checking for struct address_space_operations.readpages... yes
checking for struct address_space_operations.is_partially_uptodate... yes
checking for struct address_space_operations.error_remove_page... yes
checking for struct super_block.s_export_op... yes
checking for struct super_block.s_id... yes
checking for struct export_operations.get_dentry... no
checking for struct export_operations.fh_to_dentry... yes
checking for struct export_operations... yes
checking kdev_t... no
checking address_space_operations.bmap... V2
checking address_space_operations.direct_IO... V2
checking address_space_operations.writepage... V2
checking bio.bi_end_io... V2
checking dentry_operations.d_hash... V1
checking d_path... V2
checking inode_operations.create... V2
checking inode_operations.permission... Unknown
checking inode_operations.lookup... V2
checking inode_operations.setxattr... V2
checking xattr_handler.get... V1
checking invalidate_bdev... V1
checking file_system_type.get_sb... V2
checking kmem_cache_version... not diff
checking kmem_cache_create... V4
checking block_write_begin... V4
checking sector_t... yes
checking super_operations.write_inode... V2
checking super_operations.statfs... V2
checking file_operations.aio_write... V2
checking timespec.atime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ifslinux/config.h
config.status: ifslinux/config.h is unchanged
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
dh_auto_build
make -j1
make[1]: Вход в каталог `/home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express'
make[1]: Выход из каталога `/home/user2/Загрузки/Paragon_NTFS_HFS_Linux_8.5.005_Express'
dh_auto_test
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
rm -f debian/paragon-ntfs-hfs-driver.substvars
rm -f debian/paragon-ntfs-hfs-driver.*.debhelper
rm -rf debian/paragon-ntfs-hfs-driver/
dh_installdirs
install -d debian/paragon-ntfs-hfs-driver
dh_auto_install
dh_install
dh_installdocs
install -g 0 -o 0 -d debian/paragon-ntfs-hfs-driver/usr/share/doc/paragon-ntfs-hfs-driver
cp -a PARAGON debian/paragon-ntfs-hfs-driver/usr/share/doc/paragon-ntfs-hfs-driver
cp: невозможно выполнить stat для «PARAGON»: Нет такого файла или каталога
dh_installdocs: cp -a PARAGON debian/paragon-ntfs-hfs-driver/usr/share/doc/paragon-ntfs-hfs-driver returned exit code 1
make: *** [binary] Ошибка 2
dpkg-buildpackage: ошибка: fakeroot debian/rules binary возвратил код ошибки 2[/console]

Подскажите, в чем может быть проблема? Я так понимаю не может найти папку PARAGON, но где она должна быть?

#305465

пальцем в небо: небось забыли поставить $ в скрипте перед PARAGON...

#305470

"Fat-Zer" написал:
пальцем в небо: небось забыли поставить $ в скрипте перед PARAGON...
Вы имеете в виду, что неправильно указана переменная? Не подскажите, где искать этот самый скрипт? Ни один скрипт/файл я вручную не правил.

P.S. Кстати, скрипт установки вполне нормально ставит этот драйвер.
#305475
"Nigelist" написал:
Вы имеете в виду, что неправильно указана переменная? Не подскажите, где искать этот самый скрипт? Ни один скрипт/файл я вручную не правил.P.S. Кстати, скрипт установки вполне нормально ставит этот драйвер.

в одном из скриптов сборки/установки... я плохо знаю, какие они в deb'овских пакетах... это было так... пальцем в небо...
или просто это был какой-то файлл с лицензией, который выкинули из пакета... тогда просто удали эту строчку или создай файл...

Войдите или зарегистрируйтесь, чтобы ответить.