[SOLVED]How to build debian package source in Arch Linux?

I'm porting openssl for sh4 arch.
If I use Arch Linux PKGBUILD, it built failed. (I guess that's caused by there is no asm code for sh4 cpu).
So, I decide use debian's source.
But, is there any one know how to porting debian's package into Arch Linux?
I can apt-get source openssl from other machine.  But I don't know what's the correct step to build it into Arch Linux' structure.
Solution: refer brebs's PKGBUILD hint.
Last edited by dlin (2013-02-26 09:44:16)

The source is not hard to find. Look on Debian packages - each package has 2 files, the ".orig", and Debian's diff (which is sometimes not a diff, these days, thankfully because just having a simple "debian/patches" subdirectory available is a little bit easier for us).
Edit: Here ya go, convenient links:
http://packages.debian.org/sid/openssl
http://ftp.de.debian.org/debian/pool/ma … ian.tar.gz
Last edited by brebs (2013-02-26 09:42:10)

Similar Messages

  • How to build distribution package with Agilent VISA as primary

    Hi everybody,
         I build a distribution package under LW 8.0 in a PC(Agilent VISA is primary), then I install the distribution package in another PC.
    But I found the distribution package install NI VISA as primary in another PC. So How could I make Agilent VISA as primary when I build Distribution Package?
    Does anyone can help me?

    TaoZ,
    Does your application use both NI-VISA and Agilent VISA? NI-VISA is only functional as the primary VISA, so if you need to use both NI-VISA and Agilent VISA, Agilent VISA will need to be secondary. If you are using just Agilent VISA, then you should not need to install NI-VISA. If you already have NI-VISA installed on the system, then typically Agilent VISA will overwrite NI-VISA because they use higher version numbers than us, but this is not necessarily always the case. Which version of each driver are you working with?
    National Instruments
    Product Support Engineer

  • [SOLVED] How to install AUR packages with patchname.patch

    Hi all,
    I'm trying to install lottanzb from the AUR and there's are a dependency called par2cmdline 0.4-13 that has a lot of nameofpatch.patch that are included in the AUR par2cmdline 0.4-13 package page that just open up to a url that shows code.
    I created patch files from the code displayed in the url with a text editor and added them to the extracted LOTTANZB folder in my build directory but when I go to build the package with PKGBUILD it runs through a check sum while building and the checks don't match.
    I'm obviously doing something fundamentally wrong here. Can someone direct me?
    Thanks,
    Last edited by bennylb0 (2010-05-28 13:30:16)

    Hi, thanks for reply.
    Sorry, my mistake.
    I did place patch files inside the par2cmdline-0.4 folder. The only reason I created the .patch files and placed them inside par2cmdline-0.4 folder was because the PKGBUILD as well as the other 5 .patch files didn't exist inside the extracted build folder. They only place I could find them was in AUR par2cmdline-0.4 displayed as a url.
    When I copied and created the PKGBUILD as it did not exist inside the extracted folder par2cmdline-0.4 folder I received the following error:- 
    Error autoconf.patch was not found in the build directory and is not a url. That along with 4 others do not exist in the build directory.
    You can see this bellow:-
    [ben@ben par2cmdline-0.4]$ makepkg
    ==> Making package: par2cmdline 0.4-13 i686 (Fri May 28 22:08:21 EST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Downloading par2cmdline-0.4.tar.gz...
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/source … 0.4.tar.gz
    Resolving downloads.sourceforge.net... 216.34.181.59
    Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://downloads.sourceforge.net/projec … 0.4.tar.gz [following]
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/projec … 0.4.tar.gz
    Reusing existing connection to downloads.sourceforge.net:80.
    HTTP request sent, awaiting response... 302 Found
    Location: http://transact.dl.sourceforge.net/proj … 0.4.tar.gz [following]
    --2010-05-28 22:08:24--  http://transact.dl.sourceforge.net/proj … 0.4.tar.gz
    Resolving transact.dl.sourceforge.net... 202.55.147.10
    Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 239312 (234K) [application/x-gzip]
    Saving to: "par2cmdline-0.4.tar.gz.part"
    100%[===================================================>] 239,312      179K/s   in 1.3s   
    2010-05-28 22:08:26 (179 KB/s) - "par2cmdline-0.4.tar.gz.part" saved [239312/239312]
    ==> ERROR: par2cmdline-0.4-autoconf.patch was not found in the build directory and is not a URL.

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • [SOLVED] Ndiswrapper, NetworkManager 0.7 and 64-bit Arch Linux

    Hi there!
    I am having problems configuring my wireless card. I know I have to use Ndiswrapper, and this is what I have tried to do; however, it didn't go quite well.
    This is rather odd because it worked perfectly in the 32-bit version of Arch Linux, but now it doesn't work.
    So, here comes the code.
    valandil ~ $ lspci | grep Network
    0b:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
    I really use ndiswrapper and have already installed what I think is the proper driver (it seems that the list the official ndiswrapper site had has somehow disappeared.
    sudo ndiswrapper -l
    Password:
    bcmwl5 : driver installed
    device (14E4:4311) present (alternate driver: ssb)
    Here's iwconfig:
    valandil ~ $ iwconfig
    lo no wireless extensions.
    eth0 no wireless extensions.
    wmaster0 no wireless extensions.
    wlan0 IEEE 802.11bg ESSID:""
    Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
    Tx-Power=0 dBm
    Retry min limit:7 RTS thr:off Fragment thr=2352 B
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    I use NetworkManager 0.7 and have configured properly:
    rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="America/Vancouver"
    KEYMAP="cf"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(fuse ndiswrapper fglrx !b44 !mii bcm43xx !snd_pcsp snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore !pcspkr)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="cipher"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(lo !eth0 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.1.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(@stbd httpd !network syslog-ng netfs crond alsa hal dhcdbd networkmanager fam gdm)
    hosts file :
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost cipher
    # End of file
    /etc/NetworkManager/nm-system-settings.conf:
    GNU nano 2.0.9 File: /etc/NetworkManager/nm-system-settings.conf
    [main]
    plugins=keyfile
    [keyfile]
    hostname=cipher
    I hope you can solve this problem; wireless is really crucial.
    Thanks for any help,
    Last edited by valandil (2012-05-02 18:27:09)

    Alleluia!!!
    I think I will write a new rule for myself to follow :
    Thou shalt never use ndiswrapper again.
    Thanks a lot, wonder, and thanks to you too, Xyne.
    FYI, I tried to use something else than ndiswrapper before, but it didn't yield satisfying results. Anyway, thanks.

  • How to use a .dmg file in Arch Linux

    I have a file a friend gave me from his Mac computer with a .dmg file name. I haven't been able to pinpoint exactly how to use this type of file... I believe its an Apple raw disk image or something like that.. sort of like an iso. I need to use this file in order to start an application and download it onto Arch Linux. The problem is that I can't figure out how to use it on Arch Linux and burn it onto a Cd. Has anyone had experience with this sort of thing? I am completely lost.

    $ poweriso convert ~/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg -o ~/Downloads/lang.rar/rose.iso -o t
    PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
    Type poweriso -? for help
    /home/user/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg: The file format is invalid or unsupported.
    $
    $ poweriso -?
    PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
    Type poweriso -? for help
    Usage: poweriso <command> [parameters] [-switches]
    <Commands>
    list <image file> <directory> List files and directories in image file.
    Example: List all files and directories in root direcory of /home/sam/test.iso .
    Command: poweriso list /home/sam/test.iso / -r
    extract <image file> <dir/file name> Extract files/directories from image file.
    Example: Extract all files and directories in root direcory of /home/sam/test.iso
    to /home/sam/test recursively.
    Command: poweriso extract /home/sam/test.iso / -od /home/sam/test
    convert <image file> Convert image file to other format.
    Example: Convert /home/sam/test.daa to standard iso file
    Command: poweriso convert /home/sam/test.daa -o /home/sam/test.iso -ot iso
    <Switches>
    -r List or extract recursively.
    -o Specify output image file name.
    -od Specify output folder.
    -ot <iso|daa|bin> Specify output image file type. If not specified,
    the image type will be determined by file name suffix.
    -volsize <n> Split output image file to multiple volumes, and set volume
    size to <n>. Example: -volsize 100M
    -setpassword <password> Set password for output image file.
    Example: -setpassword 12345678
    $
    I tried to convert the file .dmg to an .iso so that I can easily burn that onto a disk and get the ball rolling.. am I missing something here?

  • How to mount SATA Ntfs Partitions on Arch Linux

    Please help me mounting sata ntfs partitions.
    Here is my fdisk -l :
    [kaola@ArchHost ~]$ sudo fdisk -l
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x020e020e
    Device Boot Start End Blocks Id System
    /dev/sda1 1 371 2980026 82 Linux swap / Solaris
    /dev/sda2 * 372 2803 19535040 83 Linux
    /dev/sda3 2804 6450 29294527+ 83 Linux
    /dev/sda4 6451 6463 104422+ 83 Linux
    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xd7a23d33
    Device Boot Start End Blocks Id System
    /dev/sdb1 2 5875 47182905 5 Extended
    /dev/sdb2 * 5876 9139 26218080 7 HPFS/NTFS
    /dev/sdb5 2 3918 31463271 7 HPFS/NTFS
    /dev/sdb6 3919 5875 15719571 7 HPFS/NTFS
    Disk /dev/sdc: 4043 MB, 4043308544 bytes
    255 heads, 63 sectors/track, 491 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00050ebd
    Device Boot Start End Blocks Id System
    /dev/sdc1 1 491 3943926 b W95 FAT32
    As far as I know, the sata ntfs partitions are those with (sdb#).
    I tried mounting one of them but this is what it shows:
    [kaola@ArchHost ~]$ sudo mount /dev/sdb6
    mount: can't find /dev/sdb6 in /etc/fstab or /etc/mtab
    Please help me, this is very annoying compared to ubuntu which does do the job pretty well.  By the way, I'm using kde as my DE.  Dolphin sees the partitions but cant access.
    It says:
    An error occured while accessing 'Backup2 HD2', the system responded:
    org.freedesktop.Hal.Device.Volume.UnknownFailure: TODO:
    have to rethink extra options
    Reading some tutorials on ntfs-3g wiki, I've modified my fstab.  Still, I can't read the partitions...Please help me, this is my fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    UUID=2167baaa-d1e0-4719-920c-0bc09fa56caa / reiserfs defaults 0 1
    UUID=3e2250a0-ac45-458c-ba40-44ddbe8af54d /boot ext2 defaults 0 1
    UUID=cbf76343-12cf-4975-9284-3360735be927 /home reiserfs defaults 0 1
    UUID=f39da452-efe4-49d0-abd4-bb5246b83b33 swap swap defaults 0 0
    /dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
    /dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    UUID=2167baaa-d1e0-4719-920c-0bc09fa56caa / reiserfs defaults 0 1
    UUID=3e2250a0-ac45-458c-ba40-44ddbe8af54d /boot ext2 defaults 0 1
    UUID=cbf76343-12cf-4975-9284-3360735be927 /home reiserfs defaults 0 1
    UUID=f39da452-efe4-49d0-abd4-bb5246b83b33 swap swap defaults 0 0
    /dev/sdb1 /mnt/ntfs1 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sdb2 /mnt/ntfs2 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sdb5 /mnt/ntfs3 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    /dev/sda6 /mnt/ntfs4 ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
    Last edited by kaola_linux (2008-10-04 14:51:24)

    AD28 wrote:
    For seamless integration similar to Ubuntu:
        Follow this wiki for ntfs-3g installation and fstab configuration.
    For basic on-demand support:
    # pacman -Sy ntfs-3g
    and mount with:
    # mount -t ntfs-3g /dev/sdbX /mnt
    Now that did the trick!!!!!
    A happy Arch Linux user here!!!!hehee
    Any idea how to automate this? I want it to be automatically mounted so that it would be easy to transfer files...Pleasssseeeeee.....Thanks

  • [Solved] Spammed with a nouveau message while installing Arch Linux?

    Well despite being spammed the message which makes it impossible to partition my drive using cfdisk, all I could accomplish was setting up my wireless adapter. Here is the message: http://i.imgur.com/O6pIW0V.jpg
    Is there any way I can solve this? It appears to happen in the Alt + Ctrl + F2 terminal in Ubuntu too. I have an Nvidia GTX 760. I am not using dual graphics. My only video card is the 760.
    <modedit>Please read our forum policy about posting images: https://wiki.archlinux.org/index.php/Forum_Etiquette. /Xyne </modedit>
    Last edited by kensclark16 (2013-08-28 01:53:35)

    Should I make a new thread? I have another question. I followed the whole Beginner's Guide up to the point where I mount Arch Linux and chroot in. I then set up the language, font, etc and got to the wireless setup part. It told me to do a few commands then enter
    pacman -S dialog
    . I did that which I think I messed up after that. I misread the text because it said to reboot and use wifi-menu AFTER you install the rest. I rebooted right after I installed "dialog." Now when I boot into Arch with GRUB, it says that I am missing the kernel headers. I used the CD to boot and then I mounted the partition but then arch-chroot /mnt will not work. It says that the exec is invalid or something. Does that mean I have to reinstall Arch?
    Last edited by kensclark16 (2013-08-28 01:25:36)

  • How to get patches to official/mainline arch linux kernel?

    Hi,
    I'm maintainer of compcache PKGBUILD (compcache is ~ compressed virtual swap disk).
    For proper work it needs to apply some patches to kernel....
    I know there is an alternative to create another PKGBUILD for a custom kernel, but this seems to me an overkill.
    I would like to include these patches directly into mainline arch linux kernel....
    Is this good idea? How should I proceed then?
    Tibor

    Wintervenom,
    I did not know about zen kernel at all, but though it would not be very good solution, it could be the best one. So I will post an recommendation to aur to compcache, that to get proper function of compcache one should use zen kernel...
    But I 'm not going to install this kernel as compcache is not so important to me to replace mainline kernel...
    tomk,
    It seems that compcache will not be completely included in linux vanila kernel before 2.6.34, so that means about six months... In the meantime, compcache will not be usable with mainline arch linux kernel...
    And can you please advice me how can I submit such feature request?

  • How to build a package from sources

    hi all,
    Can someone please give some advices regarding making binaries from sources. I have found that a lot of programs on Snow Leopard can be also run in terminal and are in source form and need to be build. I have installed Xcode already and I have some programming skills as well such as using MinGW (GNU GCC) and VS EE on WinXP. I have never done anything in any UNIX-like system and I know sources need to be just compiled.
    Please, give me a link if you have any =)
    Regards.

    I think you have done something in a UNIX-like system. MinGW is designed to provide a UNIX-line build system with GCC for Windows. Now, however, you have the real thing.
    In most cases, all you need to do is extract the source tarbar into a directory (or checkout via CVS or SVN). Go into that directory with the Terminal and type "configure" and, if that goes well, "make", and if that looks good "sudo make install".

  • [Solved] How to build a module that's not in repos or AUR?

    I am trying to follow the ABS instructions to build a module. I have the source code from GitHub. However, I cannot find anything that says what to do if the module has not already been built somewhere in Arch. It is not in the abs tree and it is not in the AUR. Maybe I just don't understand the ABS instructions, but I seem to need a PKGBUILD to use it. All I have is the source code for the module.
    On Debian, I just run make, then make install. For some reason, that fails in Arch:
    gcc: error: -pg and -fomit-frame-pointer are incompatible
    The recommendations I have found to work around that error say to keep -fomit-frame-pointer and remove -pg. However, -pg is not actually in the Makefile, it is apparently coming from some default location. If I can't find it, I can't remove it.
    In case anyone knows another way to find Arch modules, the one I need is rtl8192du. It is for a USB wireless adapter dongle. https://github.com/lwfinger/rtl8192du
    Tim
    Last edited by ratcheer (2014-06-12 20:49:34)

    Trilby wrote:
    The results of `git describe` will not be sequential (nor monotonically increasing which is really the requirement).  The wiki suggests using tags, if they are present.  But as I rarely use tags myself, I usually use something like the following:
    $(git rev-list --count HEAD).$(git describe --always)
    This does provide the "describe" hash, but before that is a monotonically increasing number so new commits always show as upgrades.
    That fails for me:
    ==> Validating source files with md5sums...
    rtl8192du ... Skipped
    ==> Extracting sources...
    -> Creating working copy of rtl8192du git repo...
    Cloning into 'rtl8192du'...
    done.
    ==> Starting pkgver()...
    /scratch/rtl8192du-git/PKGBUILD: line 20: 251.e627694: command not found

  • [solved] how to add aur packages

    I can't seem to figure out how to install packages from aur ive looked at the official page but clearly I am doing something wrong. I am trying to set up rutorrent.
    I added the yaourt but now i'm getting "yaourt" command not found.
    Any help would be great.
    Last edited by Arch-Hoochie (2014-10-07 14:51:04)

    I frequently voice a very negative bias against yaourt - so much so that I almost feel guilty about it now that I'm a moderator (almost).
    But all biases aside, if yaourt is a good tool for anyone, it is only for those who know how the aur works.  It seems you are not yet familiar with the basics, so a tool like yaourt will be a great hinderance preventing any future learning.
    Start out by just downloading the aur-tarballs and use makepkg to build (and even install if you'd like with makepkg -i or makepkg -si).  Once you get the idea of how all the moving parts work, then you can look into a helper tool - but there are *many* beside yaourt.
    The fact that many here have ranted about it over and over, yet the archlinux.fr page still advises new users to run the `pacman -Sy` command (which could very easily cause substantial problems) takes the 'almost' out of my first sentence: I am very comfortable publicly expressing my distaste for yaourt.

  • How to build a package from local files?

    I have a couple of git projects cloned on my hd which I'd like to package. Now, it seems unneccessary to make a tarball of the files and move it to the build directory.... I've also tried to add the path to the source dir as the source line -- source=("/path/to/repo/*"), but that doesn't work either.
    what's the correct way to do this?

    Not quite, but close enough, I suppose. I have a ~/src tree and a ~/pkg tree, and my original question was -- to be more precise -- if I can tell makepkg, directly or in the PKGBUILD, to look in a certain folder in the src tree for the files to use for the pkg. I guess I can symlink to the ~/src directory. Thanks for the pointer.

  • [SOLVED] How to install aur packages using pacaur

    I'm trying to install dwb-git. It installs with no problem with aura, but pacaur gives me problems. If I run pacaur as regular user it will build but will not install and will say permission denied.
    If I run pacaur with sudo it will say building packages as root is a bad idea and will quit. The only other possibility I see is running it with --asroot flag which is a really bad idea.
    Last edited by bstaletic (2014-06-22 15:02:41)

    No, I get the errors I described above.
    Here are the outputs:
    bstaletic@arch ~ $ pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> Making package: dwb-git 2014.03.04.g5088db1-1 (Sun Jun 22 15:46:30 CEST 2014)
    ==> Retrieving sources...
    -> Cloning dwb git repo...
    Cloning into bare repository '/tmp/pacaurtmp-bstaletic/dwb-git/dwb'...
    remote: Counting objects: 15056, done.
    remote: Compressing objects: 100% (3796/3796), done.
    remote: Total 15056 (delta 11190), reused 14783 (delta 10952)
    Receiving objects: 100% (15056/15056), 2.63 MiB | 88.00 KiB/s, done.
    Resolving deltas: 100% (11190/11190), done.
    Checking connectivity... done.
    ==> Validating source files with md5sums...
    dwb ... Skipped
    ==> Extracting sources...
    -> Creating working copy of dwb git repo...
    Cloning into 'dwb'...
    done.
    ==> Starting pkgver()...
    ==> Updated version: dwb-git 2014.06.14.g9f4bdb9-1
    ==> Sources are ready.
    :: Building dwb-git package(s)...
    ==> Making package: dwb-git 2014.06.14.g9f4bdb9-1 (Sun Jun 22 15:47:05 CEST 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Starting build()...
    Build options:
    CC = cc
    CFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -pipe --ansi -std=c99 -D_POSIX_C_SOURCE=200112L -O2 -g -D_BSD_SOURCE -D_NETBSD_SOURCE -D__BSD_VISIBLE -pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-1.0 -I/usr/include/p11-kit-1 -I/usr/include/json-c -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_LIBSOUP_2_38=1
    LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgnutls -ljson-c -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lm -lX11
    CPPFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWITH_LIBSECRET
    make[1]: Entering directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    cc convert_transport_security.c
    convert_transport_security.c: In function ‘handle_pinsets’:
    convert_transport_security.c:256:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(pin_list, "name")) == NULL || !json_object_is_type(name_obj, json_type_string))
    ^
    convert_transport_security.c:263:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    good_hashes = json_object_object_get(pin_list, "static_spki_hashes");
    ^
    convert_transport_security.c:264:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    bad_hashes = json_object_object_get(pin_list, "bad_static_spki_hashes");
    ^
    convert_transport_security.c: In function ‘handle_entries’:
    convert_transport_security.c:297:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(entry, "name")) == NULL ||
    ^
    convert_transport_security.c:307:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *mode = json_object_object_get(entry, "mode");
    ^
    convert_transport_security.c:315:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *include_subdomains = json_object_object_get(entry, "include_subdomains");
    ^
    convert_transport_security.c:327:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entry_pins = json_object_object_get(entry, "pins")) != NULL)
    ^
    convert_transport_security.c: In function ‘parse_json’:
    convert_transport_security.c:371:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((pinsets = json_object_object_get(json, "pinsets")) == NULL || !json_object_is_type(pinsets, json_type_array) ||
    ^
    convert_transport_security.c:380:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entries = json_object_object_get(json, "entries")) == NULL || !json_object_is_type(entries, json_type_array) ||
    ^
    gen hsts_preload.h
    /bin/sh: ./convert_transport_security: Permission denied
    Makefile:41: recipe for target '../../src/hsts_preload.h' failed
    make[1]: *** [../../src/hsts_preload.h] Error 126
    make[1]: Leaving directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    Makefile:22: recipe for target 'src/util.subdir-buildfirst' failed
    make: *** [src/util.subdir-buildfirst] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    :: dwb-git cleaned
    bstaletic@arch ~ $ sudo pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: Building dwb-git package(s)...
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: dwb-git cleaned
    I get the same errors with -Sya and -Sa flags.

  • [SOLVED] How to submit AUR package updates?

    Since yesterday I started maintaining a package. Unfortunately I don't see how I can update it. Please help.
    Last edited by bstaletic (2014-06-20 17:07:17)

    Oh. I thought it would make a duplicate, thanks.

Maybe you are looking for

  • ITunes match not showing up in settings on my ipad

    It uploaded from my mac fine and it works great on my iphone but it doesn't show up on my ipad. I restored and still nothing. Anyone have a solve for this?

  • Changes are not updating :(

    Hi- For the past few days, after I save changes (and these are simple text changes) they are not showing up on my webpage. The upload seems to be a little slow lately, but I'm not getting any error messages......it says it has uploaded. But....my cha

  • From XSQL how to convert to XSLFO?

    From XSQL, after applying xsl style sheet now all i can produce is a html or excel file output. Instead of that can i produce XSLFO file and redirect this to another XSQL page to produce PDF output? Please assist! Many Thanks.

  • How to load images from client to oracle server

    Hi I want to load the image in oracle. when i tried to laod the iamge from my client(windows) to oracle server(linux) it is giving error. i wrotea pl/sql program to store the images in oracle database. but the server not reconzing the path of image w

  • MacBook Pro with Retina display delayed order

    I ordered mine on Aug 7 and the status kept showing "processing order" and estimated delivery of Aug 20-27. When I called to check what was happening, I was told the order should be shipped in a day. The next day, I get an email from Apple saying "or