Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648862 - sys-fs/yaffs-utils: package removal
Summary: sys-fs/yaffs-utils: package removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: EAPI2Removal
  Show dependency tree
 
Reported: 2018-02-26 15:54 UTC by Pacho Ramos
Modified: 2018-07-09 19:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2018-02-26 15:54:33 UTC
It fails with:
>>> Compiling source in /var/tmp/portage/sys-fs/yaffs-utils-9999/work/utils ...
make -j5 
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-stack-protector -I.. -Wall -DCONFIG_YAFFS_UTIL  -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline mkyaffs.c -o mkyaffs.o
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-stack-protector -I.. -Wall -DCONFIG_YAFFS_UTIL  -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline mkyaffsimage.c -o mkyaffsimage.o
ln -s ../yaffs_ecc.c yaffs_ecc.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-stack-protector -I.. -Wall -DCONFIG_YAFFS_UTIL  -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline yaffs_ecc.c -o yaffs_ecc.o
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:207:0: warning: "DT_UNKNOWN" redefined
 #define DT_UNKNOWN 0
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:100:0: note: this is the location of the previous definition
 # define DT_UNKNOWN DT_UNKNOWN
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:208:0: warning: "DT_FIFO" redefined
 #define DT_FIFO  1
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:102:0: note: this is the location of the previous definition
 # define DT_FIFO DT_FIFO
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:209:0: warning: "DT_CHR" redefined
 #define DT_CHR  2
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:104:0: note: this is the location of the previous definition
 # define DT_CHR  DT_CHR
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:210:0: warning: "DT_DIR" redefined
 #define DT_DIR  4
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:106:0: note: this is the location of the previous definition
 # define DT_DIR  DT_DIR
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:211:0: warning: "DT_BLK" redefined
 #define DT_BLK  6
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:108:0: note: this is the location of the previous definition
 # define DT_BLK  DT_BLK
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:212:0: warning: "DT_REG" redefined
 #define DT_REG  8
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:110:0: note: this is the location of the previous definition
 # define DT_REG  DT_REG
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:213:0: warning: "DT_LNK" redefined
 #define DT_LNK  10
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:112:0: note: this is the location of the previous definition
 # define DT_LNK  DT_LNK
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:214:0: warning: "DT_SOCK" redefined
 #define DT_SOCK  12
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:114:0: note: this is the location of the previous definition
 # define DT_SOCK DT_SOCK
 
In file included from ../yportenv.h:81:0,
                 from ../yaffs_guts.h:23,
                 from mkyaffsimage.c:34:
../devextras.h:215:0: warning: "DT_WHT" redefined
 #define DT_WHT  14
 
In file included from mkyaffsimage.c:30:0:
/usr/include/dirent.h:116:0: note: this is the location of the previous definition
 # define DT_WHT  DT_WHT
 
mkyaffsimage.c: In function ‘process_directory’:
mkyaffsimage.c:445:8: warning: ignoring return value of ‘readlink’, declared with attribute warn_unused_result [-Wunused-result]
        readlink(full_name,symname,sizeof(symname) -1);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
mkyaffsimage.c:119:14: warning: ‘yaffs_CalcNameSum’ defined but not used [-Wunused-function]
 static __u16 yaffs_CalcNameSum(const char *name)
              ^~~~~~~~~~~~~~~~~
mkyaffs.c: In function ‘main’:
mkyaffs.c:159:17: error: ‘MEMSETOOBSEL’ undeclared (first use in this function)
  if (ioctl (fd, MEMSETOOBSEL, &oobsel) != 0) {
                 ^~~~~~~~~~~~
mkyaffs.c:159:17: note: each undeclared identifier is reported only once for each function it appears in
mkyaffs.c:166:40: error: ‘mtd_info_t {aka struct mtd_info_user}’ has no member named ‘oobblock’
  if( !(meminfo.oobsize == 16 && meminfo.oobblock == 512))
                                        ^
mkyaffs.c:234:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
       write(fd,imgpage,512);
       ^~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:41: mkyaffs.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: sys-fs/yaffs-utils-9999::gentoo failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *            ebuild.sh, line  124:  Called src_compile
 *          environment, line 2193:  Called default
 *   phase-functions.sh, line  853:  Called default_src_compile
 *   phase-functions.sh, line  890:  Called __eapi2_src_compile
 *     phase-helpers.sh, line  789:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/yaffs-utils-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/yaffs-utils-9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-fs:yaffs-utils-9999:20180226-155340.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/yaffs-utils-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/yaffs-utils-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/yaffs-utils-9999/work/utils'
 * S: '/var/tmp/portage/sys-fs/yaffs-utils-9999/work/utils'
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2018-05-30 17:24:38 UTC
I would vote to treeclean this package.

* HOMEPAGE is not reachable
* EAPI 2
* deprecated git-2 eclass
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2018-06-02 15:03:43 UTC
(In reply to Johannes Huber from comment #1)
> I would vote to treeclean this package.
> 
> * HOMEPAGE is not reachable
> * EAPI 2
> * deprecated git-2 eclass

+1
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-07-09 19:45:18 UTC
Gone